:root {
  --ink: #14213d;
  --muted: #536079;
  --paper: #fffaf0;
  --lime: #25d366;
  --teal: #00a8a8;
  --coral: #ff5a5f;
  --yellow: #ffd166;
  --violet: #6c3df4;
  --white: #ffffff;
  --line: rgba(20, 33, 61, .14);
  --shadow: 0 22px 70px rgba(20, 33, 61, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}
.logo span, .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--yellow), var(--lime));
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 13px;
}
nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; font-weight: 800; font-size: 14px; }
.nav-toggle { display: none; }

.hero {
  min-height: calc(100svh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 88% 16%, rgba(37, 211, 102, .34), transparent 26%),
    linear-gradient(135deg, #fffaf0 0%, #fff0e6 46%, #e6fff5 100%);
  overflow: hidden;
}
.hero h1, .section-head h2, .notice h2, .split-band h2, .contact h2, .legal h1 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(44px, 7vw, 92px); max-width: 850px; }
.hero p { max-width: 690px; font-size: 18px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}
.hero-actions, .age-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  border: 2px solid var(--ink);
  min-height: 46px;
  padding: 11px 18px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.btn.primary { background: var(--lime); box-shadow: 4px 4px 0 var(--ink); }
.btn.secondary { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
.btn.ghost { background: var(--white); }
.btn.play { width: 100%; background: var(--yellow); }

.hero-art {
  position: relative;
  min-height: 510px;
}
.screen {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(20, 33, 61, .22);
}
.main-screen {
  inset: 58px 20px auto auto;
  width: min(410px, 82vw);
  height: 360px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  background: linear-gradient(160deg, #15204e, #00a8a8);
}
.main-screen span {
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #ffd166);
  border: 2px solid var(--ink);
}
.side-screen {
  left: 0;
  bottom: 30px;
  width: 170px;
  height: 145px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  text-align: center;
}
.side-screen strong { font-size: 42px; }
.token {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--yellow);
}
.t1 { right: 420px; top: 14px; }
.t2 { right: 30px; bottom: 50px; background: var(--lime); }
.t3 { left: 120px; top: 120px; background: var(--coral); }

section { padding: clamp(46px, 7vw, 84px) clamp(18px, 5vw, 72px); }
.section-head { max-width: 860px; margin-bottom: 28px; }
.section-head h2, .notice h2, .split-band h2, .contact h2 { font-size: clamp(31px, 4vw, 56px); }
.section-head p:last-child { color: var(--muted); font-size: 18px; }
.notice {
  display: grid;
  grid-template-columns: .72fr 1fr 1fr;
  gap: 28px;
  background: var(--ink);
  color: var(--white);
}
.notice .eyebrow { color: var(--yellow); }
.notice p { margin: 0; color: rgba(255,255,255,.84); }
.feature-band { background: #ffffff; }
.features, .game-grid, .quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.features article, .game-card, blockquote, details, .contact form, .legal-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 7px 7px 0 rgba(20, 33, 61, .16);
}
.features article { padding: 24px; }
.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: white;
  border: 2px solid var(--ink);
  font-weight: 900;
}

.games-section { background: #e9fff3; }
.game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.game-card { overflow: hidden; display: flex; flex-direction: column; }
.game-card div { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-card h3 { margin: 0; line-height: 1.15; }
.game-card p { margin: 0; color: var(--muted); flex: 1; }
.game-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-bottom: 2px solid var(--ink); }

.split-band {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 34px;
  background: linear-gradient(110deg, #fffaf0, #fff6c7);
}
.stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 16px;
  align-content: center;
  padding: 24px;
  border: 2px solid var(--ink);
  background: var(--white);
}
.stats strong { font-size: 38px; line-height: 1; color: var(--coral); }
.stats span { align-self: center; font-weight: 800; }

.testimonials { background: #fff; }
blockquote { margin: 0; padding: 22px; }
blockquote p { margin-top: 0; }
cite { color: var(--muted); font-style: normal; font-weight: 800; }

.faq { background: #f5f7ff; }
details { padding: 18px 20px; margin-bottom: 14px; }
summary { cursor: pointer; font-weight: 900; }

.contact {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 34px;
  background: #ffffff;
}
address { font-style: normal; font-weight: 700; }
form { padding: 22px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 900; }
input, textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  background: #fffdf7;
}
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 24px; margin: 0; font-weight: 800; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: white;
}
.site-footer p { color: rgba(255,255,255,.78); }
.site-footer nav { justify-content: flex-end; }
.copyright { grid-column: 1 / -1; margin: 0; }

.age-gate, .game-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 33, 61, .82);
}
.age-panel {
  width: min(520px, 100%);
  padding: 28px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 rgba(0,0,0,.28);
}
.age-panel h2 { font-size: clamp(30px, 6vw, 48px); line-height: 1.05; margin: 18px 0 10px; }
.denied { display: none; color: #b00020; font-weight: 900; }
.age-gate.is-hidden, .game-modal { display: none; }
.age-gate.is-denied .age-actions { display: none; }
.age-gate.is-denied .denied { display: block; }

.game-modal.is-open { display: grid; }
.modal-shell {
  position: relative;
  width: min(1180px, 96vw);
  height: min(760px, 88svh);
  background: #10172f;
  border: 3px solid white;
  border-radius: 8px;
}
.modal-shell iframe { width: 100%; height: 100%; border: 0; }
.modal-close {
  position: absolute;
  right: -14px;
  top: -16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--coral);
  color: white;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}
.cookie-bar {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; flex: 1; }

.legal {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 62px;
}
.legal-card { padding: clamp(22px, 4vw, 42px); }
.legal h1 { font-size: clamp(38px, 6vw, 72px); }
.legal h2 { margin-top: 30px; }
.not-found { min-height: 70svh; display: grid; place-items: center; text-align: center; }

@media (max-width: 980px) {
  .hero, .notice, .split-band, .contact, .site-footer { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { min-height: 380px; }
  .features, .game-grid, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .nav-toggle {
    display: inline-block;
    border: 2px solid var(--ink);
    background: var(--yellow);
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 900;
  }
  .site-header nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 68px;
    display: none;
    padding: 16px;
    background: white;
    border: 2px solid var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-header nav.open { display: grid; }
  .features, .game-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 310px; }
  .main-screen { width: 88vw; height: 250px; right: 0; top: 25px; }
  .side-screen { width: 132px; height: 112px; }
  .t1, .t3 { display: none; }
  .cookie-bar { flex-wrap: wrap; }
  .cookie-bar p { flex-basis: 100%; }
}
