@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Exo+2:wght@400;600&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties — chrome and phosphor identity
   -------------------------------------------------------------------------- */
:root {
  --bg:           #1a2332;
  --bg-card:      #1f2d42;
  --bg-alt:       #162030;
  --text:         #c8ddf0;
  --text-muted:   #6a8aaa;
  --accent:       #00c8ff;
  --accent-dim:   #0099cc;
  --border:       #2a3e58;
  --font-display: 'Orbitron', 'Courier New', monospace;
  --font-body:    'Exo 2', system-ui, sans-serif;
  --nav-height:   60px;
  --container-max: 1100px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::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.85;
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #fff; outline: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

ul, ol { list-style: none; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(0.95rem, 2vw, 1.2rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin-bottom: 1.1rem;
}

strong { font-weight: 600; color: #e0f0ff; }

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: #000;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 35, 50, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(4px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  visibility: hidden;
}

.nav-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 0.1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.3rem 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus { color: var(--accent); }
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #1a2332;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 0.6rem 1.5rem;
    border-bottom: none;
    border-left: 2px solid transparent;
  }
  .nav-links a.active { border-left-color: var(--accent); }
}

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1.5rem;
  text-align: center;
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.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: 1;
  max-width: 760px;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4.5rem);
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 24px rgba(0, 200, 255, 0.4);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.hero-tagline {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--accent);
  line-height: 1;
}
.hero-stat .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: #000;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.site-section { padding: 4rem 0; }
.site-section:nth-child(even) { background: var(--bg-alt); }

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 0.5rem;
  color: #e0f0ff;
}

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

.section-header { margin-bottom: 2.5rem; }

/* --------------------------------------------------------------------------
   Cards — chrome and phosphor style
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 0 18px rgba(0, 200, 255, 0.3); }

.card h3 { color: #e0f0ff; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); margin-bottom: 0.5rem; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Grid layouts
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }

/* --------------------------------------------------------------------------
   Nav link cards (index.html grid)
   -------------------------------------------------------------------------- */
.link-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.2rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.link-card:hover { box-shadow: 0 0 18px rgba(0, 200, 255, 0.3); color: inherit; }
.link-card-icon {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 200, 255, 0.1);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0;
}
.link-card h3 { font-size: 0.95rem; color: #e0f0ff; margin-bottom: 0.2rem; }
.link-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   History page — timeline
   -------------------------------------------------------------------------- */
.timeline { border-left: 2px solid var(--border); padding-left: 2rem; }
.timeline-entry { position: relative; margin-bottom: 3rem; }
.timeline-entry::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.timeline-entry h3 { color: #e0f0ff; margin-bottom: 0.6rem; font-size: 1.1rem; }
.timeline-entry p { font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Catalogue — game cards
   -------------------------------------------------------------------------- */
.game-card {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.8rem;
  margin-bottom: 2rem;
}
.game-card-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.game-card h2 { color: #e0f0ff; font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
.game-year {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(0, 200, 255, 0.1);
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}
.game-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.game-meta-item { font-size: 0.85rem; color: var(--text-muted); }
.game-meta-item strong { color: var(--text); }
.game-desc { font-size: 0.95rem; margin-bottom: 1rem; }
.platform-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.platform-tag {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.3);
  padding: 0.15rem 0.5rem;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Gallery — filter bar
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.gallery-card[hidden] { display: none !important; }
.gallery-card {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.2rem;
}
.gallery-card h3 { font-size: 0.9rem; color: #e0f0ff; margin-bottom: 0.4rem; }
.gallery-card .badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.4);
  padding: 0.1rem 0.4rem;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}
.gallery-card p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   People — profile cards
   -------------------------------------------------------------------------- */
.person-card {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.8rem;
  margin-bottom: 2rem;
}
.person-card h2 { color: #e0f0ff; margin-bottom: 0.2rem; }
.person-handle {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.person-role { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.person-bio { font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Music page
   -------------------------------------------------------------------------- */
.player-notice {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.player-notice p { margin: 0; font-size: 0.9rem; }

.track-list { margin-bottom: 2rem; }
.track-list h3 { color: #e0f0ff; margin-bottom: 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border); }
.track-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(42, 62, 88, 0.5);
  gap: 1rem;
}
.track-item:last-child { border-bottom: none; }
.track-name { font-family: var(--font-body); font-size: 0.9rem; color: var(--text); }
.track-info { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

/* --------------------------------------------------------------------------
   Flagship / reviews — text content
   -------------------------------------------------------------------------- */
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; color: #e0f0ff; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.7rem; color: #c8ddf0; }
.prose p { margin-bottom: 1.1rem; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--bg-card);
  color: var(--text-muted);
  font-style: italic;
}
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: 0.3rem; font-size: 0.95rem; }

/* Cross-links (flagship.html) */
.cross-link-section { margin-top: 2rem; }
.cross-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cross-link {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.35);
  padding: 0.3rem 0.7rem;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.cross-link:hover { background: var(--accent); color: #000; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-card {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  padding: 1.8rem;
  margin-bottom: 2rem;
}
.review-score {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.review-source { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.review-card h3 { color: #e0f0ff; margin-bottom: 0.5rem; }
.review-card blockquote { border-left: 2px solid rgba(0,200,255,0.3); padding: 0.6rem 1rem; margin: 0.8rem 0; color: var(--text-muted); font-style: italic; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   Resources / Interviews / Play — link lists
   -------------------------------------------------------------------------- */
.resource-group { margin-bottom: 2.5rem; }
.resource-group h3 { color: #e0f0ff; margin-bottom: 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border); }
.resource-list { display: flex; flex-direction: column; gap: 0.6rem; }
.resource-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border-left: 1px solid rgba(0, 200, 255, 0.3);
  padding: 0.9rem 1.2rem;
  box-shadow: 0 0 4px rgba(0, 200, 255, 0.08);
  transition: box-shadow 0.2s;
}
.resource-item:hover { box-shadow: 0 0 12px rgba(0, 200, 255, 0.2); }
.resource-item a { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.resource-item a:hover { color: #fff; }
.resource-item p { font-size: 0.82rem; color: var(--text-muted); margin: 0.2rem 0 0; }

.resource-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.4);
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
  text-transform: uppercase;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Easter egg modal
   -------------------------------------------------------------------------- */
#easter-egg-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.easter-egg-box {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  box-shadow: 0 0 40px rgba(0, 200, 255, 0.3);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
}
.easter-egg-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.easter-egg-box h2 { color: var(--accent); margin-bottom: 0.8rem; }
.easter-egg-box p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }
.easter-egg-box blockquote { border-left: 2px solid var(--accent); padding: 0.6rem 1rem; margin: 1rem 0; font-style: italic; font-size: 0.9rem; color: var(--text); }
.easter-egg-close {
  margin-top: 1rem;
  padding: 0.55rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #000;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.easter-egg-close:hover { background: #fff; }

/* --------------------------------------------------------------------------
   Game screenshots & video embeds
   -------------------------------------------------------------------------- */
.game-screenshot-wrap {
  margin-bottom: 1.2rem;
  overflow: hidden;
}
.game-screenshot-wrap img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.gallery-screenshot {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  margin-bottom: 0.8rem;
}
.flagship-screenshot {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  margin: 1rem 0 1.5rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.video-card {
  background: var(--bg-card);
  border-left: 1px solid var(--accent);
  box-shadow: 0 0 8px rgba(0, 200, 255, 0.15);
  overflow: hidden;
}
.video-card-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-card-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card-info {
  padding: 0.9rem 1.1rem;
}
.video-card-info h3 {
  font-size: 0.9rem;
  color: #e0f0ff;
  margin-bottom: 0.3rem;
}
.video-card-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}
.studio-logo-wrap {
  text-align: center;
  margin: 1.5rem 0;
}
.studio-logo-wrap img {
  max-width: 250px;
  object-fit: contain;
  filter: invert(1) brightness(2);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}
.site-footer p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.site-footer a { color: var(--accent); }

/* --------------------------------------------------------------------------
   Game cover images & lightbox
   -------------------------------------------------------------------------- */
.game-cover { margin: 0 0 0.75rem; max-width: 180px; }
.game-screenshot {
  width: 100%; display: block; object-fit: contain;
  border: 1px solid var(--border-dim, #333);
  border-radius: var(--radius, 4px);
  background: var(--bg-secondary, #111);
  cursor: zoom-in; transition: border-color 0.2s;
}
.game-screenshot:hover { border-color: var(--accent-cyan, #00e5ff); }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; cursor: zoom-out; padding: 1rem;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img {
  max-width: 95vw; max-height: 90vh; object-fit: contain;
  border: 1px solid var(--border-dim, #333); border-radius: var(--radius, 4px); cursor: zoom-out;
}
.lightbox-close {
  position: fixed; top: 1rem; right: 1.5rem; background: none; border: none;
  color: var(--accent-cyan, #00e5ff); font-size: 2.5rem; line-height: 1;
  cursor: pointer; z-index: 10000; padding: 0.25rem 0.5rem;
}
.lightbox-close:hover { color: var(--accent-yellow, #ffd700); }
