:root{
  --bg0:#05050b;
  --bg1:#0b0b16;
  --text:#f6f7ff;
  --muted:#b6b7d3;
  --line: rgba(140, 140, 220, .16);
  --neon:#8a2be2;
  --neon2:#00e5ff;
  --neon3:#22ff88;
  --warn:#ff3bd4;
  --shadow: none;
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
  --focus: 0 0 0 3px rgba(0, 229, 255, .20);
}

*{ 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(600px 420px at 15% 0%, rgba(0,229,255,.08), transparent 62%),
    radial-gradient(600px 420px at 85% 15%, rgba(138,43,226,.10), transparent 58%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.container{
  width: min(var(--max), calc(100% - 32px));
  margin-inline:auto;
}

.bg-grid{
  display:none;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background: rgba(0,0,0,.7);
  border:1px solid var(--line);
  border-radius:999px;
  z-index:10;
  outline:none;
  box-shadow: var(--focus);
}

.topbar{
  position:sticky;
  top:0;
  z-index:5;
  backdrop-filter: none;
  background: rgba(255,255,255,.02);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
}
.brand__mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background: rgba(0,229,255,.06);
  border:1px solid rgba(0,229,255,.20);
  box-shadow: none;
}
.brand__text{
  font-weight:800;
  letter-spacing:.2px;
}

.nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px;
}
.nav__link{
  text-decoration:none;
  color:var(--muted);
  padding:9px 12px;
  border-radius:12px;
  border:1px solid transparent;
  transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease;
  font-weight:650;
  font-size:14px;
}
.nav__link:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.22);
  color:var(--text);
  background: rgba(0,229,255,.04);
}
.nav__link.is-active{
  color:var(--text);
  border-color: rgba(0,229,255,.25);
  background: rgba(0,229,255,.06);
  box-shadow: none;
}

main{ padding: 26px 0 40px; }

.hero{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  padding-top: 10px;
  align-items:start;
}
.hero__content{
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero__title{
  margin: 14px 0 10px;
  line-height:1.06;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -.2px;
}
.neon{
  color: #c7b8ff;
  text-shadow: none;
}
.hero__lead{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height:1.6;
  max-width: 62ch;
}
.hero__cta{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 18px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(0,229,255,.18);
  background: rgba(0,229,255,.03);
  color: var(--text);
  font-weight:700;
  font-size: 13px;
}

.hero__stats{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.stat{
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.stat__value{
  font-weight:900;
  letter-spacing:.2px;
  color: #e2ddff;
  text-shadow: none;
}
.stat__label{
  margin-top:4px;
  color: var(--muted);
  font-size: 13px;
}

.hero__showcase{
  padding-top: 4px;
}
.showcase-card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,229,255,.12), rgba(0,0,0,.18));
  border:1px solid rgba(0,229,255,.22);
  padding: 18px;
  box-shadow: 0 0 40px rgba(0,229,255,.08);
}
.showcase-card__title{
  font-weight:900;
  font-size: 18px;
}
.showcase-card__row{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;
}
.mini-reel{
  border-radius: 14px;
  padding: 14px 10px;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(138,43,226,.20);
  text-align:center;
}
.mini-reel span{
  font-weight:900;
  color:#c8b7ff;
  text-shadow: 0 0 18px rgba(138,43,226,.35);
}
.showcase-card__text{
  color: var(--muted);
  line-height:1.6;
  margin: 12px 0 0;
  font-size: 14px;
}
.showcase-card__hint{
  margin-top: 12px;
  font-size: 13px;
  color: #c9ffe6;
  border-left:2px solid rgba(34,255,136,.6);
  padding-left: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  border:1px solid transparent;
  font-weight:800;
  letter-spacing:.2px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn--primary{
  background: rgba(0,229,255,.08);
  border-color: rgba(0,229,255,.25);
  box-shadow: none;
}
.btn--primary:hover{
  transform: translateY(-1px);
  background: rgba(0,229,255,.12);
  box-shadow: none;
}
.btn--ghost{
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.22);
  box-shadow: none;
}
.btn--large{ padding: 14px 18px; min-width: 160px; }

.section-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.card{
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: none;
}
.card__title{
  margin:0;
  font-size:18px;
}
.card__text{
  margin:10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.card__title--sm{ font-size: 16px; margin-top: 0; }

.disclaimer-block{
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: none;
}
.disclaimer-block__title{
  margin:0 0 10px;
}
.disclaimer-block__text{
  margin: 10px 0 0;
  color: var(--muted);
  line-height:1.7;
}
.neon-border{
  border-color: rgba(0,229,255,.22) !important;
  box-shadow: none;
}

.cta-band{
  margin-top: 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.cta-band__kicker{
  color: var(--text);
  font-weight:800;
  letter-spacing:.2px;
}
.cta-band__title{
  margin-top:6px;
  font-size: 20px;
  font-weight:900;
}
.cta-band__text{
  margin-top:6px;
  color: var(--muted);
  line-height:1.6;
}

.site-footer{
  margin-top: 34px;
  padding: 26px 0 22px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight:900;
}
.footer__brandMark{
  width:28px;
  height:28px;
  border-radius:10px;
  display:grid;
  place-items:center;
  border:1px solid rgba(0,229,255,.18);
  background: rgba(0,229,255,.06);
  box-shadow: none;
}
.footer__muted{ color: var(--muted); line-height:1.6; margin: 10px 0 0; }
.footer__policies{
  margin-top: 12px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.footer__policies a{
  color: var(--muted);
  text-decoration:none;
  font-weight:650;
  border:1px solid rgba(255,255,255,.10);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.footer__policies a:hover{
  border-color: rgba(0,229,255,.22);
  color: var(--text);
}
.footer__label{
  color: var(--text);
  font-weight:900;
  margin-bottom: 10px;
}
.footer__social{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.social-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration:none;
}
.social-icon svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: #bcefff;
}
.social-icon:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.22);
  box-shadow: none;
}

.footer__bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap:wrap;
}
.footer__links{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}
.footer__links a{
  color: var(--muted);
  text-decoration:none;
  font-weight:700;
  border-bottom: 1px dashed rgba(0,229,255,.25);
}
.footer__links a:hover{
  color: var(--text);
  border-bottom-color: rgba(0,229,255,.55);
}
.footer__copyright{
  color: var(--muted);
}

/* Game */
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items:start;
}

.game-card__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.game-card__title{
  margin:0;
  font-size: 22px;
  font-weight: 950;
}
.game-card__subtitle{
  margin: 8px 0 0;
  color: var(--muted);
}

.balance-row{
  margin-top: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(180,120,255,.18);
  background: rgba(0,0,0,.20);
}
.badge{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,229,255,.22);
  background: rgba(0,229,255,.08);
  font-weight:900;
  letter-spacing:.2px;
}
.badge--neon{ color: #bdfcff; box-shadow: 0 0 26px rgba(0,229,255,.12); }
.balance{
  display:flex;
  align-items:baseline;
  gap: 8px;
}
.balance__value{
  font-weight: 1000;
  font-size: 28px;
  letter-spacing:.2px;
  text-shadow: 0 0 18px rgba(0,229,255,.22);
}
.balance__unit{ color: var(--muted); font-weight:700; }

.reels-wrap{ margin-top: 14px; }
.reels{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.reel{
  border-radius: 16px;
  padding: 18px 8px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: none;
  min-height: 92px;
  display:grid;
  place-items:center;
}
.symbol{
  font-weight: 1000;
  letter-spacing: .5px;
  font-size: 18px;
  color:#e8e5ff;
  text-shadow: none;
}
.reel.is-spinning{
  animation: none;
}
@keyframes reelPulse{
  from{ }
  to{ }
}

.bet-section{
  margin-top: 16px;
}
.bet-section__label{
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}
.bet-buttons{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.bet-btn{
  width: 52px;
  height: 46px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  color: var(--text);
  border: 1px solid rgba(180,120,255,.18);
  font-weight: 950;
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.bet-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(0,229,255,.28);
  box-shadow: 0 0 26px rgba(0,229,255,.10);
}
.bet-btn.is-active{
  border-color: rgba(0,229,255,.40);
  background: rgba(0,229,255,.08);
  box-shadow: 0 0 34px rgba(0,229,255,.14);
}
.input{
  width: 180px;
  max-width: 100%;
  border-radius: 14px;
  border:1px solid rgba(180,120,255,.20);
  padding: 12px 14px;
  background: rgba(0,0,0,.20);
  color: var(--text);
  outline:none;
}
.input:focus{ box-shadow: var(--focus); border-color: rgba(0,229,255,.38); }
.bet-custom{ margin-top: 10px; }

.actions-row{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}

.result{
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(180,120,255,.16);
  background: rgba(0,0,0,.18);
}
.result__muted{ color: var(--muted); }

.help-row{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.help-row__item{
  color: var(--muted);
  font-size: 14px;
  line-height:1.5;
  display:flex;
  gap: 10px;
  align-items:flex-start;
}
.dot{
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: rgba(140,140,220,.32);
}
.dot--neon{ background: rgba(0,229,255,.55); box-shadow: none; }

/* Prose pages */
.prose__title{
  margin-top:0;
  font-size: 26px;
  font-weight: 950;
}
.prose__lead{
  margin: 10px 0 0;
  color: var(--muted);
  line-height:1.7;
}
.prose h2{
  margin-top: 20px;
  font-size: 18px;
}
.prose p{
  color: var(--muted);
  line-height:1.8;
}
.muted{ color: var(--muted); }
.divider{
  height:1px;
  margin: 18px 0;
  background: rgba(140,140,220,.16);
}

.acc-item{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.acc-item > summary{
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
}
.acc-item > p{
  margin: 10px 0 0;
}

.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.full{ width:100%; margin-top: 14px; }

.info-card .card__title{ margin-top: 0; }
.info-card .card__text{ margin-top: 10px; }

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .section-grid{ grid-template-columns: 1fr; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
}

