:root {
  --night: #070713;
  --panel: #111126;
  --panel-2: #18183a;
  --ink: #f8f8ff;
  --muted: #b6b6cf;
  --cyan: #52f4e3;
  --violet: #8c5bff;
  --pink: #ff4fd8;
  --gold: #ffd36a;
  --line: rgba(255,255,255,.13);
  --shadow: 0 26px 80px rgba(0,0,0,.36);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(82,244,227,.14), transparent 28rem),
    radial-gradient(circle at 88% 22%, rgba(140,91,255,.18), transparent 32rem),
    linear-gradient(180deg, #090917, #05050c 70%);
}
a { color: inherit; }
button, input, select { font: inherit; }
button { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--cyan); color: #05100f; font-weight: 900; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.utility {
  background: #030308; border-bottom: 1px solid var(--line); color: #d2d2e5;
  font-size: .78rem; text-align: center; padding: .38rem 1rem; letter-spacing: .025em;
}
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(7,7,19,.88);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex: 0 0 auto; }
.brand-glyph {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px;
  background: conic-gradient(from 200deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  color: #060610; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 900;
  box-shadow: 0 0 28px rgba(82,244,227,.22);
}
.brand-word { font-family: Georgia, "Times New Roman", serif; font-size: 1.34rem; font-weight: 800; letter-spacing: .16em; }
.brand-word small { display: block; color: var(--muted); font: 700 .58rem/1.1 Inter, sans-serif; letter-spacing: .19em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: .25rem; margin-left: auto; }
.nav-links > a { padding: .55rem .7rem; color: #d7d7e9; text-decoration: none; font-size: .84rem; font-weight: 750; border-radius: 999px; }
.nav-links > a:hover, .nav-links > a:focus-visible, .nav-links > a[aria-current="page"] { color: white; background: rgba(255,255,255,.09); }
.nav-actions { display: flex; align-items: center; gap: .55rem; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--panel); padding: .65rem .8rem; border-radius: 12px; font-weight: 800; }
.cta {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.12rem; border: 0; border-radius: 14px; color: #07110f; text-decoration: none;
  background: linear-gradient(135deg, var(--cyan), #a4ffcf); font-weight: 950; cursor: pointer;
  box-shadow: 0 12px 32px rgba(82,244,227,.18); transition: transform .18s ease, box-shadow .18s ease;
}
.cta:hover, .cta:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(82,244,227,.28); }
.cta.secondary { color: white; background: rgba(255,255,255,.08); border: 1px solid var(--line); box-shadow: none; }
.cta.gold { background: linear-gradient(135deg, var(--gold), #fff0b0); color: #251900; }
.cta.compact { min-height: 42px; padding: .55rem .92rem; border-radius: 12px; font-size: .86rem; }
.kicker { color: var(--cyan); text-transform: uppercase; letter-spacing: .15em; font-size: .74rem; font-weight: 900; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: clamp(3rem, 6vw, 6.3rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.5rem); }
h3 { font-size: 1.25rem; }
.lede { color: #d0d0e3; font-size: 1.08rem; max-width: 66ch; }
.muted { color: var(--muted); }

.home-hero { position: relative; padding: clamp(3rem, 6vw, 6.5rem) 0 4.5rem; min-height: 740px; }
.home-hero::after {
  content: ""; position: absolute; width: 44rem; height: 44rem; right: -18rem; top: -10rem; z-index: -1;
  background: conic-gradient(from 80deg, rgba(82,244,227,.25), rgba(140,91,255,.28), rgba(255,79,216,.14), rgba(82,244,227,.25));
  border-radius: 50%; filter: blur(80px); opacity: .75;
}
.hero-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(440px,1.08fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.hero-copy h1 { max-width: 9ch; }
.hero-copy h1 span { color: transparent; background: linear-gradient(90deg, var(--cyan), #b9a1ff 55%, var(--pink)); background-clip: text; -webkit-background-clip: text; }
.hero-copy .lede { margin: 1.25rem 0 1.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 1.35rem; color: #c7c7da; font-size: .82rem; }
.trust-line span::before { content: "◆"; color: var(--cyan); margin-right: .45rem; font-size: .58rem; vertical-align: .12rem; }
.bonus-pass {
  margin-top: 2rem; padding: 1.05rem 1.2rem; max-width: 540px; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  background: linear-gradient(135deg, rgba(140,91,255,.2), rgba(255,79,216,.12)); border: 1px solid rgba(204,183,255,.32); border-radius: 18px;
}
.bonus-pass strong { display: block; color: var(--gold); font: 800 1.3rem/1.1 Georgia, serif; }
.bonus-pass small { color: var(--muted); }
.bonus-pass b { font-size: 2.4rem; color: white; }

.game-shell { position: relative; padding: 1rem; background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; box-shadow: var(--shadow); }
.game-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .3rem .35rem 1rem; }
.game-top strong { font-size: 1rem; }
.credit-pill { border: 1px solid rgba(82,244,227,.32); background: rgba(82,244,227,.08); color: var(--cyan); padding: .35rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 850; }
.blackjack-table { min-height: 480px; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; border-radius: 21px; background: radial-gradient(circle at 50% 120%, #235b56, #0c3434 56%, #082324); border: 1px solid rgba(82,244,227,.2); box-shadow: inset 0 0 80px rgba(0,0,0,.3); }
.hand-label { display: flex; justify-content: space-between; color: #c9e8e3; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.cards { display: flex; justify-content: center; min-height: 112px; padding: .85rem 0; }
.card {
  width: 72px; height: 102px; margin-left: -14px; display: grid; place-items: center; border-radius: 9px;
  background: #fcfcff; color: #12121b; border: 2px solid rgba(0,0,0,.18); box-shadow: 0 8px 18px rgba(0,0,0,.3);
  font: 900 1.25rem/1 Georgia, serif; transform: rotate(var(--tilt,0deg));
}
.card:first-child { margin-left: 0; }
.card.red { color: #d92952; }
.card.back { color: transparent; background: repeating-linear-gradient(45deg, #382478 0 6px, #6b50d8 6px 12px); border-color: #b9a7ff; }
.game-message { min-height: 28px; margin: .5rem 0; text-align: center; color: var(--gold); font-weight: 900; }
.game-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.game-controls button, .wager-select {
  min-height: 42px; padding: .55rem .85rem; border-radius: 11px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(4,13,15,.62); color: white; font-weight: 850; cursor: pointer;
}
.game-controls button.primary { background: var(--cyan); color: #061110; }
.game-controls button:disabled { opacity: .42; cursor: not-allowed; }
.demo-note { margin: .8rem 0 0; text-align: center; color: #a9c6c2; font-size: .72rem; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.035); }
.marquee-track { display: flex; gap: 3rem; min-width: max-content; padding: .75rem 0; color: #d3d3e7; font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; animation: drift 26s linear infinite; }
.marquee-track span::before { content: "✦"; color: var(--pink); margin-right: 3rem; }
@keyframes drift { to { transform: translateX(-50%); } }

.section { padding: clamp(4.5rem,8vw,8rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section-head h2 { max-width: 13ch; margin-top: .55rem; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }
.panel { background: rgba(255,255,255,.055); border: 1px solid var(--line); border-radius: 22px; }
.game-grid, .feature-grid, .steps, .footer-grid { display: grid; gap: 1rem; }
.game-grid { grid-template-columns: repeat(4,1fr); }
.game-tile { position: relative; min-height: 250px; padding: 1.2rem; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.game-tile::before { content: ""; position: absolute; inset: 0; opacity: .9; background: var(--art,linear-gradient(145deg,#382478,#0d8278)); }
.game-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(5,5,12,.96)); }
.game-tile > * { position: relative; z-index: 1; }
.game-tile span { color: var(--cyan); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.game-tile h3 { margin-top: .35rem; font-size: 1.45rem; }
.game-tile p { color: #c3c3d5; margin: .45rem 0 0; font-size: .86rem; }
.game-tile:hover { transform: translateY(-4px); border-color: rgba(82,244,227,.5); }
.art-slots { --art: radial-gradient(circle at 30% 25%,#ffca51 0 8%,transparent 9%),radial-gradient(circle at 68% 40%,#ff4fd8 0 10%,transparent 11%),linear-gradient(140deg,#492070,#16162b); }
.art-live { --art: radial-gradient(circle at 50% 20%,#52f4e3 0 7%,transparent 8%),linear-gradient(145deg,#0b675e,#12152c 70%); }
.art-table { --art: repeating-radial-gradient(circle at 50% 20%,#8c5bff 0 12px,#35236e 13px 26px,#15152d 27px 40px); }
.art-jackpot { --art: conic-gradient(from 45deg,#ff4fd8,#8c5bff,#ffd36a,#ff4fd8); }

.arcade-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 1rem; align-items: stretch; }
.slot-machine { padding: 1.5rem; background: linear-gradient(145deg,#1a1440,#25114a); border: 1px solid rgba(184,151,255,.3); border-radius: 24px; }
.slot-reels { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin: 1.3rem 0; }
.slot-reel { min-height: 112px; display: grid; place-items: center; background: #faf8ff; color: #141325; border-radius: 16px; font-size: 3rem; box-shadow: inset 0 0 0 3px #b89cff, 0 12px 30px rgba(0,0,0,.22); }
.slot-meta { display: flex; justify-content: space-between; color: #d4c9f5; font-size: .82rem; }
.slot-result { min-height: 30px; color: var(--gold); font-weight: 900; }
.bonus-builder { padding: 1.5rem; }
.bonus-builder h3 { margin-bottom: .5rem; font-size: 1.6rem; }
.field { margin-top: 1rem; }
.field label { display: flex; justify-content: space-between; gap: 1rem; color: #d7d7e8; font-size: .84rem; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 48px; margin-top: .45rem; padding: .65rem .75rem; background: #0a0a18; color: white; border: 1px solid var(--line); border-radius: 12px; }
input[type="range"] { accent-color: var(--cyan); }
.bonus-result { margin-top: 1.15rem; padding: 1rem; border-radius: 16px; background: linear-gradient(135deg,rgba(82,244,227,.14),rgba(140,91,255,.15)); border: 1px solid rgba(82,244,227,.25); }
.bonus-result strong { display: block; color: var(--gold); font: 800 2rem/1.1 Georgia,serif; }

.page-hero { padding: 5rem 0 4rem; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
.page-hero h1 { max-width: 11ch; margin-top: .7rem; }
.page-hero .lede { margin: 1.25rem 0 1.7rem; }
.stat-card { padding: 1.6rem; background: linear-gradient(145deg,rgba(140,91,255,.22),rgba(82,244,227,.08)); border: 1px solid rgba(184,151,255,.3); border-radius: 24px; }
.stat-card strong { display: block; color: var(--gold); font: 800 clamp(2.4rem,5vw,4.8rem)/.95 Georgia,serif; }
.stat-card p { color: var(--muted); margin-bottom: 0; }
.breadcrumbs { margin-bottom: 1.2rem; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { color: var(--cyan); }
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 2rem; align-items: start; }
.prose { color: #d4d4e4; }
.prose h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.9rem,3vw,3rem); }
.prose h3 { margin-top: 1.8rem; color: white; }
.prose p, .prose li { max-width: 75ch; }
.prose a { color: var(--cyan); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; background: rgba(255,255,255,.035); }
.prose th, .prose td { padding: .85rem; text-align: left; border: 1px solid var(--line); }
.prose th { color: white; background: rgba(140,91,255,.15); }
.sidebar { position: sticky; top: 102px; padding: 1.35rem; }
.sidebar h3 { font-size: 1.4rem; }
.sidebar p { color: var(--muted); font-size: .9rem; }
.side-links { display: grid; gap: .35rem; margin-top: 1rem; }
.side-links a { padding: .62rem .7rem; color: #d6d6e7; text-decoration: none; border-radius: 10px; background: rgba(255,255,255,.045); }
.side-links a:hover { background: rgba(82,244,227,.1); color: var(--cyan); }
.feature-grid { grid-template-columns: repeat(3,1fr); }
.feature { padding: 1.4rem; }
.feature .icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 1rem; border-radius: 14px; background: rgba(82,244,227,.12); color: var(--cyan); font-size: 1.25rem; }
.feature p { color: var(--muted); margin-bottom: 0; }
.steps { grid-template-columns: repeat(3,1fr); counter-reset: step; }
.step { padding: 1.4rem; counter-increment: step; }
.step::before { content: "0" counter(step); display: block; color: var(--pink); font-weight: 950; letter-spacing: .1em; margin-bottom: 1rem; }
.notice-box { margin: 1.5rem 0; padding: 1.15rem 1.25rem; border: 1px solid rgba(255,211,106,.36); border-radius: 16px; background: rgba(255,211,106,.08); color: #eee5cf; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 0; position: relative; color: white; font-weight: 850; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; position:absolute; right:.4rem; color:var(--cyan); font-size:1.35rem; }
.faq details[open] summary::after { content:"−"; }
.faq p { margin-top: 0; color: var(--muted); }

.responsible-strip { padding: 1rem 0; border-block: 1px solid var(--line); background: rgba(82,244,227,.05); }
.responsible-strip .wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.responsible-strip p { margin: 0; color: #d0d0e1; font-size: .82rem; }
.responsible-strip a { color: var(--cyan); font-weight: 850; }
.footer-cta { padding: 3.8rem 0; background: linear-gradient(105deg,#2c175d,#123c4a); border-top: 1px solid var(--line); }
.footer-cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-cta h2 { max-width: 12ch; font-size: clamp(2rem,4vw,3.8rem); }
.site-footer { padding: 4rem 0 2rem; background: #030308; }
.footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.footer-brand p { max-width: 35ch; color: var(--muted); }
.footer-links { display: grid; align-content: start; gap: .45rem; }
.footer-links strong { margin-bottom: .35rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a { color: #bdbdd0; text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: var(--cyan); }
.legal { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: #88889e; font-size: .76rem; }

@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; inset: 77px 0 auto; padding: 1rem 20px 1.4rem; background: #090918; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: .75rem; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .nav-actions .cta.secondary { display: none; }
  .game-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .page-hero-grid, .content-layout, .arcade-layout { grid-template-columns: 1fr; }
  .home-hero { min-height: 0; }
  .hero-copy h1 { max-width: 11ch; }
  .game-shell { max-width: 640px; }
  .sidebar { position: static; }
  .feature-grid, .steps, .footer-grid { grid-template-columns: repeat(2,1fr); }
  .section-head { align-items: start; flex-direction: column; }
}
@media (max-width: 580px) {
  .wrap { width: min(calc(100% - 28px),var(--max)); }
  .utility { font-size: .7rem; }
  .nav { min-height: 70px; gap: .55rem; }
  .brand-word { font-size: 1.05rem; letter-spacing: .1em; }
  .brand-word small { display: none; }
  .nav-actions .cta { min-height: 40px; padding: .48rem .68rem; font-size: .75rem; }
  .nav-links { inset: 71px 0 auto; }
  .home-hero { padding-top: 2.8rem; }
  h1 { font-size: clamp(2.7rem,14vw,4.4rem); }
  .bonus-pass { grid-template-columns: 1fr; }
  .blackjack-table { min-height: 450px; padding: 1rem .65rem; }
  .card { width: 60px; height: 88px; }
  .game-grid, .feature-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .game-tile { min-height: 220px; }
  .footer-cta .wrap, .responsible-strip .wrap { align-items: flex-start; flex-direction: column; }
  .slot-reel { min-height: 90px; font-size: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
