:root {
  --bg: #05060a;
  --bg-glow: #0d1220;
  --fg: #e8ecf7;
  --muted: #8992ab;
  --accent: #5ee0ff;
  --border: #1c2233;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(60vw 60vw at 15% -10%, var(--bg-glow), transparent 60%),
    radial-gradient(50vw 50vw at 110% 10%, #10182b, transparent 55%),
    var(--bg);
  color: var(--fg);
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* Site nav */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.site-nav .brand {
  display: flex;
  align-items: center;
}

.site-nav .brand img {
  height: 1.5rem;
  width: auto;
  display: block;
}

.site-nav .links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.site-nav .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

/* Homepage layout when there's real content beneath the hero */
.wrap.hero {
  flex: none;
  padding: 3.5rem 1.5rem 3rem;
}

.wrap.hero .tagline {
  margin-bottom: 0;
}

main {
  flex: 1;
}

section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46rem;
  margin: 0 0 2.5rem;
}

.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.badge-coming-soon .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Steam demo callout */
.steam-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(94, 224, 255, 0.08), rgba(94, 224, 255, 0));
}

.steam-callout-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.steam-callout-text p {
  margin: 0;
  color: var(--fg);
  font-size: 1rem;
  max-width: 34rem;
}

.steam-callout-cta {
  flex-shrink: 0;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #05060a;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.steam-callout-cta:hover {
  opacity: 0.9;
}

/* Game hero image */
.game-hero {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  background: #000;
}

.game-hero img,
.game-hero video {
  display: block;
  width: 100%;
  height: auto;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-grid h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.feature-grid p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Screenshot gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: #000;
}

.legal-fineprint {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 46rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

/* About page */
.about-body {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-body p {
  margin: 0 0 1.25rem;
}

.about-body a {
  color: var(--accent);
}

.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  text-align: center;
}

.mark {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.mark-logo {
  height: 2.1rem;
  width: auto;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.tagline {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 34rem;
  line-height: 1.6;
  margin: 0 0 2.5rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
}

.status .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.6rem var(--accent);
}

footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 0.6rem;
}

footer a:hover {
  color: var(--fg);
}

/* Document pages (privacy policy / terms of service) */
.doc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.doc-header {
  padding: 2rem 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.doc-header .mark {
  margin-bottom: 0.75rem;
}

.doc-header h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 0.75rem;
}

.doc-header a.download {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.doc-header a.download:hover {
  text-decoration: underline;
}

.doc-viewer {
  flex: 1;
  padding: 1.5rem;
}

.doc-viewer iframe {
  width: 100%;
  height: 80vh;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: #fff;
}

.doc-fallback {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
}

.doc-fallback a {
  color: var(--accent);
}
