/* =========================================================
   THE EXPENDABLES 3 – MAIN STYLESHEET
   Dark cinematic military theme
   ========================================================= */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #080808;
  --dark:       #0f0f0f;
  --dark2:      #161616;
  --dark3:      #1e1e1e;
  --dark4:      #262626;
  --gold:       #c9a84c;
  --gold-light: #e4c76b;
  --gold-dark:  #9a7a30;
  --gold-dim:   rgba(201,168,76,0.12);
  --red:        #c0392b;
  --red-dim:    rgba(192,57,43,0.15);
  --white:      #ffffff;
  --gray:       #888888;
  --gray-light: #cccccc;
  --border:     rgba(201,168,76,0.2);
  --font-title: 'Bebas Neue', Impact, sans-serif;
  --font-sub:   'Oswald', sans-serif;
  --font-body:  'Roboto', sans-serif;
  --radius:     4px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--black);
  color: var(--gray-light);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* =========================================================
   SCROLLBAR
   ========================================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */
.section-label {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 12px;
  border: 1px solid var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.05em;
  max-width: 600px;
  margin-bottom: 3rem;
}

.gold { color: var(--gold); }
.red  { color: var(--red); }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--dark { background-color: var(--dark2); }
.section--darker { background-color: var(--dark); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =========================================================
   DIVIDER
   ========================================================= */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

.divider--center { margin: 1.5rem auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before { transform: translateX(0); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: #e74c3c;
  color: var(--white);
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(8,8,8,0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.navbar__logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__logo span { color: var(--gold); }

.navbar__logo-bullet {
  width: 8px;
  height: 8px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--gold);
}
.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}

.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================================
   HERO – HOME
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(192,57,43,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #080808 0%, #0f0f0f 50%, #080808 100%);
}

/* Military grid overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Scanline effect */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.hero__title--roman {
  font-size: clamp(6rem, 18vw, 18rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  display: block;
  line-height: 0.85;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 2rem 0 2.5rem;
}

.hero__meta-item {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta-item::before {
  content: '▪';
  color: var(--gold);
}

.hero__meta-item:first-child::before { display: none; }

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* =========================================================
   STATS BAR
   ========================================================= */
.statsbar {
  background: var(--dark3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.statsbar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.statsbar__item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.statsbar__item:last-child { border-right: none; }

.statsbar__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background var(--transition);
}

.statsbar__item:hover::before { background: var(--gold); }

.statsbar__number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.statsbar__label {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* =========================================================
   MISSION BRIEF
   ========================================================= */
.mission {
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: 'CLASSIFIED';
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-title);
  font-size: 8rem;
  color: rgba(201,168,76,0.03);
  letter-spacing: 0.2em;
  pointer-events: none;
  white-space: nowrap;
}

.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission__body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--gray-light);
}

.mission__body p { margin-bottom: 1.2rem; }

.mission__body strong { color: var(--white); font-weight: 500; }

.mission__dossier {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  position: relative;
}

.mission__dossier::before {
  content: 'FILE NO. EX-3-2014';
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--dark3);
  padding: 0 8px;
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  gap: 1rem;
}

.dossier-row:last-child { border-bottom: none; }

.dossier-key {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  min-width: 120px;
}

.dossier-val {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--white);
  text-align: right;
}

/* =========================================================
   CAST GRID
   ========================================================= */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
}

.cast-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
}

/* cast card bg is now the real photo */

.cast-card__avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s ease;
}

.cast-card:hover .cast-card__avatar {
  filter: grayscale(0%) contrast(1.1);
}

/* Faction colour tint overlay on top of image */
.cast-card--veteran::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(201,168,76,0.12) 0%, transparent 50%); pointer-events: none; z-index: 1; }
.cast-card--recruit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(52,152,219,0.12) 0%, transparent 50%); pointer-events: none; z-index: 1; }
.cast-card--villain::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(192,57,43,0.15) 0%, transparent 50%); pointer-events: none; z-index: 1; }
.cast-card--ally::after   { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(39,174,96,0.12) 0%, transparent 50%); pointer-events: none; z-index: 1; }

.cast-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  z-index: 2;
}

.cast-card__name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.cast-card__character {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.cast-card__role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 4px;
}

.cast-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  font-family: var(--font-sub);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.cast-card--veteran .cast-card__badge { background: rgba(201,168,76,0.2); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.cast-card--recruit .cast-card__badge { background: rgba(52,152,219,0.2); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }
.cast-card--villain .cast-card__badge { background: rgba(192,57,43,0.2); color: var(--red); border: 1px solid rgba(192,57,43,0.3); }
.cast-card--ally   .cast-card__badge { background: rgba(39,174,96,0.2); color: #27ae60; border: 1px solid rgba(39,174,96,0.3); }

/* line pattern top of card */
.cast-card__stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
}
.cast-card--veteran .cast-card__stripe { background: var(--gold); }
.cast-card--recruit .cast-card__stripe { background: #3498db; }
.cast-card--villain .cast-card__stripe { background: var(--red); }
.cast-card--ally    .cast-card__stripe { background: #27ae60; }

/* =========================================================
   BATTLE STATS
   ========================================================= */
.battlestats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rating-bar { margin-bottom: 1.5rem; }

.rating-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.rating-bar__label {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

.rating-bar__score {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--gold);
}

.rating-bar__track {
  height: 4px;
  background: var(--dark4);
  border-radius: 2px;
  overflow: hidden;
}

.rating-bar__fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  width: 0;
  transition: width 1.2s ease 0.3s;
}

.rating-bar__fill.animated { width: var(--target-width); }

.boxoffice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bo-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
}

.bo-card__number {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold);
  display: block;
}

.bo-card__label {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* =========================================================
   EXPLORE CARDS
   ========================================================= */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.explore-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
}

.explore-card__bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.explore-card:hover .explore-card__bg { transform: scale(1.05); }

.explore-card:nth-child(1) .explore-card__bg {
  background: linear-gradient(160deg, #0f0c05 0%, #080600 100%);
}
.explore-card:nth-child(2) .explore-card__bg {
  background: linear-gradient(160deg, #050810 0%, #020508 100%);
}
.explore-card:nth-child(3) .explore-card__bg {
  background: linear-gradient(160deg, #0a0505 0%, #060202 100%);
}

/* CSS art pattern for each card */
.explore-card:nth-child(1) .explore-card__pattern {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.6;
}

.explore-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.85) 100%);
}

.explore-card__content { position: relative; z-index: 2; }

.explore-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  transition: transform var(--transition);
}

.explore-card:hover .explore-card__icon { transform: scale(1.1); }

.explore-card__num {
  font-family: var(--font-title);
  font-size: 5rem;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  line-height: 1;
}

.explore-card__tag {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.explore-card__title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.explore-card__desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.explore-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--transition);
}

.explore-card:hover .explore-card__arrow { gap: 14px; }

/* =========================================================
   PAGE HERO (secondary pages)
   ========================================================= */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero__title {
  font-family: var(--font-title);
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1;
}

.page-hero__title span { color: var(--gold); }

.page-hero__sub {
  font-family: var(--font-sub);
  font-size: 1rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  margin-top: 1rem;
  max-width: 600px;
}

/* =========================================================
   VIDEO CARDS
   ========================================================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.video-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  group: true;
}

.video-card__thumb {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.video-card:hover .video-card__thumb { transform: scale(1.08); }

/* Unique gradient per card */
.video-card:nth-child(1) .video-card__thumb { background: linear-gradient(135deg, #1a0e00, #0a0500); }
.video-card:nth-child(2) .video-card__thumb { background: linear-gradient(135deg, #0a0000, #1a0505); }
.video-card:nth-child(3) .video-card__thumb { background: linear-gradient(135deg, #000a14, #00050a); }
.video-card:nth-child(4) .video-card__thumb { background: linear-gradient(135deg, #0a0a00, #14140a); }
.video-card:nth-child(5) .video-card__thumb { background: linear-gradient(135deg, #050a0a, #0a1414); }
.video-card:nth-child(6) .video-card__thumb { background: linear-gradient(135deg, #0a0005, #14000a); }
.video-card:nth-child(7) .video-card__thumb { background: linear-gradient(135deg, #050a00, #0a1400); }
.video-card:nth-child(8) .video-card__thumb { background: linear-gradient(135deg, #100500, #200a00); }

/* noise overlay */
.video-card__noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__play {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(201,168,76,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

.video-card__play::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--gold);
  margin-left: 3px;
}

.video-card:hover .video-card__play {
  background: var(--gold);
  border-color: var(--gold);
  transform: translate(-50%, -60%) scale(1.1);
}

.video-card:hover .video-card__play::before { border-left-color: var(--black); }

.video-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

.video-card__type {
  font-family: var(--font-sub);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.video-card__title {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}

.video-card__duration {
  position: absolute;
  top: 8px;
  right: 10px;
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--gray-light);
  background: rgba(0,0,0,0.7);
  padding: 2px 6px;
}

/* =========================================================
   YT-CARD (thumbnail + click-to-play)
   ========================================================= */
.yt-card {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}

.yt-card--large {
  aspect-ratio: 16/9;
}

.yt-card__thumb {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.85);
}

.yt-card:hover .yt-card__thumb {
  transform: scale(1.04);
  filter: brightness(1);
}

.yt-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.85) 100%);
}

.yt-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  transition: all 0.25s ease;
}

.yt-card:hover .yt-card__play {
  background: #ff0000;
  border-color: #ff0000;
  transform: translate(-50%, -60%) scale(1.1);
}

.yt-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 2;
}

.yt-card__type {
  font-family: var(--font-sub);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.yt-card__title {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
}

/* Active state — replace thumb with iframe */
.yt-card.playing .yt-card__thumb,
.yt-card.playing .yt-card__overlay,
.yt-card.playing .yt-card__play,
.yt-card.playing .yt-card__info { display: none; }

.yt-card.playing iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================================
   VIDEO FEATURED
   ========================================================= */
.video-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5px;
  margin-bottom: 1.5px;
}

.video-featured .video-card { aspect-ratio: 16/9; }

/* =========================================================
   HQ SECTIONS
   ========================================================= */
.hq-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

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

.production-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.production-item {
  background: var(--dark2);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.production-item::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 10px;
  font-family: var(--font-title);
  font-size: 6rem;
  color: rgba(201,168,76,0.04);
  line-height: 1;
}

.production-item__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.production-item__title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.production-item__text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

.location-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.location-card__visual {
  height: 140px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-card:nth-child(1) .location-card__visual { background: linear-gradient(135deg, #0a1020, #050a15); }
.location-card:nth-child(2) .location-card__visual { background: linear-gradient(135deg, #0a0a20, #05050f); }
.location-card:nth-child(3) .location-card__visual { background: linear-gradient(135deg, #100a0a, #0a0505); }

.location-card__flag {
  font-size: 3rem;
}

.location-card__info {
  padding: 1.2rem;
}

.location-card__country {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.location-card__name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--white);
}

.location-card__detail {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Stunt card */
.stunt-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.stunt-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.stunt-card__badge {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 2px 8px;
  margin-bottom: 0.6rem;
}

.stunt-card__title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stunt-card__text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-item__date {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-item__title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.timeline-item__text {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
}

/* =========================================================
   ARTICLE PAGE
   ========================================================= */
.article-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.article-featured {
  background: var(--dark2);
  border-top: 3px solid var(--gold);
}

.article-featured__visual {
  height: 300px;
  background: linear-gradient(135deg, #100a00, #050200);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-featured__art {
  font-family: var(--font-title);
  font-size: 8rem;
  color: rgba(201,168,76,0.07);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.article-featured__body {
  padding: 2.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-meta__cat {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 8px;
}

.article-meta__date {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--gray);
}

.article-meta__read {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--gray);
  margin-left: auto;
}

.article-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.article-excerpt {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--white);
  margin: 2rem 0 0.8rem;
  letter-spacing: 0.03em;
}

.article-content h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.5rem 0 0.6rem;
}

.article-content p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.article-content strong { color: var(--white); font-weight: 500; }

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--dark3);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-light);
}

.article-content ul {
  margin-bottom: 1.2rem;
  padding-left: 1rem;
}

.article-content ul li {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.8;
  padding-left: 1.2rem;
  position: relative;
}

.article-content ul li::before {
  content: '▸';
  color: var(--gold);
  position: absolute;
  left: 0;
}

/* Sidebar */
.sidebar-widget {
  background: var(--dark2);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  overflow: hidden;
}

.sidebar-widget__header {
  padding: 1rem 1.5rem;
  background: var(--dark3);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-widget__body { padding: 1.5rem; }

.related-article {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: flex-start;
  text-decoration: none;
  transition: all var(--transition);
}

.related-article:last-child { border-bottom: none; }

.related-article:hover .related-article__title { color: var(--gold); }

.related-article__visual {
  width: 70px;
  height: 50px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.related-article:nth-child(1) .related-article__visual { background: linear-gradient(135deg, #150a00, #0a0500); }
.related-article:nth-child(2) .related-article__visual { background: linear-gradient(135deg, #0f0000, #150202); }
.related-article:nth-child(3) .related-article__visual { background: linear-gradient(135deg, #050a15, #020508); }

.related-article__visual-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: rgba(201,168,76,0.3);
}

.related-article__title {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-light);
  line-height: 1.4;
  transition: color var(--transition);
}

.related-article__date {
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--gray);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Article cards grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  margin-top: 1.5px;
}

.article-card {
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: background var(--transition);
  border-top: 2px solid transparent;
}

.article-card:hover { background: var(--dark3); border-top-color: var(--gold); }

.article-card__visual {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card:nth-child(1) .article-card__visual { background: linear-gradient(135deg, #150500, #0a0200); }
.article-card:nth-child(2) .article-card__visual { background: linear-gradient(135deg, #100500, #05020a); }
.article-card:nth-child(3) .article-card__visual { background: linear-gradient(135deg, #001015, #000508); }

.article-card__visual-text {
  font-family: var(--font-title);
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
  letter-spacing: 0.1em;
}

.article-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.article-card__cat {
  font-family: var(--font-sub);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.article-card__title {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.6rem;
  flex: 1;
}

.article-card__excerpt {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.article-card__date {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--gray);
}

.article-card__read {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__brand span { color: var(--gold); }

.footer__desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__heading {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__link {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link::before { content: '›'; color: var(--gold-dark); }
.footer__link:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.footer__disclaimer {
  font-size: 0.7rem;
  color: rgba(136,136,136,0.5);
  text-align: right;
  max-width: 400px;
  line-height: 1.5;
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--gold-dark); }
.breadcrumb__current { color: var(--gold); }

/* =========================================================
   NOTICE BANNER
   ========================================================= */
.notice-banner {
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.6;
}

.notice-banner__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mission__grid { grid-template-columns: 1fr; gap: 3rem; }
  .battlestats__grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  /* home trailer grid → stacked, video first */
  #team ~ section [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .navbar__menu { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; z-index: 999; background: rgba(8,8,8,0.98); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); }
  .navbar__menu.open { display: flex; }
  .navbar__toggle { display: flex; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .statsbar__inner { grid-template-columns: repeat(2, 1fr); }
  .statsbar__item:nth-child(2) { border-right: none; }
  .explore-grid { grid-template-columns: 1fr; }
  .production-grid { grid-template-columns: 1fr; }
  .location-strip { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .video-featured { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(4rem, 18vw, 8rem); }
  .hero__title--roman { font-size: clamp(5rem, 22vw, 10rem); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__disclaimer { text-align: center; }
  .boxoffice-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cast-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
