/* ============ Base & tokens ============ */
:root {
  --bg-0: #07090f;
  --bg-1: #0a0e1a;
  --bg-2: #11162a;
  --bg-card: rgba(20, 26, 48, 0.7);
  --line: rgba(120, 140, 200, 0.14);
  --text: #e6eaf5;
  --text-muted: #97a0bd;
  --text-dim: #6b7596;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --accent-warm: #ffb86b;
  --grad: linear-gradient(135deg, #6ee7ff 0%, #a78bfa 50%, #ff7ab6 100%);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: 'Orbitron', 'Inter', sans-serif; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 .9em; color: var(--text-muted); }
.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .65em;
}

/* ============ Starfield background ============ */
#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(110, 231, 255, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(167, 139, 250, 0.10), transparent 50%),
    var(--bg-1);
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 3vw, 2.4rem);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 9, 15, 0.6);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.brand img { border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: 'Orbitron', sans-serif; }
.brand-text strong { font-size: .95rem; letter-spacing: .04em; }
.brand-text em { font-style: normal; font-size: .7rem; color: var(--text-dim); letter-spacing: .25em; text-transform: uppercase; }

.primary-nav { display: flex; gap: 2rem; align-items: center; }
.primary-nav a {
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: .2s; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  font-family: inherit;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #0a0e1a;
  box-shadow: 0 10px 28px -10px rgba(110, 231, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(167, 139, 250, 0.6); color: #0a0e1a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem clamp(1.2rem, 4vw, 3rem) 3.5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(110, 231, 255, 0.12), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(167, 139, 250, 0.12), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 {
  background: linear-gradient(180deg, #ffffff 0%, #b8c0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.4rem;
}
.lede strong, p strong { color: var(--text); font-weight: 700; }
.cta-row { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3.5rem auto 0;
  max-width: 540px;
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.stats div { text-align: center; }
.stats dt {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stats dd {
  margin: .4rem 0 0;
  font-size: .8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 2px solid var(--text-dim);
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-cue span {
  display: block; width: 3px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.2; }
}

/* ============ Sections / general ============ */
section {
  padding: clamp(3rem, 5.5vw, 4.5rem) clamp(1.2rem, 4vw, 3rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.section-sub { color: var(--text-muted); font-size: 1rem; }

/* ============ Featured ============ */
.featured {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  align-content: center;
}
.featured-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}
.featured-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s ease;
}
.featured-art:hover img { transform: scale(1.05); }
.featured-art::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 9, 15, 0.6) 100%);
  pointer-events: none;
}
.badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: .4rem .9rem;
  background: rgba(7, 9, 15, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .5rem 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: .92rem;
  line-height: 1.45;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list span {
  font-family: 'Orbitron', sans-serif;
  font-size: .72rem;
  color: var(--accent);
  letter-spacing: .15em;
  min-width: 2.2rem;
  padding-top: .15rem;
}

/* ============ Games grid ============ */
.games { max-width: var(--max); margin: 0 auto; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.5rem;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  opacity: 0;
  transform: translateY(20px);
  animation: card-in .6s var(--delay, 0ms) forwards;
}
.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 255, 0.4);
  box-shadow: 0 20px 50px -20px rgba(110, 231, 255, 0.3);
}
.game-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.game-thumb img,
.game-thumb video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.game-card:hover .game-thumb img,
.game-card:hover .game-thumb video { transform: scale(1.08); }
.game-body {
  padding: 1.2rem 1.3rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.game-body h3 { margin-bottom: .3rem; color: var(--text); }
.game-body p { margin: 0 0 .9rem; font-size: .92rem; color: var(--text-dim); }
.tag {
  display: inline-block;
  padding: .25rem .7rem;
  font-size: .7rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: rgba(120, 140, 200, 0.1);
  color: var(--text-muted);
  border-radius: 4px;
  border: 1px solid var(--line);
}
.tag-progress { color: var(--accent); border-color: rgba(110, 231, 255, 0.3); background: rgba(110, 231, 255, 0.08); }
.tag-shipped { color: #7eecb0; border-color: rgba(126, 236, 176, 0.3); background: rgba(126, 236, 176, 0.08); }

@keyframes card-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ============ About ============ */
.about { width: 100%; max-width: var(--max); margin: 0 auto; }
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.8rem) clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.about-copy p { margin-bottom: .8em; }
.about-copy p:last-of-type { margin-bottom: 0; }
.skill-pills {
  list-style: none; padding: 0; margin: 1.1rem 0 0;
  display: flex; flex-wrap: nowrap; gap: .5rem;
}
.skill-pills li {
  padding: .35rem .8rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text);
  white-space: nowrap;
}
.donate-block {
  grid-column: 1 / -1;
  margin-top: .5rem;
  padding: 1.2rem 1.4rem 1.3rem;
  background:
    radial-gradient(ellipse at top left, rgba(255, 210, 59, 0.08), transparent 60%),
    linear-gradient(135deg, rgba(255, 122, 31, 0.05), rgba(232, 32, 30, 0.04));
  border: 1px solid rgba(255, 138, 31, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -16px rgba(232, 32, 30, 0.25);
}
.donate-eyebrow {
  color: #ffb86b !important;
  margin-bottom: .4em;
}
.donate-pitch {
  margin: 0 0 .9rem;
  color: var(--text);
  font-size: .92rem;
  line-height: 1.5;
}
.btn-donate {
  background: linear-gradient(180deg, #FFE15A 0%, #FFB627 35%, #FF7A1F 75%, #E8201E 100%);
  color: #0a0e1a;
  border: none;
  box-shadow: 0 10px 28px -10px rgba(255, 122, 31, 0.55);
}
.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(232, 32, 30, 0.6);
  color: #0a0e1a;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.about-card h3 { font-family: 'Orbitron', sans-serif; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.about-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }
.status-list { list-style: none; padding: 0; margin: 0; }
.status-list li {
  display: flex; align-items: center; gap: .8rem;
  padding: .5rem 0;
  color: var(--text);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-dim);
  flex-shrink: 0;
}
.dot-on {
  background: #7eecb0;
  box-shadow: 0 0 0 3px rgba(126, 236, 176, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(126, 236, 176, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(126, 236, 176, 0.05); }
}
.muted { color: var(--text-muted); font-size: .92rem; }

/* ============ Contact ============ */
.contact {
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(167, 139, 250, 0.08), transparent 60%),
    var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-inner { max-width: 820px; margin: 0 auto; }
.contact h2 {
  background: linear-gradient(180deg, #ffffff 0%, #b8c0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.email-display {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin-top: 1.6rem;
}
.email-label {
  color: var(--text-dim);
  font-family: 'Orbitron', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.email-address {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .92rem;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, transform .15s, box-shadow .25s;
}
.email-address svg { opacity: .65; transition: opacity .25s; }
.email-address:hover {
  background: linear-gradient(135deg, rgba(255, 210, 59, 0.12), rgba(255, 122, 31, 0.10), rgba(232, 32, 30, 0.08));
  border-color: rgba(255, 138, 31, 0.5);
  color: #ffd9a0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px rgba(255, 122, 31, 0.4);
}
.email-address:hover svg { opacity: 1; color: #ffb86b; }
.email-address:active { transform: translateY(0); }
.email-address.copied {
  background: rgba(126, 236, 176, 0.14);
  border-color: rgba(126, 236, 176, 0.5);
  color: #7eecb0;
}
.email-address.copied svg { opacity: 1; }

.socials {
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 1.5rem;
}
.socials li { text-align: center; }
.socials a {
  display: inline-block;
  color: var(--text-muted);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
  padding: .25rem 0;
}
.socials a:hover { color: var(--accent); }
@media (max-width: 560px) {
  .socials { grid-template-columns: repeat(2, 1fr); max-width: 380px; }
}

/* ============ Footer ============ */
.site-footer {
  padding: 2.5rem clamp(1.2rem, 4vw, 3rem);
  background: var(--bg-0);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; font-family: 'Orbitron', sans-serif; color: var(--text); }
.footer-inner p { margin: 0; color: var(--text-dim); font-size: .82rem; }

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .featured { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-card dl { grid-template-columns: 80px 1fr; }
}

/* ============ Wide screens (1600px+): scale up typography & containers ============ */
@media (min-width: 1600px) {
  :root { --max: 1500px; }
  .title-line-1 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
  .title-line-2 { font-size: clamp(1rem, 1.6vw, 1.6rem); }
  h1 { font-size: clamp(2.4rem, 4vw, 4.4rem); }
  h2 { font-size: clamp(1.8rem, 2.8vw, 2.8rem); }
  .lede { font-size: clamp(1rem, 1.2vw, 1.2rem); }
  .hero-inner { max-width: 1200px; }
  .featured-copy p, .about-copy p { font-size: 1.05rem; }
  .feature-list li { font-size: 1rem; }
  .video-card figcaption h3 { font-size: 1.25rem; }
  .game-body h3 { font-size: 1.3rem; }
  section { min-height: min(100vh, 900px); }
  .hero { min-height: calc(100vh - 76px); }
}

/* ============ Ultra-wide screens (1920px+ / 4K): even more spacious ============ */
@media (min-width: 1920px) {
  :root { --max: 1600px; }
  .title-line-1 { font-size: clamp(3rem, 4.6vw, 6rem); }
  .title-line-2 { font-size: clamp(1.1rem, 1.5vw, 1.8rem); }
  h2 { font-size: clamp(2rem, 2.6vw, 3.2rem); }
  .hero-inner { max-width: 1340px; }
  .lede { font-size: clamp(1.05rem, 1.1vw, 1.3rem); }
  .wishlist-inner { max-width: 920px; }
  .contact-inner { max-width: 900px; }
}

@media (max-width: 640px) {
  section {
    padding: clamp(2.5rem, 7vw, 3.5rem) 1.5rem;
    min-height: auto;
  }
  .hero {
    min-height: calc(100vh - 76px);
    padding: 1.5rem 1.1rem 3rem;
  }
  .scroll-cue { display: none; }
  .title-line-1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .title-line-2 { font-size: clamp(.78rem, 2.8vw, 1.05rem); letter-spacing: .25em; }
  .hero-game .game-title { margin-bottom: .35em; }
  .lede { font-size: .98rem; }
  .quote-rotator {
    padding: .9rem 1rem 1.6rem;
    margin-bottom: 1.2rem;
  }
  .quote-body { font-size: .92rem; line-height: 1.5; }
  .quote-source { font-size: .65rem; letter-spacing: .12em; }
  .hero-badges { gap: .4rem; margin-top: 1.2rem; }
  .badge-pill { font-size: .62rem; padding: .35rem .75rem; }

  .cta-row { flex-direction: column; gap: .7rem; width: 100%; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 360px; align-self: center; }
  .btn { padding: .6rem 1.1rem; font-size: .85rem; }
  .btn svg { width: 16px; height: 16px; margin-right: .4rem; }
  .btn-lg { padding: .7rem 1.2rem; font-size: .9rem; }
  .btn-xl { padding: .8rem 1.3rem; font-size: .9rem; }
  .nav-cta { padding: .4rem .9rem !important; font-size: .82rem; }
  .wishlist-inner .btn { max-width: 100%; }
  .wishlist-cta, .contact {
    align-items: center;
  }
  .wishlist-inner, .contact-inner {
    width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }

  .section-head { margin-bottom: 1.5rem; }
  .section-sub { font-size: .95rem; }

  .featured-copy h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .feature-list li { font-size: .88rem; padding: .45rem 0; }
  .feature-list span { min-width: 1.8rem; font-size: .68rem; }

  .skill-pills { flex-wrap: wrap; gap: .45rem; }
  .skill-pills li { font-size: .75rem; padding: .3rem .7rem; }

  .about-card { padding: 1.4rem; }
  .donate-block { padding: 1rem 1.1rem 1.2rem; margin-top: 0; }
  .donate-pitch { font-size: .88rem; }

  .steam-widget { margin-bottom: 1.6rem; }
  .video-card figcaption { padding: .9rem 1.1rem 1.1rem; }
  .video-card figcaption h3 { font-size: 1rem; }
  .video-card figcaption p { font-size: .85rem; }
  .play-btn { width: 56px; height: 56px; }

  .stage-num { font-size: .65rem; }
  .game-body { padding: 1rem 1.1rem 1.2rem; }

  .specs-card { padding: 1.4rem; }
  .specs-card dl { grid-template-columns: 70px 1fr; gap: .4rem .8rem; }
  .specs-card dt { font-size: .68rem; }

  .wishlist-inner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .contact-inner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

@media (max-width: 400px) {
  .title-line-1 { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .title-line-2 { letter-spacing: .2em; font-size: .72rem; }
  .badge-pill { font-size: .58rem; padding: .3rem .6rem; }
  .quote-body { font-size: .88rem; }
  .skill-pills li { font-size: .72rem; }
  .btn-xl { padding: .7rem .95rem; font-size: .8rem; }
  .btn-xl svg { width: 16px; height: 16px; }
  .wishlist-inner .btn { white-space: nowrap; }
}
@media (max-width: 1024px) {
  .primary-nav {
    position: fixed; top: 70px; right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(7, 9, 15, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform .25s;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a {
    padding: .9rem clamp(1.2rem, 4vw, 2.4rem);
    border-bottom: 1px solid var(--line);
  }
  .primary-nav .nav-cta {
    margin: .5rem clamp(1.2rem, 4vw, 2.4rem);
    border-bottom: none;
    text-align: center;
  }
  .primary-nav a::after { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-top: 1px solid var(--line); padding-top: 1rem; }
}

/* ============ Game hero / title ============ */
.hero-game .game-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15em;
  margin-bottom: .4em;
}
.title-line-1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  letter-spacing: .04em;
  background: linear-gradient(180deg,
    #FFF1A8 0%,
    #FFD23B 28%,
    #FFA01F 62%,
    #F25A1C 85%,
    #E8201E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 2px 0 rgba(232, 32, 30, 0.25))
    drop-shadow(0 0 24px rgba(255, 160, 31, 0.45))
    drop-shadow(0 0 60px rgba(232, 32, 30, 0.25));
}
.title-line-2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  font-size: clamp(.9rem, 1.8vw, 1.3rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #d8b48a;
  text-shadow: 0 0 18px rgba(255, 160, 31, 0.15);
}
/* ============ Hero quote rotator ============ */
.quote-rotator {
  position: relative;
  display: grid;
  max-width: 620px;
  margin: 0 auto 1.4rem;
  padding: 1rem 1.4rem 1.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.quote-slide {
  grid-area: 1 / 1;
  display: block;
  text-decoration: none;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
  outline: none;
}
.quote-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.quote-slide:hover { color: var(--text); }
.quote-slide:hover .quote-source { color: #ffb86b; }
.quote-slide:focus-visible { box-shadow: 0 0 0 2px var(--accent); border-radius: 6px; }
.quote-body {
  display: block;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
}
.quote-source {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .8rem;
  font-style: normal;
  font-family: 'Orbitron', sans-serif;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color .25s;
}
.quote-source svg { opacity: .8; }
.quote-dots {
  position: absolute;
  bottom: .85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}
.quote-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background .3s, transform .3s;
}
.quote-dots span.is-active {
  background: linear-gradient(180deg, #FFD23B, #FF7A1F);
  transform: scale(1.3);
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.4rem;
}
.badge-pill {
  padding: .45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.btn-xl { padding: 1.3rem 2.6rem; font-size: 1.15rem; }
.btn svg { margin-right: .55rem; }

/* Nav CTA button (highlighted nav link) */
.nav-cta {
  padding: .5rem 1.1rem;
  background: var(--grad);
  color: #0a0e1a !important;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { color: #0a0e1a !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* ============ Trailer / video grid ============ */
.trailer { max-width: var(--max); margin: 0 auto; }
.steam-widget {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.steam-widget iframe { display: block; width: 100%; }
@media (max-width: 640px) {
  .steam-widget iframe { height: 290px !important; }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.4rem;
}
@media (max-width: 880px) {
  .video-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
.video-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 255, 0.4);
}
.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-2);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,15,0.0) 50%, rgba(7,9,15,0.8) 100%);
  pointer-events: none;
}
.play-btn {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 0;
  background: var(--grad);
  color: #0a0e1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px -6px rgba(110, 231, 255, 0.6);
  transition: transform .2s;
}
.video-card:hover .play-btn { transform: scale(1.1); }
.video-card svg { margin-left: 4px; }
.video-card figcaption {
  padding: 1.1rem 1.3rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.video-card figcaption h3 { margin-bottom: .3rem; color: var(--text); }
.video-card figcaption p { margin: 0; font-size: .9rem; color: var(--text-dim); }

/* ============ Video lightbox ============ */
.video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
}
.video-lightbox.open { display: flex; }
.lightbox-frame {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  background: #000;
}
.lightbox-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.15); }

/* ============ Stages ============ */
.stage-num {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}

/* ============ Wishlist CTA ============ */
.wishlist-cta {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(110, 231, 255, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(110, 231, 255, 0.06), rgba(167, 139, 250, 0.06));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.wishlist-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(110, 231, 255, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255, 122, 182, 0.08) 0%, transparent 30%);
  pointer-events: none;
}
.wishlist-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.wishlist-inner h2 {
  background: linear-gradient(180deg, #ffffff 0%, #b8c0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wishlist-inner .muted {
  margin-top: 1.2rem;
  font-size: .82rem;
}

/* ============ Specs ============ */
.specs { max-width: var(--max); margin: 0 auto; }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) {
  .specs-grid { grid-template-columns: 1fr; }
}
.specs-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.specs-card-pro {
  border-color: rgba(110, 231, 255, 0.35);
  box-shadow: 0 16px 40px -20px rgba(110, 231, 255, 0.4);
}
.specs-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.specs-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: .6rem 1rem;
}
.specs-card dt {
  font-family: 'Orbitron', sans-serif;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.specs-card dd {
  margin: 0;
  color: var(--text);
}

/* ============ Toast notification ============ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: rgba(7, 9, 15, 0.96);
  color: var(--text);
  padding: .85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: .9rem;
  font-weight: 500;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.4, 1.6, .5, 1), opacity .25s;
  z-index: 200;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(110, 231, 255, 0.15);
  opacity: 0;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============ Scroll reveal ============ */
.featured-art, .featured-copy, .about-copy, .about-card, .contact-inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.featured-art.in, .featured-copy.in, .about-copy.in, .about-card.in, .contact-inner.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
