:root {
  --ink: #101522;
  --muted: #5e6878;
  --line: #dfe6ef;
  --paper: #fbfcf8;
  --lime: #28d79a;
  --sun: #ffc84d;
  --coral: #ff5b76;
  --sea: #216be8;
  --deep: #15192a;
}

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

.site-shell[aria-hidden="true"] {
  filter: blur(4px);
  height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--deep), var(--sea) 55%, var(--lime));
  font-size: 14px;
}
.nav { display: flex; gap: 20px; color: var(--muted); font-weight: 700; }
.nav a { text-decoration: none; }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: center;
  gap: 40px;
  padding: 78px clamp(18px, 5vw, 72px) 54px;
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 200, 77, .55), transparent 28%),
    linear-gradient(135deg, #0f1424 0%, #1d4fc4 52%, #19b47d 100%);
}
.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: .97;
  letter-spacing: 0;
}
.hero p { max-width: 680px; font-size: 19px; color: rgba(255,255,255,.86); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}
.hero .eyebrow { color: var(--sun); }
.hero-actions, .age-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--coral); color: white; }
.secondary { background: white; color: var(--deep); }
.ghost { background: #eef2f6; color: var(--deep); }
.mini { width: 100%; background: var(--deep); color: white; }

.hero-visual {
  position: relative;
  min-height: 430px;
}
.orbital-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 170px;
  aspect-ratio: 1;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,.26);
  font-size: 36px;
  font-weight: 950;
}
.card-a { left: 4%; top: 24%; background: var(--sun); color: var(--deep); transform: rotate(-12deg); }
.card-b { right: 12%; top: 4%; background: var(--coral); }
.card-c { right: 4%; bottom: 12%; background: var(--lime); color: var(--deep); transform: rotate(10deg); }

.notice-band {
  display: flex;
  gap: 10px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: #101522;
  color: white;
}

.section { padding: 72px clamp(18px, 5vw, 72px); }
.section-head { max-width: 720px; margin-bottom: 28px; }
h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }
h3 { margin: 0; font-size: 22px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(20, 26, 40, .08);
}
.game-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
}
.game-body { padding: 16px; }
.game-body p { min-height: 72px; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .75fr);
  gap: 36px;
  background: #eef8f0;
}
.feature-list { display: grid; gap: 14px; }
.feature-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.feature-list span { color: var(--muted); }

.disclaimer {
  background: #fff6e2;
  border-block: 1px solid #f3da9b;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(300px, .55fr);
  gap: 34px;
}
.contact-form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  background: white;
}
textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: white;
  background: var(--deep);
}
.footer a { color: white; }

.age-gate, .game-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(13, 17, 28, .78);
}
.age-gate[hidden], .game-modal[hidden] { display: none; }
.age-card {
  width: min(520px, 100%);
  padding: 30px;
  border-radius: 10px;
  background: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.age-card h1 { margin: 0; font-size: clamp(30px, 6vw, 48px); line-height: 1; }
.denied {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 24px;
  text-align: center;
  color: white;
  background: var(--deep);
}
.denied[hidden] { display: none; }
.denied h1 { margin: 0; font-size: clamp(42px, 8vw, 76px); }

.modal-panel {
  position: relative;
  width: min(1180px, 96vw);
  height: min(760px, 88vh);
  background: #05070d;
  border-radius: 8px;
  overflow: hidden;
}
.modal-panel iframe { width: 100%; height: 100%; border: 0; }
.modal-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: white;
  background: rgba(0,0,0,.7);
  font-size: 28px;
  cursor: pointer;
}
.modal-open { overflow: hidden; }

.plain { background: #f6f8fb; }
.legal {
  width: min(820px, calc(100% - 36px));
  margin: 40px auto;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.legal h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1; }
.not-found { text-align: center; }

@media (max-width: 980px) {
  .hero, .split, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 260px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .topbar { position: static; align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; justify-content: space-between; gap: 10px; }
  .hero { padding-top: 48px; }
  .game-grid { grid-template-columns: 1fr; }
  .notice-band { display: grid; }
  .orbital-card { width: 120px; font-size: 26px; }
  .section { padding-block: 54px; }
  .modal-panel { height: 78vh; }
}
