:root {

  --bg:            #0a0e13;
  --bg-2:          #0f151d;
  --bg-3:          #131b25;
  --surface:       #161f2b;
  --surface-2:     #1c2735;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text:          #e8eef5;
  --text-soft:     #b7c2cf;
  --text-muted:    #8492a2;

  --accent:        #2fe27a;
  --accent-600:    #1fc667;
  --accent-700:    #16a457;
  --accent-soft:   rgba(47, 226, 122, 0.12);
  --accent-line:   rgba(47, 226, 122, 0.28);
  --accent-glow:   rgba(47, 226, 122, 0.35);

  --warn:          #f5c451;
  --danger:        #ff5d6c;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw:      1240px;
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);
}

*, *::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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

::selection { background: var(--accent); color: #06210f; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow i { font-size: 0.85rem; }
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 16px 0 14px;
}
.section-head p { color: var(--text-soft); font-size: 1.06rem; }
.text-accent { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn i { font-size: 0.95rem; }
.btn-primary {
  background: var(--accent); color: #052611;
  box-shadow: 0 12px 30px rgba(47, 226, 122, 0.28);
}
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(47, 226, 122, 0.4); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent-line); transform: translateY(-2px); }
.btn-block { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent); font-size: 0.82rem; font-weight: 600;
}

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 14, 19, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand .brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-700));
  color: #05230f; font-size: 1.15rem;
  box-shadow: 0 8px 22px rgba(47, 226, 122, 0.35);
}
.brand span b { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px; font-size: 0.95rem; font-weight: 500;
  color: var(--text-soft); transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  color: #fff; font-size: 1.2rem;
}

.hero { position: relative; overflow: hidden; padding: 74px 0 84px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0.5;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(47, 226, 122, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(10, 14, 19, 0.55) 0%, rgba(10, 14, 19, 0.82) 55%, var(--bg) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  margin: 20px 0 20px;
}
.hero-copy h1 .hl { color: var(--accent); }
.hero-copy p.lead { font-size: 1.14rem; color: var(--text-soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-trust .ht { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 0.92rem; }
.hero-trust .ht i { color: var(--accent); font-size: 1.05rem; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; left: -18px; bottom: 26px;
  background: rgba(15, 21, 29, 0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.hero-float .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.hero-float b { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.hero-float small { color: var(--text-muted); font-size: 0.8rem; }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 56px;
}
.stat-strip .stat { background: var(--bg-2); padding: 26px 22px; text-align: center; }
.stat-strip .stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; }
.stat-strip .stat span { color: var(--text-muted); font-size: 0.88rem; }
.stat-strip .stat b .text-accent { color: var(--accent); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.card .card-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.98rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.criteria { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center; }
.criteria-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.criteria-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.criteria-list { display: grid; gap: 14px; }
.criteria-item { display: flex; gap: 16px; padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); }
.criteria-item .ci { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.15rem; }
.criteria-item h4 { font-size: 1.06rem; margin-bottom: 4px; }
.criteria-item p { color: var(--text-muted); font-size: 0.92rem; }

.games-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.game-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.game-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover .game-thumb img { transform: scale(1.06); }
.game-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 20, 0.85)); }
.game-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600;
  background: rgba(10, 14, 19, 0.7); border: 1px solid var(--border-strong); color: var(--accent);
  backdrop-filter: blur(6px);
}
.game-play {
  position: absolute; z-index: 2; right: 14px; bottom: 14px;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #052611; font-size: 1.05rem;
  box-shadow: 0 10px 24px rgba(47, 226, 122, 0.4);
  transition: transform 0.2s ease;
}
.game-card:hover .game-play { transform: scale(1.08); }
.game-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.game-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.game-body p { color: var(--text-soft); font-size: 0.96rem; flex: 1; }
.game-meta { display: flex; gap: 16px; margin-top: 16px; color: var(--text-muted); font-size: 0.85rem; }
.game-meta span { display: inline-flex; align-items: center; gap: 6px; }
.game-meta i { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--accent-line); line-height: 1; }
.step h3 { font-size: 1.18rem; margin: 12px 0 8px; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.founder-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.founder-visual img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.founder-badge {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  background: rgba(15, 21, 29, 0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.founder-badge .fb-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: #052611; font-size: 1.2rem; flex: none; }
.founder-badge b { display: block; color: #fff; font-family: var(--font-display); }
.founder-badge small { color: var(--text-muted); }
.founder-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.founder-copy p { color: var(--text-soft); margin-bottom: 14px; }
.founder-sign { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.founder-sign .fs-name { font-family: var(--font-display); color: #fff; font-weight: 700; font-size: 1.05rem; }
.founder-sign .fs-role { color: var(--accent); font-size: 0.88rem; }

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q i { color: var(--accent); transition: transform 0.25s ease; flex: none; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-soft); font-size: 0.97rem; }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 56px; text-align: center; border: 1px solid var(--accent-line); background: linear-gradient(150deg, rgba(47, 226, 122, 0.12), rgba(15, 21, 29, 0.4)); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(47, 226, 122, 0.18), transparent 70%); z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-soft); max-width: 52ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 70px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.94rem; margin: 16px 0 20px; max-width: 34ch; }
.footer-soc { display: flex; gap: 10px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.footer-soc a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--text-soft); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; color: var(--text-soft); font-size: 0.93rem; margin-bottom: 12px; }
.footer-contact i { color: var(--accent); margin-top: 4px; flex: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.88rem; }
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }
.age-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--border-strong); border-radius: 999px; font-weight: 600; color: var(--text-soft); }

.page-hero { position: relative; padding: 60px 0 50px; border-bottom: 1px solid var(--border); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 20% 0%, rgba(47, 226, 122, 0.1), transparent 65%); z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.7rem; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-soft); max-width: 60ch; font-size: 1.05rem; }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.legal-toc { position: sticky; top: 96px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.legal-toc h4 { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.legal-toc ul { display: grid; gap: 9px; }
.legal-toc a { color: var(--text-soft); font-size: 0.92rem; }
.legal-toc a:hover { color: var(--accent); }
.legal-body h2 { font-size: 1.5rem; margin: 38px 0 14px; scroll-margin-top: 96px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.16rem; margin: 24px 0 10px; color: var(--text); }
.legal-body p { color: var(--text-soft); margin-bottom: 14px; }
.legal-body ul.dot { list-style: none; display: grid; gap: 10px; margin: 4px 0 18px; }
.legal-body ul.dot li { display: flex; gap: 12px; color: var(--text-soft); }
.legal-body ul.dot li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); font-size: 0.85rem; margin-top: 4px; }
.legal-body .note { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; color: var(--text-soft); }
.legal-body a.inline { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.updated { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.88rem; margin-bottom: 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card .cc-ic { width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--text-soft); font-size: 0.96rem; }
.contact-card a:hover { color: var(--accent); }
.form-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row label { font-size: 0.9rem; color: var(--text-soft); font-weight: 600; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 0.96rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.form-check input { margin-top: 4px; accent-color: var(--accent); }
.form-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-note { margin-top: 14px; font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 20px; }
.map-wrap iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

.play-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.play-stage {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.play-stage canvas { background: #06090d; border-radius: var(--radius); max-width: 100%; height: auto; touch-action: none; box-shadow: inset 0 0 0 1px var(--border); }
.play-hud { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; width: 100%; }
.hud-item { text-align: center; }
.hud-item span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.hud-item b { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.play-controls { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.play-side { display: grid; gap: 18px; }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.side-card h3 i { color: var(--accent); }
.side-card ul { display: grid; gap: 10px; }
.side-card ul li { display: flex; gap: 10px; color: var(--text-soft); font-size: 0.92rem; }
.side-card ul li i { color: var(--accent); margin-top: 4px; flex: none; }
.keycap { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; background: var(--bg); border: 1px solid var(--border-strong); border-bottom-width: 3px; border-radius: 7px; font-family: var(--font-display); font-size: 0.82rem; color: var(--text); }
.key-row { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 0.9rem; margin-bottom: 10px; }

.touch-pad { display: none; grid-template-columns: repeat(3, 56px); grid-template-rows: repeat(2, 56px); gap: 8px; justify-content: center; margin-top: 6px; }
.touch-pad button { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; color: var(--text); font-size: 1.2rem; }
.touch-pad button:active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.reaction-box { width: 100%; max-width: 420px; aspect-ratio: 1/1; border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 1.4rem; user-select: none; cursor: pointer; transition: background 0.1s ease; border: 1px solid var(--border-strong); }
.reaction-box.wait { background: var(--surface-2); color: var(--text-soft); }
.reaction-box.ready { background: var(--danger); color: #fff; }
.reaction-box.go { background: var(--accent); color: #052611; }
.reaction-box.result { background: var(--bg-3); color: #fff; }
.leaderboard { display: grid; gap: 8px; }
.lb-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.lb-row .lb-rank { font-family: var(--font-display); font-weight: 700; color: var(--accent); text-align: center; }
.lb-row.me { border-color: var(--accent-line); background: var(--accent-soft); }
.lb-row .lb-score { font-family: var(--font-display); color: #fff; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--surface-2); border: 1px solid var(--accent-line); color: #fff; padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 200; display: flex; align-items: center; gap: 10px; }
.toast i { color: var(--accent); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.scroll-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 110;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: #052611;
  border: 1px solid var(--accent-600); font-size: 0.98rem;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px rgba(47,226,122,0.35);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { background: var(--accent-600); transform: translateY(-3px) scale(1.03); }
.scroll-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) {
  .scroll-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

.bg-grid { position: relative; }
.bg-grid::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 75%);
}
.bg-grid > * { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .criteria { grid-template-columns: 1fr; gap: 28px; }
  .founder { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .play-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 14px 22px 22px; gap: 4px;
  }
  .site-header.open .nav-links a { padding: 13px 14px; }
  .hero-grid { text-align: left; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 24px; }
  .touch-pad { display: grid; }
  .hero-float { left: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .game-thumb img { transition: none !important; }
}
