/* ==========================================================================
   Westwood Studios Fan Page — css/style.css
   Command-bunker military identity — jungle green, olive-yellow tactical accents.
   ========================================================================== */

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

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --bg:            #0d1a0d;
  --bg-card:       #111e11;
  --bg-alt:        #0a160a;
  --text:          #e8f0e0;
  --text-muted:    #7a9e6a;
  --accent:        #8db800;
  --accent-dim:    #6e9000;
  --secondary:     #c8a050;
  --border:        #1e3a1e;
  --border-accent: #8db800;
  --font-heading:  'Black Ops One', 'Impact', monospace;
  --font-body:     'Exo 2', 'Arial', sans-serif;

  --nav-height:    60px;
  --container-max: 1200px;

  /* Topographic SVG pattern for mask-image */
  --topo-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cg fill='none' stroke='%238db800' stroke-width='1'%3E%3Cpath d='M0 80 Q60 40 120 80 Q180 120 240 80 Q300 40 360 80 Q400 100 400 80' opacity='0.12'/%3E%3Cpath d='M0 130 Q70 90 140 130 Q210 170 280 130 Q350 90 400 130' opacity='0.12'/%3E%3Cpath d='M0 180 Q80 140 160 180 Q240 220 320 180 Q370 160 400 180' opacity='0.10'/%3E%3Cpath d='M0 230 Q90 190 180 230 Q270 270 360 230 Q385 220 400 230' opacity='0.10'/%3E%3Cpath d='M0 280 Q100 240 200 280 Q300 320 400 280' opacity='0.08'/%3E%3Cpath d='M0 330 Q110 290 220 330 Q330 370 400 340' opacity='0.08'/%3E%3Cpath d='M20 50 Q80 20 140 50 Q200 80 260 50 Q320 20 380 50' opacity='0.10'/%3E%3Cpath d='M0 360 Q120 320 240 360 Q340 390 400 370' opacity='0.06'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   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.7;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

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(--accent);
  opacity: 0.3;
  margin: 3rem 0;
}

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

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

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

strong { color: var(--text); }

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

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

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

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

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

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

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

.nav-link {
  display: block;
  padding: 0.3rem 0.45rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  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.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 0;
}

.btn-primary {
  background: var(--accent);
  color: #0d1a0d;
  border: 2px solid var(--accent);
}

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

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

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

/* --------------------------------------------------------------------------
   Hero — with topographic mask-image overlay
   -------------------------------------------------------------------------- */
#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.22;
  filter: sepia(0.3) hue-rotate(60deg) brightness(0.65);
}

/* Topographic contour overlay — background-blend-mode technique */
.hero-topo {
  position: absolute;
  inset: 0;
  background-image: var(--topo-pattern);
  background-repeat: repeat;
  background-size: 400px 400px;
  opacity: 0.6;
  pointer-events: none;
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(141,184,0,0.25);
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 400;
  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-weight: 400;
  font-size: 2rem;
  color: var(--accent);
}

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

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

/* --------------------------------------------------------------------------
   Classified stamp decorative element
   -------------------------------------------------------------------------- */
.classified-stamp {
  display: inline-block;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  padding: 0.3rem 0.8rem;
  transform: rotate(-3deg);
  opacity: 0.7;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

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

.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.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3em;
  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-accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--topo-pattern);
  background-repeat: repeat;
  background-size: 400px 400px;
  opacity: 0.3;
  pointer-events: none;
}

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

.page-hero__title {
  margin-bottom: 0.75rem;
  position: relative;
}

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

/* --------------------------------------------------------------------------
   Stencil callout box (unique to Westwood identity)
   -------------------------------------------------------------------------- */
.callout-box {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.callout-box::before {
  content: 'INTEL';
  position: absolute;
  top: -0.6rem;
  left: 1rem;
  background: var(--bg-card);
  padding: 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.callout-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Cards — game cards, section cards
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.game-card__body {
  padding: 1.25rem;
}

.game-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.game-card__year {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.game-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.game-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.game-card__meta-row {
  display: flex;
  gap: 0.5rem;
}

.meta-label {
  color: var(--text-muted);
  min-width: 5rem;
  flex-shrink: 0;
}

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

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
}

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

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

/* --------------------------------------------------------------------------
   Platform Filter
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

.filter-bar label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-bar select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238db800'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
}

.filter-bar select:focus {
  outline: none;
  border-color: var(--accent);
}

.filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

.filter-count span {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   History / Narrative sections
   -------------------------------------------------------------------------- */
.history-body {
  max-width: 760px;
  margin: 0 auto;
}

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

.history-chapter h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.history-chapter p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Timeline
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.4;
}

.timeline-entry {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 0;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.timeline-event {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
}

.person-card__name {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

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

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

/* --------------------------------------------------------------------------
   Music entries
   -------------------------------------------------------------------------- */
.music-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.music-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
}

.music-entry__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.music-entry__composer {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.music-entry__format {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.music-entry__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.music-entry__tracks {
  list-style: decimal;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* --------------------------------------------------------------------------
   Flagship Articles
   -------------------------------------------------------------------------- */
.flagship-article {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.flagship-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.flagship-article__header {
  margin-bottom: 1.5rem;
}

.flagship-article__number {
  font-size: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.flagship-article__title {
  color: var(--text);
  margin-bottom: 0.5rem;
}

.flagship-article__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flagship-article__body p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1em;
}

.flagship-article__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.flagship-article__links a {
  font-size: 0.85rem;
}

.flagship-article__body h3 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.flagship-image {
  margin: 2rem 0;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.flagship-image img {
  max-width: 480px;
  margin: 0 auto;
  padding: 0.5rem;
}

.flagship-image figcaption {
  padding: 0.4rem 0.75rem 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

blockquote.dev-quote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--bg-alt);
}

blockquote.dev-quote p {
  font-size: 1.05rem !important;
  color: var(--text) !important;
  font-style: italic;
  margin-bottom: 0.5rem !important;
}

blockquote.dev-quote cite {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: normal;
  display: block;
}

aside.trivia {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dim);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

aside.trivia p {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

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

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

.video-embed__caption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
}

.review-card__game {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.review-card__pub {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.review-card__score {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.review-card__quote {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
}

.review-card__year {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Interviews
   -------------------------------------------------------------------------- */
.interview-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.interview-entry__subject {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.interview-entry__source {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.interview-entry__quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
}

.interview-entry__context {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Resource entries
   -------------------------------------------------------------------------- */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
}

.resource-item__label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.resource-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.resource-item__link {
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Play methods
   -------------------------------------------------------------------------- */
.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.method-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.method-card__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.method-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.method-card__link {
  font-size: 0.85rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery-item:hover {
  border-color: var(--accent);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13,26,13,0.92));
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 1.5rem 0.75rem 0.5rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
}

.gallery-notice {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Video list (videos.html)
   -------------------------------------------------------------------------- */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.video-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.25rem 1.5rem;
}

.video-item__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.video-item__meta {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.video-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   HELLMARCH Easter Egg Overlay
   -------------------------------------------------------------------------- */
.hellmarch-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hm-fade-in 0.4s ease;
}

@keyframes hm-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hellmarch-inner {
  text-align: center;
  max-width: 560px;
  padding: 3rem 2rem;
  border: 2px solid var(--accent);
  border-radius: 0;
  background: var(--bg-card);
  animation: hm-slide-in 0.4s ease;
  position: relative;
}

@keyframes hm-slide-in {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.hellmarch-stamp {
  display: inline-block;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  padding: 0.3rem 0.9rem;
  transform: rotate(-5deg);
  opacity: 0.9;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hellmarch-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.75rem, 5vw, 3rem);
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hellmarch-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hellmarch-message {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Cite / Footnotes
   -------------------------------------------------------------------------- */
.cite a {
  font-size: 0.7em;
  color: var(--text-muted);
  vertical-align: super;
}

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

.footnotes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--accent);
  opacity: 0.6;
}

.footnotes h2 {
  font-size: 0.6rem;
  font-family: var(--font-body);
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footnotes ol {
  list-style: decimal;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footnotes li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

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

.site-footer__brand {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.site-footer__text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.site-footer__text a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Utility classes
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center  { text-align: center; }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.mt-sm        { margin-top: 1rem; }
.mt-md        { margin-top: 2rem; }
.mt-lg        { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   Gallery 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);
  background: var(--bg-card);
  cursor: zoom-in; transition: border-color 0.2s;
}
.game-screenshot:hover { border-color: var(--accent); }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  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); cursor: zoom-out;
}
.lightbox-close {
  position: fixed; top: 1rem; right: 1.5rem; background: none; border: none;
  color: var(--accent); font-size: 2.5rem; line-height: 1;
  cursor: pointer; z-index: 10000; padding: 0.25rem 0.5rem;
}
.lightbox-close:hover { color: var(--secondary); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  #site-nav {
    height: auto;
    min-height: var(--nav-height);
  }

  .nav-inner {
    flex-wrap: wrap;
    padding: 0.75rem 1.25rem;
    height: auto;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid var(--border);
    margin-left: 0;
  }

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

  .nav-link {
    padding: 0.6rem 0.25rem;
    font-size: 0.65rem;
  }

  .site-section {
    padding: 3rem 0;
  }

  .hero-stats {
    gap: 1.25rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 10vw, 3rem); }
  .hero-cta   { flex-direction: column; align-items: center; }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-count { margin-left: 0; }
}

/* WCAG 1.4.1: underline inline links in text blocks */
p a,
li a,
blockquote a {
  text-decoration: underline;
}

/* ==========================================================================
   Music player — now-playing bar and track list
   ========================================================================== */

.now-playing-bar {
  background: #0a1a0a;
  border-bottom: 2px solid #8db800;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.875rem;
  color: #b5c8b5;
  min-height: 3rem;
}

.now-playing-bar__label {
  color: #8db800;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.now-playing-bar__title {
  color: #e8f0e8;
  font-weight: 600;
}

.now-playing-bar__author {
  color: #8db800;
}

.music-format-note {
  color: #8db800;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #8db800;
  background: rgba(141, 184, 0, 0.08);
}

.track-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.track-group {
  background: rgba(141, 184, 0, 0.05);
  border: 1px solid rgba(141, 184, 0, 0.2);
  padding: 1.5rem;
}

.track-group__title {
  font-family: 'Black Ops One', sans-serif;
  font-size: 1rem;
  color: #8db800;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.track-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stream-play {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(141, 184, 0, 0.1);
  border: 1px solid rgba(141, 184, 0, 0.3);
  color: #c8e08c;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.stream-play:hover {
  background: rgba(141, 184, 0, 0.2);
  border-color: #8db800;
  color: #e8f0e8;
}

.stream-play[aria-pressed="true"] {
  background: #8db800;
  color: #0d1a0d;
  border-color: #8db800;
  font-weight: 600;
}

.game-card__cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #0a1a0a;
}

.music-entry {
  border-bottom: 1px solid rgba(141, 184, 0, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.music-entry__title {
  font-family: 'Black Ops One', sans-serif;
  color: #8db800;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}

.music-entry__composer {
  color: #c8a050;
  font-size: 0.875rem;
  margin: 0 0 0.25rem;
}

.music-entry__format {
  color: #6a7a6a;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
  font-style: italic;
}

.music-entry__desc {
  color: #b5c8b5;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.music-entry__tracks {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
  color: #8db800;
  font-size: 0.875rem;
}
