:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0b1728;
  --panel: #101f34;
  --panel-strong: #142943;
  --line: rgba(164, 213, 255, 0.16);
  --text: #f5fbff;
  --muted: #a8bdd2;
  --cyan: #24d8ff;
  --cyan-dark: #0699c2;
  --pink: #ff5d92;
  --lime: #b9ff45;
  --yellow: #ffc857;
  --danger: #ff7777;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 216, 255, 0.13), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(255, 93, 146, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: var(--cyan); text-underline-offset: 0.2em; }
a:hover { color: #86ecff; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.7rem;
  left: 0.7rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: #0b1728;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span span { color: var(--pink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.58rem 0.74rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 750;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(36, 216, 255, 0.1);
  color: var(--text);
}
.nav-links .nav-play {
  margin-left: 0.35rem;
  background: var(--lime);
  color: #0a1722;
}
.nav-links .nav-play:hover { background: #d4ff89; color: #0a1722; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

main { overflow: hidden; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 2rem), 820px); margin: 0 auto; }

.hero {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 3.4rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 2rem 8% auto;
  height: 380px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(36, 216, 255, 0.16), rgba(255, 93, 146, 0.14));
  filter: blur(90px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(185, 255, 69, 0.28);
  border-radius: 999px;
  background: rgba(185, 255, 69, 0.08);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before,
.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1 {
  margin: 1.1rem 0 1.2rem;
  max-width: 860px;
  font-size: clamp(2.8rem, 7.5vw, 6.6rem);
  letter-spacing: -0.065em;
}
.hero h1 span { color: var(--pink); }
.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #c5d7e8;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 2rem 0 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.78rem 1.12rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--cyan);
  color: #07131f;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(36, 216, 255, 0.15);
}
.button:hover { transform: translateY(-1px); background: #8aedff; color: #07131f; }
.button.secondary { border-color: var(--line); background: var(--panel); color: var(--text); box-shadow: none; }
.button.secondary:hover { background: var(--panel-strong); color: var(--text); }
.button.pink { background: var(--pink); color: #250817; box-shadow: 0 14px 30px rgba(255, 93, 146, 0.18); }
.button.lime { background: var(--lime); color: #0a1722; box-shadow: 0 14px 30px rgba(185, 255, 69, 0.14); }

.microcopy { color: var(--muted); font-size: 0.84rem; }
.logo-stage {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
}
.logo-stage::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(36, 216, 255, 0.22);
  border-radius: 42% 58% 63% 37% / 44% 37% 63% 56%;
  background: linear-gradient(145deg, rgba(36, 216, 255, 0.1), rgba(255, 93, 146, 0.09));
  animation: drift 8s ease-in-out infinite;
}
.logo-stage img {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  filter: drop-shadow(0 34px 34px rgba(0, 0, 0, 0.36));
}
@keyframes drift { 50% { transform: rotate(4deg) scale(1.03); } }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.compact { padding: 2.5rem 0; }
.section-kicker { margin: 0 0 0.65rem; color: var(--pink); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.section-title { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.04em; }
.section-intro { max-width: 760px; margin: 0 0 2rem; color: var(--muted); font-size: 1.08rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.answer-card,
.game-panel,
.source-note,
.table-wrap,
.faq details,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 41, 67, 0.94), rgba(12, 26, 45, 0.95));
  box-shadow: var(--shadow);
}
.card { padding: 1.25rem; }
.card h3 { margin: 0.55rem 0 0.55rem; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { border-color: rgba(36, 216, 255, 0.42); transform: translateY(-2px); }
.card-icon { font-size: 1.5rem; }

.answer-card { padding: clamp(1.4rem, 3vw, 2rem); }
.answer-card strong { color: var(--lime); }
.answer-card h2, .answer-card h3 { margin-top: 0.2rem; }
.fact-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.3rem; color: var(--muted); font-size: 0.9rem; }
.fact-row span { display: inline-flex; gap: 0.35rem; }
.fact-row b { color: var(--text); }

.game-panel {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  overflow: hidden;
}
.game-panel-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem; }
.game-screen {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px dashed rgba(36, 216, 255, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(rgba(7, 17, 31, 0.6), rgba(7, 17, 31, 0.86)),
    repeating-linear-gradient(45deg, rgba(36, 216, 255, 0.06) 0 12px, rgba(255, 93, 146, 0.05) 12px 24px);
  text-align: center;
}
.game-screen img { width: 150px; }
.game-screen p { max-width: 460px; color: var(--muted); }
.embed-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(36, 216, 255, 0.3);
  border-radius: 20px;
  background: #050b13;
}
.embed-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #050b13; }
.embed-consent {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.8rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 30%, rgba(36, 216, 255, 0.17), transparent 36%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.88), rgba(12, 26, 45, 0.98));
  text-align: center;
}
.embed-consent[hidden] { display: none; }
.embed-consent img { width: clamp(86px, 12vw, 140px); }
.embed-consent h3 { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.embed-consent p { max-width: 700px; margin: 0; color: var(--muted); }
.embed-consent .microcopy a { color: var(--cyan); }
.embed-status { min-height: 1.5rem; padding: 0.7rem 0.2rem 0; color: var(--muted); font-size: 0.82rem; }
.platform-choices { margin-top: 1.5rem; align-items: start; }
.platform-choices > div { height: 100%; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 17, 31, 0.42); }
.platform-choices h3 { margin: 0.7rem 0; }
.platform-choices p { color: var(--muted); }
.embed-disclosure { margin: 1.25rem 0 0; }

.breadcrumbs { padding-top: 1.25rem; color: var(--muted); font-size: 0.88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: #5d748c; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }

.page-hero { padding: clamp(3.6rem, 8vw, 6.5rem) 0 2.4rem; }
.page-hero h1 { max-width: 980px; font-size: clamp(2.5rem, 6vw, 5rem); }
.page-hero .hero-lead { max-width: 820px; }
.meta-strip { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }
.meta-chip { padding: 0.4rem 0.7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.82rem; }

.prose { color: #d6e3ef; font-size: 1.04rem; }
.prose h2 { margin: 3rem 0 1rem; color: var(--text); font-size: clamp(1.7rem, 4vw, 2.55rem); letter-spacing: -0.035em; }
.prose h3 { margin: 2rem 0 0.6rem; color: var(--text); font-size: 1.25rem; }
.prose p { margin: 0 0 1.15rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin: 0.45rem 0; }
.prose strong { color: var(--text); }
.prose code { padding: 0.1rem 0.35rem; border-radius: 6px; background: rgba(36, 216, 255, 0.1); color: var(--cyan); }

.notice { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-left: 4px solid var(--yellow); box-shadow: none; }
.notice strong { color: var(--yellow); }
.notice.safe { border-left-color: var(--lime); }
.notice.safe strong { color: var(--lime); }
.notice.danger { border-left-color: var(--danger); }
.notice.danger strong { color: var(--danger); }

.source-note { margin: 1.5rem 0; padding: 1rem 1.15rem; color: var(--muted); font-size: 0.9rem; box-shadow: none; }
.source-note b { color: var(--text); }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; box-shadow: none; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: rgba(36, 216, 255, 0.07); color: var(--text); font-size: 0.85rem; }
td { color: #c9d9e8; }
tr:last-child td { border-bottom: 0; }

.tag { display: inline-flex; padding: 0.26rem 0.55rem; border-radius: 999px; background: rgba(168, 189, 210, 0.1); color: var(--muted); font-size: 0.75rem; font-weight: 800; }
.tag.expected { background: rgba(255, 200, 87, 0.12); color: var(--yellow); }
.tag.reported { background: rgba(36, 216, 255, 0.1); color: var(--cyan); }
.tag.safe { background: rgba(185, 255, 69, 0.1); color: var(--lime); }
.tag.danger { background: rgba(255, 119, 119, 0.1); color: var(--danger); }

.steps { counter-reset: step; display: grid; gap: 0.85rem; margin: 1.5rem 0; }
.step { position: relative; padding: 1rem 1rem 1rem 4rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(16, 31, 52, 0.72); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 10px; background: var(--pink); color: #260915; font-weight: 950; }
.step h3 { margin: 0 0 0.35rem; }
.step p { margin: 0; color: var(--muted); }

.faq { display: grid; gap: 0.75rem; }
.faq details { padding: 0.2rem 1.1rem; box-shadow: none; }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; color: var(--text); font-weight: 850; }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

.filter-bar { display: flex; gap: 0.75rem; margin: 1rem 0 1.4rem; }
.filter-bar input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #081524;
  color: var(--text);
}
.filter-bar input:focus { outline: 3px solid rgba(36, 216, 255, 0.2); border-color: var(--cyan); }

.ad-slot { min-height: 90px; margin-top: 2rem; text-align: center; }

.site-footer { margin-top: 4rem; border-top: 1px solid var(--line); background: #050d18; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding: 3.5rem 0 2rem; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--muted); }
.footer-group h2 { margin: 0 0 0.8rem; font-size: 0.84rem; color: var(--text); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-group a { display: block; width: fit-content; margin: 0.48rem 0; color: var(--muted); text-decoration: none; }
.footer-group a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0 2rem; border-top: 1px solid var(--line); color: #7189a1; font-size: 0.8rem; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; margin: 1.25rem 0; }
.countdown div { padding: 0.8rem 0.45rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 17, 31, 0.5); text-align: center; }
.countdown b { display: block; color: var(--cyan); font-size: 1.5rem; line-height: 1; }
.countdown span { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; }

@media (max-width: 980px) {
  .hero-grid, .game-panel-grid { grid-template-columns: 1fr; }
  .logo-stage { min-height: 320px; }
  .logo-stage img { width: min(78vw, 390px); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 1rem;
    right: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #0a1728;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 0.9rem; }
  .nav-links .nav-play { margin: 0.25rem 0 0; text-align: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 3.5rem; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.5rem); }
  .page-hero h1 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .embed-shell { aspect-ratio: 4 / 5; min-height: 560px; }
  .embed-consent { place-content: center; }
}

@media (max-width: 520px) {
  .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .button { width: 100%; }
  .hero-actions { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
