:root {
  color-scheme: dark;
  --ink: #f8fafc;
  --muted: #b8c2d6;
  --paper: #0d1020;
  --panel: rgba(17, 24, 43, 0.84);
  --panel-strong: rgba(9, 13, 27, 0.92);
  --line: rgba(255, 255, 255, 0.16);
  --pink: #ff4fd8;
  --cyan: #4ce7ff;
  --lime: #88ff4d;
  --gold: #ffd166;
  --coral: #ff6b6b;
  --max: 1120px;
}

* {
  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;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 22, 0.78);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--pink), var(--cyan) 52%, var(--lime));
  box-shadow: 0 0 24px rgba(76, 231, 255, 0.28);
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  min-height: 78vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.26), rgba(5, 8, 18, 0.90)),
    url("assets/shape-chaser-gameplay.png") center / cover no-repeat;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0 70px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.9;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.lead {
  max-width: 720px;
  color: #e7ecf8;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border: 0;
  color: #09111f;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
}

.band {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1020, #12172b);
}

.band.alt {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.10), #111427 42%, rgba(76, 231, 255, 0.08));
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.card-body {
  padding: 22px;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #060915;
}

.app-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #eaf4ff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 800;
}

.status {
  color: var(--gold);
}

.card p,
.copy p,
.list li {
  color: var(--muted);
  line-height: 1.62;
}

.list {
  padding-left: 1.2rem;
}

.list li + li {
  margin-top: 8px;
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(7, 10, 21, 0.52), rgba(7, 10, 21, 0.94)),
    url("assets/shape-chaser-map.png") center / cover no-repeat;
}

.page-hero .wrap {
  padding-top: 110px;
}

.legal {
  max-width: 860px;
}

.legal h2 {
  font-size: 1.8rem;
  margin-top: 36px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #070a15;
}

.footer .wrap {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 72vh;
  }

  .grid,
  .two {
    grid-template-columns: 1fr;
  }

  .wrap {
    padding: 52px 0;
  }
}
