/* ==========================================================================
   Activision 2600 Fan Page — style.css
   Cartridge-label aesthetic: warm cream, Alfa Slab One + Inter, bold red accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Inter:wght@400;500;600;700&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:           #f0e8d0;
  --bg-card:      #ffffff;
  --bg-alt:       #e8dfc0;
  --bg-dark:      #1a0a00;
  --text:         #1a0a00;
  --text-muted:   #5a3e28;
  --text-on-dark: #f0e8d0;
  --accent:       #e63946;
  --accent-dark:  #b52d38;
  --accent-gold:  #f4a100;
  --border:       #c8b898;
  --border-card:  #d8c8a8;

  --font-heading: 'Alfa Slab One', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;

  --shadow-card:  0 2px 8px rgba(26,10,0,0.12), 0 1px 2px rgba(26,10,0,0.08);
  --shadow-hover: 0 8px 24px rgba(26,10,0,0.18), 0 2px 4px rgba(26,10,0,0.1);

  --nav-height:      60px;
  --container-max:  1200px;
  --radius-card:     8px;
  --radius-btn:     999px;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s, text-decoration-color 0.2s;
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration-color: currentColor;
  outline: none;
}

ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }
h5 { font-size: 1rem; }

p { font-size: clamp(0.95rem, 1.4vw, 1.05rem); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  z-index: 999;
  transition: top 0.2s;
  border-radius: 0 0 var(--radius-card) 0;
}

.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(26,10,0,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--accent);
  display: flex;
  align-items: center;
}

#site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.nav-logo span { color: var(--accent); }

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(240,232,208,0.75);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(26,10,0,0.98);
    border-bottom: 3px solid var(--accent);
    flex-direction: column;
    padding: 1rem;
    gap: 0.4rem;
  }

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

  .nav-links a {
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
  }
}

/* --------------------------------------------------------------------------
   Body offset for fixed nav
   -------------------------------------------------------------------------- */
body { padding-top: var(--nav-height); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 4rem 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.25;
  filter: sepia(0.4) brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(240,232,208,0.75);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-rule {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--accent);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(240,232,208,0.6);
}

/* --------------------------------------------------------------------------
   Cartridge label strip (hero)
   -------------------------------------------------------------------------- */
.label-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.5rem 1.25rem;
  scrollbar-width: none;
}

.label-strip::-webkit-scrollbar { display: none; }

.label-strip img {
  height: 140px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.25s;
}

@media (prefers-reduced-motion: no-preference) {
  .label-strip img:hover { transform: translateY(-6px) scale(1.04); }
}

/* --------------------------------------------------------------------------
   Image strip (3-image)
   -------------------------------------------------------------------------- */
.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.image-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
  .image-strip { grid-template-columns: 1fr; }
  .image-strip img { height: 180px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-dark p,
.section-dark li {
  color: rgba(240,232,208,0.85);
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.section-dark .section-lead { color: rgba(240,232,208,0.7); }

.section-rule {
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.75rem 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Trivia asides
   -------------------------------------------------------------------------- */
aside.trivia {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

aside.trivia strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

/* --------------------------------------------------------------------------
   Dev quotes
   -------------------------------------------------------------------------- */
blockquote.dev-quote {
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--bg-card);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  box-shadow: var(--shadow-card);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

blockquote.dev-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   Cards (general)
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); }
}

.card-body { padding: 1.25rem; }
.card-title { font-size: 1.1rem; margin-bottom: 0.4rem; }
.card-meta { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   Cartridge cards (with tilt on hover)
   -------------------------------------------------------------------------- */
.cartridge-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: default;
}

@media (prefers-reduced-motion: no-preference) {
  .cartridge-card:hover {
    box-shadow: var(--shadow-hover);
    transform: rotate(2deg) scale(1.03);
  }
}

.cartridge-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cartridge-card .card-body {
  padding: 0.9rem 1rem;
}

.cartridge-card .card-title {
  font-size: 0.95rem;
  font-family: var(--font-heading);
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cartridge-card .card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Games table / list
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.game-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0.9rem 1rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

@media (prefers-reduced-motion: no-preference) {
  .game-row:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
  }
}

.game-thumb {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.game-info { flex: 1; min-width: 0; }

.game-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.game-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.game-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Platform / game filter bar
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Masonry gallery
   -------------------------------------------------------------------------- */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 8px;
  gap: 16px;
}

/* Native CSS masonry when supported */
@supports (grid-template-rows: masonry) {
  .masonry-grid {
    grid-template-rows: masonry;
    grid-auto-rows: unset;
    align-items: start;
  }
}

.masonry-item {
  break-inside: avoid;
}

.masonry-item-inner {
  display: block;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}

@media (prefers-reduced-motion: no-preference) {
  .masonry-item:hover img {
    box-shadow: var(--shadow-hover);
    transform: rotate(2deg) scale(1.04);
  }
}

.masonry-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.4rem 0.2rem 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   People bios
   -------------------------------------------------------------------------- */
.bio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.bio-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.bio-portrait {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
}

.bio-body { padding: 1.5rem; }

.bio-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.bio-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.bio-games {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.bio-game-tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-btn);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Video grid
   -------------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lite YouTube facade - clickable poster that defers iframe load until play. */
.lite-youtube {
  position: absolute;
  inset: 0;
  display: block;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  text-decoration: none;
}
.lite-youtube__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lite-youtube__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s, transform 0.18s;
  z-index: 2;
}
.lite-youtube__play:hover,
.lite-youtube__play:focus-visible {
  background: var(--accent);
  transform: scale(1.06);
  outline: none;
}
.lite-youtube__play-icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 4px;
}
.lite-youtube--activated {
  cursor: default;
  background-image: none !important;
}

.video-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.video-card .video-meta {
  padding: 0.75rem 1rem;
}

.video-card .video-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.video-card .video-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Inline images
   -------------------------------------------------------------------------- */
.inline-img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 1.5rem 0;
}

.inline-img img {
  width: 100%;
  border-radius: var(--radius-card);
}

.inline-img figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 0.5rem 0 0;
}

.img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

@media (max-width: 580px) {
  .img-pair { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Patches page
   -------------------------------------------------------------------------- */
.patch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.patch-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.5rem 0;
}

.patch-table th {
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 400;
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.patch-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.patch-table tr:nth-child(even) td { background: var(--bg-alt); }
.patch-table tr:hover td { background: rgba(230, 57, 70, 0.06); }

/* --------------------------------------------------------------------------
   Resources
   -------------------------------------------------------------------------- */
.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.resource-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  border-left: 4px solid var(--accent);
}

.resource-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.resource-card a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   Year badge
   -------------------------------------------------------------------------- */
.year-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Easter egg — vine swing
   -------------------------------------------------------------------------- */
.easter-vine {
  position: absolute;
  top: 0;
  left: -80px;
  z-index: 50;
  pointer-events: none;
}

.vine-figure {
  display: inline-block;
  font-size: 3rem;
}

@media (prefers-reduced-motion: no-preference) {
  .easter-vine.vine-active {
    animation: vineSwing 3s ease-in-out forwards;
  }
}

@keyframes vineSwing {
  0%   { transform: translateX(0); opacity: 1; }
  80%  { transform: translateX(calc(100vw + 80px)); opacity: 1; }
  100% { transform: translateX(calc(100vw + 80px)); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Placeholder images
   -------------------------------------------------------------------------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 120px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#site-footer {
  background: var(--bg-dark);
  color: rgba(240,232,208,0.6);
  padding: 3rem 0 2rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: rgba(240,232,208,0.5);
  font-size: 0.82rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.3rem; }

.footer-links a {
  color: rgba(240,232,208,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(240,232,208,0.4);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-btn);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
}

.tag-red { background: var(--accent); color: #fff; border-color: var(--accent); }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   Year header for game sections
   -------------------------------------------------------------------------- */
.year-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.4rem;
  margin: 2.5rem 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Responsive tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .bio-grid   { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
}
