/* ============================================
   IceC Rewards - Main Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0c12;
  --bg-secondary: #0f1118;
  --bg-card: #181c28;
  --bg-card-alt: #1e2230;
  --bg-card-dark: #252a3a;
  --bg-footer: #08090f;
  --bg-footer-bottom: #050608;

  /* Cave depth zones */
  --cave-entrance: #1a1e2e;
  --cave-mid: #0f1118;
  --cave-deep: #060810;

  --pink: #F577E2;
  --pink-dark: #F125CE;
  --gold: #FFCE2B;
  --gold-alt: #FFAA00;
  --orange: #F9A400;
  --green: #50EB96;
  --green-bright: #51FC17;
  --green-accent: #1EC64E;
  --blue: #5986FF;
  --blue-light: #1EAEEF;
  --red: #DC2626;
  --magenta: #F125CE;

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  --font-body: 'Rubik', sans-serif;
  --font-dancing: 'Bungee', sans-serif;
  --font-jersey: 'Jersey 10', sans-serif;
  --font-nunito: 'Nunito Sans', sans-serif;
  --font-bungee: 'Bungee', sans-serif;
  --font-space: 'Space Grotesk', sans-serif;
  --font-golos: 'Golos Text', sans-serif;

  --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(
    180deg,
    var(--cave-entrance) 0%,
    var(--bg-primary) 15%,
    var(--cave-mid) 40%,
    var(--cave-deep) 70%,
    #030408 100%
  );
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}

/* --- Font Classes --- */
.dancing {
  font-family: var(--font-dancing);
}

.jersey {
  font-family: var(--font-jersey);
}

.font-nunito {
  font-family: var(--font-nunito);
}

/* --- Text Colors --- */
.text-pink { color: var(--pink); }
.text-gold { color: var(--gold); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green-accent); }
.text-blue { color: var(--blue-light); }
.text-red { color: var(--red); }
.text-magenta { color: var(--magenta); }

/* --- Glow Text Shadows --- */
.glow-pink-text { text-shadow: 0 0 29.4px rgba(245, 119, 226, 0.71); }
.glow-orange-text { text-shadow: 0 0 29.4px rgba(255, 170, 0, 0.71); }
.glow-blue-text { text-shadow: 0 0 29.4px rgba(30, 174, 239, 0.71); }
.glow-green-text { text-shadow: 0 0 29.4px rgba(30, 239, 48, 0.71); }
.glow-magenta-text { text-shadow: 0 0 29.4px rgba(241, 37, 206, 0.71); }

/* --- App Container --- */
.app {
  min-height: 100vh;
  position: relative;
}

/* ============================================
   CAVE BACKGROUND SYSTEM
   ============================================ */

/* Scroll-based darkening overlay - sits between body bg and ambient */
.cave-depth-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

/* Ambient container for bats & fireflies - BEHIND all content */
.cave-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* All main content sits above the ambient layer */
.app > * {
  position: relative;
  z-index: 2;
}

/* ============================================
   CAVE DECORATIONS
   ============================================ */

/* Rocky divider between sections */
.cave-rock-divider {
  position: relative;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 2;
  margin-top: -20px;
  margin-bottom: -20px;
}

.cave-rock-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cave-rock-mid {
  height: 60px;
  margin-top: -10px;
  margin-bottom: -10px;
}

.cave-rock-deep {
  height: 50px;
  margin-top: -8px;
  margin-bottom: -8px;
}

/* Cave wall texture overlay — subtle noise on all sections */
.bonuses-section,
.leaderboard-section,
.socials-section,
.faq-section {
  position: relative;
}

.bonuses-section::before,
.leaderboard-section::before,
.socials-section::before,
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(100, 80, 60, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 40%, rgba(60, 80, 120, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(80, 60, 100, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Cave side walls — dark edges on left and right */
.app::before,
.app::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 3;
}

.app::before {
  left: 0;
  background: linear-gradient(to right, rgba(3, 4, 8, 0.6), transparent);
}

.app::after {
  right: 0;
  background: linear-gradient(to left, rgba(3, 4, 8, 0.6), transparent);
}

/* Cave entrance vignette at top of page */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(
    ellipse 120% 100% at 50% 0%,
    transparent 50%,
    rgba(6, 8, 16, 0.5) 75%,
    rgba(3, 4, 8, 0.8) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   BAT ANIMATIONS
   ============================================ */
.cave-bat {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  will-change: transform;
  color: rgba(80, 70, 100, 0.6);
}

.cave-bat svg {
  width: 30px;
  height: 20px;
}

@keyframes batWingFlap {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.6); }
}

@keyframes batFly1 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { transform: translate(40vw, -10vh) rotate(-5deg); opacity: 0.5; }
  90%  { opacity: 0.6; }
  100% { transform: translate(80vw, 5vh) rotate(3deg); opacity: 0; }
}

@keyframes batFly2 {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.5; }
  30%  { transform: translate(-15vw, -8vh) rotate(4deg); }
  60%  { transform: translate(-40vw, 3vh) rotate(-3deg); }
  90%  { opacity: 0.5; }
  100% { transform: translate(-70vw, -5vh) rotate(2deg); opacity: 0; }
}

@keyframes batFly3 {
  0%   { transform: translate(0, 0); opacity: 0; }
  15%  { opacity: 0.45; }
  40%  { transform: translate(25vw, -15vh); }
  70%  { transform: translate(50vw, -5vh); }
  85%  { opacity: 0.45; }
  100% { transform: translate(75vw, -20vh); opacity: 0; }
}

.cave-bat.bat-path-1 { animation: batFly1 12s ease-in-out infinite; }
.cave-bat.bat-path-2 { animation: batFly2 15s ease-in-out infinite; }
.cave-bat.bat-path-3 { animation: batFly3 18s ease-in-out infinite; }

.cave-bat .bat-wing-left { animation: batWingFlap 0.3s ease-in-out infinite; }
.cave-bat .bat-wing-right { animation: batWingFlap 0.3s ease-in-out infinite 0.15s; }

/* ============================================
   FIREFLY ANIMATIONS
   ============================================ */
.cave-firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: var(--firefly-color, #e8d44d);
  box-shadow:
    0 0 6px 2px var(--firefly-glow, #e8d44d),
    0 0 12px 4px rgba(232, 212, 77, 0.3),
    0 0 20px 8px rgba(232, 212, 77, 0.1);
  will-change: transform, opacity;
  animation: fireflyFloat var(--firefly-duration, 6s) ease-in-out infinite,
             fireflyPulse var(--firefly-pulse, 2s) ease-in-out infinite;
}

@keyframes fireflyFloat {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(15px, -20px); }
  40%  { transform: translate(-10px, -35px); }
  60%  { transform: translate(20px, -15px); }
  80%  { transform: translate(-5px, -25px); }
  100% { transform: translate(0, 0); }
}

@keyframes fireflyPulse {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 0.85; }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .cave-bat,
  .cave-firefly {
    animation: none !important;
    opacity: 0.15;
  }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 1s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Nav */
.mobile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.mobile-menu-btn {
  color: white;
  padding: 8px;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  border-radius: 8px;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--pink);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 12, 18, 0.98);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  padding: 8px;
}

.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 24px;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--pink);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-pink {
  background: var(--pink);
  color: white;
  box-shadow: rgba(0, 0, 0, 0.3) 0px -3px 0px inset, rgba(255, 255, 255, 0.25) 0px 1.5px 0px inset;
}

.btn-pink:hover {
  background: #e060cc;
  transform: translateY(-1px);
}

.btn-outline-pink {
  background: transparent;
  border: 1.5px solid var(--pink);
  color: var(--pink);
  box-shadow: rgba(0, 0, 0, 0.3) 0px -3px 0px inset, rgba(255, 255, 255, 0.25) 0px 1.5px 0px inset;
}

.btn-outline-pink:hover {
  background: rgba(245, 119, 226, 0.1);
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold-alt);
  color: var(--gold-alt);
  box-shadow: rgba(0, 0, 0, 0.3) 0px -3px 0px inset, rgba(255, 255, 255, 0.25) 0px 1.5px 0px inset;
}

.btn-outline-gold:hover {
  background: rgba(255, 170, 0, 0.1);
  transform: translateY(-1px);
}

.btn-wide {
  padding: 12px 32px;
  min-width: 180px;
}

.btn-celsius {
  background: #2654d4;
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px -3px 0px inset, rgba(255, 255, 255, 0.25) 0px 1.5px 0px inset;
}

.btn-celsius:hover {
  background: #1e47b8;
  transform: translateY(-1px);
}

.btn-celsius .btn-arrow {
  transition: transform 0.3s ease;
}

.btn-celsius:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-social {
  padding: 8px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  color: white;
  transition: all 0.3s ease;
}

.btn-social:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ============================================
   HERO SECTION - Two Panel Layout
   ============================================ */
.hero-section {
  position: relative;
  padding: 120px 20px 40px;
  min-height: auto;
  overflow: hidden;
  z-index: 3;
}

.hero-panels {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Left Panel - Stream */
.hero-panel-stream {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

.hero-stream-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-stream-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

/* Right Panel - Welcome */
.hero-panel-welcome {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-welcome-title {
  font-family: var(--font-bungee);
  font-size: 38px;
  color: var(--pink);
  text-shadow: 0 0 30px rgba(245, 119, 226, 0.3);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ============================================
   SIGNUP BONUSES SECTION
   ============================================ */
.bonuses-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.bonus-card {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-card-inner {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--bg-card);
  position: relative;
}

.bonus-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 60, 180, 0.25);
  mix-blend-mode: color;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}

.bonus-card-inner > * {
  position: relative;
  z-index: 1;
}

.bonus-logo {
  height: 40px;
  margin-bottom: 20px;
}

.bonus-code {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.bonus-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 400px;
}

.bonus-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #192142;
  border: 1px solid #1B3F99;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.bonus-features-row {
  display: flex;
  gap: 12px;
}

.bonus-features-row .bonus-feature {
  flex: 1;
}

/* ============================================
   LEADERBOARD SECTION
   ============================================ */
.leaderboard-section {
  padding: 80px 20px;
  min-height: 800px;
  position: relative;
  overflow: hidden;
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.podium-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  width: 230px;
  flex-shrink: 0;
}

.podium-card-inner {
  border-radius: 16px;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animated Snake Border */
.podium-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  z-index: -1;
}

.podium-first .podium-card-inner {
  border-color: rgba(246, 175, 22, 0.2);
}

.podium-second .podium-card-inner {
  border-color: rgba(175, 194, 255, 0.2);
}

.podium-third .podium-card-inner {
  border-color: rgba(249, 145, 122, 0.2);
}

.podium-first {
  transform: translateY(-20px);
}

.podium-rank {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  border: 2px solid;
  z-index: 2;
}

.podium-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-top: 12px;
  margin-bottom: 12px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.podium-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.podium-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.podium-wagered {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.podium-reward {
  font-size: 22px;
  font-weight: 800;
  padding: 6px 32px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.podium-reward-gold {
  background: linear-gradient(135deg, rgba(255, 206, 43, 0.15), rgba(255, 170, 0, 0.15));
  color: var(--gold);
  border: 1px solid rgba(255, 206, 43, 0.3);
}

.podium-reward-silver {
  background: linear-gradient(135deg, rgba(175, 194, 255, 0.15), rgba(89, 134, 255, 0.15));
  color: #AFC2FF;
  border: 1px solid rgba(175, 194, 255, 0.3);
}

.podium-reward-bronze {
  background: linear-gradient(135deg, rgba(249, 145, 122, 0.15), rgba(142, 61, 41, 0.15));
  color: #F9917A;
  border: 1px solid rgba(249, 145, 122, 0.3);
}

.podium-reward-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.leaderboard-status {
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.leaderboard-ended {
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.leaderboard-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* ============================================
   SOCIALS SECTION
   ============================================ */
.socials-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}

.social-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-name {
  font-size: 28px;
  font-weight: 700;
}

.social-desc {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-question > span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-icon {
  flex-shrink: 0;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
  padding: 60px 20px 40px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-left {
  flex: 1;
  max-width: 350px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 28px;
  width: auto;
  align-self: flex-start;
}

.footer-copyright-text {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.footer-gamble {
  margin-top: 8px;
}

.footer-gamble-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-gamble-text {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  background: var(--bg-footer-bottom);
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet and up */
@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: block;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 56px;
  }
}

/* Tablet - hero panels stack */
@media (max-width: 900px) {
  .hero-panels {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-panel-stream {
    min-height: 300px;
  }
}

/* Mobile styles */
@media (max-width: 767px) {
  .hero-section {
    padding: 100px 16px 30px;
  }

  .hero-panel-stream {
    min-height: 220px;
  }

  .hero-panel-welcome {
    padding: 28px 20px;
  }

  .hero-welcome-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .btn-wide {
    width: 100%;
  }

  .section-title {
    font-size: 36px;
  }

  .section-subtitle {
    font-size: 11px;
  }

  .bonuses-section {
    padding: 60px 16px;
  }

  .bonus-card-inner {
    padding: 32px 20px;
  }

  .bonus-features-row {
    flex-direction: column;
  }

  .podium {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .podium-card {
    width: 100%;
    max-width: 300px;
  }

  .podium-first {
    transform: none;
    order: -1;
  }

  .socials-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .nav-link {
    padding: 10px 24px;
    font-size: 14px;
  }

  .hero-welcome-title {
    font-size: 42px;
  }
}

@media (min-width: 1280px) {
  .section-title {
    font-size: 64px;
  }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Snake trace animation for podium cards */
@keyframes snakeTrace {
  0% {
    stroke-dashoffset: 1200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.snake-border {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.snake-border rect {
  stroke-dasharray: 600;
  stroke-dashoffset: 1200;
  animation: snakeTrace 8s linear infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Page Placeholder (for sub-pages) */
.page-placeholder {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  gap: 16px;
}

.page-coming-soon {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-muted);
}

.page-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================
   LOGIN MODAL
   ============================================ */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.login-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.login-modal {
  background: linear-gradient(135deg, #1a1040 0%, #0f0a2a 40%, #1a0a30 100%);
  border: 1px solid rgba(245, 119, 226, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  display: flex;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(245, 119, 226, 0.08);
}

.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  padding: 6px;
  z-index: 5;
  transition: color 0.2s ease;
  line-height: 0;
}

.login-close:hover {
  color: var(--text-primary);
}

/* Left Panel */
.login-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: linear-gradient(180deg, rgba(245, 119, 226, 0.06) 0%, rgba(100, 40, 200, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 119, 226, 0.15), transparent 70%);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
}

.login-logo {
  width: 140px;
  height: auto;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(245, 119, 226, 0.3));
}

.login-welcome {
  font-size: 24px;
  font-weight: 800;
  color: var(--pink);
  text-shadow: 0 0 20px rgba(245, 119, 226, 0.4);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.login-welcome-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  max-width: 220px;
  position: relative;
  z-index: 1;
}

/* Right Panel */
.login-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  padding: 48px 36px;
  justify-content: center;
}

.login-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}

.login-title span {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Kick Login Button */
.btn-kick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  background: #51FC17;
  color: #000;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(81, 252, 23, 0.25), 0 -2px 0 rgba(0, 0, 0, 0.15) inset, 0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-kick:hover {
  background: #5dff2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(81, 252, 23, 0.35), 0 -2px 0 rgba(0, 0, 0, 0.15) inset, 0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-kick:active {
  transform: translateY(0);
}

.btn-kick svg {
  flex-shrink: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.login-divider span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.login-info {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}

.login-info a {
  color: var(--pink);
  transition: color 0.2s ease;
}

.login-info a:hover {
  color: var(--text-primary);
}

.login-kick-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--text-muted);
}

.login-kick-tagline svg {
  opacity: 0.5;
}

/* Login Modal Responsive */
@media (max-width: 640px) {
  .login-modal {
    flex-direction: column;
    max-width: 400px;
  }

  .login-left {
    padding: 32px 24px 24px;
  }

  .login-logo {
    width: 100px;
    margin-bottom: 16px;
  }

  .login-welcome {
    font-size: 20px;
  }

  .login-right {
    padding: 24px 24px 32px;
  }
}

/* Selection */
::selection {
  background: rgba(245, 119, 226, 0.3);
  color: white;
}
