/* CRL Group Fan Site — style.css
   Victorian penny dreadful identity: #0b0307 bg, IM Fell English headings, Crimson Text body.
   Primary #b01535 (blood-crimson), Secondary #c8a96e (aged gold).
   Key technique: clip-path: polygon() gothic pointed arch dividers. */

@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English:ital,wght@0,400;1,400&family=Crimson+Text:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ============================================================
   Tokens
   ============================================================ */
:root {
  --bg:            #0b0307;
  --bg-card:       #13040a;
  --bg-card-2:     #1a060e;
  --accent:        #b01535;
  --gold:          #c8a96e;
  --text:          #e8ddd4;
  --text-muted:    #8a7a72;
  --border:        rgba(176, 21, 53, 0.3);
  --border-gold:   rgba(200, 169, 110, 0.35);
  --font-heading:  'IM Fell English', Georgia, serif;
  --font-body:     'Crimson Text', Georgia, serif;
  --radius:        2px;
  --player-h:      90px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
  padding-bottom: var(--player-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--gold); }
ul { list-style: none; }

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 600;
  z-index: 9999;
  font-family: var(--font-body);
}
.skip-link:focus { top: 0; }

/* ============================================================
   Nav
   ============================================================ */
#site-nav {
  background: rgba(11, 3, 7, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
}
.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
}
.nav-brand:hover { color: var(--accent); text-decoration: none; }
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.1rem;
  margin-left: auto;
}
.nav-link {
  display: block;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover,
.nav-link--active {
  color: var(--gold);
  background: rgba(200, 169, 110, 0.08);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  margin-left: auto;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 3.25rem;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    gap: 0.25rem;
    margin-left: 0;
  }
  .nav-menu--open { display: flex; }
}

/* ============================================================
   Layout containers
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.page-section { padding: 3rem 0; }
.section-header { margin-bottom: 2rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
.section-subtitle { color: var(--text-muted); margin-top: 0.5rem; max-width: 60ch; font-style: italic; }

/* ============================================================
   Gothic Pointed Arch Dividers (unique clip-path technique)
   Creates the signature penny-dreadful section separators.
   ============================================================ */
.arch-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin: 0;
}
.arch-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  clip-path: polygon(
    0% 0%, 8% 0%, 10% 40%, 12% 100%, 16% 40%, 18% 0%,
    26% 0%, 28% 40%, 30% 100%, 34% 40%, 36% 0%,
    44% 0%, 46% 40%, 48% 100%, 52% 40%, 54% 0%,
    62% 0%, 64% 40%, 66% 100%, 70% 40%, 72% 0%,
    80% 0%, 82% 40%, 84% 100%, 88% 40%, 90% 0%,
    100% 0%, 100% 100%, 0% 100%
  );
}
.arch-divider--invert::before {
  background: var(--bg);
  clip-path: polygon(
    0% 100%, 8% 100%, 10% 60%, 12% 0%, 16% 60%, 18% 100%,
    26% 100%, 28% 60%, 30% 0%, 34% 60%, 36% 100%,
    44% 100%, 46% 60%, 48% 0%, 52% 60%, 54% 100%,
    62% 100%, 64% 60%, 66% 0%, 70% 60%, 72% 100%,
    80% 100%, 82% 60%, 84% 0%, 88% 60%, 90% 100%,
    100% 100%, 100% 0%, 0% 0%
  );
}

/* Card frame decoration using clip-path pointed arch corners */
.arch-frame {
  clip-path: polygon(
    0% 4%, 2% 0%, 98% 0%, 100% 4%,
    100% 96%, 98% 100%, 2% 100%, 0% 96%
  );
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(176, 21, 53, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(200, 169, 110, 0.06) 0%, transparent 50%),
    var(--bg);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(176, 21, 53, 0.025) 3px,
      rgba(176, 21, 53, 0.025) 4px
    );
  pointer-events: none;
}
.hero-border {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(176, 21, 53, 0.25);
  pointer-events: none;
  z-index: 1;
}
.hero-border::before,
.hero-border::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent);
  border-style: solid;
}
.hero-border::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.hero-border::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}
.hero-title span { color: var(--accent); display: block; }
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat { display: flex; flex-direction: column; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: #8c1028; color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--border-gold);
}
.btn-secondary:hover { background: rgba(200,169,110,0.08); color: var(--gold); }

/* ============================================================
   Two-col layout
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }

/* ============================================================
   Trivia callouts
   ============================================================ */
aside.trivia {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--text);
  border-radius: 0 var(--radius) var(--radius) 0;
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 85%, 98% 100%, 0% 100%
  );
}

/* ============================================================
   Blockquote dev-quote
   ============================================================ */
blockquote.dev-quote {
  border-left: 2px solid var(--border-gold);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-body);
}
blockquote.dev-quote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}
blockquote.dev-quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* ============================================================
   Screenshot strip
   ============================================================ */
.screenshot-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-card);
}
.screenshot-strip img {
  height: 160px;
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ============================================================
   Game cards (catalogue)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.game-card { cursor: default; }
.game-card-img {
  background: #0d050a;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.game-card-img img {
  max-height: 160px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.game-card-body {
  padding: 0.85rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.2;
}
.game-card-year { font-size: 0.8rem; color: var(--text-muted); }
.badges { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.25rem; }
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: var(--radius);
}
.badge--cert {
  border-color: var(--border);
  color: var(--accent);
}

/* ============================================================
   Filter controls
   ============================================================ */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.filter-btn:hover { color: var(--gold); border-color: var(--border-gold); }
.filter-btn--active {
  background: rgba(176, 21, 53, 0.15);
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-item {
  background: #0d050a;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0.5rem;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #0d050a;
}
.gallery-item figcaption {
  padding: 0.5rem 0.25rem 0.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   People / bio cards
   ============================================================ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.person-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.person-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.person-bio { font-style: italic; color: var(--text); line-height: 1.7; }

/* ============================================================
   Video grid
   ============================================================ */
.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: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.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;
}
.video-card-info {
  padding: 0.75rem;
}
.video-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.video-card-meta { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================================
   Reviews
   ============================================================ */
.review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.review-table th {
  text-align: left;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border-gold);
}
.review-table td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(176,21,53,0.1);
  color: var(--text);
  vertical-align: top;
}
.review-table tr:last-child td { border-bottom: none; }
.score-high { color: #5cb85c; font-weight: 600; }
.score-mid  { color: var(--gold); font-weight: 600; }
.score-low  { color: var(--text-muted); }

/* ============================================================
   Resources
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 600px) { .resources-grid { grid-template-columns: 1fr; } }
.resource-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.resource-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  flex-shrink: 0;
  min-width: 120px;
  line-height: 1.4;
}
.resource-link { font-size: 0.85rem; color: var(--accent); word-break: break-all; }

/* ============================================================
   Music player (SID)
   ============================================================ */
.track-browser { margin-top: 1rem; }
.track-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(176,21,53,0.1);
  transition: background 0.1s;
  cursor: default;
}
.track-row:hover { background: var(--bg-card); }
.track-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #0d050a;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.track-thumb-placeholder {
  width: 48px;
  height: 48px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.track-info { flex: 1; min-width: 0; }
.track-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.track-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.track-expand-btn, .track-play-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  font-size: 0.78rem;
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-body);
  transition: background 0.1s, color 0.1s;
}
.track-expand-btn:hover, .track-play-btn:hover {
  background: rgba(176,21,53,0.15);
  color: var(--text);
}
.subtune-list { border-bottom: 1px solid rgba(176,21,53,0.1); }
.subtune-item {
  padding: 0.4rem 1rem 0.4rem 6.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.1s, background 0.1s;
}
.subtune-item:hover { color: var(--gold); background: var(--bg-card); }

/* ============================================================
   Player bar
   ============================================================ */
#player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-h);
  background: rgba(11, 3, 7, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  z-index: 500;
  overflow: hidden;
}
.player-controls { display: flex; gap: 0.25rem; flex-shrink: 0; }
.player-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.1s, color 0.1s;
}
.player-btn:hover { background: rgba(176,21,53,0.15); color: var(--text); }
.player-btn--active { background: rgba(176,21,53,0.2); color: var(--gold); }
.player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
#player-now-playing {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-subtune-row {
  display: flex;
  gap: 0.25rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.player-sub-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.1s;
}
.player-sub-dot--active { background: var(--accent); }
#player-vu {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 28px;
  flex-shrink: 0;
}
.vu-bar {
  width: 4px;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.06s;
  min-height: 2px;
}
.player-vol-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
#player-vol { width: 70px; accent-color: var(--accent); }
.player-deepsid { flex-shrink: 0; }
.player-deepsid a { font-size: 0.72rem; color: var(--text-muted); }
@media (max-width: 600px) {
  .player-vol-group, .player-deepsid, #player-vu { display: none; }
}

/* ============================================================
   Dracula Easter Egg Overlay
   ============================================================ */
.dracula-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.dracula-overlay--visible { opacity: 1; }
.dracula-inner {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  max-width: 480px;
  width: 90%;
  padding: 2rem;
  position: relative;
  clip-path: polygon(
    0% 3%, 2% 0%, 98% 0%, 100% 3%,
    100% 97%, 98% 100%, 2% 100%, 0% 97%
  );
  text-align: center;
}
.dracula-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.dracula-illustration {
  width: 160px;
  height: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  clip-path: polygon(
    0% 6%, 4% 0%, 96% 0%, 100% 6%,
    100% 94%, 96% 100%, 4% 100%, 0% 94%
  );
}
.dracula-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.dracula-cite {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 1.25rem;
}
.dracula-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s;
}
.dracula-close:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   History page
   ============================================================ */
.history-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.history-section:last-child { border-bottom: none; }
.history-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.history-section p { margin-bottom: 1rem; }
.history-img {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 260px;
  border: 1px solid var(--border);
  padding: 0.5rem;
  background: #0d050a;
}
.history-img img { max-width: 100%; }
.history-img figcaption { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-top: 0.4rem; }
@media (max-width: 600px) { .history-img { float: none; max-width: 100%; margin: 1rem 0; } }

/* ============================================================
   Flagship page
   ============================================================ */
.flagship-hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.flagship-game-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--text);
  line-height: 1.1;
}
.flagship-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
  margin-top: 0.5rem;
}
.flagship-section { padding: 2rem 0; }
.flagship-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.flagship-section p { margin-bottom: 1rem; }
.flagship-img {
  margin: 1.5rem 0;
  background: #0d050a;
  border: 1px solid var(--border);
  padding: 0.5rem;
  display: inline-block;
}
.flagship-img img { max-width: 100%; }
.flagship-img figcaption { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-top: 0.4rem; }
.flagship-screenshots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.flagship-screenshots img {
  flex: 1 1 200px;
  max-width: 320px;
  height: auto;
  border: 1px solid var(--border);
  background: #0d050a;
}
.flagship-divider {
  border: none;
  border-top: 2px solid var(--accent);
  opacity: 0.3;
  margin: 3rem 0;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
