/* Rhythm Racer — Marketing Site
   Neon cyberpunk aesthetic aligned with in-game UI (cyan active accent) */

:root {
  --bg-deep: #050510;
  --bg-panel: rgba(6, 10, 24, 0.94);
  --bg-panel-solid: #080c1a;
  --neon-cyan: #33ccff;
  --neon-cyan-dim: #1a8fb8;
  --neon-magenta: #ff2da8;
  --neon-purple: #9d4dff;
  --neon-yellow: #ffe566;
  --neon-green: #39ff14;
  --text-primary: #eef6ff;
  --text-muted: #8ba4c4;
  --text-dim: #5a7090;
  --border-glow: rgba(51, 204, 255, 0.35);
  --font-display: "Orbitron", system-ui, sans-serif;
  --font-body: "Exo 2", system-ui, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

#tunnel-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#site-scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  transition: opacity 0.4s ease;
  background:
    radial-gradient(ellipse 90% 55% at 50% 38%, rgba(5, 5, 16, 0.15) 0%, rgba(5, 5, 16, 0.55) 55%, rgba(5, 5, 16, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 5, 16, 0.1) 0%, rgba(5, 5, 16, 0.85) 100%);
}

.page-wrap {
  position: relative;
  z-index: 1;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 12px var(--neon-cyan);
}

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

/* ── Navigation ── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 5, 16, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glow);
  min-width: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(51, 204, 255, 0.35);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(51, 204, 255, 0.5);
}

.nav-brand img {
  height: 24px;
  width: auto;
  max-width: min(180px, 38vw);
  object-fit: contain;
  object-position: left center;
}

.nav-brand span {
  color: var(--neon-cyan);
}

.nav-wishlist {
  display: none;
}

@media (min-width: 900px) {
  .nav-wishlist {
    display: inline-flex;
    padding: 0.55rem 1.25rem;
    font-size: 0.68rem;
    flex-shrink: 0;
  }
}

@media (max-width: 899px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 5, 16, 0.97);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    flex-shrink: 0;
  }
}

.nav-links {
  list-style: none;
  flex-shrink: 1;
  min-width: 0;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 2vw, 1.5rem);
  }
}

.nav-links a {
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 1.2vw, 0.72rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-glow);
  color: var(--neon-cyan);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #050510;
  box-shadow: 0 0 24px rgba(51, 204, 255, 0.45), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(51, 204, 255, 0.65), 0 6px 28px rgba(0, 0, 0, 0.5);
  color: #050510;
  text-shadow: none;
}

.btn-secondary {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 16px rgba(51, 204, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(51, 204, 255, 0.1);
  transform: translateY(-2px);
  color: var(--neon-cyan);
  text-shadow: none;
}

.btn-steam {
  background: linear-gradient(135deg, #1b2838, #2a475e);
  color: #c7d5e0;
  border: 1px solid #66c0f4;
  box-shadow: 0 0 20px rgba(102, 192, 244, 0.25);
}

.btn-steam:hover {
  background: linear-gradient(135deg, #2a475e, #1b2838);
  color: #fff;
  transform: translateY(-2px);
  text-shadow: none;
}

.btn-steam svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Layout ── */

.container {
  width: min(var(--max-width), 100% - 2rem);
  margin-inline: auto;
}

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.content-section {
  position: relative;
}

.content-section .container {
  background: var(--bg-panel);
  border: 1px solid rgba(51, 204, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.45);
}

.content-section + .content-section {
  padding-top: 0;
}

.content-section + .content-section .container {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-magenta);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(51, 204, 255, 0.2);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* ── Hero ── */

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) 0;
  position: relative;
}

.hero .hero-content {
  background: rgba(6, 10, 24, 0.82);
  border: 1px solid rgba(51, 204, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.5);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon-magenta);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 50%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(51, 204, 255, 0.3));
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  max-width: 520px;
}

.hero-hook {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-meta strong {
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow:
    0 0 40px rgba(51, 204, 255, 0.2),
    0 0 80px rgba(157, 77, 255, 0.15),
    inset 0 0 60px rgba(51, 204, 255, 0.05);
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 16, 0.6));
  z-index: 1;
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(5, 5, 16, 0.9);
  border: 1px solid var(--neon-cyan);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(51, 204, 255, 0.3);
}

/* ── Feature cards ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: rgba(8, 12, 28, 0.92);
  border: 1px solid rgba(51, 204, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  backdrop-filter: blur(12px);
}

.feature-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(51, 204, 255, 0.12);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--neon-cyan);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ── Trailer ── */

.trailer-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 50px rgba(157, 77, 255, 0.2);
  aspect-ratio: 16/9;
  background: #000;
}

.trailer-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.trailer-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trailer-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: rgba(5, 5, 16, 0.45);
  transition: background 0.25s;
}

.trailer-link:hover .trailer-play {
  background: rgba(51, 204, 255, 0.2);
  text-shadow: 0 0 20px var(--neon-cyan);
}

/* ── Screenshots ── */

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.screenshot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(51, 204, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.screenshot-item:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 24px rgba(51, 204, 255, 0.2);
  transform: scale(1.02);
}

.screenshot-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ── CTA band ── */

.cta-band {
  background: linear-gradient(135deg, rgba(51, 204, 255, 0.1), rgba(157, 77, 255, 0.1));
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
}

.cta-band .container {
  background: rgba(6, 10, 24, 0.9);
  border: 1px solid rgba(51, 204, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  backdrop-filter: blur(20px);
  max-width: 720px;
}

.cta-band .section-title {
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ── Modes page ── */

.modes-hero {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.modes-hero .section-subtitle {
  margin-inline: auto;
}

.mode-card {
  background: rgba(6, 10, 24, 0.94);
  border: 1px solid rgba(51, 204, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s;
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

#mode-comparison {
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

.mode-card:hover {
  border-color: var(--border-glow);
}

.mode-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(51, 204, 255, 0.1);
}

.mode-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.7;
  flex-shrink: 0;
}

.mode-card-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.mode-tagline {
  font-size: 0.95rem;
  color: var(--neon-magenta);
  font-style: italic;
}

.mode-accent {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid;
}

.accent-cyan { color: var(--neon-cyan); border-color: var(--neon-cyan); background: rgba(51, 204, 255, 0.08); }
.accent-magenta { color: var(--neon-magenta); border-color: var(--neon-magenta); background: rgba(255, 45, 168, 0.08); }
.accent-purple { color: var(--neon-purple); border-color: var(--neon-purple); background: rgba(157, 77, 255, 0.08); }
.accent-yellow { color: var(--neon-yellow); border-color: var(--neon-yellow); background: rgba(255, 229, 102, 0.08); }
.accent-green { color: var(--neon-green); border-color: var(--neon-green); background: rgba(57, 255, 20, 0.08); }

.mode-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mode-description {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.mode-description p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.mode-description p:last-child {
  margin-bottom: 0;
}

.mode-details {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: rgba(51, 204, 255, 0.03);
  border-left: 1px solid rgba(51, 204, 255, 0.1);
}

.mode-details h4 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.mode-details ul {
  list-style: none;
}

.mode-details li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mode-details li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--neon-magenta);
}

.mode-screenshot {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(51, 204, 255, 0.1);
}

.mode-screenshot img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* Mode comparison table */
.modes-compare {
  margin-top: 3rem;
}

.compare-panel {
  background: var(--bg-panel-solid);
  border: 1px solid rgba(51, 204, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow-x: auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(51, 204, 255, 0.1);
}

.compare-table th {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(51, 204, 255, 0.08);
}

.compare-table td {
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.15);
}

.compare-table tbody tr:hover td {
  background: rgba(51, 204, 255, 0.06);
}

.compare-table td:first-child {
  color: var(--text-primary);
  font-weight: 600;
}

.compare-note {
  font-size: 0.75em;
  color: var(--text-dim);
  font-weight: 400;
}

.mode-card--feature {
  border-style: dashed;
  border-color: rgba(157, 77, 255, 0.25);
}

.mode-card--feature .mode-number {
  font-size: 1.75rem;
  opacity: 0.5;
}

.check { color: var(--neon-green); }
.cross { color: var(--text-dim); }

/* ── Footer ── */

.site-footer {
  border-top: 1px solid rgba(51, 204, 255, 0.12);
  padding: 2.5rem 0;
  background: rgba(5, 5, 16, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 204, 255, 0.08);
}

/* ── Lightbox ── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 16, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(51, 204, 255, 0.3);
}

/* ── Trailer modal ── */

.trailer-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 2, 8, 0.94);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.trailer-modal.open {
  display: flex;
}

.trailer-modal-inner {
  width: min(960px, 100%);
  position: relative;
}

.trailer-modal video {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(51, 204, 255, 0.25);
  background: #000;
}

.trailer-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: 1px solid rgba(51, 204, 255, 0.4);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.trailer-fallback {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── Sticky wishlist bar ── */

.sticky-wishlist {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  padding: 0.75rem 1rem;
  background: rgba(5, 5, 16, 0.95);
  border-top: 1px solid var(--border-glow);
  backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-wishlist.visible {
  transform: translateY(0);
}

.sticky-wishlist .btn {
  width: 100%;
  max-width: 400px;
}

@media (min-width: 900px) {
  .sticky-wishlist {
    display: none;
  }
}

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Page headers (modes / press) ── */

.page-header {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2rem);
}

.page-header .container {
  display: flex;
  justify-content: center;
}

.page-header .header-panel {
  width: min(720px, 100%);
  background: rgba(6, 10, 24, 0.9);
  border: 1px solid rgba(51, 204, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.page-header .section-title {
  overflow: visible;
  word-wrap: break-word;
  hyphens: auto;
}

.page-header .section-subtitle {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* ── Mode jump navigation ── */

.mode-jump-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: rgba(5, 5, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 204, 255, 0.12);
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}

.mode-jump-inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.mode-jump-inner::-webkit-scrollbar {
  display: none;
}

.mode-jump-link {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 204, 255, 0.2);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.mode-jump-link:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  text-shadow: none;
}

.mode-jump-link.active {
  color: #050510;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
  box-shadow: 0 0 16px rgba(51, 204, 255, 0.35);
}

a.feature-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.feature-card-link:hover .feature-card {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(51, 204, 255, 0.12);
  transform: translateY(-3px);
}

a.feature-card-link:hover h3 {
  color: #fff;
}

.feature-card .mode-link-hint {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  opacity: 0;
  transition: opacity 0.2s;
}

a.feature-card-link:hover .mode-link-hint {
  opacity: 1;
}

/* ── Press kit ── */

.press-hero {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.press-panel {
  background: rgba(6, 10, 24, 0.94);
  border: 1px solid rgba(51, 204, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  backdrop-filter: blur(8px);
}

.press-panel h2 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 1.25rem;
}

.fact-sheet dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.65rem 1rem;
  font-size: 0.92rem;
}

.fact-sheet dt {
  color: var(--text-dim);
  font-weight: 600;
}

.fact-sheet dd {
  color: var(--text-muted);
  margin: 0;
}

.boilerplate {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.boilerplate p {
  margin-bottom: 1rem;
}

.boilerplate p:last-child {
  margin-bottom: 0;
}

.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-copy {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(51, 204, 255, 0.3);
  background: rgba(51, 204, 255, 0.06);
  color: var(--neon-cyan);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-copy:hover {
  background: rgba(51, 204, 255, 0.14);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.asset-card {
  border: 1px solid rgba(51, 204, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  transition: border-color 0.2s;
}

.asset-card:hover {
  border-color: var(--border-glow);
}

.asset-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.asset-card-header {
  padding: 0.75rem 1rem;
}

.asset-card-header h3 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.asset-card-header span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.asset-card-actions {
  padding: 0 1rem 0.75rem;
}

.asset-card-actions a {
  font-size: 0.82rem;
}

.features-list {
  list-style: none;
}

.features-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.features-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--neon-magenta);
}

@media (max-width: 900px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .fact-sheet dl {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .fact-sheet dt {
    margin-top: 0.5rem;
  }
}


@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .mode-card-body {
    grid-template-columns: 1fr;
  }

  .mode-details {
    border-left: none;
    border-top: 1px solid rgba(51, 204, 255, 0.1);
  }

  .mode-accent {
    display: none;
  }
}

@media (max-width: 640px) {
  .mode-card-header {
    flex-wrap: wrap;
  }
}
