/* ==========================================================================
   NeonBright Club — Shared Stylesheet
   Neon nightclub aesthetic: deep indigo, electric cyan, magenta & violet.
   Headings: Space Grotesk · Body: Manrope
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #06061a;
  --bg-2: #0b0b24;
  --bg-3: #111133;
  --glass: rgba(20, 20, 56, 0.55);
  --glass-strong: rgba(16, 16, 46, 0.86);
  --line: rgba(150, 160, 255, 0.14);
  --line-strong: rgba(150, 160, 255, 0.28);

  --cyan: #2be4ff;
  --cyan-soft: rgba(43, 228, 255, 0.14);
  --magenta: #ff3fb4;
  --magenta-soft: rgba(255, 63, 180, 0.14);
  --violet: #8d63ff;
  --violet-soft: rgba(141, 99, 255, 0.16);
  --lime: #6dffb0;
  --amber: #ffc95e;
  --danger: #ff6b8a;

  --text: #eef0ff;
  --text-2: #b4b8dc;
  --text-3: #8a8fbd;

  --grad-neon: linear-gradient(110deg, var(--cyan) 0%, var(--violet) 55%, var(--magenta) 100%);
  --glow-cyan: 0 0 0 1px rgba(43, 228, 255, 0.45), 0 0 24px rgba(43, 228, 255, 0.25);
  --glow-magenta: 0 0 0 1px rgba(255, 63, 180, 0.45), 0 0 24px rgba(255, 63, 180, 0.25);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);

  --font-head: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 8% -10%, rgba(141, 99, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(43, 228, 255, 0.10), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(255, 63, 180, 0.10), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* geometric grid overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(150, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: #fff; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { color: var(--text-2); }
strong { color: var(--text); font-weight: 700; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.text-grad {
  background: var(--grad-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--cyan); color: #04121a; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 16px; color: #04121a; }

.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 3. Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 13px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn-neon {
  background: var(--grad-neon); color: #070716;
  box-shadow: 0 10px 30px -10px rgba(141, 99, 255, 0.8);
}
.btn-neon:hover { color: #070716; transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(255, 63, 180, 0.75); }
.btn-ghost {
  background: rgba(43, 228, 255, 0.04); color: var(--text); border-color: rgba(43, 228, 255, 0.5);
}
.btn-ghost:hover { color: #fff; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-quiet { background: rgba(255, 255, 255, 0.05); color: var(--text-2); border-color: var(--line-strong); }
.btn-quiet:hover { color: var(--text); border-color: var(--text-3); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--text-2); background: rgba(255, 255, 255, 0.03);
}
.tag-cyan { color: var(--cyan); border-color: rgba(43, 228, 255, 0.4); background: var(--cyan-soft); }
.tag-magenta { color: var(--magenta); border-color: rgba(255, 63, 180, 0.4); background: var(--magenta-soft); }
.tag-violet { color: #b9a0ff; border-color: rgba(141, 99, 255, 0.45); background: var(--violet-soft); }

.badge-18 {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff;
  border: 2px solid var(--magenta);
  box-shadow: 0 0 18px rgba(255, 63, 180, 0.45), inset 0 0 12px rgba(255, 63, 180, 0.35);
}

/* ---------- 4. Glass panels ---------- */
.panel {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.panel-neon { border-color: rgba(43, 228, 255, 0.35); box-shadow: 0 0 40px -12px rgba(43, 228, 255, 0.35); }
.panel h3 { margin-bottom: 10px; }
.panel p:last-child { margin-bottom: 0; }

/* ---------- 5. Header (floating pill) ---------- */
.site-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  padding: 0 16px; pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 22px;
  background: rgba(10, 10, 32, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.9);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled .nav-shell { background: rgba(8, 8, 26, 0.94); border-color: rgba(43, 228, 255, 0.25); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-pills { display: flex; align-items: center; gap: 2px; }
.nav-pills a {
  color: var(--text-2); font-size: 0.92rem; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-pill);
}
.nav-pills a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-pills a.active { color: var(--text); background: rgba(43, 228, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(43, 228, 255, 0.35); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04);
  color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-panel {
  pointer-events: auto;
  display: none;
  max-width: 1180px; margin: 10px auto 0;
  padding: 14px;
  background: rgba(8, 8, 26, 0.97);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.mobile-panel.open { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mobile-panel a {
  color: var(--text-2); font-weight: 600; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03); border: 1px solid transparent;
}
.mobile-panel a:hover, .mobile-panel a.active { color: var(--text); border-color: rgba(43, 228, 255, 0.35); }

/* ---------- 6. Home: split hero ---------- */
.hero-split {
  padding: calc(var(--header-h) + 72px) 0 64px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-copy h1 { margin: 18px 0 20px; }
.hero-copy .lead { font-size: 1.15rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin-top: 44px; border-top: 1px solid var(--line); padding-top: 22px;
}
.hero-facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.hero-facts dd { font-size: 0.82rem; color: var(--text-3); letter-spacing: 0.04em; }

.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hero-visual .spin-slow { transform-origin: 260px 260px; animation: spin 60s linear infinite; }
.hero-visual .float { animation: float 7s ease-in-out infinite; }
.hero-visual .float-2 { animation: float 8s ease-in-out -3s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 7. Notice / disclaimer ---------- */
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(255, 63, 180, 0.08), rgba(141, 99, 255, 0.06) 50%, rgba(43, 228, 255, 0.06));
  border: 1px solid rgba(255, 63, 180, 0.3);
}
.notice h2, .notice h3 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta); margin-bottom: 6px; font-weight: 600; }
.notice p { color: var(--text); font-size: 0.97rem; margin: 0; }

/* ---------- 8. Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-head h2 { margin-top: 12px; }
.section-head p { max-width: 30rem; }
.band {
  background: linear-gradient(180deg, rgba(17, 17, 51, 0.6), rgba(11, 11, 36, 0.2));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}

/* ---------- 9. Bento game grid ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
}
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text);
  isolation: isolate;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 26, 0) 20%, rgba(6, 6, 26, 0.78) 58%, rgba(6, 6, 26, 0.97) 88%);
}
.tile:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(43, 228, 255, 0.5); box-shadow: 0 0 40px -10px rgba(43, 228, 255, 0.45); }
.tile:hover img { transform: scale(1.04); }
.tile-body { padding: 22px; }
.tile-body .tag { margin-bottom: 10px; }
.tile-body h3 { font-size: 1.3rem; margin-bottom: 4px; }
.tile-body p { font-size: 0.9rem; margin: 0; max-width: 28rem; }
.tile-go {
  position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(6, 6, 26, 0.6); border: 1px solid var(--line-strong);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.tile-go .icon { width: 18px; height: 18px; }
.tile:hover .tile-go { background: var(--cyan); color: #04121a; border-color: var(--cyan); }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-xl .tile-body h3 { font-size: 1.9rem; }
.tile-wide { grid-column: span 2; }
.tile:not(.tile-xl):not(.tile-wide) .tile-body p { display: none; }
.tile-promo { background: linear-gradient(120deg, rgba(141, 99, 255, 0.24), rgba(255, 63, 180, 0.14) 60%, rgba(43, 228, 255, 0.12)); }
.tile-promo::after { display: none; }

/* ---------- 10. Steps (horizontal timeline) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step-num {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--cyan); display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.step-num::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(43, 228, 255, 0.6), transparent); }
.step h3 { margin-bottom: 8px; }

/* ---------- 11. Feature list (icon rows) ---------- */
.feature-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.feature-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--cyan); background: var(--cyan-soft); border: 1px solid rgba(43, 228, 255, 0.3);
}
.feature-ico.m { color: var(--magenta); background: var(--magenta-soft); border-color: rgba(255, 63, 180, 0.3); }
.feature-ico.v { color: #b9a0ff; background: var(--violet-soft); border-color: rgba(141, 99, 255, 0.35); }
.feature-row h3 { margin-bottom: 6px; }
.feature-row p { font-size: 0.95rem; margin: 0; }

/* split CTA band */
.split-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.link-list { display: grid; gap: 10px; }
.link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  color: var(--text); font-weight: 600;
}
.link-list a:hover { border-color: rgba(43, 228, 255, 0.45); background: var(--cyan-soft); }
.link-list a span { color: var(--text-3); font-weight: 500; font-size: 0.88rem; }

/* ---------- 12. Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 40px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-hero .lead { font-size: 1.08rem; margin-top: 16px; max-width: 38rem; }
.page-hero aside { border-left: 1px solid var(--line-strong); padding-left: 24px; font-size: 0.93rem; }
.page-hero aside p { margin-bottom: 6px; }

/* ---------- 13. Legal layout (sticky contents + article) ---------- */
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 56px; padding: 56px 0 88px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h2 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.toc ol { list-style: none; border-left: 1px solid var(--line-strong); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); font-size: 0.9rem; }
.toc a:hover { color: var(--cyan); border-left-color: var(--cyan); }
.prose { max-width: 760px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 48px; padding-top: 8px; scroll-margin-top: calc(var(--header-h) + 30px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 28px; color: var(--cyan); }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; color: var(--text-2); }
.prose li::before { content: ''; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 2px; background: var(--magenta); box-shadow: 0 0 6px var(--magenta); }
.prose .meta { font-size: 0.85rem; color: var(--text-3); letter-spacing: 0.04em; }
.prose .callout { padding: 18px 22px; border-radius: var(--r-md); background: var(--cyan-soft); border: 1px solid rgba(43, 228, 255, 0.3); color: var(--text); }
.prose .callout p { color: var(--text); margin: 0; }

/* ---------- 14. Store ---------- */
.store-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 28px 24px 24px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pack:hover { transform: translateY(-4px); border-color: rgba(43, 228, 255, 0.45); }
.pack-featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad-neon) border-box;
  box-shadow: 0 0 50px -16px rgba(255, 63, 180, 0.55);
}
.pack-flag { position: absolute; top: -12px; left: 24px; }
.pack-tier { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.pack-coins { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.pack-coins small { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-2); letter-spacing: 0.02em; }
.pack-price { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--cyan); margin: 14px 0 4px; }
.pack-note { font-size: 0.86rem; margin-bottom: 18px; }
.pack .btn { margin-top: auto; }
.pack-ico { width: 46px; height: 46px; margin-bottom: 10px; }
.disclosure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.disclosure {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md);
  border: 1px dashed rgba(255, 63, 180, 0.45); background: rgba(255, 63, 180, 0.05);
}
.disclosure .icon { color: var(--magenta); margin-top: 2px; }
.disclosure p { color: var(--text); margin: 0; font-weight: 600; }

/* ---------- 15. FAQ accordion ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass);
  transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: rgba(43, 228, 255, 0.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.4rem; line-height: 1; color: var(--cyan); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; }
.faq .faq-body p { margin: 0; }

/* ---------- 16. Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: rgba(6, 6, 26, 0.65); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 13px 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: var(--glow-cyan); outline: none; }
.form-success { text-align: center; padding: 12px 0; }
.form-success .ok-ring {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  color: var(--lime); border: 2px solid var(--lime); box-shadow: 0 0 20px rgba(109, 255, 176, 0.35);
}
.form-success h3 { margin-bottom: 8px; }

/* ---------- 17. Generic grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item h3 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; font-weight: 600; }
.contact-item p { margin: 0; color: var(--text); }
.helpline {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--r-lg);
  border: 1px solid rgba(109, 255, 176, 0.35); background: rgba(109, 255, 176, 0.06);
}
.helpline .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--lime); letter-spacing: 0.02em; }
.helpline p { margin: 0; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline .panel { padding: 24px; }
.timeline .num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 14px; color: transparent; -webkit-text-stroke: 1px var(--cyan); }
.org-list { display: grid; gap: 12px; }
.org-list a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); }
.org-list a:hover { border-color: rgba(43, 228, 255, 0.45); }
.org-list strong { font-family: var(--font-head); }
.org-list span { grid-column: 1; color: var(--text-2); font-size: 0.9rem; }
.org-list .icon { grid-row: 1 / span 2; grid-column: 2; align-self: center; color: var(--cyan); width: 18px; height: 18px; }

/* ---------- 18. Footer ---------- */
.site-footer {
  margin-top: 40px; border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 11, 36, 0.4), rgba(4, 4, 16, 0.95));
}
.footer-main { display: grid; grid-template-columns: 1.25fr 2fr; gap: 56px; padding: 64px 0 40px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.92rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h2 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.footer-cols a { display: block; color: var(--text-2); font-size: 0.93rem; padding: 4px 0; }
.footer-cols a:hover { color: var(--cyan); }
.footer-safe {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.safe-logos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.safe-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 16px; border-radius: 12px; background: #f4f5ff;
  border: 1px solid transparent; transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.safe-logo:hover { transform: translateY(-2px); box-shadow: var(--glow-cyan); }
.safe-logo img { height: 26px; width: auto; }
.safe-logo.gamstop img { height: 52px; width: 120px; object-fit: cover; }
.safe-logo.bga { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: 0.95rem; color: #111; flex-direction: column; line-height: 1.1; }
.safe-logo.bga .bga-word span:first-child { color: #c4006a; }
.safe-logo.bga .bga-word span:last-child { color: #0079a8; }
.safe-logo.bga small { font-weight: 400; font-size: 0.66rem; color: #444; }
.footer-disclaimer p { font-size: 0.9rem; color: var(--text-2); margin: 0; }
.footer-disclaimer p + p { margin-top: 8px; }
.footer-disclaimer strong { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px 0 32px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-3);
}
.operated { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.04em; font-size: 0.85rem; color: var(--text-2); }
.operated b { color: var(--cyan); font-weight: 600; }

/* ---------- 19. Age gate (overlay on top of rendered page) ---------- */
.age-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(4, 4, 18, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html.age-ok .age-overlay { display: none; }
html:not(.age-ok) body { overflow: hidden; }
.age-modal {
  width: 100%; max-width: 440px; text-align: center;
  padding: 36px 30px 28px; border-radius: var(--r-lg);
  background: linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box, var(--grad-neon) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(141, 99, 255, 0.6);
  animation: modalIn .35s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.age-modal img { height: 28px; width: auto; margin: 0 auto 22px; }
.age-modal .badge-18 { width: 64px; height: 64px; font-size: 1.3rem; margin-bottom: 18px; }
.age-modal h2 { font-size: 1.45rem; margin-bottom: 10px; }
.age-modal p { font-size: 0.98rem; }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.age-modal .fine { font-size: 0.78rem; color: var(--text-3); margin-top: 18px; }
.age-modal .fine a { color: var(--text-2); text-decoration: underline; }
.age-denied { display: none; }
.age-overlay.denied .age-ask { display: none; }
.age-overlay.denied .age-denied { display: block; }

/* ---------- 20. Cookie banner ---------- */
.cookie-card {
  position: fixed; left: 16px; bottom: 16px; z-index: 900;
  width: calc(100% - 32px); max-width: 420px;
  padding: 22px; border-radius: var(--r-lg);
  background: var(--glass-strong); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transform: translateY(140%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s;
}
.cookie-card.visible { transform: none; opacity: 1; visibility: visible; }
.cookie-card h2 { font-size: 1rem; margin-bottom: 6px; }
.cookie-card p { font-size: 0.88rem; }
.cookie-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; }

/* ---------- 21. Game shell (shared by all game pages) ---------- */
.game-main { padding: calc(var(--header-h) + 44px) 0 40px; }
.game-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.game-topbar .crumbs { font-size: 0.85rem; color: var(--text-3); margin-bottom: 8px; }
.game-topbar .crumbs a { color: var(--text-2); }
.game-topbar h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.game-topbar .sub { margin-top: 6px; font-size: 0.95rem; }
.coin-zone { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coin-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: var(--r-pill);
  background: rgba(6, 6, 26, 0.7); border: 1px solid rgba(43, 228, 255, 0.4);
  box-shadow: 0 0 22px -8px rgba(43, 228, 255, 0.6);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text);
}
.coin-pill .coin-ico { width: 26px; height: 26px; }
.coin-pill small { font-family: var(--font-body); font-weight: 500; font-size: 0.75rem; color: var(--text-3); }
.refill-btn { font-size: 0.8rem; }
.refill-note { width: 100%; font-size: 0.8rem; color: var(--text-3); text-align: right; min-height: 1.2em; }

.game-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.game-stage {
  position: relative; border-radius: var(--r-lg); padding: 28px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(141, 99, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(14, 14, 44, 0.9), rgba(8, 8, 28, 0.95));
  border: 1px solid rgba(43, 228, 255, 0.28);
  box-shadow: 0 0 60px -24px rgba(43, 228, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.game-stage::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.game-stage > * { position: relative; }
.game-side { display: grid; gap: 16px; }
.game-side .panel { padding: 22px; }
.game-side h2 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; font-weight: 600; }
.game-side ul { list-style: none; display: grid; gap: 8px; font-size: 0.9rem; color: var(--text-2); }
.game-side li { padding-left: 16px; position: relative; }
.game-side li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.game-note { font-size: 0.85rem; color: var(--text-3); margin-top: 18px; text-align: center; }

/* chip-style bet buttons */
.chip-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.chip-row .chip-label { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 700; margin-right: 4px; }
.chip {
  min-width: 64px; padding: 9px 16px; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  cursor: pointer; transition: all .18s var(--ease);
}
.chip:hover:not(:disabled) { color: var(--text); border-color: var(--cyan); }
.chip.active, .chip.selected { color: #04121a; background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 18px -2px rgba(43, 228, 255, 0.7); }
.chip:disabled { opacity: .35; cursor: not-allowed; }

/* primary game actions */
.act-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.act {
  min-width: 132px; padding: 14px 28px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), opacity .18s;
}
.act:hover:not(:disabled) { transform: translateY(-2px); }
.act:disabled { opacity: .3; cursor: not-allowed; }
.act-main { background: var(--grad-neon); color: #070716; box-shadow: 0 10px 30px -10px rgba(141, 99, 255, 0.9); }
.act-cyan { background: transparent; color: var(--cyan); border-color: var(--cyan); box-shadow: inset 0 0 14px rgba(43, 228, 255, 0.2); }
.act-magenta { background: transparent; color: var(--magenta); border-color: var(--magenta); box-shadow: inset 0 0 14px rgba(255, 63, 180, 0.2); }

/* shared result readout */
.readout { text-align: center; min-height: 52px; display: flex; align-items: center; justify-content: center; }
.readout .msg, .readout.msg {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
}

/* shared neon playing-card palette */
.nb-red { color: var(--magenta); }
.nb-black { color: var(--cyan); }

/* ---------- 22. Utility animation ---------- */
/* Content is always visible (crawler-safe); elements only get a gentle lift once in view. */
.reveal { transition: transform .7s var(--ease); }
html.js-motion .reveal:not(.in) { transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html.js-motion .reveal:not(.in) { transform: none; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .nav-pills a { padding: 8px 10px; font-size: 0.88rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-xl { grid-column: span 2; grid-row: span 1; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .game-layout { grid-template-columns: 1fr; }
  .game-side { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .nav-pills, .nav-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-shell { padding: 8px 8px 8px 18px; }
  .brand img { height: 26px; }
  .hero-grid, .page-hero-grid, .split-cta, .contact-grid, .footer-main { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 420px; order: -1; }
  .hero-split { padding-top: calc(var(--header-h) + 40px); }
  .page-hero aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 18px; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .feature-rows, .grid-3, .store-intro { grid-template-columns: 1fr; }
  .footer-safe { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .tile:not(.tile-xl):not(.tile-wide) .tile-body p { display: block; }
  .tile-xl, .tile-wide { grid-column: span 1; }
  .tile-xl { grid-row: span 1; }
  .tile-xl .tile-body h3 { font-size: 1.4rem; }
  .packs, .grid-2, .disclosure-row, .form-row, .timeline, .game-side { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { padding-right: 12px; margin-right: 12px; }
  .hero-facts dt { font-size: 1.25rem; }
  .notice { grid-template-columns: 1fr; padding: 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .game-stage { padding: 18px 14px; }
  .coin-zone { width: 100%; }
  .refill-note { text-align: left; }
  .mobile-panel.open { grid-template-columns: 1fr; }
  .age-actions { grid-template-columns: 1fr; }
  .act { min-width: 0; padding: 13px 22px; font-size: 0.92rem; }
}
