/* Archnemesis — marketing site
   Dark neon theme, system-font stack (no runtime font fetch), mobile-first. */

:root {
  --bg: #05060a;
  --bg-soft: #0c0f18;
  --panel: #11151f;
  --text: #e8ecf5;
  --muted: #97a0b5;
  --cyan: #28e0d8;
  --magenta: #ff3da6;
  --border: rgba(255, 255, 255, 0.08);
  --max: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(40, 224, 216, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(255, 61, 166, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }

/* ---- Nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.brand img { border-radius: 7px; }
.site-nav nav { display: flex; gap: clamp(12px, 3vw, 28px); flex-wrap: wrap; }
.site-nav nav a { color: var(--muted); font-size: 15px; }
.site-nav nav a:hover { color: #fff; }

/* ---- Layout ---- */
main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); }

/* ---- Hero ---- */
.hero { text-align: center; padding: clamp(48px, 10vw, 110px) 0 clamp(40px, 7vw, 80px); }
.hero-icon {
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--border), 0 24px 70px rgba(40, 224, 216, 0.18);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(92deg, var(--cyan), #fff 55%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 18px auto 0;
  /* Keep "A brain-bending puzzle box." on one line where it fits; balance the
     wrap on very narrow screens so "box." never orphans onto its own line. */
  text-wrap: balance;
}
.lede {
  color: var(--muted);
  max-width: 56ch;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.badge img {
  height: 50px;
  width: auto;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.badge:hover img { transform: translateY(-2px); }
.coming-soon { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

/* At-a-glance stats trio (levels / mechanics / archnemesis). */
.stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 8vw, 64px);
  flex-wrap: wrap;
  margin-top: 34px;
}
.stat { text-align: center; }
.stat .num {
  display: block;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(92deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* Trust strip — kept separate from the game description on purpose. */
.no-nonsense {
  margin-top: 24px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- Features ---- */
.features { padding: clamp(40px, 8vw, 90px) 0; border-top: 1px solid var(--border); }
.features h2 {
  text-align: center;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: clamp(28px, 5vw, 50px);
}
.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature-grid li {
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-grid li:hover { border-color: rgba(40, 224, 216, 0.45); transform: translateY(-3px); }
.feature-grid h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff;
}
.feature-grid h3::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  vertical-align: middle;
}
.feature-grid p { color: var(--muted); font-size: 0.97rem; }
.feature-grid em { color: var(--magenta); font-style: normal; font-weight: 600; }

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 40px clamp(16px, 5vw, 48px);
  color: var(--muted);
}
.footer-brand { font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.site-footer nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 14px 0;
}
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: #fff; }
.copyright { font-size: 0.85rem; opacity: 0.8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
