:root{
  --bg:#070a14;
  --bg-2:#0e1424;
  --bg-3:#161d33;
  --surface: rgba(20, 27, 50, 0.6);
  --surface-2: rgba(28, 36, 60, 0.7);
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --text:#e8ecf6;
  --text-2:#b6bdd0;
  --muted:#7a82a0;
  --gold:#fbbf24;
  --gold-soft:#fde68a;
  --amber:#f59e0b;
  --emerald:#10b981;
  --rose:#fb7185;
  --violet:#a78bfa;
  --cyan:#22d3ee;
  --magenta:#ec4899;
}

*{ box-sizing: border-box; margin:0; }
html,body{ height:100%; }
body{
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Atmospheric background */
.bg-effect{
  position: fixed; inset:0;
  z-index:-1; pointer-events:none;
  background:
    radial-gradient(800px 500px at 12% -8%, rgba(167,139,250,.18), transparent 60%),
    radial-gradient(700px 500px at 95% 10%, rgba(251,191,36,.10), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(34,211,238,.08), transparent 60%),
    linear-gradient(180deg, #050813 0%, #070b18 100%);
}
.bg-effect::after{
  content:""; position:absolute; inset:0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.02) 1px, transparent 1px),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px, 70px 70px;
  opacity:.7;
}

/* Typography */
.font-display{ font-family: 'Bricolage Grotesque', system-ui, sans-serif; letter-spacing:-0.02em; }

::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.1); border-radius:8px; }
::-webkit-scrollbar-thumb:hover{ background: rgba(255,255,255,.18); }
::-webkit-scrollbar-track{ background: transparent; }

/* ============= TOP HEADER ============= */
#topbar{
  position: sticky; top:0; z-index:30;
  background: rgba(7,10,20,.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  max-width: 1400px; margin: 0 auto;
  padding: .85rem 1.5rem;
  display:flex; align-items:center; gap:1.5rem;
}
.brand{
  font-family:'Bricolage Grotesque',sans-serif;
  font-weight:800;
  font-size:1.6rem;
  letter-spacing:-0.02em;
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor:pointer;
}
.brand .dot{
  display:inline-block; width:10px; height:10px;
  background:#fbbf24; border-radius:50%;
  margin-left:.2rem; box-shadow: 0 0 16px #fbbf24;
}

.top-nav{
  display:flex; gap:.3rem; align-items:center;
  flex:1; min-width:0;
}
.top-nav-item{
  padding:.55rem 1rem;
  font-size:.92rem; color:var(--text-2); font-weight:500;
  cursor:pointer;
  border-radius:.5rem;
  transition: .15s;
  white-space:nowrap;
  position:relative;
}
.top-nav-item:hover{ color: var(--gold); background: rgba(255,255,255,.04); }
.top-nav-item.active{
  color: var(--gold);
  background: linear-gradient(180deg, rgba(251,191,36,.12) 0%, rgba(251,191,36,.03) 100%);
}
.top-nav-item.active::after{
  content:""; position:absolute; bottom:-1px; left:20%; right:20%; height:2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.top-actions{ display:flex; gap:.5rem; align-items:center; flex-shrink:0; }
.btn-gold{
  padding:.55rem 1.2rem;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 60%, #d97706 100%);
  color: #1a1206; font-weight:700; font-size:.88rem;
  border-radius:.55rem;
  border: 1px solid rgba(0,0,0,.2);
  box-shadow: 0 6px 18px -6px rgba(251,191,36,.5), inset 0 1px 0 rgba(255,255,255,.4);
  cursor:pointer;
  transition: .15s;
  letter-spacing:.01em;
  display:inline-flex; align-items:center; gap:.45rem;
}
.btn-gold:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(251,191,36,.65), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ghost{
  padding:.55rem 1.2rem;
  color:var(--text); font-weight:600; font-size:.88rem;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04);
  border-radius:.55rem;
  cursor:pointer;
  transition:.15s;
  display:inline-flex; align-items:center; gap:.45rem;
}
.btn-ghost:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.btn-glass{
  padding:.55rem .85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius:.55rem;
  color: var(--text);
  cursor:pointer;
  transition:.15s;
  font-size:.85rem;
  display:inline-flex; align-items:center; gap:.4rem;
}
.btn-glass:hover{ background: rgba(255,255,255,.08); }

/* ============= LAYOUT ============= */
#content{
  max-width: 1400px; margin: 0 auto;
  padding: 1rem 1.5rem 6rem;
  min-height: calc(100vh - 64px);
}
@media (max-width: 768px){
  #content{ padding: .75rem; padding-bottom:6.5rem; }
}

/* ============= HERO ============= */
.hero{
  position:relative;
  border-radius: 1.25rem;
  overflow: hidden;
  margin-top: 1rem;
  min-height: 380px;
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(251,191,36,.20), transparent 60%),
    radial-gradient(700px 500px at 20% 60%, rgba(167,139,250,.22), transparent 65%),
    linear-gradient(135deg, #1a1638 0%, #0a0d1f 60%, #0e1729 100%);
  border: 1px solid var(--line);
  display:grid;
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 900px){ .hero{ grid-template-columns: 1fr; } }
.hero-text{ padding: 2.5rem 2.8rem; display:flex; flex-direction:column; justify-content:center; gap:1rem; }
.hero-tag{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.35rem .85rem;
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.3);
  border-radius:9999px;
  color: var(--gold);
  font-size:.78rem;
  font-weight:600;
  width: fit-content;
}
.hero-title{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-title em{
  font-style: normal;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub{ font-size:1.05rem; color: var(--text-2); max-width: 480px; }
.hero-cta{ display:flex; gap:.65rem; margin-top:.4rem; }
.hero-visual{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  padding: 1rem;
}
.hero-cards{
  position:relative; width:100%; aspect-ratio: 1; max-width: 380px;
}
.hero-card{
  position:absolute;
  border-radius: 1rem;
  border:1px solid var(--line-2);
  overflow:hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.6);
}
.hero-card.c1{ top:5%; left:10%; width:60%; aspect-ratio:.75;
  background-image: linear-gradient(135deg, rgba(251,191,36,.3), rgba(167,139,250,.3)), radial-gradient(circle at 30% 30%, #ec4899, #7c3aed 70%);
  transform: rotate(-6deg); }
.hero-card.c2{ top:18%; right:5%; width:55%; aspect-ratio:.75;
  background-image: linear-gradient(135deg, rgba(34,211,238,.3), rgba(251,191,36,.2)), radial-gradient(circle at 70% 30%, #06b6d4, #1e3a8a 70%);
  transform: rotate(8deg); }
.hero-card.c3{ bottom:5%; left:25%; width:50%; aspect-ratio:.75;
  background-image: linear-gradient(135deg, rgba(251,191,36,.4), rgba(236,72,153,.3)), radial-gradient(circle at 50% 70%, #f59e0b, #b91c1c 70%);
  transform: rotate(-3deg); }

/* ============= JACKPOT TICKER ============= */
.jackpot-strip{
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg, #0a0e1a 0%, #1a1638 50%, #0a0e1a 100%);
  border: 1px solid var(--line);
  border-radius: .9rem;
  display:flex; align-items:center; gap:2rem;
  overflow:hidden; position:relative;
}
.jackpot-label{
  display:flex; align-items:center; gap:.5rem;
  font-size:.78rem; color:var(--gold); font-weight:700;
  text-transform:uppercase; letter-spacing:.1em;
  flex-shrink:0;
}
.jackpot-value{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing:-0.02em;
}
.jackpot-items{ display:flex; gap:2.5rem; flex:1; overflow:hidden; }
.jackpot-item{ display:flex; align-items:center; gap:.65rem; }
.jackpot-item .name{ font-size:.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; }
.jackpot-item .amount{ font-family:'Bricolage Grotesque',sans-serif; font-size:1.15rem; font-weight:700; color: var(--gold-soft); }

/* ============= SECTION HEADER ============= */
.section{
  margin-top: 2.5rem;
}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom: 1rem;
  gap:1rem; flex-wrap:wrap;
}
.section-title{
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing:-0.02em;
}
.section-title em{ font-style:normal; color: var(--gold); }
.section-link{
  font-size: .85rem;
  color: var(--text-2);
  cursor:pointer; font-weight:600;
  display:inline-flex; align-items:center; gap:.3rem;
}
.section-link:hover{ color: var(--gold); }

/* ============= CATEGORY PILLS ============= */
.cat-pills{
  display:flex; gap:.45rem; align-items:center; overflow-x:auto;
  padding-bottom:.4rem; margin-bottom:1rem;
}
.cat-pill{
  padding:.55rem 1.05rem;
  border-radius:9999px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  color: var(--text-2); font-weight:600; font-size:.85rem;
  cursor:pointer;
  white-space: nowrap;
  display:inline-flex; align-items:center; gap:.4rem;
  transition:.15s;
}
.cat-pill:hover{ background: rgba(255,255,255,.08); color: var(--text); }
.cat-pill.active{
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color:#15100a;
  border-color: rgba(251,191,36,.4);
  box-shadow: 0 4px 14px -4px rgba(251,191,36,.45);
}

/* ============= GAME GRID ============= */
.game-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .9rem;
}
@media (max-width: 600px){
  .game-grid{ grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap:.6rem; }
}
.game-card{
  position:relative;
  border-radius: .85rem;
  overflow:hidden;
  aspect-ratio: 3 / 4;
  background-size: cover; background-position: center;
  border: 1px solid var(--line);
  cursor:pointer;
  transition: .25s ease;
  isolation:isolate;
}
.game-card::before{
  content:""; position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75) 100%);
}
.game-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(251,191,36,.35), 0 0 0 2px rgba(251,191,36,.4);
  border-color: rgba(251,191,36,.5);
}
.game-card .name{
  position:absolute; bottom:.55rem; left:.65rem; right:.65rem;
  font-weight:600; font-size:.85rem; z-index:2;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.game-card .provider{
  position:absolute; top:.55rem; right:.55rem;
  font-size:.65rem;
  background: rgba(0,0,0,.5);
  padding:.15rem .4rem;
  border-radius:.3rem;
  color: var(--gold-soft);
  font-weight:600;
  z-index:2;
  backdrop-filter: blur(8px);
}
.game-card .badge-hot{
  position:absolute; top:.55rem; left:.55rem;
  font-size:.65rem;
  background: linear-gradient(135deg, #fb7185, #be185d);
  padding:.15rem .45rem;
  border-radius:.3rem;
  color: #fff;
  font-weight:700;
  z-index:2;
  text-transform: uppercase;
  letter-spacing:.05em;
}
.game-card .play-overlay{
  position:absolute; inset:0; z-index:3;
  display:flex; align-items:center; justify-content:center;
  background: rgba(7,10,20,.5);
  opacity:0; transition:.2s;
}
.game-card:hover .play-overlay{ opacity:1; }
.game-card .play-btn{
  width: 52px; height:52px;
  border-radius:50%;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  display:flex; align-items:center; justify-content:center;
  color: #15100a;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

/* Synthesized game poster colors */
.poster-1{ background: radial-gradient(circle at 30% 30%, #ec4899, #4c1d95); }
.poster-2{ background: radial-gradient(circle at 70% 30%, #fbbf24, #b45309); }
.poster-3{ background: radial-gradient(circle at 30% 70%, #06b6d4, #1e3a8a); }
.poster-4{ background: radial-gradient(circle at 50% 50%, #10b981, #064e3b); }
.poster-5{ background: radial-gradient(circle at 30% 30%, #fb7185, #831843); }
.poster-6{ background: radial-gradient(circle at 70% 70%, #a78bfa, #312e81); }
.poster-7{ background: radial-gradient(circle at 50% 30%, #f59e0b, #7c2d12); }
.poster-8{ background: radial-gradient(circle at 30% 50%, #22d3ee, #155e75); }
.poster-9{ background: radial-gradient(circle at 70% 30%, #8b5cf6, #2e1065); }
.poster-10{ background: radial-gradient(circle at 50% 70%, #fde047, #ca8a04); }
.poster-11{ background: radial-gradient(circle at 30% 50%, #f43f5e, #500724); }
.poster-12{ background: radial-gradient(circle at 70% 50%, #14b8a6, #134e4a); }

/* ============= PROMO CARDS ============= */
.promo-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap:1rem;
}
.promo-card{
  border-radius: 1rem;
  overflow:hidden;
  border:1px solid var(--line);
  background: var(--surface);
  cursor:pointer;
  transition:.2s;
}
.promo-card:hover{
  transform: translateY(-2px);
  border-color: rgba(251,191,36,.4);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.5);
}
.promo-banner{
  height: 140px;
  display:flex; align-items:flex-end; justify-content:flex-start;
  padding:1rem;
  position:relative;
}
.promo-banner::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,10,20,.7) 100%);
}
.promo-banner > *{ position:relative; z-index:1; }
.promo-tag{
  font-size:.7rem; font-weight:700; padding:.2rem .55rem;
  border-radius:.3rem;
  background: rgba(251,191,36,.18);
  color: var(--gold);
  text-transform:uppercase; letter-spacing:.05em;
}
.promo-body{ padding: 1rem 1.15rem 1.15rem; }
.promo-title{ font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:1.1rem; }
.promo-meta{ color: var(--muted); font-size:.78rem; margin-top:.35rem; }
.promo-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:.85rem; }
.promo-amount{ font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:1.4rem; color: var(--gold); }

/* ============= STAT CARDS ============= */
.stat-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:1rem;
}
.stat-card-dark{
  padding: 1.25rem;
  border-radius: 1rem;
  border:1px solid var(--line);
  background: var(--surface);
  transition:.2s;
}
.stat-card-dark:hover{ border-color: var(--line-2); transform: translateY(-1px); }
.stat-card-dark .label{ font-size:.78rem; color: var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.05em; }
.stat-card-dark .value{
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:1.85rem; font-weight:800; margin-top:.5rem;
  letter-spacing:-0.02em;
}
.stat-card-dark .delta{ font-size:.78rem; color: var(--emerald); font-weight:600; margin-top:.25rem; }

/* ============= LIVE WINNERS ============= */
.winners-strip{
  display:flex; gap:.75rem; overflow-x:auto; padding-bottom:.5rem;
}
.winner-pill{
  display:flex; align-items:center; gap:.65rem;
  padding:.55rem .85rem;
  background: var(--surface);
  border:1px solid var(--line);
  border-radius:9999px;
  flex-shrink:0;
  font-size:.82rem;
}
.winner-pill .avatar{
  width:28px; height:28px; border-radius:50%;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  display:flex; align-items:center; justify-content:center;
  color: #15100a; font-weight:700; font-size:.78rem;
}
.winner-pill .amt{ color: var(--gold); font-weight:700; }

/* ============= VIP / LEVELS ============= */
.vip-banner{
  border-radius: 1.25rem;
  padding: 2.5rem;
  background:
    radial-gradient(900px 600px at 100% 50%, rgba(251,191,36,.18), transparent 60%),
    linear-gradient(135deg, #2a1a4a 0%, #1a0e2e 100%);
  border: 1px solid rgba(251,191,36,.2);
  position: relative; overflow:hidden;
}
.vip-ribbon{
  position:absolute; top:1.25rem; right:1.25rem;
  padding:.35rem .85rem;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color:#15100a; font-weight:700; font-size:.78rem;
  border-radius:9999px;
  text-transform: uppercase; letter-spacing:.05em;
}
.vip-levels{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:1rem;
  margin-top:1.25rem;
}
.vip-level-card{
  padding:1.25rem;
  border-radius:1rem;
  border:1px solid var(--line);
  background: var(--surface);
  text-align:center;
  position:relative;
}
.vip-level-card.current{
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(251,191,36,.15) 0%, var(--surface) 100%);
}
.vip-level-card.current::after{
  content:"CURRENT"; position:absolute; top:-10px; left:50%; transform: translateX(-50%);
  background: var(--gold); color:#15100a;
  font-size:.65rem; font-weight:800; padding:.15rem .55rem; border-radius:.3rem;
  letter-spacing:.05em;
}
.vip-icon-medal{
  width:60px; height:60px; margin: 0 auto .55rem;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Bricolage Grotesque',sans-serif;
  font-weight:800; font-size:1.6rem;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
}

/* ============= TABS / SUBTABS ============= */
.subtabs-dark{
  display:flex; gap:.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.25rem;
  overflow-x:auto;
}
.subtab-dark{
  padding: .8rem 1.1rem;
  font-size:.9rem; color: var(--text-2); font-weight:600;
  cursor:pointer;
  border-bottom:2px solid transparent;
  margin-bottom:-1px;
  white-space:nowrap;
}
.subtab-dark.active{
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ============= FORMS ============= */
.field-dark label{
  display:block; font-size:.78rem; color: var(--text-2); margin-bottom:.4rem; font-weight:600;
}
.field-dark input, .field-dark select, .field-dark textarea{
  width:100%;
  padding:.7rem .85rem;
  background: rgba(0,0,0,.3);
  border:1px solid var(--line);
  border-radius:.55rem;
  color: var(--text);
  font-family: inherit;
  font-size:.9rem;
}
.field-dark input:focus, .field-dark select:focus, .field-dark textarea:focus{
  outline: 2px solid rgba(251,191,36,.3);
  border-color: var(--gold);
}
.field-dark select option{ background: #1a1f3a; color: var(--text); }

.form-grid-dark{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:.85rem 1rem;
}
@media (max-width: 600px){ .form-grid-dark{ grid-template-columns: 1fr; } }

/* ============= MODAL ============= */
#modal-root{ position: fixed; inset:0; pointer-events:none; z-index: 50; }
.modal-backdrop-dark{
  position:absolute; inset:0;
  background: rgba(3,5,12,.7);
  backdrop-filter: blur(8px);
  pointer-events:auto;
  display:flex; align-items:flex-start; justify-content:center;
  padding: 4vh 1rem;
  overflow:auto;
}
.modal-dark{
  background: linear-gradient(180deg, #11172e 0%, #0a0e1c 100%);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.7);
  overflow:hidden;
  animation: pop .22s ease-out;
}
.modal-dark.lg{ max-width: 720px; }
@keyframes pop{ from{ opacity:0; transform: translateY(10px) scale(.97);} to{ opacity:1; transform:none;} }
.modal-head-dark{
  display:flex; align-items:center; justify-content:space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.modal-head-dark h3{ font-family:'Bricolage Grotesque',sans-serif; font-size:1.15rem; font-weight:700; }
.modal-body-dark{ padding: 1.25rem; max-height: 75vh; overflow:auto; }

/* ============= FOOTER ============= */
#footer{
  margin-top: 4rem;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.3) 100%);
}
.footer-inner{ max-width: 1400px; margin: 0 auto; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-col h4{
  font-size:.78rem; color: var(--gold);
  text-transform: uppercase; letter-spacing:.1em;
  font-weight:700; margin-bottom:.8rem;
}
.footer-col a{
  display:block;
  font-size:.85rem;
  color: var(--text-2);
  padding:.25rem 0;
  cursor:pointer;
}
.footer-col a:hover{ color: var(--gold); }
.providers-row{
  display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.5rem;
}
.provider-chip{
  padding:.5rem .85rem;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:.45rem;
  font-size:.78rem;
  color: var(--text-2);
  font-weight:600;
}
.footer-bottom{
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center;
  gap:1rem; flex-wrap:wrap;
  color: var(--muted); font-size:.78rem;
}
.license-badges{ display:flex; gap:.55rem; flex-wrap:wrap; }
.license-badge{
  padding:.4rem .75rem;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius:.4rem;
  font-size:.7rem;
  color: var(--text-2);
}

/* ============= BOTTOM NAV (mobile) ============= */
#bottomnav{
  position: fixed; bottom:0; left:0; right:0; z-index:25;
  background: rgba(7,10,20,.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  display: none;
}
@media (max-width: 768px){
  #bottomnav{ display:flex; }
  .top-nav{ display:none; }
  .hero-text{ padding: 1.75rem 1.5rem; }
}
.bottomnav-inner{
  display:flex; justify-content:space-around; align-items:center;
  width:100%;
  padding:.5rem;
}
.bn-item{
  display:flex; flex-direction:column; align-items:center; gap:.15rem;
  padding:.45rem .65rem;
  border-radius:.55rem;
  color: var(--muted); font-size:.65rem; font-weight:600;
  cursor:pointer;
  flex:1;
  min-width:0;
}
.bn-item.active{
  color: var(--gold);
}
.bn-item.center{
  position:relative;
  margin-top:-1.5rem;
}
.bn-item.center .bn-bubble{
  width:54px; height:54px;
  border-radius:50%;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  display:flex; align-items:center; justify-content:center;
  color:#15100a;
  box-shadow: 0 10px 26px -8px rgba(251,191,36,.6);
}

/* ============= UTILITIES ============= */
.glass-card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
}
.muted-text{ color: var(--muted); }
.text-gold{ color: var(--gold); }
.text-emerald{ color: var(--emerald); }
.text-rose{ color: var(--rose); }
.divider{ height:1px; background: var(--line); margin: 1rem 0; }
.progress-bar{
  height:6px; background: rgba(255,255,255,.06); border-radius:9999px; overflow:hidden;
}
.progress-bar > div{
  height:100%;
  background: linear-gradient(90deg, #fbbf24, #d97706);
  border-radius:9999px;
}

/* Lucky Wheel SVG */
.wheel-wrap{
  display:flex; flex-direction:column; align-items:center; gap:1rem;
}
.wheel-svg{
  filter: drop-shadow(0 12px 30px rgba(251,191,36,.3));
  transition: transform 5s cubic-bezier(.17,.67,.32,1);
}
.wheel-pointer{
  width:0; height:0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid #fbbf24;
  margin-bottom: -8px;
  z-index:2; position:relative;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}

/* Mission item */
.mission-item{
  display:flex; align-items:center; gap:1rem;
  padding:1rem 1.25rem;
  border-radius:.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:.15s;
}
.mission-item:hover{ border-color: var(--line-2); }
.mission-icon{
  width:48px; height:48px; border-radius:.7rem;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(251,191,36,.18), rgba(167,139,250,.1));
  border: 1px solid rgba(251,191,36,.2);
  color: var(--gold);
  flex-shrink:0;
}
.mission-body{ flex:1; min-width:0; }
.mission-name{ font-weight:600; font-size:.95rem; }
.mission-desc{ font-size:.78rem; color: var(--muted); margin-top:.15rem; }
.mission-progress{ margin-top:.6rem; }
.mission-claim{
  flex-shrink:0;
  padding:.5rem 1rem;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #15100a;
  border-radius:.5rem;
  font-weight:700; font-size:.82rem;
  cursor:pointer;
}
.mission-claim.disabled{
  background: rgba(255,255,255,.06);
  color: var(--muted);
  cursor:not-allowed;
}

/* Angpow packet */
.angpow-packet{
  position:relative; cursor:pointer;
  border-radius:.9rem;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, #b91c1c 0%, #7f1d1d 100%);
  border: 1px solid #fbbf24;
  text-align:center;
  transition: .2s;
  overflow:hidden;
}
.angpow-packet:hover{ transform: translateY(-3px); box-shadow: 0 14px 30px -8px rgba(185,28,28,.5); }
.angpow-packet::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 30%, rgba(251,191,36,.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(251,191,36,.2), transparent 50%);
}
.angpow-packet .seal{
  position:relative; z-index:1;
  width: 50px; height: 50px; margin: 0 auto .75rem;
  border-radius:50%;
  background: radial-gradient(circle at 35% 35%, #fde68a, #d97706);
  display:flex; align-items:center; justify-content:center;
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:1.5rem; font-weight:900;
  color: #7f1d1d;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.4), 0 3px 8px rgba(0,0,0,.3);
}

/* match card */
.match-card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
}
.match-teams{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  gap:1rem; align-items:center;
  text-align:center;
}
.team{
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
}
.team .logo{
  width:48px; height:48px; border-radius:50%;
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-family:'Bricolage Grotesque',sans-serif;
}
.match-vs{
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:.95rem; color: var(--muted); font-weight:700;
}
.match-meta{
  display:flex; justify-content:space-between; align-items:center;
  margin-top:.85rem; padding-top:.85rem;
  border-top: 1px solid var(--line);
  font-size:.78rem; color: var(--muted);
}

/* pill */
.chip{
  display:inline-flex; align-items:center; gap:.3rem;
  padding:.2rem .55rem;
  border-radius:9999px;
  font-size:.7rem;
  font-weight:700;
  text-transform: uppercase;
  letter-spacing:.04em;
}
.chip.gold{ background: rgba(251,191,36,.15); color: var(--gold); border:1px solid rgba(251,191,36,.25); }
.chip.violet{ background: rgba(167,139,250,.15); color: var(--violet); border:1px solid rgba(167,139,250,.25); }
.chip.cyan{ background: rgba(34,211,238,.15); color: var(--cyan); border:1px solid rgba(34,211,238,.25); }
.chip.emerald{ background: rgba(16,185,129,.15); color: var(--emerald); border:1px solid rgba(16,185,129,.25); }
.chip.rose{ background: rgba(251,113,133,.15); color: var(--rose); border:1px solid rgba(251,113,133,.25); }

/* search input (top) */
.search-pill{
  display:none;
  flex:1;
  padding:.55rem 1rem;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  border-radius:9999px;
  align-items:center; gap:.5rem;
  font-size:.85rem; color: var(--text-2);
  max-width: 360px;
}
@media (min-width: 900px){ .search-pill{ display:inline-flex; } }
.search-pill input{ background:transparent; border:none; outline:none; color:var(--text); flex:1; font-size:.85rem; font-family:inherit; }
