
:root{
  --bg0:#070910;
  --bg1:#0b0f17;
  --card:#0d1320cc;
  --cardSolid:#0d1320;
  --text:#e8f0ff;
  --muted:#a9b7d4;
  --line:#1b2a45;
  --accent:#79d7ff;
  --accent2:#ffd27a;
  --danger:#ff6b6b;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 24px;
}

*{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(1000px 800px at 20% 10%, rgba(121,215,255,.12), transparent 60%),
              radial-gradient(800px 700px at 90% 20%, rgba(255,210,122,.12), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

.container{max-width:1100px;margin:0 auto;padding:0 18px}
a{color:inherit}
.subtle{color:rgba(233,242,255,.72)}
.accent{color:var(--accent)}

:focus-visible{
  outline: 3px solid rgba(121,215,255,.55);
  outline-offset: 3px;
  border-radius: 10px;
}

.site-header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: rgba(7,9,16,.55);
  border-bottom: 1px solid rgba(27,42,69,.55);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none;
}
.logo{
  width:38px;height:38px;border-radius:12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(121,215,255,.9), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255,210,122,.75), transparent 55%),
    linear-gradient(135deg, rgba(121,215,255,.16), rgba(255,210,122,.10));
  box-shadow: 0 10px 40px rgba(121,215,255,.12);
  border:1px solid rgba(121,215,255,.25);
}
.logo.small{width:32px;height:32px;border-radius:10px}
.brand-name{
  font-weight: 760;
  letter-spacing:.2px;
  font-size: 14px;
  color: rgba(233,242,255,.92);
}
.header-disclaimer{
  display:flex; align-items:center; gap:10px;
  font-size:12px;
  color: rgba(233,242,255,.78);
  max-width: 520px;
  text-align:right;
}
.badge-18{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; height:26px;
  padding:0 10px;
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255,210,122,.12);
  border:1px solid rgba(255,210,122,.35);
  color: rgba(255,236,200,.95);
  box-shadow: 0 10px 30px rgba(255,210,122,.08);
}
.disc-text{line-height:1.35}

.hero{padding: 38px 0 10px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.hero-card, .art-card, .demo-shell, .card{
  background: linear-gradient(180deg, rgba(13,19,32,.86), rgba(13,19,32,.58));
  border:1px solid rgba(27,42,69,.70);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.hero-card{
  padding:22px;
  position:relative;
  overflow:hidden;
}
.energy-ring::before{
  content:"";
  position:absolute; inset:-140px;
  background:
    radial-gradient(circle at 35% 35%, rgba(121,215,255,.18), transparent 55%),
    radial-gradient(circle at 65% 55%, rgba(255,210,122,.14), transparent 60%),
    conic-gradient(from 110deg, rgba(121,215,255,.22), rgba(255,210,122,.18), rgba(121,215,255,.22));
  filter: blur(18px);
  opacity:.65;
  animation: ring 10s linear infinite;
  pointer-events:none;
}
@keyframes ring{to{transform:rotate(360deg)}}
.kicker{color:rgba(233,242,255,.72);font-size:12px;letter-spacing:.15em;text-transform:uppercase}
.hero-title{margin:10px 0 6px;font-size:34px;letter-spacing:.2px}
.hero-subtitle{margin:0 0 10px;color:rgba(233,242,255,.85)}
.hero-copy{margin:0 0 16px;color:rgba(233,242,255,.78);line-height:1.6;max-width: 62ch}

.hero-cta{display:flex;align-items:center;gap:14px;margin: 6px 0 16px}
.cta-hint{color:rgba(233,242,255,.6);font-size:12px}

.btn{
  appearance:none;
  border:1px solid rgba(121,215,255,.22);
  background: rgba(11,15,23,.55);
  color:rgba(233,242,255,.92);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 760;
  letter-spacing:.2px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  min-height: 44px;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(121,215,255,.40); box-shadow: 0 12px 30px rgba(0,0,0,.35)}
.btn:active{transform: translateY(0px) scale(.99)}
.btn:disabled{opacity:.55; cursor:not-allowed; transform:none; box-shadow:none}
.btn.primary{
  background: linear-gradient(135deg, rgba(121,215,255,.22), rgba(255,210,122,.14));
  border-color: rgba(121,215,255,.36);
}
.btn.ghost{
  background: rgba(13,19,32,.35);
  border-color: rgba(255,210,122,.28);
}

.benefits{
  display:grid; grid-template-columns: repeat(3,1fr); gap:12px;
}
.benefit-card{
  padding:14px;
  border-radius: var(--radius);
  background: rgba(7,9,16,.35);
  border:1px solid rgba(27,42,69,.6);
}
.benefit-title{font-weight:800;margin-bottom:6px}
.benefit-text{color:rgba(233,242,255,.70);font-size:13px;line-height:1.5}

.art-card{padding:16px; display:flex; flex-direction:column; gap:12px}
.art-frame{
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(121,215,255,.20);
  position:relative;
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
}
.art-frame img{display:block;width:100%;height:auto;aspect-ratio:1/1}
.shimmer::after{
  content:"";
  position:absolute; inset:-30%;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.18) 45%, transparent 55%);
  transform: translateX(-40%) rotate(10deg);
  animation: shimmer 2.8s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events:none;
}
@keyframes shimmer{
  0%{transform: translateX(-55%) rotate(10deg); opacity:.0}
  25%{opacity:.45}
  55%{opacity:.18}
  100%{transform: translateX(55%) rotate(10deg); opacity:.0}
}
.art-meta{padding:2px 4px}
.art-title{font-weight:860;font-size:16px}
.art-note{color:rgba(233,242,255,.70);font-size:12px;margin-top:4px}

.demo{padding: 22px 0 40px}
.section-head{margin: 6px 0 12px}
.section-title{margin:0;font-size:22px}
.section-subtitle{margin:8px 0 0;color:rgba(233,242,255,.70);max-width: 66ch;line-height:1.55}

.demo-shell{padding:16px}
.demo-top{
  display:flex; align-items:stretch; justify-content:space-between; gap:12px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.balance,.cost{
  flex:1 1 160px;
  padding:12px 14px;
  border-radius: 16px;
  background: rgba(7,9,16,.35);
  border:1px solid rgba(27,42,69,.55);
}
.balance-label{font-size:12px;color:rgba(233,242,255,.65)}
.balance-value{font-size:22px;font-weight:900;margin-top:6px;letter-spacing:.2px}

.board-wrap{
  position:relative;
  border-radius: 22px;
  padding: 14px;
  background: rgba(7,9,16,.28);
  border:1px solid rgba(27,42,69,.55);
  overflow:hidden;
}
.board{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cell{
  border-radius: 18px;
  min-height: 78px;
  display:flex; align-items:center; justify-content:center;
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(13,19,32,.92), rgba(7,9,16,.55));
  border:1px solid rgba(121,215,255,.16);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  user-select:none;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.cell.highlight{
  border-color: rgba(255,210,122,.55);
  box-shadow: 0 18px 42px rgba(255,210,122,.08), 0 18px 42px rgba(121,215,255,.06);
  transform: translateY(-1px);
}

.demo-actions{
  display:flex; align-items:center; gap:12px;
  margin-top: 14px;
  flex-wrap:wrap;
}
.result{
  color:rgba(233,242,255,.74);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(7,9,16,.22);
  border:1px solid rgba(27,42,69,.5);
  flex: 1 1 260px;
  min-height:44px;
  display:flex; align-items:center;
}

.stats-panel{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stat{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(7,9,16,.35);
  border:1px solid rgba(27,42,69,.55);
}
.stat-label{font-size:12px;color:rgba(233,242,255,.65)}
.stat-value{font-size:18px;font-weight:900;margin-top:6px}

.responsible-block{margin-top: 18px}
.responsible-card{
  padding:16px;
  border-radius: var(--radius2);
  background: rgba(7,9,16,.28);
  border:1px solid rgba(27,42,69,.55);
}
.responsible-title{margin:0 0 6px;font-size:16px}
.responsible-text{margin:0 0 12px;color:rgba(233,242,255,.72);line-height:1.6}
.responsible-links{display:flex;flex-wrap:wrap;gap:10px}
.chip{
  text-decoration:none;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(121,215,255,.22);
  background: rgba(13,19,32,.35);
  color:rgba(233,242,255,.88);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  min-height:44px;
  display:inline-flex; align-items:center;
}
.chip:hover{transform: translateY(-1px); border-color: rgba(121,215,255,.40); box-shadow: 0 12px 28px rgba(0,0,0,.35)}

.page{padding: 28px 0 44px}
.page-head{margin-bottom: 12px}
.page-title{margin:0;font-size:26px}
.page-subtitle{margin:8px 0 0;color:rgba(233,242,255,.70)}
.card{padding:18px}
.legal h2{margin:18px 0 8px}
.legal p, .legal li{color:rgba(233,242,255,.74);line-height:1.65}
.legal ul{padding-left:18px}
.ext-links a{color:rgba(233,242,255,.9)}
.divider{height:1px;background:rgba(27,42,69,.65);margin:14px 0}

.contact-page .contact-row{display:grid;grid-template-columns:1fr 1fr; gap:12px}
.contact-item .label{color:rgba(233,242,255,.60);font-size:12px}
.contact-item .value{font-weight:800}
.address{margin-top:10px}
.safe-note{border-radius:18px;padding:14px;background:rgba(255,210,122,.08);border:1px solid rgba(255,210,122,.18)}
.safe-title{font-weight:900;margin-bottom:6px}
.safe-text{color:rgba(233,242,255,.76);line-height:1.6}

.site-footer{
  border-top: 1px solid rgba(27,42,69,.65);
  background: rgba(7,9,16,.60);
  padding: 22px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.25fr .8fr 1fr;
  gap:16px;
}
.footer-brand{display:flex;gap:12px;align-items:flex-start;margin-bottom:10px}
.footer-brand-name{font-weight:900}
.footer-title{font-weight:900;margin-bottom:10px}
.footer-links{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.footer-links a{text-decoration:none;color:rgba(233,242,255,.82)}
.footer-links a:hover{text-decoration:underline}
.contact-block{color:rgba(233,242,255,.78);line-height:1.7}
.label{color:rgba(233,242,255,.62)}
.footer-bottom{
  margin-top: 14px;
  display:flex; justify-content:space-between; gap:10px;
  color:rgba(233,242,255,.60);
  font-size:12px;
  padding-top: 12px;
  border-top:1px solid rgba(27,42,69,.50);
}

/* Dynamic background modes */
body.bg-idle{
  background:
    radial-gradient(900px 700px at 15% 15%, rgba(121,215,255,.10), transparent 60%),
    radial-gradient(850px 700px at 85% 10%, rgba(255,210,122,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}
body.bg-spin{
  background:
    radial-gradient(1000px 780px at 20% 10%, rgba(121,215,255,.18), transparent 58%),
    radial-gradient(900px 760px at 80% 20%, rgba(255,210,122,.16), transparent 60%),
    linear-gradient(180deg, #060812, #0b1020);
}
body.bg-win{
  background:
    radial-gradient(1000px 800px at 50% 20%, rgba(255,210,122,.20), transparent 60%),
    radial-gradient(900px 740px at 50% 65%, rgba(121,215,255,.18), transparent 62%),
    linear-gradient(180deg, #070914, #0b1020);
}

/* Spin active pulse */
.board-wrap.spin-active{
  border-color: rgba(121,215,255,.42);
  box-shadow: 0 22px 70px rgba(121,215,255,.08), 0 22px 70px rgba(0,0,0,.45);
  animation: pulse 1s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{transform: translateY(0)}
  50%{transform: translateY(-1px)}
}

/* Particles */
.particles{
  position:absolute; inset:0;
  pointer-events:none;
}
.p{
  position:absolute;
  font-size: 16px;
  opacity: 0;
  transform: translate(-50%,-50%) scale(.9);
  animation: pop .9s ease-out forwards;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.45));
}
@keyframes pop{
  0%{opacity:0; transform: translate(var(--x0), var(--y0)) scale(.65)}
  15%{opacity:.95}
  100%{opacity:0; transform: translate(var(--x1), var(--y1)) scale(1.15)}
}

/* Toasts */
.toasts{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display:grid;
  gap: 10px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 32px));
}
.toast{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(13,19,32,.92);
  border:1px solid rgba(121,215,255,.22);
  box-shadow: var(--shadow);
  color: rgba(233,242,255,.88);
}
.toast .t-title{font-weight:900;margin-bottom:4px}
.toast .t-body{color:rgba(233,242,255,.70);font-size:12px;line-height:1.45}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr}
  .header-disclaimer{max-width: 360px}
}
@media (max-width: 640px){
  .header-row{align-items:flex-start}
  .header-disclaimer{text-align:left}
  .hero-title{font-size:28px}
  .benefits{grid-template-columns:1fr}
  .stats-panel{grid-template-columns: 1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .contact-page .contact-row{grid-template-columns:1fr}
  .cell{min-height: 72px}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior:auto !important}
  .energy-ring::before{animation:none}
  .shimmer::after{animation:none}
  .board-wrap.spin-active{animation:none}
}


/* Centered policy notes */
.platform-note{max-width:980px;margin:14px auto 0;text-align:center;padding:0 14px;}
.platform-note p{margin:0;opacity:.92;line-height:1.5;}
.footer-extra{max-width:980px;margin:14px auto 0;text-align:center;padding:0 14px;}
.footer-extra p{margin:0;opacity:.9;line-height:1.5;}



/* Cookie banner */
.cookie-banner{position:fixed;left:0;right:0;bottom:14px;z-index:9999;padding:0 14px;}
.cookie-banner__inner{max-width:980px;margin:0 auto;display:flex;gap:14px;align-items:center;justify-content:space-between;
  border-radius:16px;padding:14px 14px;background:rgba(10,14,22,.72);backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.10);box-shadow:0 16px 44px rgba(0,0,0,.55);}
.cookie-banner__text{font-size:14px;line-height:1.45;opacity:.92;}
.cookie-banner__actions{display:flex;gap:10px;flex-shrink:0;}
.cookie-banner__actions .btn{min-height:44px;}
@media (max-width:720px){
  .cookie-banner__inner{flex-direction:column;align-items:stretch;}
  .cookie-banner__actions{justify-content:stretch;}
  .cookie-banner__actions .btn{width:100%;}
}



/* Footer pages list: keep each link on its own row and aligned */
.footer-links a,
.footer-pages a{
  display:block;
  padding:8px 0;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.footer-links,
.footer-pages{
  display:flex;
  flex-direction:column;
  gap:2px;
}
@media (max-width:520px){
  .footer-links a,
  .footer-pages a{
    white-space:normal;
  }
}



/* 19+ Age gate modal */
.age-gate{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:18px;}
.age-gate[hidden]{display:none;}
.age-gate__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(10px);}
.age-gate__card{position:relative;z-index:1;max-width:520px;width:100%;border-radius:20px;
  padding:18px 18px 16px;background:rgba(10,14,22,.78);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 60px rgba(0,0,0,.62);}
.age-gate__badge{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;
  border-radius:16px;font-weight:800;letter-spacing:.5px;margin-bottom:10px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);}
.age-gate__title{margin:0 0 8px;font-size:22px;line-height:1.2;}
.age-gate__text{margin:0 0 14px;opacity:.9;line-height:1.5;}
.age-gate__check{display:flex;gap:10px;align-items:flex-start;margin:0 0 14px;cursor:pointer;user-select:none;}
.age-gate__check input{margin-top:3px;min-width:18px;min-height:18px;}
.age-gate__actions{display:flex;gap:10px;flex-wrap:wrap;}
.age-gate__actions .btn{min-height:44px;}
.age-gate__actions a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}
@media (max-width:520px){
  .age-gate__actions .btn{width:100%;}
}
@media (prefers-reduced-motion: no-preference){
  .age-gate__card{animation:agePop .22s ease-out;}
  @keyframes agePop{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
}



/* Sticky footer (site-wide) */
html, body { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
footer { margin-top: auto; }



/* Sticky footer helpers (when pages use wrappers) */
.page-content, .container, .wrap { flex: 1 0 auto; }



/* Fix policy pages layout (Affiliate Disclosure, Privacy, Terms, etc.) */
.page-content{
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: left;
}

.page-content h1{
  margin-bottom: 18px;
}

.page-content p{
  margin: 10px 0;
  line-height: 1.6;
  max-width: 760px;
}

@media (max-width: 768px){
  .page-content{
    padding: 30px 16px 50px;
  }
}



/* Info sections (How Demo Play Works / FAQ / Features / Demo info) */
.info-sections{padding:26px 0 10px;}
.info-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(12,1fr);gap:16px;padding:0 16px;}
.info-card{grid-column:span 6;border-radius:18px;padding:18px 18px 16px;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.35);}
.info-card h2{margin:0 0 10px;font-size:20px;letter-spacing:.2px;}
.info-list{margin:0 0 10px;padding-left:18px;line-height:1.55;}
.info-bullets{margin:0;padding-left:18px;line-height:1.55;}
.kv{display:flex;flex-direction:column;gap:8px;margin:0 0 10px;}
.kv-row{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;
  background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.06);}
.kv-row .k{opacity:.78;}
.kv-row .v{font-weight:600;}
.faq details{border-radius:14px;padding:12px 12px;margin:10px 0 0;
  background:rgba(0,0,0,.16);border:1px solid rgba(255,255,255,.06);}
.faq summary{cursor:pointer;font-weight:700;outline:none;}
.faq p{margin:8px 0 0;opacity:.9;line-height:1.55;}
.muted{opacity:.78;margin:0;line-height:1.5;}
@media (max-width:900px){
  .info-card{grid-column:span 12;}
}
@media (prefers-reduced-motion: reduce){
  .faq details{transition:none;}
}



/* Trust badges */
.trust-badges{padding:10px 0 18px;}
.trust-badges__inner{max-width:1100px;margin:0 auto;padding:0 16px;display:grid;gap:12px;
  grid-template-columns:repeat(4, minmax(0, 1fr));}
.tb{display:flex;gap:12px;align-items:center;border-radius:18px;padding:14px 14px;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.26);}
.tb__icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.06);font-weight:800;}
.tb__title{font-weight:800;line-height:1.1;}
.tb__sub{opacity:.78;font-size:13px;line-height:1.2;margin-top:2px;}
@media (max-width:920px){.trust-badges__inner{grid-template-columns:repeat(2, minmax(0, 1fr));}}
@media (max-width:520px){.trust-badges__inner{grid-template-columns:1fr;}}

