:root {
  color-scheme: dark;
  --bg: #070d22;
  --bg-soft: #0c1730;
  --panel: #101b35;
  --text: #f8fbff;
  --muted: #b8c7dd;
  --cyan: #64ffe7;
  --green: #73ff37;
  --pink: #ff6dff;
  --orange: #ffb433;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(100, 255, 231, 0.15), transparent 28rem),
    radial-gradient(circle at 84% 22%, rgba(255, 109, 255, 0.12), transparent 24rem),
    linear-gradient(180deg, #070d22 0%, #081026 48%, #050914 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 13, 34, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  font-weight: 800;
}

.brand img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
}

nav {
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 4.5rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 0.3rem;
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  line-height: 0.92;
}

.tagline {
  margin-bottom: 1.35rem;
  color: var(--orange);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  text-shadow: 0 0 22px rgba(255, 180, 51, 0.48);
}

.intro,
.screenshot-copy p,
.download p,
.policy-hero p,
.policy-content p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.actions,
.download {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.55rem;
  font-weight: 850;
}

.store-button {
  background: linear-gradient(90deg, var(--green), var(--cyan));
  color: #06101f;
  box-shadow: 0 0 28px rgba(100, 255, 231, 0.24);
}

.ghost-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-art {
  justify-self: end;
  width: min(100%, 48rem);
}

.hero-art img {
  border-radius: 0.8rem;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.gameplay {
  display: grid;
  grid-template-columns: minmax(16rem, 0.65fr) minmax(0, 1.35fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
}

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

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

.feature-grid article {
  min-height: 16rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.feature-grid span {
  color: var(--pink);
  font-weight: 900;
}

.feature-grid h3 {
  margin: 1.8rem 0 0.75rem;
  font-size: 1.35rem;
}

.feature-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.screenshots {
  display: grid;
  grid-template-columns: minmax(17rem, 0.9fr) minmax(18rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.screenshot-copy {
  max-width: 38rem;
}

.phone-frame {
  justify-self: center;
  width: min(100%, 27rem);
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #030713;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  border-radius: 1.35rem;
}

.download {
  margin: 0 clamp(1rem, 4vw, 4rem) clamp(3rem, 7vw, 5rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
}

.download img {
  width: 5rem;
  height: 5rem;
  border-radius: 1.35rem;
}

.download div {
  flex: 1 1 18rem;
}

.download h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.download p {
  margin-bottom: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.policy-page {
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
}

.policy-hero,
.policy-content {
  width: min(100%, 54rem);
  margin: 0 auto;
}

.policy-hero {
  padding: 2rem 0 2.6rem;
}

.policy-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.policy-content {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.055);
}

.policy-content h2 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.35rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .gameplay,
  .screenshots {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    justify-self: stretch;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .actions a,
  .download a {
    width: 100%;
  }
}
