:root {
  color-scheme: light;
  --ink: #10213a;
  --ink-2: #203653;
  --muted: #65738a;
  --bg: #f8fbff;
  --bg-2: #ecf6f4;
  --panel: #ffffff;
  --line: rgba(16, 33, 58, .15);
  --line-strong: rgba(16, 33, 58, .35);
  --aqua: #38d6bd;
  --sun: #ffbd4a;
  --coral: #ff6b57;
  --cobalt: #2857ff;
  --shadow: 0 24px 64px rgba(16, 33, 58, .13);
  --radius: 8px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16,33,58,.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16,33,58,.045) 1px, transparent 1px),
    radial-gradient(circle at 94% 4%, rgba(56,214,189,.26), transparent 28%),
    radial-gradient(circle at 0 10%, rgba(255,189,74,.20), transparent 24%),
    var(--bg);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  color: var(--ink-2);
  font-family: var(--font);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--sun); box-shadow: 0 7px 0 #b96f21; }
.btn-quiet { background: #fff; border-color: var(--line-strong); }
.text-link { color: var(--cobalt); font-weight: 900; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.age-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16,33,58,.74);
  backdrop-filter: blur(12px);
}
.age-card {
  width: min(500px, 100%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}
.age-card img { margin: auto; }
.age-card .eyebrow { margin: auto; }
.age-card h2 { margin: 0; color: var(--ink); font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1; }
.age-card p { margin: 0; color: var(--muted); }
.age-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,251,255,.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.notice {
  padding: 7px 12px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
}
.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand span { display: grid; line-height: 1; }
.brand b { font-size: 1.06rem; }
.brand small { color: var(--cobalt); font-weight: 950; text-transform: uppercase; font-size: .72rem; }
.site-menu { display: flex; align-items: center; gap: 5px; }
.site-menu a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 900;
}
.site-menu a:hover,
.site-menu a[aria-current="page"] { color: var(--ink); background: rgba(56,214,189,.18); }
.site-menu .play-link { color: var(--ink); background: var(--sun); margin-left: 4px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }
.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}
.hero-art {
  position: absolute;
  inset: 0 -5% 0 auto;
  width: min(760px, 58vw);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 72px 0;
  transform: rotate(-4deg);
}
.hero-art img {
  min-height: 210px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0 46%, rgba(248,251,255,.85) 62%, rgba(248,251,255,.35));
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 720px) 240px;
  gap: 32px;
  align-items: end;
}
.hero-copy h1,
.page-hero h1 {
  margin: 16px 0 18px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .88;
  letter-spacing: 0;
}
.hero-copy p { max-width: 650px; color: var(--ink-2); font-size: 1.12rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero-panel b { color: var(--ink); font-size: 1.2rem; }
.hero-panel span { color: var(--muted); font-weight: 850; }
.ticker { background: var(--panel); border-bottom: 1px solid var(--line); }
.ticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.ticker article { min-height: 116px; display: grid; align-content: center; border-right: 1px solid var(--line); padding: 20px; }
.ticker b { color: var(--ink); font-size: 2.4rem; line-height: 1; }
.ticker span { color: var(--muted); font-weight: 850; }
.section { padding: 84px 0; }
.section-tight { padding-top: 52px; }
.section-muted { background: rgba(56,214,189,.08); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section-dark h2,
.section-dark .eyebrow { color: #fff; }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head h2,
.split h2,
.frame-top h2 {
  margin: 12px 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: .95;
}
.section-dark .split h2 { color: #fff; }
.section-head p,
.split p { color: var(--muted); font-size: 1.04rem; }
.spotlight {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.spotlight img { border-radius: 10px; width: 100%; }
.spotlight span { color: var(--game-accent); font-weight: 950; text-transform: uppercase; }
.spotlight h2 { margin: 10px 0; color: var(--ink); font-size: clamp(2rem, 4vw, 4.2rem); line-height: .92; }
.spotlight p { color: var(--muted); }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 16px 42px rgba(16,33,58,.08);
}
.game-card.wide { display: grid; grid-template-columns: 250px 1fr; grid-column: span 3; }
.game-art { position: relative; display: block; min-height: 230px; background: var(--game-accent); overflow: hidden; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card:hover .game-art img { transform: scale(1.04); }
.game-art span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .66rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(16, 33, 58, .18);
}
.game-copy { padding: 20px; }
.game-copy > p:first-child { color: var(--game-accent); margin: 0 0 4px; font-weight: 950; text-transform: uppercase; font-size: .72rem; }
.game-copy h2,
.game-copy h3 { margin: 0 0 8px; color: var(--ink); line-height: 1.05; font-size: 1.35rem; }
.game-copy h2 a,
.game-copy h3 a { text-decoration: none; }
.game-copy p { color: var(--muted); margin: 0 0 14px; }
.game-copy ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.steps { display: grid; gap: 12px; }
.steps.compact { grid-template-columns: repeat(2, 1fr); }
.steps article,
.info-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.steps b { color: var(--cobalt); font-size: 1.6rem; line-height: 1; }
.steps h3 { margin: 6px 0 6px; color: var(--ink); }
.steps p,
.info-card p { margin: 0; color: var(--muted); }
.page-hero { padding: 72px 0 50px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.44); }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.game-hero {
  padding: 68px 0;
  border-bottom: 2px solid var(--ink);
  background: linear-gradient(135deg, rgba(56,214,189,.13), rgba(255,189,74,.15));
}
.game-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 34px; align-items: center; }
.game-hero h1 { margin: 14px 0; color: var(--ink); font-size: clamp(3rem, 7vw, 6rem); line-height: .9; }
.game-hero p { color: var(--ink-2); font-size: 1.1rem; max-width: 660px; }
.game-hero img { border: 3px solid #fff; border-radius: 14px; box-shadow: var(--shadow); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 850; font-size: .82rem; }
.frame-shell { border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.frame-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.frame-top h2 { font-size: 1.8rem; margin: 4px 0 0; }
.demo-frame { display: block; width: 100%; height: min(720px, 78vh); border: 0; background: #10131d; }
.frame-note { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.faq-list summary { padding: 16px 18px; color: var(--ink); font-weight: 950; cursor: pointer; }
.faq-list p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.form-card { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.form-card h2 { margin: 0; color: var(--ink); }
.form-card label { display: grid; gap: 6px; color: var(--muted); font-weight: 850; }
.form-card input,
.form-card select,
.form-card textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; color: var(--ink); background: #fff; }
.form-card textarea { min-height: 130px; resize: vertical; }
.form-status { color: var(--cobalt); font-weight: 850; }
.legal h2 { color: var(--ink); margin: 22px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.site-footer { padding: 54px 0 30px; background: #0d1b30; color: rgba(255,255,255,.74); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .8fr 1fr; gap: 28px; }
.footer-grid section { display: grid; align-content: start; gap: 9px; }
.footer-grid h2 { margin: 0 0 6px; color: #fff; font-size: .9rem; text-transform: uppercase; }
.footer-grid a { color: rgba(255,255,255,.76); text-decoration: none; font-weight: 820; }
.footer-grid a:hover { color: #fff; }
.footer-brand { color: #fff; }
.footer-brand small { color: var(--aqua); }
.footer-grid p,
.footer-bottom p { margin: 0; }
.footer-bottom { display: grid; gap: 7px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.cookie-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(440px, calc(100% - 36px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.cookie-bar p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 70px 0; }
  .hero-art { opacity: .22; width: 100%; inset: 0; }
  .hero::before { background: rgba(248,251,255,.78); }
  .hero-grid,
  .split,
  .spotlight,
  .game-hero-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 360px; }
  .ticker-grid,
  .game-grid,
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card.wide { grid-template-columns: 1fr; grid-column: span 1; }
  .steps.compact { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .nav-row { min-height: 66px; }
  .menu-toggle { display: block; }
  .site-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-menu.is-open { display: flex; }
  .site-menu .play-link { margin-left: 0; }
  .hero-copy h1,
  .page-hero h1,
  .game-hero h1 { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .ticker-grid,
  .game-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-bar { left: 14px; right: 14px; width: auto; flex-direction: column; align-items: stretch; }
}
