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

:root {
  --red: #cc0000;
  --red-dark: #8b0000;
  --red-light: #e53935;
  --gold: #ffd700;
  --gold-dark: #b8960c;
  --dark: #0d0d0d;
  --dark-2: #1a1a1a;
  --dark-3: #252525;
  --light: #f5f0e8;
  --light-2: #e8e0d0;
  --text: #1a1a1a;
  --text-muted: #666;
  --white: #fff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --font-type: 'Special Elite', 'Courier New', monospace;
}

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

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

/* ========================
   NAVIGATION
======================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(204, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(13, 13, 13, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}

.star-svg {
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active-nav {
  color: var(--gold);
  background: rgba(255,215,0,0.08);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--dark);
  z-index: 999;
  padding: 1rem 2rem 2rem;
  border-bottom: 2px solid var(--red);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: 0.9rem 0;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ========================
   HERO
======================== */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 2rem 4rem;
  position: relative;
  overflow: hidden;
  gap: 4rem;
  max-width: 100%;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(204, 0, 0, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(204, 0, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 640px;
  padding-left: clamp(1rem, 5vw, 6rem);
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-type);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--red-light);
  border: 1px solid var(--red-light);
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.4s both;
}

.line1 {
  display: block;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  font-weight: 400;
}

.line2 {
  display: block;
}

.red-text {
  color: var(--red-light);
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: fadeInUp 0.8s 0.6s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.8s both;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 2px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.scroll-indicator {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s 1s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

.hero-visual {
  flex: 0 0 auto;
  padding-right: clamp(1rem, 5vw, 6rem);
  position: relative;
  z-index: 2;
  animation: fadeIn 1s 0.5s both;
}

.poster-frame {
  width: clamp(200px, 25vw, 320px);
  aspect-ratio: 3/4;
  border: 3px solid var(--red);
  position: relative;
  background: linear-gradient(145deg, #1a0000, #0d0d0d);
  overflow: hidden;
}

.poster-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(204,0,0,0.4);
  pointer-events: none;
  z-index: 1;
}

.hero-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: sepia(10%) contrast(1.1);
  transition: filter 0.4s;
}

.poster-frame:hover .hero-poster-img {
  filter: sepia(0%) contrast(1.15);
}

.poster-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  font-family: var(--font-type);
  padding: 0.4rem 0.6rem;
  text-align: center;
  letter-spacing: 0.05em;
  z-index: 2;
}

.poster-credit em {
  color: var(--gold);
  font-style: italic;
}

/* ========================
   QUOTE TICKER
======================== */
.quote-ticker {
  background: var(--red);
  padding: 0.7rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker 60s linear infinite;
  font-family: var(--font-type);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.ticker-inner span {
  margin-right: 4rem;
}

@keyframes ticker {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ========================
   SECTIONS
======================== */
.section {
  padding: 7rem 0;
}

.dark-section {
  background: var(--dark-2);
  color: var(--white);
}

.achievements-section {
  background: var(--light-2);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: var(--font-type);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.section-label.light {
  color: rgba(204,0,0,0.8);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.section-title.light {
  color: var(--white);
}

.dark-section .section-title {
  color: var(--white);
}

.section-title em {
  color: var(--red);
  font-style: italic;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 4rem;
  line-height: 1.8;
}

.section-intro.light {
  color: rgba(255,255,255,0.6);
}

.dark-section .section-intro {
  color: rgba(255,255,255,0.6);
}

/* ========================
   IDEOLOGY CARDS
======================== */
.ideology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.ideo-card {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.ideo-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.ideo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(204,0,0,0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.ideo-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.ideo-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.ideo-card p em {
  color: var(--red);
  font-style: italic;
}

/* ========================
   THEORISTS TABS
======================== */
.theorists-section {
  margin-top: 3rem;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--light-2);
  margin-bottom: 0;
  flex-wrap: wrap;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  margin-bottom: -2px;
}

.tab-btn:hover {
  color: var(--red);
}

.tab-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tab-content {
  display: none;
  background: var(--white);
  border: 1px solid var(--light-2);
  border-top: none;
  padding: 2rem;
}

.tab-content.active {
  display: block;
}

.thinker-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.thinker-avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--red);
}

.thinker-info h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.thinker-dates {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.thinker-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.thinker-info blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
}

/* ========================
   FAILURE SECTION
======================== */
.failure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.failure-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.failure-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.failure-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(204,0,0,0.4);
}

.failure-icon {
  margin-bottom: 1rem;
}

.failure-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.failure-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.failure-card p em {
  color: var(--gold);
  font-style: italic;
}

/* ========================
   COMPARISON BOX
======================== */
.comparison-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(204,0,0,0.3);
  padding: 3rem;
  margin-top: 2rem;
}

.comparison-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
}

.comparison-cols {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.comp-vs {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.2);
  align-self: center;
  flex: 0 0 auto;
}

.comp-col {
  flex: 1;
}

.comp-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid;
}

.comp-red { color: var(--red-light); border-color: var(--red-light); }
.comp-blue { color: #64b5f6; border-color: #64b5f6; }

.comp-col ul {
  list-style: none;
  margin-bottom: 1rem;
}

.comp-col li {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.comp-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.2);
}

.comp-verdict {
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.red { color: var(--red-light); }
.blue { color: #64b5f6; }

.comparison-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.comparison-note em {
  color: var(--gold);
}

/* ========================
   CIA / OPERATIONS
======================== */
.cia-intro {
  margin-bottom: 3rem;
}

.classified-doc {
  background: var(--white);
  border: 2px solid var(--dark-3);
  padding: 2rem;
  position: relative;
  max-width: 700px;
  box-shadow: 4px 4px 0 var(--dark-3);
  transform: rotate(-0.5deg);
}

.doc-header {
  margin-bottom: 1rem;
}

.doc-stamp {
  display: inline-block;
  font-family: var(--font-type);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--red);
  border: 3px solid var(--red);
  padding: 0.2rem 0.8rem;
  margin-bottom: 0.8rem;
  transform: rotate(-2deg);
  display: inline-block;
}

.doc-title {
  font-family: var(--font-type);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.doc-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.doc-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--light-2);
  padding-top: 1rem;
}

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

.op-card {
  background: var(--white);
  border: 1px solid var(--light-2);
  padding: 1.8rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.op-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.op-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.op-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.op-year {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(204,0,0,0.2);
  line-height: 1;
}

.op-country {
  font-family: var(--font-type);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--white);
  background: var(--red);
  padding: 0.2rem 0.6rem;
}

.op-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.op-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.op-sources {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.35);
  font-style: italic;
  border-top: 1px solid var(--light-2);
  padding-top: 0.8rem;
  line-height: 1.5;
}

.cia-note {
  display: flex;
  gap: 1.5rem;
  background: #fff9e6;
  border-left: 4px solid var(--gold-dark);
  padding: 1.5rem 2rem;
  align-items: flex-start;
}

.note-icon {
  flex: 0 0 36px;
  padding-top: 2px;
}

.cia-note p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========================
   LEADERS
======================== */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.leader-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 2rem;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.leader-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.leader-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,215,0,0.2);
}

.leader-flag {
  margin-bottom: 1rem;
}

.leader-flag svg {
  border: 1px solid rgba(255,255,255,0.1);
}

.leader-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.leader-country {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-type);
}

.leader-achiev, .leader-fate {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.leader-achiev strong, .leader-fate strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.leader-card blockquote {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  font-style: italic;
  font-family: var(--font-display);
  color: rgba(255,215,0,0.7);
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ========================
   TIMELINE
======================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(204,0,0,0.2));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  flex-direction: row;
  padding-right: calc(50% + 2rem);
}

.timeline-item.right {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.2rem;
  width: 12px;
  height: 12px;
  background: var(--light);
  border: 2px solid var(--red);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.timeline-dot.red {
  background: var(--red);
}

.timeline-item.expanded .timeline-dot {
  background: var(--red);
  box-shadow: 0 0 12px rgba(204,0,0,0.5);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--light-2);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  width: 100%;
}

.timeline-content:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-color: rgba(204,0,0,0.3);
}

.tl-year {
  font-family: var(--font-type);
  font-size: 1.4rem;
  color: var(--red);
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.tl-short {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.tl-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.timeline-item.expanded .tl-expand {
  max-height: 300px;
  padding-top: 1rem;
  border-top: 1px solid var(--light-2);
  margin-top: 1rem;
}

.tl-expand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ========================
   ACHIEVEMENTS
======================== */
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

.achieve-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.achieve-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s;
}

.achieve-card:hover {
  transform: translateY(-6px);
}

.achieve-stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.achieve-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.achieve-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   QUIZ
======================== */
.quiz-section {
  padding: 6rem 0;
}

.quiz-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--red);
  transition: width 0.4s ease;
  width: 0%;
}

#questionCount {
  font-family: var(--font-type);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.8rem;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.quiz-option {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
  padding: 1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s;
  border-radius: 2px;
  line-height: 1.4;
}

.quiz-option:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.quiz-option.correct {
  background: rgba(40, 160, 80, 0.25);
  border-color: rgba(40, 160, 80, 0.6);
  color: #80e880;
}

.quiz-option.wrong {
  background: rgba(204, 0, 0, 0.2);
  border-color: rgba(204, 0, 0, 0.5);
  color: rgba(255,120,120,0.9);
}

.quiz-explanation {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  display: none;
}

.quiz-explanation.show {
  display: block;
  animation: fadeIn 0.3s;
}

.quiz-next {
  margin-top: 1.5rem;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  display: none;
}

.quiz-next:hover {
  background: var(--red-light);
}

.quiz-next.show {
  display: block;
}

.quiz-result {
  text-align: center;
  padding: 2rem 0;
}

.quiz-result h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
}

.quiz-score {
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--red);
  margin-bottom: 1rem;
}

.quiz-result p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.quiz-restart {
  background: none;
  border: 2px solid var(--red);
  color: var(--white);
  padding: 0.7rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-restart:hover {
  background: var(--red);
}

/* ========================
   FINAL SECTION
======================== */
.final-section {
  background: var(--dark);
}

.final-content {
  max-width: 750px;
  margin: 0 auto;
}

.final-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.final-content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.final-content em {
  color: var(--gold);
  font-style: italic;
}

.final-cta {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.final-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.reading-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reading-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--red);
  transition: background 0.2s;
}

.reading-item:hover {
  background: rgba(255,255,255,0.07);
}

.book-icon {
  font-size: 1.4rem;
  line-height: 1;
  padding-top: 2px;
}

.reading-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.reading-item small {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
}

/* ========================
   FOOTER
======================== */
footer {
  background: #050505;
  padding: 3rem 0;
  border-top: 1px solid rgba(204,0,0,0.2);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  max-width: 600px;
  margin: 0 auto 0.8rem;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* ========================
   ANIMATIONS
======================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  #hero {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
    gap: 3rem;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-visual {
    padding-right: 0;
    align-self: center;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item.left,
  .timeline-item.right {
    flex-direction: row;
    padding-left: 3rem;
    padding-right: 0;
  }

  .timeline-dot {
    left: 1rem;
  }

  .comparison-cols {
    flex-direction: column;
  }

  .comp-vs {
    align-self: flex-start;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu.open {
    display: block;
  }

  .thinker-card {
    flex-direction: column;
  }

  .quiz-box {
    padding: 1.5rem;
  }

  .comparison-box {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }
}

/* ========================
   THINKER AVATAR PHOTO
======================== */
.thinker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}

/* ========================
   LEADER HEADER (photo + flag)
======================== */
.leader-header {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.leader-photo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.leader-card:hover .leader-photo {
  filter: grayscale(0%);
}

.leader-flag img {
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
  height: 36px;
  width: auto;
}

/* ========================
   HISTORICAL PHOTO GALLERY
======================== */
.gallery-section {
  background: var(--light-2);
}

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

.photo-item {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
  cursor: pointer;
}

.photo-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-item.large {
  grid-column: span 2;
  grid-row: span 1;
}

.photo-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease, filter 0.3s;
  filter: sepia(15%) contrast(1.05);
}

.photo-item.large img {
  height: 300px;
}

.photo-item:hover img {
  transform: scale(1.03);
  filter: sepia(0%) contrast(1.1);
}

.photo-caption {
  padding: 0.9rem 1rem;
  background: var(--white);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 2px solid var(--red);
}

.photo-caption strong {
  color: var(--dark);
  font-weight: 700;
}

@media (max-width: 800px) {
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .photo-item.large {
    grid-column: span 2;
  }
}

@media (max-width: 540px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-item.large {
    grid-column: span 1;
  }
}

/* ========================
   POSTER GALLERY
======================== */
.poster-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.poster-item {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.poster-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.poster-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

@media (max-width: 800px) {
  .poster-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================
   VIDEO SECTION
======================== */
.video-section {
  background: var(--light);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.video-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.video-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--dark-3);
  margin-bottom: 1rem;
}

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

/* Click-to-play video system */
.video-wrapper.yt-embed {
  background: #000;
  cursor: pointer;
}

.yt-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.4s;
}

.yt-embed:hover .yt-thumb {
  opacity: 0.75;
  transform: scale(1.02);
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.yt-embed:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.12);
}

.yt-fallback {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.7rem;
  font-family: var(--font-type);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  background: rgba(0,0,0,0.5);
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.05em;
  z-index: 3;
  transition: color 0.2s;
}

.yt-fallback:hover {
  color: var(--gold);
}

.yt-embed.playing .yt-thumb,
.yt-embed.playing .yt-play,
.yt-embed.playing .yt-fallback {
  display: none;
}

.video-tag {
  font-family: var(--font-type);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.video-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.video-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 800px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================
   LIGHTBOX
======================== */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.lightbox-caption {
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-align: center;
  max-width: 600px;
  line-height: 1.6;
  font-family: var(--font-type);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: -0.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--gold); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10000;
}

.lightbox-nav:hover { background: var(--red); color: white; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.photo-item { cursor: zoom-in; }

/* ========================
   MYTHS VS FACTS
======================== */
.myths-section {
  background: var(--dark-3);
}

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

.myth-card {
  height: 240px;
  perspective: 1000px;
  cursor: pointer;
}

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

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

.myth-front,
.myth-back {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.myth-front {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--red);
}

.myth-back {
  background: rgba(204,0,0,0.12);
  border: 1px solid rgba(204,0,0,0.25);
  border-top: 3px solid var(--gold);
  transform: rotateY(180deg);
  overflow-y: auto;
}

.myth-tag {
  font-family: var(--font-type);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.myth-tag.fact {
  color: var(--gold);
}

.myth-front p {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  font-style: italic;
  flex: 1;
  display: flex;
  align-items: center;
}

.myth-back p {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.7;
  flex: 1;
}

.myth-back em { color: var(--gold); font-style: italic; }

.flip-hint {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-type);
  letter-spacing: 0.1em;
  align-self: flex-end;
}

/* ========================
   WORLD MAP
======================== */
.map-section {
  background: var(--dark);
}

#cia-map {
  width: 100%;
  height: 520px;
  border: 2px solid rgba(204,0,0,0.4);
  margin-bottom: 1.5rem;
  background: #0a0a0a;
}

.map-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(204,0,0,0.3);
  border-left: 4px solid var(--red);
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: fadeIn 0.3s;
}

.map-panel-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 0.25rem;
}

.map-panel-close:hover { color: var(--gold); }

#map-panel-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.25rem;
}

#map-panel-content .mp-year {
  font-family: var(--font-type);
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

#map-panel-content .mp-op {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

#map-panel-content .mp-body {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

#map-panel-content .mp-outcome {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.6rem;
}

.map-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

/* Leaflet custom styles */
.leaflet-container {
  background: #0a0a0a !important;
  font-family: var(--font-body);
}

.leaflet-popup-content-wrapper {
  background: var(--dark-2);
  color: var(--white);
  border: 1px solid rgba(204,0,0,0.4);
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.leaflet-popup-tip {
  background: var(--dark-2);
}

.leaflet-popup-content {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 0.6rem 0.8rem;
}

.leaflet-popup-content strong {
  color: var(--gold);
  font-size: 1rem;
}

/* ========================
   CUBA SECTION
======================== */
.cuba-section {
  background: linear-gradient(180deg, var(--dark-2) 0%, #0a0a0a 100%);
}

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

.cuba-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--red);
  padding: 1.8rem 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.cuba-stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.cuba-stat-card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.cuba-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.cuba-num span {
  font-size: 2rem;
}

.cuba-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.cuba-stat-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}

.cuba-timeline {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 3rem;
}

.cuba-timeline h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}

.cuba-tl-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cuba-tl-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: baseline;
}

.cuba-tl-year {
  font-family: var(--font-type);
  font-size: 1rem;
  color: var(--red);
  font-weight: bold;
  letter-spacing: 0.05em;
}

.cuba-tl-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

@media (max-width: 800px) {
  .cuba-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .cuba-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================
   FILMS SECTION
======================== */
.films-section {
  background: var(--light-2);
}

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

.film-card {
  background: var(--white);
  border-left: 4px solid var(--red);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.film-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.film-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.film-year {
  font-family: var(--font-type);
  font-size: 1.4rem;
  color: rgba(204,0,0,0.25);
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.film-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.film-director {
  font-size: 0.78rem;
  color: var(--red);
  font-style: italic;
  margin-bottom: 0.8rem;
  font-family: var(--font-type);
  letter-spacing: 0.05em;
}

.film-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.film-info em {
  color: var(--dark);
  font-style: italic;
}

.film-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(204,0,0,0.3);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.film-link:hover {
  color: var(--dark);
  border-color: var(--dark);
}

@media (max-width: 800px) {
  .films-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .films-grid {
    grid-template-columns: 1fr;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--red-dark);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}
