/* ==========================================================================
   LucasArts Fan Page -- css/style.css
   "Pulp adventure cartography" -- aged treasure map atmosphere.
   Amber gold, forest green, Caribbean teal.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #0d1a0d;
  --bg-card:       #142014;
  --bg-alt:        #0a130a;
  --text:          #e8f0d8;
  --text-muted:    #7a9a6a;
  --accent:        #f4a820;
  --accent-dim:    #c8840a;
  --accent-teal:   #4ecdc4;
  --border:        #1e2e1e;
  --font-heading:  'Righteous', sans-serif;
  --font-body:     'Lora', Georgia, serif;
  --nav-height:    60px;
  --container-max: 1200px;
}

/* --------------------------------------------------------------------------
   Reset and 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.75;
  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-dim);
  outline: none;
}

ul, ol { list-style: none; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

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

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

p + p { margin-top: 0.9em; }

strong { color: var(--text); font-weight: 600; }

em { font-style: italic; }

/* --------------------------------------------------------------------------
   Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  color: #000;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
#site-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand:hover,
.nav-brand:focus {
  color: var(--accent-dim);
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-left: auto;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.3rem 0.42rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color 0.2s, border-bottom-color 0.2s;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav-link--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  margin-left: auto;
}

.burger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  transition: background 0.2s;
}

.nav-toggle:hover .burger,
.nav-toggle:focus .burger {
  background: var(--accent);
}

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

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 0;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border: 2px solid var(--accent);
  text-decoration: none;
}

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

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  text-decoration: none;
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--accent);
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 9rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  line-height: 1;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

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

.hero-stat .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

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

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

/* --------------------------------------------------------------------------
   Screenshot Strip
   -------------------------------------------------------------------------- */
.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.25rem;
  margin: 2rem 0;
}

.screenshot-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.site-section {
  padding: 5rem 0;
  background: var(--bg);
  position: relative;
}

.site-section:nth-child(even) {
  background: var(--bg-alt);
}

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

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

.section-title {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 4rem 0 3rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero__eyebrow {
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent-teal);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-hero__title {
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.page-hero__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   History / Article body
   -------------------------------------------------------------------------- */
.history-body {
  max-width: 800px;
  margin: 0 auto;
}

.history-chapter {
  margin-bottom: 3rem;
}

.history-chapter h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.history-chapter img {
  margin: 1.5rem auto;
  border: 1px solid var(--border);
  max-height: 400px;
  object-fit: cover;
}

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

.history-two-col img {
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Trivia callout
   -------------------------------------------------------------------------- */
aside.trivia {
  background: #0f1f1a;
  border-left: 4px solid var(--accent-teal);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

aside.trivia strong {
  color: var(--accent-teal);
}

aside.trivia p + p {
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Dev quote blockquote
   -------------------------------------------------------------------------- */
blockquote.dev-quote {
  position: relative;
  padding: 1.5rem 1.75rem 1.5rem 3.5rem;
  margin: 2.5rem 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-style: italic;
  font-family: var(--font-body);
  line-height: 1.7;
}

blockquote.dev-quote::before {
  content: '\201C';
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
}

blockquote.dev-quote p {
  margin: 0 0 0.75rem;
}

blockquote.dev-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Flip Cards (3D)
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.flip-card {
  perspective: 1000px;
  height: 380px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.flip-card-front {
  display: flex;
  flex-direction: column;
}

.flip-card-front img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.flip-card-front .placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #1a3020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.flip-card-front-body {
  padding: 0.85rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.flip-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.2;
}

.flip-card-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.flip-card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  gap: 0.85rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
}

.flip-card-back h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.flip-card-back .flip-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.flip-card-back .flip-meta strong {
  color: var(--text);
}

.flip-card-back .flip-synopsis {
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.platform-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 2px;
}

.genre-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  border-radius: 2px;
}

.scumm-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(244, 168, 32, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Filter Controls
   -------------------------------------------------------------------------- */
.filter-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

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

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

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

.filter-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: center;
  margin-right: 0.25rem;
}

/* --------------------------------------------------------------------------
   Gallery Grid
   -------------------------------------------------------------------------- */
.gallery-section-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

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

.gallery-grid figure {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.gallery-grid figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.gallery-grid figure:hover img {
  opacity: 0.85;
}

.gallery-grid figcaption {
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.gallery-grid--portrait img {
  height: 280px;
  object-position: center top;
}

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

.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-teal);
  overflow: hidden;
}

.person-card__accent-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  opacity: 0.4;
  filter: sepia(0.3);
}

.person-card__body {
  padding: 1.5rem;
}

.person-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.person-card__role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.person-card__titles {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.person-card__bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
}

.person-card__quote {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

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

.flagship-header {
  margin-bottom: 2rem;
}

.flagship-header h2 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.flagship-header .flagship-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.flagship-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.flagship-text img {
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

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

.flagship-sidebar img {
  width: 100%;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

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

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

.review-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.review-header h2 {
  color: var(--accent);
  flex: 1;
  min-width: 200px;
}

.score-display {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  text-align: center;
  min-width: 80px;
}

.score-display .score-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.review-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: start;
}

.review-img {
  border: 1px solid var(--border);
  width: 100%;
}

.review-scores {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.review-score-item {
  text-align: center;
}

.review-score-item .pub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.review-score-item .score {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Music page
   -------------------------------------------------------------------------- */
.composer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.composer-card h3 {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.composer-card .role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.soundtrack-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-teal);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.soundtrack-card h3 {
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.soundtrack-card .album-img {
  float: right;
  width: 120px;
  margin: 0 0 1rem 1.5rem;
  border: 1px solid var(--border);
}

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

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

.interview-header h2 {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.interview-header .interviewee-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Videos page
   -------------------------------------------------------------------------- */
.videos-category {
  margin-bottom: 4rem;
}

.videos-category h2 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.video-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.video-item h3 {
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

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

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

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

/* --------------------------------------------------------------------------
   Play methods
   -------------------------------------------------------------------------- */
.play-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 2rem;
}

.play-method {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
}

.play-method__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.play-method__header h2 {
  color: var(--accent);
  font-size: 1.4rem;
  flex: 1;
}

.play-badge {
  padding: 0.25rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  flex-shrink: 0;
}

.play-badge--free {
  background: rgba(78, 205, 196, 0.2);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
}

.play-badge--purchase {
  background: rgba(244, 168, 32, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.play-badge--official {
  background: rgba(100, 180, 100, 0.15);
  border: 1px solid #64b464;
  color: #64b464;
}

.play-method ol {
  list-style: decimal;
  padding-left: 1.5rem;
  counter-reset: none;
}

.play-method ol li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
}

.play-method ol li::marker {
  color: var(--accent);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Modern page cards
   -------------------------------------------------------------------------- */
.modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

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

.modern-card__header {
  padding: 1.5rem 1.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.modern-card__header h3 {
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.modern-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.modern-badge {
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.modern-badge--official {
  background: rgba(244, 168, 32, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.modern-badge--successor {
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
}

.modern-badge--fan {
  background: rgba(200, 200, 200, 0.08);
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

.modern-card__body {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   ScummVM compatibility table
   -------------------------------------------------------------------------- */
.compat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1.5rem 0;
}

.compat-table th {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent);
  text-align: left;
  padding: 0.6rem 1rem;
  border-bottom: 2px solid var(--border);
  background: var(--bg-alt);
}

.compat-table td {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

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

.compat-yes {
  color: #64b464;
  font-weight: 600;
}

.compat-no {
  color: #a06060;
}

/* --------------------------------------------------------------------------
   Resources table
   -------------------------------------------------------------------------- */
.resource-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.resource-grid th {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--accent);
  text-align: left;
  padding: 0.65rem 1rem;
  border-bottom: 2px solid var(--border);
  background: var(--bg-alt);
}

.resource-grid td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.resource-grid td:first-child {
  min-width: 200px;
  font-weight: 600;
  color: var(--accent);
}

.resource-grid tr:hover td {
  background: var(--bg-card);
}

.resource-category {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--accent-teal);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   SCUMM Easter egg modal
   -------------------------------------------------------------------------- */
.scumm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.scumm-modal {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  max-width: 560px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
}

.scumm-modal__eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-teal);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.scumm-modal__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.scumm-modal__subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.scumm-modal__body {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.site-footer__text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 3rem; }

.text-accent  { color: var(--accent); }
.text-teal    { color: var(--accent-teal); }
.text-muted   { color: var(--text-muted); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.tag--genre {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* --------------------------------------------------------------------------
   Inline image + text layouts
   -------------------------------------------------------------------------- */
.media-left,
.media-right {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

.media-left  { grid-template-columns: 280px 1fr; }
.media-right { grid-template-columns: 1fr 280px; }

.media-left img,
.media-right img {
  border: 1px solid var(--border);
  width: 100%;
}

/* --------------------------------------------------------------------------
   iMUSE / music accent box
   -------------------------------------------------------------------------- */
.imuse-box {
  background: linear-gradient(135deg, var(--bg-alt), #0a1a1a);
  border: 1px solid var(--accent-teal);
  padding: 2rem;
  margin: 2rem 0;
}

.imuse-box h3 {
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    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: 0.5rem 0;
    gap: 0;
    flex-wrap: nowrap;
    z-index: 99;
  }

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

  .nav-link {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav-link--active {
    border-left-color: var(--accent);
    border-bottom-color: transparent;
  }

  #site-nav {
    position: relative;
  }

  .flagship-body {
    grid-template-columns: 1fr;
  }

  .flagship-sidebar {
    position: static;
  }

  .review-body {
    grid-template-columns: 1fr;
  }

  .history-two-col {
    grid-template-columns: 1fr;
  }

  .media-left,
  .media-right {
    grid-template-columns: 1fr;
  }

  .play-methods {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: 420px;
  }

  .flip-card-front img {
    height: 260px;
  }

  .flip-card-front .placeholder {
    height: 260px;
  }
}
