:root {
  color-scheme: dark;
  --ink: #f4f5ff;
  --muted: #aab1d2;
  --panel: rgba(12, 18, 54, 0.78);
  --panel-solid: #0c1236;
  --line: rgba(139, 163, 255, 0.2);
  --cyan: #20d9ff;
  --violet: #b95cff;
  --gold: #ffc534;
  --bg: #050717;
  --max: 1160px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 74% 16%, rgba(94, 43, 185, 0.3), transparent 28rem),
    radial-gradient(circle at 18% 50%, rgba(0, 174, 255, 0.13), transparent 30rem),
    linear-gradient(155deg, #050717 0%, #090d2a 53%, #03040d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: var(--cyan); text-underline-offset: 0.22em; }
a:hover { color: #8bedff; }

.stars,
.stars::before,
.stars::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(67,213,255,.65) 0 1px, transparent 1.5px);
  background-position: 0 0, 70px 100px;
  background-size: 170px 170px, 230px 230px;
  opacity: .17;
}

.stars::before { transform: rotate(23deg) scale(1.1); opacity: .35; }
.stars::after { transform: rotate(-13deg) scale(1.2); opacity: .2; }

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .08em;
  font-weight: 800;
  white-space: nowrap;
}

.brand b { color: var(--cyan); }

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  border: 1px solid rgba(32,217,255,.9);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(185,92,255,.65), rgba(32,217,255,.22));
  box-shadow: 0 0 24px rgba(32,217,255,.28), inset 0 0 12px rgba(255,255,255,.16);
}

.brand-mark span {
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50% 50% 45% 45%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(255,197,52,.85);
}

nav { display: flex; gap: 26px; }
nav a { color: var(--muted); text-decoration: none; font-size: .94rem; }
nav a:hover, nav a.active { color: var(--ink); }

.hero {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 850px;
  padding: 80px 0;
}

.eyebrow,
.section-label {
  color: var(--cyan);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1,
.policy-heading h1 {
  margin: 18px 0 22px;
  font-size: clamp(3.4rem, 8.7vw, 7.8rem);
  line-height: .88;
  letter-spacing: -.065em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), #8b77ff 48%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 660px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7dcf6;
  background: rgba(10,16,48,.7);
  font-size: .88rem;
}

.status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255,197,52,.8);
}

.game-card {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 120px;
  padding: clamp(30px, 6vw, 74px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(16,24,69,.9), rgba(7,10,31,.92));
  box-shadow: 0 35px 80px rgba(0,0,0,.35);
}

.game-copy h2 { margin: 8px 0 18px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.game-copy p { color: var(--muted); }
.game-copy ul { padding-left: 1.15rem; }
.game-copy li { margin: 7px 0; color: #dce0f8; }
.game-copy li::marker { color: var(--gold); }

.planet {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.planet-core {
  width: min(55vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #80f6ff 0 4%, #2490ff 17%, #3d238f 52%, #07091f 78%);
  box-shadow: 0 0 30px rgba(32,217,255,.4), 0 0 100px rgba(109,53,255,.3), inset -22px -25px 40px rgba(0,0,0,.55);
}

.orbit {
  position: absolute;
  width: 320px;
  height: 110px;
  border: 1px solid rgba(74,220,255,.45);
  border-radius: 50%;
  transform: rotate(-20deg);
  box-shadow: 0 0 18px rgba(32,217,255,.13);
}

.orbit-two { width: 265px; height: 320px; transform: rotate(35deg); border-color: rgba(185,92,255,.4); }

footer {
  min-height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #7f87aa;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

footer div { display: flex; gap: 24px; }
footer a { color: #aeb6d8; text-decoration: none; }

.policy-shell { max-width: 920px; }

.policy-heading {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--line);
}

.policy-heading h1 { font-size: clamp(3.3rem, 8vw, 6.6rem); margin-bottom: 20px; }
.policy-heading > p:not(.section-label) { margin: 4px 0; color: var(--muted); font-size: 1.12rem; }
.policy-heading .updated { font-size: .9rem; }

.policy-content {
  margin: 50px 0 110px;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}

.policy-content section + section { margin-top: 46px; padding-top: 40px; border-top: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 18px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; }
.policy-content h3 { margin: 26px 0 7px; font-size: 1.08rem; color: #dce3ff; }
.policy-content p, .policy-content li { color: #bcc3df; }
.policy-content strong { color: var(--ink); }
.policy-content li { margin: 7px 0; }
.policy-content li::marker { color: var(--cyan); }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 22px 0; }
  nav { width: 100%; justify-content: space-between; gap: 12px; }
  .hero { min-height: 520px; padding: 70px 0; }
  .game-card { grid-template-columns: 1fr; gap: 20px; }
  .planet { min-height: 290px; }
  .orbit { width: 270px; }
  .orbit-two { width: 225px; height: 270px; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px 0; }
  footer div { flex-direction: column; gap: 8px; }
  .policy-heading { padding-top: 70px; }
}

@media (prefers-reduced-motion: no-preference) {
  .planet-core { animation: float 6s ease-in-out infinite; }
  .status span { animation: pulse 2s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px) scale(1.015); } }
  @keyframes pulse { 50% { opacity: .45; box-shadow: 0 0 5px rgba(255,197,52,.5); } }
}
