/* arcabolt.com - dark neon casino theme (violet, cyan, gold). Self-contained: own font, no external requests. */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #090b1e;
  --bg-2: #12152e;
  --surface: #191d3d;
  --surface-2: #242952;
  --violet: #9b5cff;
  --violet-deep: #7c3aed;
  --gold: #f6b93b;
  --gold-2: #ffe29a;
  --cyan: #5de6ff;
  --pink: #f472b6;
  --green: #13c296;
  --text: #ffffff;
  --text-2: #bfc4e2;
  --hairline: rgba(255, 255, 255, 0.1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
html.locked { overflow: hidden; }
body {
  margin: 0; color: var(--text); background: var(--bg); overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
[x-cloak] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1b1200; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--text-2); }

/* ---- page background ---- */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse at 50% -10%, #1d1450 0%, transparent 60%), var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.35; animation: orb 18s ease-in-out infinite alternate; }
.o1 { width: 44vmax; height: 44vmax; left: -16vmax; top: -10vmax; background: var(--violet-deep); }
.o2 { width: 38vmax; height: 38vmax; right: -14vmax; top: 30vh; background: #0e7490; animation-delay: -7s; }
.o3 { width: 30vmax; height: 30vmax; left: 30%; bottom: -16vmax; background: #a3127f; opacity: 0.22; animation-delay: -12s; }
@keyframes orb { to { transform: translate(4vmax, 5vmax) scale(1.1); } }
.cursor-glow { position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 92, 255, 0.16), transparent 65%); will-change: transform; }

/* ---- buttons ---- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; overflow: hidden;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-gold { color: #2a1700; background: linear-gradient(180deg, #ffd56b, var(--gold) 55%, #e09a1a); box-shadow: 0 8px 26px rgba(246, 185, 59, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-gold::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent); transform: skewX(-20deg); animation: sweep 3.6s ease-in-out infinite; }
@keyframes sweep { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(246, 185, 59, 0.55), 0 0 24px rgba(246, 185, 59, 0.4); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.04); border-color: rgba(155, 92, 255, 0.5); }
.btn-ghost:hover { background: rgba(155, 92, 255, 0.16); box-shadow: 0 0 22px rgba(155, 92, 255, 0.35); transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-small { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; color: #fff; background: rgba(155, 92, 255, 0.22); border-color: rgba(155, 92, 255, 0.5); }
.btn-small:hover { background: rgba(155, 92, 255, 0.4); }
.btn:active { transform: translateY(1px) scale(0.99); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(9, 11, 30, 0.78); backdrop-filter: blur(16px); border-bottom-color: var(--hairline); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.logo-img { height: 32px; width: auto; filter: drop-shadow(0 0 12px rgba(93, 230, 255, 0.3)); transition: filter 0.3s; }
.logo:hover .logo-img { filter: drop-shadow(0 0 18px rgba(155, 92, 255, 0.65)); }
.footer .logo-img { height: 38px; }
.final-emblem { width: 96px; height: auto; margin: 0 auto 14px; filter: drop-shadow(0 0 26px rgba(93, 230, 255, 0.6)); animation: bob 4s ease-in-out infinite; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, #2f2670, #12152e); border: 1px solid rgba(155, 92, 255, 0.6); box-shadow: 0 0 18px rgba(155, 92, 255, 0.5); }
.logo-mark svg { width: 20px; height: 20px; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(246, 185, 59, 0.9)); animation: flicker 5s infinite; }
@keyframes flicker { 0%, 46%, 50%, 100% { opacity: 1; } 48% { opacity: 0.5; } }
.links { display: flex; gap: 6px; }
.links a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 14.5px; transition: color 0.2s, background 0.2s; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.04); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { display: none; }

/* ---- hero ---- */
.hero { position: relative; padding: 40px 0 30px; overflow: hidden; }
#hero-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; min-height: min(640px, 80vh); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pill { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #e6e1ff; background: rgba(155, 92, 255, 0.14); border: 1px solid rgba(155, 92, 255, 0.35); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; }
.grad {
  background: linear-gradient(100deg, #fff 0%, #d9c7ff 25%, var(--cyan) 50%, var(--violet) 70%, #fff 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.lead { margin: 20px 0 28px; font-size: clamp(16px, 1.6vw, 18px); color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 30px; margin: 36px 0 0; justify-content: start; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { font-size: 12.5px; color: var(--text-2); font-weight: 600; }
.stats dd { margin: 0; font-size: 30px; font-weight: 900; color: var(--gold); text-shadow: 0 0 20px rgba(246, 185, 59, 0.45); font-variant-numeric: tabular-nums; }

.hero-art { position: relative; height: 520px; perspective: 1100px; }
.halo { position: absolute; inset: 10% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(155, 92, 255, 0.55), rgba(93, 230, 255, 0.15) 45%, transparent 70%); filter: blur(30px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: 0.8; } }
.hero-card { position: absolute; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); transition: transform 0.2s ease-out; }
.hero-card img:first-child { width: 100%; height: 100%; object-fit: cover; }
.hero-card.main { width: 70%; left: 15%; top: 13%; aspect-ratio: 640 / 425; z-index: 2; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(246, 185, 59, 0.5), 0 0 50px rgba(246, 185, 59, 0.25); animation: float 6s ease-in-out infinite; }
.hero-card.side { width: 42%; aspect-ratio: 4 / 3; z-index: 3; border: 1px solid rgba(255, 255, 255, 0.14); }
.hero-card.s1 { right: -2%; top: 0; }
.hero-card.s2 { left: -2%; bottom: 4%; }
.hero-card-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(5, 6, 18, 0.92)); display: flex; flex-direction: column; }
.hero-card-label small { font-size: 11px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-card-label b { font-size: 17px; }
.hero-card.main .hero-card-label b { font-size: 22px; }
.badge-art { position: absolute; top: -6px; right: 10px; width: 92px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)); animation: bob 3s ease-in-out infinite; }
.shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, transparent 60%); background-size: 260% 100%; animation: shine 5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.float-icon { position: absolute; z-index: 4; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5)); animation: bob 4s ease-in-out infinite; }
.fi-1 { width: 96px; right: 6%; bottom: 8%; animation-delay: -1s; }
.fi-2 { width: 84px; left: 6%; top: 4%; animation-delay: -2s; }
.fi-3 { width: 92px; right: 40%; bottom: -2%; animation-delay: -3s; }

.marquee { margin-top: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; padding: 12px 0; animation: marquee 50s linear infinite; }
.marquee img { height: 110px; width: auto; border-radius: 14px; opacity: 0.85; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- categories ---- */
.categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 10px; }
.cat { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(180deg, rgba(36, 41, 82, 0.6), rgba(18, 21, 46, 0.6)); border: 1px solid var(--hairline); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.cat:hover { transform: translateY(-4px); border-color: rgba(93, 230, 255, 0.5); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(93, 230, 255, 0.18); }
.cat-emoji { font-size: 24px; }
.cat b { font-size: 15.5px; }
.cat small { color: var(--text-2); font-size: 12.5px; }

/* ---- sections ---- */
.section { padding: 96px 0 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); background: rgba(93, 230, 255, 0.08); border: 1px solid rgba(93, 230, 255, 0.3); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.section-head p { margin-top: 12px; color: var(--text-2); }

/* filters + game grid (the filter is a data attribute; CSS shows the matching cards) */
.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filters button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hairline); background: rgba(255, 255, 255, 0.04); color: var(--text-2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.filters button:hover { color: #fff; border-color: rgba(155, 92, 255, 0.5); }
.filters[data-filter="all"] button[data-filter="all"],
.filters[data-filter="slots"] button[data-filter="slots"],
.filters[data-filter="table"] button[data-filter="table"],
.filters[data-filter="number"] button[data-filter="number"],
.filters[data-filter~="wheel"] button[data-filter="wheel arcade"],
.filters[data-filter~="arcade"] button[data-filter="wheel arcade"] {
  color: #fff; background: linear-gradient(90deg, var(--violet-deep), var(--violet)); border-color: transparent; box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-grid[data-filter="slots"] .game:not([data-cat="slots"]),
.game-grid[data-filter="table"] .game:not([data-cat="table"]),
.game-grid[data-filter="number"] .game:not([data-cat="number"]),
.game-grid[data-filter="wheel"] .game:not([data-cat="wheel"]),
.game-grid[data-filter="arcade"] .game:not([data-cat="arcade"]),
.game-grid[data-filter="wheel arcade"] .game:not([data-cat="wheel"]):not([data-cat="arcade"]) { display: none; }
.game {
  position: relative; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(36, 41, 82, 0.7), rgba(16, 18, 40, 0.92)); border: 1px solid var(--hairline);
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(calc(var(--lift, 0) * -6px));
  transition: transform 0.18s ease-out, box-shadow 0.25s, border-color 0.25s;
}
.game::after { /* the light that follows the pointer */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--lift, 0); transition: opacity 0.25s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 45%);
}
.game:hover { border-color: rgba(246, 185, 59, 0.45); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(155, 92, 255, 0.3); }
.game-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0d0f26; }
.game-art img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game:hover .game-art img:first-child { transform: scale(1.06); }
.ribbon-badge { position: absolute; top: 8px; right: 8px; width: 82px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); animation: bob 3s ease-in-out infinite; }
.game-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.chip { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: #e9dbff; background: rgba(155, 92, 255, 0.22); border: 1px solid rgba(155, 92, 255, 0.4); }
.game h3 { font-size: 21px; font-weight: 800; }
.game p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.game-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.meta { font-size: 12.5px; font-weight: 700; color: var(--gold); }

/* rewards */
.rewards .wrap { position: relative; }
.reward-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.reward { position: relative; text-align: center; padding: 28px 20px 24px; border-radius: var(--radius); background: radial-gradient(circle at 50% 0%, rgba(155, 92, 255, 0.28), transparent 60%), linear-gradient(180deg, rgba(36, 41, 82, 0.6), rgba(16, 18, 40, 0.9)); border: 1px solid var(--hairline); transition: transform 0.25s, box-shadow 0.25s; }
.reward:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(246, 185, 59, 0.2); }
.reward img { width: 110px; height: 110px; object-fit: contain; margin: 0 auto 14px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5)); animation: bob 4s ease-in-out infinite; }
.reward:nth-child(2) img { animation-delay: -1s; }
.reward:nth-child(3) img { animation-delay: -2s; }
.reward:nth-child(4) img { animation-delay: -3s; }
.reward h3 { font-size: 19px; margin-bottom: 8px; }
.reward p { color: var(--text-2); font-size: 14.5px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); background: rgba(25, 29, 61, 0.55); border: 1px solid var(--hairline); transition: border-color 0.25s, background 0.25s; }
.feature:hover { border-color: rgba(93, 230, 255, 0.4); background: rgba(36, 41, 82, 0.6); }
.f-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 24px; margin-bottom: 14px; background: linear-gradient(145deg, rgba(155, 92, 255, 0.35), rgba(93, 230, 255, 0.12)); border: 1px solid rgba(155, 92, 255, 0.4); }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 14.5px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--gold)); opacity: 0.5; }
.step { position: relative; text-align: center; padding: 26px 22px; border-radius: var(--radius); background: rgba(25, 29, 61, 0.7); border: 1px solid var(--hairline); }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 900; font-size: 15px; color: #1b1200; background: linear-gradient(180deg, #ffd56b, var(--gold)); box-shadow: 0 0 22px rgba(246, 185, 59, 0.55); margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; }
.qa { border-radius: 14px; background: rgba(25, 29, 61, 0.65); border: 1px solid var(--hairline); overflow: hidden; }
.qa button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; }
.chev { width: 10px; height: 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform 0.25s; flex: none; }
.qa button[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.answer { padding: 0 20px 18px; color: var(--text-2); }
.answer a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* final */
.final { margin: 110px 0 0; }
.final-inner { position: relative; text-align: center; padding: 64px 24px; border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, rgba(155, 92, 255, 0.5), transparent 65%), linear-gradient(180deg, #1c1846, #10122a); border: 1px solid rgba(155, 92, 255, 0.4); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.final-inner::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(93, 230, 255, 0.18), transparent 30%, rgba(246, 185, 59, 0.16), transparent 60%); animation: spin 14s linear infinite; }
.final-inner > * { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.final-bolt { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(155, 92, 255, 0.25); border: 1px solid rgba(155, 92, 255, 0.6); box-shadow: 0 0 30px rgba(155, 92, 255, 0.6); margin-bottom: 18px; }
.final-bolt svg { width: 34px; height: 34px; fill: var(--gold); filter: drop-shadow(0 0 10px rgba(246, 185, 59, 0.9)); animation: flicker 4s infinite; }
.final h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 900; }
.final p { color: var(--text-2); margin: 12px 0 26px; }

/* footer */
.footer { margin-top: 90px; padding: 44px 0 30px; border-top: 1px solid var(--hairline); background: rgba(5, 6, 18, 0.55); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-grid.four { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
.footer-grid p { margin-top: 12px; max-width: 360px; font-size: 14px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2); margin-bottom: 12px; }
.footer-grid a:not(.logo) { display: block; color: #d6d9f2; font-size: 14.5px; padding: 3px 0; }
.footer-grid a:not(.logo):hover { color: var(--cyan); }
.disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding: 16px 18px; border-radius: 14px;
  background: rgba(246, 185, 59, 0.07); border: 1px solid rgba(246, 185, 59, 0.35); }
.disclaimer p { font-size: 13.5px; line-height: 1.6; color: #d8dbf2; }
.disclaimer strong { color: var(--gold); }
.disc-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px;
  color: #2a1700; background: var(--gold); box-shadow: 0 0 14px rgba(246, 185, 59, 0.5); }
.legal { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 13px; color: #8a8fb6; text-align: center; }

/* legal pages */
.doc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; padding: 40px 0 0; align-items: start; }
.doc-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: rgba(25, 29, 61, 0.6); border: 1px solid var(--hairline); }
.doc-nav a { padding: 9px 12px; border-radius: 10px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.doc-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.doc-nav a[aria-current="page"] { color: #fff; background: linear-gradient(90deg, rgba(124, 58, 237, 0.55), rgba(155, 92, 255, 0.25)); box-shadow: inset 3px 0 0 var(--gold); }
.doc { max-width: 780px; padding: 36px 40px 44px; border-radius: 22px; background: linear-gradient(180deg, rgba(36, 41, 82, 0.55), rgba(16, 18, 40, 0.85)); border: 1px solid var(--hairline); }
.doc h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; margin-top: 4px; }
.doc-meta { color: var(--gold); font-size: 13.5px; font-weight: 700; margin: 8px 0 20px; }
.doc h2 { font-size: 21px; font-weight: 800; margin: 32px 0 10px; }
.doc p, .doc li { color: #d3d6ee; font-size: 15.5px; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; margin: 8px 0; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.doc strong { color: #fff; }
.lead-doc { font-size: 17px !important; color: #e7e8fb !important; padding: 16px 18px; border-radius: 14px; background: rgba(155, 92, 255, 0.1); border: 1px solid rgba(155, 92, 255, 0.28); }
.table-wrap { overflow-x: auto; margin: 12px 0; border-radius: 14px; border: 1px solid var(--hairline); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.doc th, .doc td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; color: #d3d6ee; }
.doc th { background: rgba(9, 11, 30, 0.6); color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.doc tr:last-child td { border-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.contact-card { padding: 20px; border-radius: 16px; background: rgba(9, 11, 30, 0.55); border: 1px solid var(--hairline); }
.contact-card h2 { margin: 0 0 8px; font-size: 18px; }
.contact-card .big { margin-top: 12px; font-weight: 800; font-size: 16px; }

/* game sheet (details loaded by HTMX) */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 16, 0.78); backdrop-filter: blur(6px); }
.sheet-panel { position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 24px; background: linear-gradient(180deg, #232853, #12152e); border: 1px solid rgba(155, 92, 255, 0.45); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 50px rgba(155, 92, 255, 0.25); animation: pop 0.3s ease; }
@keyframes pop { from { transform: scale(0.95) translateY(10px); opacity: 0; } }
.sheet-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hairline); background: rgba(9, 11, 30, 0.7); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.sheet-close:hover { background: rgba(244, 114, 182, 0.3); }
.sheet-game { display: grid; grid-template-columns: 1fr 1fr; }
.sheet-art { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.sheet-copy { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.sheet-copy h3 { font-size: 28px; font-weight: 900; }
.sheet-copy p { color: var(--text-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0; }
.fact { padding: 10px 12px; border-radius: 12px; background: rgba(9, 11, 30, 0.6); border: 1px solid var(--hairline); }
.fact dt { font-size: 11.5px; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.fact dd { margin: 2px 0 0; font-weight: 800; color: var(--gold); }
.notes { margin: 0; padding-left: 18px; color: #d9dcf4; font-size: 14.5px; }
.notes li + li { margin-top: 4px; }
.sheet-copy .btn { align-self: flex-start; margin-top: 6px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.shown { opacity: 1; transform: none; }
.game.reveal.shown { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(calc(var(--lift, 0) * -6px)); }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .links { display: none; }
  .footer-grid.four { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid.four > div:first-child { grid-column: 1 / -1; }
  .doc-layout { grid-template-columns: 1fr; gap: 20px; }
  .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .drawer { display: flex; flex-direction: column; gap: 4px; padding: 10px 16px 18px; background: rgba(9, 11, 30, 0.96); border-bottom: 1px solid var(--hairline); }
  .drawer a { padding: 12px 8px; font-weight: 600; border-radius: 10px; }
  .drawer a:hover { background: rgba(255, 255, 255, 0.06); }
  .drawer .btn { margin-top: 8px; height: 48px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: 440px; max-width: 620px; width: 100%; margin: 0 auto; }
  .game-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .reward-grid { grid-template-columns: repeat(2, 1fr); }
  .categories { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1081px) { .drawer { display: none !important; } }
@media (max-width: 680px) {
  .nav-cta .btn-gold { display: none; }
  .hero { padding-top: 20px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 14px 30px; }
  .hero-art { height: 300px; }
  .hero-card.main { width: 82%; left: 4%; top: 16%; }
  .hero-card.s1 { width: 44%; right: 0; top: 0; }
  .hero-card.s2 { display: none; }
  .hero-card-label b { font-size: 14px; }
  .badge-art { width: 58px; }
  .float-icon { display: none; }
  .game-grid, .feature-grid, .reward-grid, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .section { padding-top: 72px; }
  .footer-grid, .footer-grid.four { grid-template-columns: 1fr 1fr; }
  .doc { padding: 24px 18px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .sheet-game { grid-template-columns: 1fr; }
  .sheet-art { min-height: 0; aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; }
  .marquee img { height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
}
