/* ==========================================================================
   Sunsoft Fan Page — css/style.css
   Visual identity: Gotham in 8-bit — Batman NES (1989)
   Squada One 400 + Inter
   ========================================================================== */

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

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #0c1832;
  --bg-card:       #111e3a;
  --bg-alt:        #0f1f3d;
  --bg-light:      #e8edf8;
  --text:          #d8e4f0;
  --text-muted:    #7090b0;
  --text-on-light: #0c1832;
  --accent:        #ffc107;
  --accent-dim:    #cc9a00;
  --accent-glow:   rgba(255,193,7,0.18);
  --border:        #1e3060;
  --font-display:  'Squada One', 'Impact', sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --nav-height:     60px;
  --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.8;
  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;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 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.8;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   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: #000;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  visibility: hidden;
  position: sticky;
  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(12,24,50,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-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.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(--accent);
  border-radius: 0;
  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: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Animated Bat-Signal spotlight */
@keyframes bat-signal-sweep {
  0%   { background-position: 20% 30%; }
  25%  { background-position: 70% 20%; }
  50%  { background-position: 80% 60%; }
  75%  { background-position: 30% 70%; }
  100% { background-position: 20% 30%; }
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 35% 45% at 50% 50%, rgba(255,193,7,0.12) 0%, rgba(255,193,7,0.04) 40%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(12,24,50,0.0) 0%, rgba(12,24,50,0.6) 100%);
  background-size: 200% 200%, 100% 100%;
  background-position: 20% 30%, 0 0;
  animation: bat-signal-sweep 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-spotlight {
    animation: none;
    background-position: 50% 50%, 0 0;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.18;
  filter: brightness(0.6) sepia(0.3) hue-rotate(200deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.9;
  margin-bottom: 1rem;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(255,193,7,0.4);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

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

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

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.7;
}

.hero-scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Screenshot strip
   -------------------------------------------------------------------------- */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 2rem 0;
}

.screenshot-strip img,
.screenshot-strip .placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.site-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.site-section:last-child {
  border-bottom: none;
}

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

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

.section-title {
  color: var(--accent);
  margin-bottom: 1rem;
}

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

.subsection-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--accent-dim);
  box-shadow: 0 0 20px var(--accent-glow);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Trivia asides
   -------------------------------------------------------------------------- */
aside.trivia {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   Dev quotes
   -------------------------------------------------------------------------- */
blockquote.dev-quote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}

blockquote.dev-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Magazine grid layout (history.html, flagship.html)
   -------------------------------------------------------------------------- */
.magazine-layout {
  display: grid;
  grid-template-areas: "sidebar main";
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.magazine-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.magazine-main {
  grid-area: main;
}

.sidebar-nav {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.sidebar-nav-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sidebar-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.sidebar-nav a:hover { color: var(--accent); }

@media (max-width: 800px) {
  .magazine-layout {
    grid-template-areas: "main";
    grid-template-columns: 1fr;
  }
  .magazine-sidebar { display: none; }
}

/* --------------------------------------------------------------------------
   Games catalogue table
   -------------------------------------------------------------------------- */
.games-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.games-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.games-table th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

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

.games-table tr:hover td {
  background: var(--bg-card);
}

.games-table .thumb {
  width: 56px;
  height: 40px;
  object-fit: cover;
  display: block;
}

.games-table .thumb-placeholder {
  width: 56px;
  height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.game-title-cell {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.platform-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15rem 0.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.filter-btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

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

/* --------------------------------------------------------------------------
   Gallery grid
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12,24,50,0.85);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transform: translateY(100%);
  transition: transform 0.2s;
}

.gallery-item:hover .gallery-item-label { transform: translateY(0); }

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

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-embed 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 {
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
.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-info {
  padding: 1rem 1.25rem;
}

.video-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.4rem;
}

.video-info h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.video-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   People / bio cards
   -------------------------------------------------------------------------- */
.bio-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
  align-items: start;
}

.bio-portrait {
  width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--border);
}

.bio-portrait-placeholder {
  width: 200px;
  aspect-ratio: 1;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

@media (max-width: 640px) {
  .bio-block {
    grid-template-columns: 1fr;
  }
  .bio-portrait,
  .bio-portrait-placeholder {
    width: 120px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   Resources list
   -------------------------------------------------------------------------- */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.resource-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
}

.resource-item img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
}

.resource-item .placeholder {
  width: 64px;
  height: 48px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.resource-item-body h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.resource-item-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Placeholder (for missing images)
   -------------------------------------------------------------------------- */
.placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem;
  text-align: center;
}

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

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

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

/* --------------------------------------------------------------------------
   Pull quote
   -------------------------------------------------------------------------- */
.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   Image inlines
   -------------------------------------------------------------------------- */
.inline-img {
  margin: 1.5rem 0;
}

.inline-img img {
  max-height: 300px;
  object-fit: cover;
}

.inline-img figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Flagship section
   -------------------------------------------------------------------------- */
.flagship-section {
  margin: 3rem 0;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.flagship-section:last-child {
  border-bottom: none;
}

.flagship-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.flagship-screenshots img,
.flagship-screenshots .placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Cite
   -------------------------------------------------------------------------- */
.cite {
  font-size: 0.75rem;
  color: var(--text-muted);
  vertical-align: super;
}

.cite a { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   OST track listing
   -------------------------------------------------------------------------- */
.ost-tracklist {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.ost-tracklist h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.ost-tracklist ol {
  list-style: decimal;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ost-tracklist li {
  font-size: 0.9rem;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Easter egg overlay
   -------------------------------------------------------------------------- */
#easter-egg-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  pointer-events: none;
}

#easter-egg-overlay.active {
  display: block;
  animation: bat-signal-full-sweep 2s ease-in-out forwards;
}

@keyframes bat-signal-full-sweep {
  0%   { background: #000; }
  20%  { background: radial-gradient(ellipse 50% 70% at 10% 90%, rgba(255,193,7,0.6) 0%, #000 60%); }
  50%  { background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,193,7,0.8) 0%, #000 60%); }
  80%  { background: radial-gradient(ellipse 50% 70% at 90% 10%, rgba(255,193,7,0.6) 0%, #000 60%); }
  100% { background: #000; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #easter-egg-overlay.active {
    animation: none;
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
