/* US Gold Fan Site — style.css
   Visual identity: deep space navy #0a0018, Anton headings, gold/blue accents
   Signature technique: diagonal clip-path hero banners with gold border stripes
*/

/* ─── Fonts ────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700&display=swap');

/* ─── Design tokens ─────────────────────────────────────────────── */
:root {
  --bg:           #0a0018;
  --bg-mid:       #110028;
  --bg-card:      #16003a;
  --bg-card-alt:  #1a0040;
  --gold:         #ffc300;
  --gold-dim:     #c99500;
  --blue:         #3a86ff;
  --blue-dim:     #2060cc;
  --text:         #e8e0f5;
  --text-muted:   #9988bb;
  --border:       #2d1560;
  --border-bright:#3d2080;

  --font-head:    'Anton', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:       4px;
  --radius-card:  6px;
  --shadow:       0 4px 24px rgba(0,0,0,0.6);

  /* Diagonal clip-path angles */
  --clip-top:     polygon(0 0, 100% 0, 100% calc(100% - 3vw), 0 100%);
  --clip-bottom:  polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
  --clip-both:    polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%);
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
ul { list-style: none; }

/* ─── Skip link ──────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px; left: 0;
  background: var(--gold);
  color: #000;
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ─── Navigation ─────────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 0, 24, 0.95);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(6px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-decoration: none;
}
.nav-brand:hover { color: #fff; text-decoration: none; }
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  background: rgba(255,195,0,0.1);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(10, 0, 24, 0.98);
    border-bottom: 2px solid var(--gold);
    padding: 0.75rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
  }
}

/* ─── Layout helpers ─────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-section {
  padding: 5rem 0;
}
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--gold);
  margin-top: 0.5rem;
}
.section-intro {
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ─── Diagonal clip-path hero banners ────────────────────────────── */
/* SIGNATURE TECHNIQUE: alternating 5deg diagonal clip-paths with gold stripes */
.hero-band {
  position: relative;
  overflow: hidden;
}
.hero-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 50%, var(--gold) 100%);
  z-index: 2;
}
.hero-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 50%, var(--gold) 100%);
  z-index: 2;
}
.clip-diagonal-down {
  clip-path: var(--clip-top);
}
.clip-diagonal-up {
  clip-path: var(--clip-bottom);
}
.clip-diagonal-both {
  clip-path: var(--clip-both);
}

/* ─── Main hero ──────────────────────────────────────────────────── */
#hero {
  padding-top: 60px; /* nav height */
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0018 0%, #1a0040 40%, #0a0028 70%, #0a001a 100%);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,195,0,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(58,134,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
/* Diagonal stripe accent on the right side */
#hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 6px;
  height: 140%;
  background: var(--gold);
  transform: rotate(5deg);
  opacity: 0.15;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.hero-title .gold { color: var(--gold); }
.hero-title .blue { color: var(--blue); }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--gold);
}
.hero-stat .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  text-decoration: none;
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(255,195,0,0.1);
  color: #fff;
  text-decoration: none;
}
.btn-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: rgba(58,134,255,0.1);
  color: #fff;
  text-decoration: none;
}

/* ─── Screenshot strip ───────────────────────────────────────────── */
.screenshot-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-mid);
}
.screenshot-strip img {
  height: 180px;
  width: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  flex-shrink: 0;
}

/* ─── Diagonal section separator ─────────────────────────────────── */
.diagonal-section {
  position: relative;
  background: var(--bg-mid);
  padding: 5rem 0;
  margin: 3rem 0;
  clip-path: var(--clip-both);
}
/* Gold stripe above clipped section */
.diagonal-section-wrap {
  position: relative;
}
.diagonal-section-wrap::before,
.diagonal-section-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--blue) 50%, var(--gold) 80%, transparent);
  z-index: 1;
  pointer-events: none;
}
.diagonal-section-wrap::before { top: 0; }
.diagonal-section-wrap::after  { bottom: 0; }

/* ─── Cards ──────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-card-alt);
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-card) 0px,
    var(--bg-card) 10px,
    var(--bg-card-alt) 10px,
    var(--bg-card-alt) 20px
  );
}
.card-body {
  padding: 1rem 1.25rem 1.25rem;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  background: rgba(58,134,255,0.15);
  color: var(--blue);
  border: 1px solid rgba(58,134,255,0.3);
}
.badge-gold {
  background: rgba(255,195,0,0.15);
  color: var(--gold);
  border-color: rgba(255,195,0,0.3);
}
.year {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── People cards ───────────────────────────────────────────────── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}
.person-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 0.25rem;
}
.person-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.person-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─── Filter controls ────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-bright);
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

/* ─── Gallery grid ───────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-caption {
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.gallery-caption strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

/* Portrait items */
.gallery-item.portrait img {
  aspect-ratio: 3/4;
}

/* ─── Trivia callouts ────────────────────────────────────────────── */
aside.trivia {
  background: linear-gradient(135deg, rgba(255,195,0,0.06), rgba(58,134,255,0.04));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
aside.trivia strong {
  color: var(--gold);
}

/* ─── Dev quotes ─────────────────────────────────────────────────── */
blockquote.dev-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.75rem 1.5rem 2.5rem;
  background: var(--bg-card);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote.dev-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 0.75rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.4;
}
blockquote.dev-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
blockquote.dev-quote cite {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
  text-transform: uppercase;
}

/* ─── History sections ───────────────────────────────────────────── */
.history-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.history-section:last-child { border-bottom: none; }
.history-section.reversed {
  grid-template-columns: 300px 1fr;
}
.history-section.reversed .history-text { order: 2; }
.history-section.reversed .history-visual { order: 1; }
.history-year {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: rgba(255,195,0,0.08);
  border: 1px solid rgba(255,195,0,0.2);
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.history-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.history-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.history-visual img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
  background: var(--bg-card);
}
.history-visual .img-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .history-section,
  .history-section.reversed {
    grid-template-columns: 1fr;
  }
  .history-section.reversed .history-text { order: 1; }
  .history-section.reversed .history-visual { order: 2; }
}

/* ─── Flagship page ──────────────────────────────────────────────── */
.flagship-game {
  margin-bottom: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.flagship-game:last-child { border-bottom: none; }
.flagship-hero-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
  margin-bottom: 2rem;
}
.flagship-game h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.flagship-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  align-items: center;
}
.flagship-game h3 {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 2rem 0 0.75rem;
  line-height: 1.2;
}
.flagship-game p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.96rem;
  line-height: 1.7;
}
.flagship-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.flagship-screenshots figure {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.flagship-screenshots img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.flagship-screenshots figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── Video embeds ───────────────────────────────────────────────── */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 2px solid var(--border);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.video-card-body {
  padding: 0.85rem 1rem;
}
.video-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 0.3rem;
}
.video-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.video-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── Resources page ─────────────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.resource-item:hover { border-color: var(--gold); }
.resource-item a {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 0.35rem;
  min-width: 200px;
}
.resource-item p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.resource-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .resources-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
}

/* ─── Stats bar ──────────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--bg-mid);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  margin: 3rem 0;
}
.stats-bar .stat-item {
  flex: 1;
  min-width: 140px;
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stats-bar .stat-item:last-child { border-right: none; }
.stats-bar .stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stats-bar .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Cross-link nav ─────────────────────────────────────────────── */
.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}
.page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}
.page-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
}

/* ─── Hero image section with diagonal treatment ─────────────────── */
.banner-section {
  position: relative;
  background: var(--bg-mid);
  padding: 4rem 0;
  clip-path: var(--clip-both);
  margin: 2rem 0;
}
.banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    5deg,
    transparent 0px,
    transparent 80px,
    rgba(255,195,0,0.015) 80px,
    rgba(255,195,0,0.015) 81px
  );
  pointer-events: none;
}

/* ─── Page header ────────────────────────────────────────────────── */
.page-header {
  padding-top: calc(60px + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(180deg, var(--bg-mid), var(--bg));
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  margin-top: 5rem;
  padding: 2.5rem 0;
  border-top: 2px solid var(--border);
  background: var(--bg-mid);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-inner a {
  color: var(--gold);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ─── Easter egg modal ───────────────────────────────────────────── */
#easter-egg-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
#easter-egg-modal[aria-hidden="false"] {
  display: flex;
}
.easter-egg-box {
  background: var(--bg-card);
  border: 3px solid var(--gold);
  border-radius: var(--radius-card);
  max-width: 640px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 0 60px rgba(255,195,0,0.3);
}
.easter-egg-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.easter-egg-close:hover { color: #fff; }
.easter-egg-box h2 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.easter-egg-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.easter-egg-box img {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  margin-top: 0.5rem;
}

/* ─── Utility ────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ─── Prose body ─────────────────────────────────────────────────── */
.prose p { margin-bottom: 1rem; color: var(--text-muted); font-size: 0.96rem; line-height: 1.7; }
.prose h2 { font-family: var(--font-head); font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: #fff; margin: 2rem 0 0.75rem; letter-spacing: 0.03em; }
.prose h3 { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold); margin: 1.5rem 0 0.5rem; letter-spacing: 0.04em; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-section { padding: 3rem 0; }
  .hero-stats { gap: 1.25rem; }
  .stats-bar .stat-item { min-width: 100px; padding: 1rem; }
  .flagship-screenshots { grid-template-columns: 1fr 1fr; }
  .page-header { padding-top: calc(60px + 1.5rem); padding-bottom: 1.5rem; }
}
