/* ==========================================================================
   DMA Design Fan Page — css/style.css
   Visual identity: Lemmings puzzle landscape — earthy ground, bright green accents
   Rubik 700 (headings) + Rubik 400 (body)
   ========================================================================== */

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

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #141008;
  --bg-card:       #1e1810;
  --bg-alt:        #1a1408;
  --text:          #e8e4d8;
  --text-muted:    #8a8070;
  --accent:        #44bb44;
  --accent-dim:    #2d8a2d;
  --accent-bright: #66dd66;
  --border:        #2e2618;
  --border-card:   #44bb44;
  --font-heading:  'Rubik', system-ui, sans-serif;
  --font-body:     'Rubik', system-ui, sans-serif;

  --nav-height:     64px;
  --container-max:  1200px;
}

/* --------------------------------------------------------------------------
   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.9;
  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: var(--accent-bright);
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 2rem); }
h4 { font-size: clamp(1rem, 2vw, 1.4rem); }
h5 { font-size: 1rem; }

p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
  background: var(--bg-card);
}

blockquote p:last-child {
  margin-bottom: 0;
}

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

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 999;
  transition: top 0.2s;
}

.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);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  background: rgba(20,16,8,0.96);
  backdrop-filter: blur(8px);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

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

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

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

  .nav-links a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--bg);
}

#hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.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;
  padding: 4rem 1.5rem;
  max-width: 960px;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 9rem);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.9;
}

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

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

.hero-stat .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  letter-spacing: -0.03em;
}

.hero-stat .label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 2rem;
  border: 2px solid;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text-muted);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Main content offset
   -------------------------------------------------------------------------- */
#main-content {
  padding-top: var(--nav-height);
}

#hero + #main-content,
#hero ~ #main-content {
  padding-top: 0;
}

/* --------------------------------------------------------------------------
   Site sections
   -------------------------------------------------------------------------- */
.site-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* --------------------------------------------------------------------------
   History chapters
   -------------------------------------------------------------------------- */
.history-chapter {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.history-chapter:last-child {
  border-bottom: none;
}

.history-chapter h3 {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.history-chapter h4 {
  margin-bottom: 1rem;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Person grid
   -------------------------------------------------------------------------- */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.person-card {
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
}

.person-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.person-card .role {
  display: inline-block;
  font-size: 0.82em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Catalogue / game entries
   -------------------------------------------------------------------------- */
.game-entry {
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
}

.game-title {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.game-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.75em;
  padding: 0.2rem 0.6rem;
  border: 1px solid;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-year     { border-color: var(--text-muted); color: var(--text-muted); }
.tag-amiga    { border-color: var(--accent);      color: var(--accent); }
.tag-dos      { border-color: var(--text-muted);  color: var(--text-muted); }
.tag-snes     { border-color: #bb4444;            color: #bb4444; }
.tag-n64      { border-color: #bb4444;            color: #bb4444; }
.tag-ps1      { border-color: #4488bb;            color: #4488bb; }
.tag-gbc      { border-color: #8844bb;            color: #8844bb; }
.tag-st       { border-color: var(--text-muted);  color: var(--text-muted); }
.tag-gb       { border-color: #88aa44;            color: #88aa44; }

.game-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
}

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

.key-facts {
  background: var(--bg-alt);
  padding: 1.5rem;
  min-width: 180px;
  border: 1px solid var(--border);
}

.key-facts-title {
  font-size: 0.72em;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.key-facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
}

.key-facts dt {
  font-size: 0.75em;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.key-facts dd {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Gallery grid & platform filter
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

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

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

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

.gallery-card {
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  overflow: hidden;
  transition: border-top-color 0.2s;
}

.gallery-card:hover {
  border-top-color: var(--accent-bright);
}

.gallery-card[hidden] {
  display: none !important;
}

.gallery-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-alt);
}

.gallery-card-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px dashed var(--border);
}

.gallery-card-info {
  padding: 1.25rem;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.gallery-card-meta {
  font-size: 0.8em;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Music / tracklist
   -------------------------------------------------------------------------- */
.tracklist {
  margin-bottom: 4rem;
}

.tracklist-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
}

.tracklist-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 0.5rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 640px) {
  .tracklist-item {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

.tracklist-item:last-child {
  border-bottom: none;
}

.tracklist-game {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.tracklist-track {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.tracklist-composer {
  font-size: 0.8em;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tracklist-links {
  font-size: 0.8em;
  display: flex;
  gap: 0.75rem;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Video embeds
   -------------------------------------------------------------------------- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

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

.video-group {
  margin-bottom: 4rem;
}

.video-group-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.video-card h4 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Link cards (homepage navigation grid)
   -------------------------------------------------------------------------- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.link-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.75rem;
  color: var(--text);
  transition: border-top-color 0.2s, background 0.2s;
  text-decoration: none;
}

.link-card:hover {
  border-top-color: var(--accent-bright);
  background: var(--bg-alt);
  color: var(--text);
}

.link-icon {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  line-height: 1;
}

.link-card-content h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.link-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 2rem;
  margin-bottom: 2rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-game {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.review-source {
  font-size: 0.8em;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.review-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  white-space: nowrap;
}

.review-quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Pull quote
   -------------------------------------------------------------------------- */
.pull-quote {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  color: var(--accent);
  text-align: center;
  padding: 2rem 4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.5rem 0;
}

@media (max-width: 640px) {
  .pull-quote {
    padding: 1.5rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   Trivia / facts cards
   -------------------------------------------------------------------------- */
.trivia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.trivia-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 2rem;
}

.trivia-card h4 {
  color: var(--accent);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Resources list
   -------------------------------------------------------------------------- */
.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.75rem;
}

.resource-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.resource-card a {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Interviews
   -------------------------------------------------------------------------- */
.interview-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 2rem;
  margin-bottom: 2rem;
}

.interview-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.interview-meta {
  font-size: 0.82em;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Play entries
   -------------------------------------------------------------------------- */
.play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.play-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.75rem;
}

.play-card h4 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Easter egg modal / confetti
   -------------------------------------------------------------------------- */
#easter-egg-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(20,16,8,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.easter-egg-box {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  padding: 3rem 2rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.easter-egg-pixel {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.easter-egg-box h2 {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.easter-egg-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.easter-egg-close {
  margin-top: 1.5rem;
  background: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s;
}

.easter-egg-close:hover {
  background: var(--accent);
  color: var(--bg);
}

/* Lemming confetti particles */
.lemming-particle {
  position: fixed;
  z-index: 9001;
  pointer-events: none;
  font-size: 1.5rem;
  animation: fall linear forwards;
  user-select: none;
}

@keyframes fall {
  from {
    transform: translateY(-80px) rotate(0deg);
    opacity: 1;
  }
  80% { opacity: 1; }
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Audio player (music page)
   -------------------------------------------------------------------------- */
.audio-player {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.audio-player h4 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.audio-player audio {
  width: 100%;
  accent-color: var(--accent);
}

.audio-note {
  font-size: 0.8em;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Notice / info box
   -------------------------------------------------------------------------- */
.notice {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

/* --------------------------------------------------------------------------
   Cross-link banner (Psygnosis)
   -------------------------------------------------------------------------- */
.crosslink-banner {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 3rem 0;
}

.crosslink-banner h4 {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.crosslink-banner p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

/* --------------------------------------------------------------------------
   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); }
