:root{
  --bg:#07060a;
  --panel:#0f0c14;
  --panel2:#0b0810;
  --text:#f6f2ff;
  --muted:#c7bddc;
  --border:rgba(255,255,255,.10);
  --shadow:0 14px 60px rgba(0,0,0,.55);
  --neon:#49ff7a;
  --neon2:#b14cff;
  --warn:#ff4d6d;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(177,76,255,.22), transparent 60%),
    radial-gradient(900px 650px at 85% 30%, rgba(73,255,122,.18), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(255,77,109,.14), transparent 55%),
    linear-gradient(180deg, #050408, var(--bg));
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}

.bg-glow{
  position:fixed; inset:-150px;
  background: radial-gradient(closest-side, rgba(73,255,122,.10), transparent 60%);
  filter: blur(20px);
  pointer-events:none;
  opacity:.55;
}

.topbar{
  position:sticky; top:0; z-index:10;
  background:rgba(7,6,10,.60);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(14px);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; min-width: 260px}
.brand__chip{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(73,255,122,.25), rgba(177,76,255,.25));
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 40px rgba(73,255,122,.16);
  font-weight:900;
}
.brand__name{font-weight:850; letter-spacing:.2px}
.brand__tag{
  font-size:12px;
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
}
.nav{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav a{
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.nav a:hover{border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.04)}

.hero{padding:38px 0 12px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:stretch;
}
.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  letter-spacing:.25px;
  color:var(--muted);
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
h1{
  margin:14px 0 10px;
  line-height:1.05;
  font-size: clamp(36px, 3.8vw, 54px);
  letter-spacing: -0.8px;
}
.neon{
  color: var(--neon);
  text-shadow: 0 0 22px rgba(73,255,122,.25), 0 0 44px rgba(73,255,122,.12);
}
.lead{color:var(--muted); font-size: 16px; line-height:1.6; max-width: 52ch}
.muted{color:var(--muted)}

.cta{display:flex; gap:10px; margin:18px 0 14px; flex-wrap:wrap}
.btn{
  cursor:pointer;
  border:1px solid rgba(255,255,255,.14);
  padding:10px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:750;
  letter-spacing:.2px;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.20)}
.btn:active{transform: translateY(0)}
.btn--primary{
  background: linear-gradient(135deg, rgba(73,255,122,.20), rgba(177,76,255,.22));
  border-color: rgba(255,255,255,.22);
}
.btn--ghost{background: rgba(255,255,255,.03)}

.disclaimer{
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,77,109,.08), rgba(255,255,255,.03));
  color: var(--muted);
  line-height:1.55;
}

.hero__media{
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius:22px;
  padding:14px;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero__banner{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  display:block;
}
.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.stat{
  padding:12px;
  border-radius:16px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
}
.stat__label{color:var(--muted); font-size:12px}
.stat__value{font-size:18px; font-weight:900; margin-top:2px}

.section{padding:46px 0}
.section h2{margin:0 0 10px; font-size: 28px; letter-spacing: -.3px}
.section--accent{
  background:
    radial-gradient(800px 500px at 20% 50%, rgba(73,255,122,.10), transparent 55%),
    radial-gradient(900px 600px at 90% 30%, rgba(177,76,255,.12), transparent 55%),
    rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.cards{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.card{
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.18));
  box-shadow: 0 10px 50px rgba(0,0,0,.35);
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.6}

.ca{
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  overflow:auto;
}
.ca code{
  font-size:13px;
  color: var(--text);
  white-space:nowrap;
}

.toast{
  margin-top:10px;
  min-height: 18px;
  color: var(--muted);
  font-size: 13px;
}

.section__head{
  display:flex;
  gap:14px;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
}
.bankroll{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.bankroll__label{color:var(--muted); font-size:12px}
.bankroll__value{font-weight:950; font-size:20px}

.game{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
}
.wheelWrap{
  position:relative;
  border-radius:22px;
  padding:14px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.20));
  box-shadow: var(--shadow);
}
#wheel{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.06), rgba(0,0,0,.25));
  border:1px solid rgba(255,255,255,.10);
}
.pointer{
  position:absolute;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  width:0; height:0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid var(--neon);
  filter: drop-shadow(0 10px 20px rgba(73,255,122,.22));
}
.lastResult{
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: var(--muted);
}

.panel{
  padding:16px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.22));
  box-shadow: var(--shadow);
}
.panel__row{display:flex; gap:10px; flex-wrap:wrap}
.field{display:grid; gap:6px; flex:1; min-width: 180px}
.field span{font-size:12px; color:var(--muted)}
input,select{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.30);
  color:var(--text);
  outline:none;
}
input:focus,select:focus{border-color: rgba(73,255,122,.34); box-shadow: 0 0 0 4px rgba(73,255,122,.10)}

#betOptions{margin-top:12px}
.chipRow{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  border-radius:999px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  font-weight:850;
  letter-spacing:.2px;
}
.chip[aria-pressed="true"]{
  background: linear-gradient(135deg, rgba(73,255,122,.20), rgba(177,76,255,.18));
  border-color: rgba(255,255,255,.22);
}
.panel__actions{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.panel__fineprint{margin-top:12px; color:var(--muted); font-size:13px; line-height:1.5}

.section--grid .memeGrid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.meme{
  margin:0;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.24);
  box-shadow: 0 14px 60px rgba(0,0,0,.45);
}
.meme img{width:100%; display:block}

.footer{
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.footer__inner{display:flex; justify-content:space-between; gap:14px; align-items:center; flex-wrap:wrap}
.footer__brand{font-weight:950}
.footer__muted{color:var(--muted); font-size:13px; line-height:1.45}
.footer__links{display:flex; gap:12px}
.footer__links a{
  font-size:13px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.footer__links a:hover{border-color:rgba(255,255,255,.12); background:rgba(255,255,255,.04)}

@media (max-width: 980px){
  .hero__grid,.game{grid-template-columns:1fr}
  .brand{min-width:auto}
}
@media (max-width: 840px){
  .cards{grid-template-columns:1fr}
  .section--grid .memeGrid{grid-template-columns:1fr}
}
