/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== FADE IN ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

:root {
  --gold: #f5c518;
  --gold-dim: #b8941a;
  --bg: #080810;
  --bg-card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #f0f0f5;
  --muted: rgba(255,255,255,0.5);
  --scroll-darkness: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: transparent;
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('assets/bg.jpg') center center / cover no-repeat;
  filter: blur(15px) brightness(0.28);
  transform: scale(1.05); /* Stretches slightly to prevent blur edge-bleed */
  pointer-events: none;
}

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-nav.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 6px;
}
.nav-links a {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-socials {
  display: flex;
  gap: 10px;
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 14px 20px; }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 10px 12px;
    gap: 8px;
  }
  .nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  .nav-logo span {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 1px;
  }
  .nav-socials {
    gap: 6px;
  }
  .social-btn {
    width: 30px !important;
    height: 30px !important;
  }
  .social-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
}

/* ===== SOCIAL BUTTONS (nav) ===== */
.social-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: all 0.25s;
}
.social-btn:hover { background: rgba(245,197,24,0.12); border-color: rgba(245,197,24,0.4); color: var(--gold); }
.kick-btn:hover { background: rgba(83,252,24,0.12); border-color: rgba(83,252,24,0.4); color: #53fc18; }
.x-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); color: #fff; }
.discord-btn:hover { background: rgba(88,101,242,0.14); border-color: rgba(88,101,242,0.5); color: #5865f2; }
.ig-btn:hover { background: rgba(214,41,118,0.12); border-color: rgba(214,41,118,0.4); color: #e1306c; }
.tt-btn:hover { background: rgba(0,242,254,0.12); border-color: rgba(0,242,254,0.4); color: #00f2fe; }
.yt-btn:hover { background: rgba(255,0,0,0.12); border-color: rgba(255,0,0,0.4); color: #ff0000; }

/* ===== HERO ===== */
#hero {
  position: relative;
  width: 100%; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('assets/bg.jpg') center center / cover no-repeat;
  will-change: transform; z-index: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,var(--scroll-darkness));
  transition: background 0.1s ease; z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, 
    rgba(8,8,16,0.3) 0%, 
    rgba(8,8,16,0.6) 50%, 
    rgba(8,8,16,0.9) 75%, 
    rgba(8,8,16,0) 100%
  );
  z-index: 1; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  text-align: center; padding: 0 20px;
}
.hero-logo {
  width: min(480px, 78vw); height: auto;
  filter: drop-shadow(0 0 40px rgba(245,197,24,0.3)) drop-shadow(0 0 80px rgba(245,197,24,0.15));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.hero-sub {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
}
.btn-primary {
  padding: 13px 32px;
  border-radius: 12px;
  background: var(--gold);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 800;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: brightness 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-secondary {
  padding: 13px 32px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 26px; height: 26px;
  border-right: 3px solid rgba(245,197,24,0.5);
  border-bottom: 3px solid rgba(245,197,24,0.5);
  transform: rotate(45deg);
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.5; }
}

/* ===== SECTION COMMONS ===== */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--gold), #ffe066, var(--gold-dim));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 48px;
}

/* ===== ABOUT SECTION ===== */
#about {
  padding: 100px 0;
  position: relative;
}
.about-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.about-text span.section-label { display: block; margin-bottom: 10px; }
.about-text h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--gold), #ffe066, var(--gold-dim));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 16px;
}
.about-text p strong { color: var(--gold); }
.about-card {
  width: 280px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,197,24,0.2);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(245,197,24,0.07), 0 16px 40px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.about-avatar {
  width: 100%; height: 220px; overflow: hidden;
  background: rgba(0,0,0,0.3);
}
.about-char-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
}
.about-card h3 {
  font-size: 18px; font-weight: 800;
  padding: 16px 20px 2px;
  color: #fff;
}
.about-role {
  font-size: 12px; letter-spacing: 2px;
  color: var(--muted); padding: 0 20px 14px;
}
.about-socials { border-top: 1px solid var(--border); }
.social-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s;
}
.social-row:last-child { border-bottom: none; }
.social-row:hover { background: rgba(255,255,255,0.04); }
.social-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kick-icon { background: rgba(83,252,24,0.12); color: #53fc18; }
.x-icon { background: rgba(255,255,255,0.08); color: #fff; }
.ig-icon { background: rgba(214,41,118,0.12); color: #e1306c; }
.tt-icon { background: rgba(0,242,254,0.12); color: #00f2fe; }
.yt-icon { background: rgba(255,0,0,0.12); color: #ff0000; }
.discord-icon { background: rgba(88,101,242,0.12); color: #5865f2; }
.social-name { font-size: 14px; font-weight: 600; color: #fff; flex: 1; }
.social-count { font-size: 12px; color: var(--muted); font-weight: 600; }

@media (max-width: 860px) {
  .about-container { grid-template-columns: 1fr; justify-items: center; }
  .about-text { text-align: center; }
  .about-text p { margin: 0 auto 16px; }
}

/* ===== PARTNERS SECTION ===== */
#partners { padding: 80px 0 100px; }
.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

/* Base partner banner */
.partner-banner {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 110px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.partner-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}

/* Banner background layer */
.pb-bg {
  position: absolute; inset: 0;
  z-index: 0;
  transition: transform 4s ease-out;
}
.partner-banner:hover .pb-bg { transform: scale(1.04); }

/* Yoobox background */
.yoobox-bg {
  background:
    radial-gradient(ellipse at 75% 50%, rgba(255,190,0,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,140,0,0.1) 0%, transparent 50%),
    #100a00;
}
.yoobox-banner { border-color: rgba(255,190,0,0.2); }
.yoobox-banner:hover { border-color: rgba(255,190,0,0.45); box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 40px rgba(255,180,0,0.1); }

/* Reels background */
.reels-bg {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(150,50,255,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(80,0,180,0.2) 0%, transparent 50%),
    #08001a;
}
.reels-banner { border-color: rgba(150,50,255,0.2); }
.reels-banner:hover { border-color: rgba(150,50,255,0.45); box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 40px rgba(130,40,255,0.12); }

/* Logo area */
.pb-logo-area {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 0 28px;
  min-width: 200px;
  flex-shrink: 0;
}
.pb-logo {
  height: 44px; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(245,197,24,0.35));
}
.reels-logo { height: 52px; filter: drop-shadow(0 0 10px rgba(150,50,255,0.5)); }
.pb-tagline {
  margin-top: 6px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,190,0,0.65);
  text-transform: uppercase;
}
.reels-tagline { color: rgba(180,100,255,0.75); }

/* Code area */
.pb-code-area {
  margin-left: auto;
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 32px;
  flex-shrink: 0;
}
.pb-code-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.pb-code {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(245,197,24,0.5);
}
.reels-code { color: #c678ff; text-shadow: 0 0 20px rgba(180,80,255,0.6); }

/* Reels mascot */
.pb-mascot-wrap {
  position: absolute; left: 0; bottom: 0;
  height: 130%; z-index: 1;
  pointer-events: none;
}
.pb-mascot {
  height: 100%; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(130,40,255,0.4));
}
.reels-banner .pb-logo-area { padding-left: 140px; }

/* Yoobox promo strip */
.yoobox-promo-side {
  position: absolute; right: 180px; top: 0; bottom: 0;
  width: 220px; z-index: 1;
  overflow: hidden; pointer-events: none;
}
.pb-promo-img {
  height: 100%; width: 100%;
  object-fit: cover; object-position: left center;
  mask-image: linear-gradient(to left, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 40%);
  opacity: 0.55;
}

@media (max-width: 640px) {
  .partner-banner { height: 90px; }
  .pb-logo-area { min-width: 140px; padding: 0 16px; }
  .pb-logo { height: 34px; }
  .reels-logo { height: 40px; }
  .pb-code-area { padding: 0 18px; }
  .pb-code { font-size: 18px; }
  .pb-mascot-wrap { height: 115%; }
  .reels-banner .pb-logo-area { padding-left: 110px; }
  .yoobox-promo-side { width: 160px; right: 130px; }
  .pb-tagline { display: none; }
}

/* ===== HIGHLIGHTS SECTION ===== */
#highlights {
  padding: 80px 0 100px;
  background: radial-gradient(circle at 50% 50%, rgba(245, 197, 24, 0.03) 0%, transparent 70%);
}

.highlights-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 4px 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 197, 24, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .highlights-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  #highlights {
    padding: 60px 0 80px;
  }
  .highlights-row {
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    gap: 16px;
  }
  .clip-card {
    flex: 0 0 230px;
  }
}

/* Custom scrollbar for highlights-row */
.highlights-row::-webkit-scrollbar {
  height: 6px;
}
.highlights-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}
.highlights-row::-webkit-scrollbar-thumb {
  background: rgba(245, 197, 24, 0.25);
  border-radius: 10px;
  transition: background 0.3s;
}
.highlights-row::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 197, 24, 0.5);
}

.clip-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.clip-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 197, 24, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 197, 24, 0.08);
}

.clip-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: #020205;
  overflow: hidden;
  cursor: pointer;
}

.clip-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.clip-card:hover .clip-video-wrap video {
  transform: scale(1.03);
}

.clip-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 16, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.clip-card.playing .clip-overlay {
  opacity: 0;
  pointer-events: none;
}

.clip-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(8, 8, 16, 0.85);
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.25);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.clip-play-btn svg {
  transform: translateX(2px);
  transition: transform 0.3s ease;
}

.clip-video-wrap:hover .clip-play-btn {
  transform: scale(1.12);
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(245, 197, 24, 0.5);
}

.clip-info {
  padding: 16px 20px;
}

.clip-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* ===== WATCH LIVE ===== */
#live { padding: 80px 0 100px; }
.live-embed-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.live-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.live-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.live-info {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center;
}
.live-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  color: #f55; background: rgba(255,60,60,0.12);
  border: 1px solid rgba(255,60,60,0.3);
  padding: 5px 14px; border-radius: 100px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #f55;
  animation: dotPulse 1.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.live-channel { color: var(--muted); font-size: 14px; }

/* ===== CONTACT ===== */
#contact { padding: 80px 0 100px; }
.contact-container { text-align: center; }
.contact-cards {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-top: 40px;
}
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-width: 220px;
}
.contact-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.discord-icon-bg { background: rgba(88,101,242,0.15); color: #5865f2; }
.x-icon-bg { background: rgba(255,255,255,0.08); color: #fff; }
.contact-platform { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 3px; }
.contact-handle { font-size: 15px; font-weight: 700; color: #fff; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-size: 14px; font-weight: 900; letter-spacing: 1px; color: #fff;
}
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(245,197,24,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(245,197,24,0.4); }