*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --deep-black: #0a0603;
  --warm-orange: #e07b39;
  --dusty-brown: #8b5e3c;
  --gold: #d4a84b;
  --desert-yellow: #c9a84c;
  --dark-wood: #3d2211;
  --parchment: #f0e6d2;
  --ember: #ff6b35;
  --shadow: #1a0f08;
}

html { scroll-behavior: smooth; }

body {
  background: var(--deep-black);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  overflow-x: hidden;
  cursor: default;
}

/* ===== DUST PARTICLES OVERLAY ===== */
.dust-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 9999; overflow: hidden;
}
.dust-particle {
  position: absolute; border-radius: 50%; background: rgba(212,168,75,0.3);
  animation: dustFloat linear infinite;
}
@keyframes dustFloat {
  0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) translateX(100px) scale(1); opacity: 0; }
}
/* ===== VIGNETTE & CINEMATIC OVERLAYS ===== */
.vignette {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 100;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.film-grain {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 101; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep-black); }
::-webkit-scrollbar-thumb { background: var(--warm-orange); border-radius: 3px; }

/* ===== NAVIGATION ===== */
.nav-bar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.2rem 3rem; display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(10,6,3,0.95) 0%, transparent 100%);
  transition: all 0.5s ease;
}

.nav-bar.scrolled {
  background: rgba(10,6,3,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,168,75,0.15);
}
.nav-logo {
  font-family: 'Rye', serif; font-size: 1.3rem; color: var(--gold);
  letter-spacing: 4px; text-transform: uppercase;
  text-shadow: 0 0 20px rgba(212,168,75,0.3);
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 3px;
  color: var(--parchment); text-decoration: none; text-transform: uppercase;
  position: relative; padding-bottom: 4px; opacity: 0.7; transition: all 0.4s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px;
  background: var(--gold); transition: all 0.4s ease; transform: translateX(-50%);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* Mr Boylee Header Link */
.nav-logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.nav-logo-link:hover .nav-logo {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(212,168,75,0.5);
}
/* End of the Code */

/* ===== HERO SECTION ===== */
.hero {
  position: relative; width: 100%; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, 
    #1a0f08 0%, 
    #2d1810 20%, 
    #4a2a15 40%, 
    #8b4513 55%, 
    #d2691e 65%, 
    #ff8c42 70%, 
    #e07b39 75%, 
    #8b4513 85%, 
    #2d1810 100%
  );
}

/* Animated desert horizon */
.hero-horizon {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 45%;
  background: 
    linear-gradient(to top, rgba(10,6,3,1) 0%, rgba(61,34,17,0.9) 30%, transparent 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300'%3E%3Cpath d='M0,300 L0,180 Q150,120 300,160 Q450,200 600,140 Q750,80 900,130 Q1050,180 1200,120 L1200,300 Z' fill='%233d2211'/%3E%3Cpath d='M0,300 L0,200 Q200,170 400,210 Q600,250 800,190 Q1000,130 1200,180 L1200,300 Z' fill='%232d1810' opacity='0.7'/%3E%3C/svg%3E");
  background-size: cover; background-position: bottom;
}

/* Sun */
.hero-sun {
  position: absolute; top: 35%; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,140,66,0.9) 0%, rgba(224,123,57,0.4) 40%, transparent 70%);
  box-shadow: 0 0 100px rgba(255,140,66,0.5), 0 0 200px rgba(224,123,57,0.2);
  animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.9; }
  50% { transform: translateX(-50%) scale(1.05); opacity: 1; }
}

/* Clouds */
.cloud {
  position: absolute; background: rgba(255,200,150,0.08); border-radius: 100px;
  animation: cloudMove linear infinite;
}
.cloud:nth-child(1) { width: 300px; height: 60px; top: 15%; animation-duration: 80s; }
.cloud:nth-child(2) { width: 200px; height: 40px; top: 25%; animation-duration: 100s; animation-delay: -30s; }
.cloud:nth-child(3) { width: 400px; height: 80px; top: 10%; animation-duration: 120s; animation-delay: -60s; }
@keyframes cloudMove {
  0% { left: -30%; }
  100% { left: 130%; }
}

/* Birds */
.bird {
  position: absolute; opacity: 0.3;
  animation: birdFly linear infinite;
}
.bird svg { width: 20px; height: 10px; fill: var(--parchment); }
@keyframes birdFly {
  0% { left: -5%; top: 20%; transform: scale(0.5); }
  100% { left: 105%; top: 15%; transform: scale(0.3); }
}

/* Hero Content */
.hero-content {
  position: relative; z-index: 10; text-align: center;
  animation: heroFadeIn 2s ease-out forwards;
  opacity: 0;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity:1; transform: translateY(0); }
}

.hero-subtitle {
  font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 8px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1rem;
  opacity: 0.8;
}

.hero-title {
  font-family: 'Rye', serif; font-size: clamp(3rem, 10vw, 8rem);
  color: var(--parchment); letter-spacing: 12px;
  text-shadow: 
    0 0 40px rgba(212,168,75,0.3),
    0 4px 20px rgba(0,0,0,0.8),
    0 0 80px rgba(224,123,57,0.2);
  line-height: 1.1; margin-bottom: 0.5rem;
}

.hero-tagline {
  font-family: 'IM Fell English', serif; font-size: 1.3rem; font-style: italic;
  color: var(--warm-orange); letter-spacing: 3px; margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
}

.btn-primary {
  font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--deep-black); background: var(--gold);
  border: 2px solid var(--gold); padding: 1rem 3rem;
  cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.4s ease; text-decoration: none; display: inline-block;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: transparent; color: var(--gold);
  box-shadow: 0 0 30px rgba(212,168,75,0.4);
}

.btn-secondary {
  font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--parchment); background: transparent;
  border: 1px solid rgba(212,168,75,0.4); padding: 1rem 3rem;
  cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.4s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 20px rgba(212,168,75,0.2);
}

.music-indicator {
  display: inline-block; width: 3px; height: 12px; background: var(--gold);
  animation: musicBar 1s ease-in-out infinite; margin: 0 1px;
}
.music-indicator:nth-child(2) { animation-delay: 0.2s; height: 16px; }
.music-indicator:nth-child(3) { animation-delay: 0.4s; height: 10px; }
@keyframes musicBar {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0.6;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
.scroll-hint span {
  font-family: 'Cinzel', serif; font-size: 0.6rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center; margin-bottom: 4rem; position: relative;
}
.section-label {
  font-family: 'Cinzel', serif; font-size: 0.7rem; letter-spacing: 6px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-family: 'Rye', serif; font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--parchment); letter-spacing: 4px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.section-divider {
  width: 80px; height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1.5rem auto 0;
}

/* ===== THE WORLD SECTION ===== */
.world-section {
  padding: 8rem 2rem; position: relative;
  background: linear-gradient(180deg, var(--deep-black) 0%, var(--shadow) 50%, var(--deep-black) 100%);
}

.world-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.world-card {
  background: linear-gradient(145deg, rgba(61,34,17,0.4) 0%, rgba(26,15,8,0.6) 100%);
  border: 1px solid rgba(212,168,75,0.15); padding: 2.5rem;
  position: relative; overflow: hidden; cursor: pointer;
  transition: all 0.5s ease;
}
.world-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.5s ease;
}
.world-card:hover::before { transform: scaleX(1); }
.world-card:hover {
  border-color: rgba(212,168,75,0.4);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(212,168,75,0.05);
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2rem; margin-bottom: 1rem; opacity: 0.7;
}
.card-title {
  font-family: 'Cinzel', serif; font-size: 1.1rem; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 0.8rem; text-transform: uppercase;
}
.card-desc {
  font-size: 1rem; line-height: 1.7; color: rgba(240,230,210,0.7);
  font-style: italic;
}

/* ===== MUSIC SECTION ===== */
.music-section {
  padding: 8rem 2rem; position: relative;
  background: linear-gradient(180deg, var(--deep-black) 0%, #120a05 50%, var(--deep-black) 100%);
}

.music-jukebox {
  max-width: 800px; margin: 0 auto;
  background: linear-gradient(145deg, rgba(61,34,17,0.6) 0%, rgba(20,10,5,0.8) 100%);
  border: 2px solid rgba(212,168,75,0.2); border-radius: 4px;
  padding: 3rem; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), inset 0 0 40px rgba(212,168,75,0.03);
}
.music-jukebox::before {
  content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.jukebox-header {
  text-align: center; margin-bottom: 2.5rem;
}
.jukebox-title {
  font-family: 'Rye', serif; font-size: 1.5rem; color: var(--gold);
  letter-spacing: 4px; margin-bottom: 0.5rem;
}
.jukebox-subtitle {
  font-family: 'IM Fell English', serif; font-style: italic;
  color: rgba(240,230,210,0.5); font-size: 0.95rem;
}

.track-list { display: flex; flex-direction: column; gap: 0.8rem; }

.track-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.2rem 1.5rem; background: rgba(10,6,3,0.5);
  border: 1px solid rgba(212,168,75,0.1); cursor: pointer;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.track-item::before {
  content: ''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--gold); transform: scaleY(0); transition: transform 0.3s ease;
}
.track-item:hover::before, .track-item.playing::before { transform: scaleY(1); }
.track-item:hover {
  background: rgba(61,34,17,0.4); border-color: rgba(212,168,75,0.3);
}
.track-item.playing {
  background: rgba(61,34,17,0.5); border-color: rgba(212,168,75,0.4);
}

.track-number {
  font-family: 'Cinzel', serif; font-size: 0.75rem; color: var(--gold);
  width: 30px; text-align: center; opacity: 0.6;
}
.track-info { flex: 1; }
.track-name {
  font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 2px;
  color: var(--parchment); margin-bottom: 0.2rem;
}
.track-meta {
  font-size: 0.8rem; color: rgba(240,230,210,0.4); font-style: italic;
}
.track-duration {
  font-family: 'Cinzel', serif; font-size: 0.75rem; color: var(--gold);
  opacity: 0.6;
}
.track-play-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(212,168,75,0.4); background: transparent;
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease; font-size: 0.8rem;
}
.track-play-btn:hover {
  background: var(--gold); color: var(--deep-black);
  box-shadow: 0 0 20px rgba(212,168,75,0.4);
}

/* Visualizer bars */
.visualizer {
  display: flex; align-items: flex-end; gap: 3px; height: 20px;
  opacity: 0; transition: opacity 0.3s ease;
}
.track-item.playing .visualizer { opacity: 1; }
.viz-bar {
  width: 3px; background: var(--gold); border-radius: 1px;
  animation: vizDance 0.8s ease-in-out infinite;
}
.viz-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.viz-bar:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.viz-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.viz-bar:nth-child(4) { height: 16px; animation-delay: 0.15s; }
.viz-bar:nth-child(5) { height: 6px; animation-delay: 0.3s; }
@keyframes vizDance {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* ===== LEGEND SECTION ===== */
.legend-section {
  padding: 8rem 2rem; position: relative;
  background: linear-gradient(180deg, var(--deep-black) 0%, #0d0703 50%, var(--deep-black) 100%);
}

.legend-container {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center;
}

.legend-portrait {
  position: relative; aspect-ratio: 3/4;
  border: 2px solid rgba(212,168,75,0.2); overflow: hidden;
}
.legend-portrait::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,6,3,0.8) 100%);
  z-index: 2;
}
.legend-portrait::after {
  content: ''; position: absolute; inset: -2px;
  border: 1px solid var(--gold); opacity: 0.3;
  animation: portraitGlow 4s ease-in-out infinite;
}

@keyframes portraitGlow {
  0%, 100% { opacity: 0.2; box-shadow: inset 0 0 30px rgba(212,168,75,0.1); }
  50% { opacity: 0.5; box-shadow: inset 0 0 50px rgba(212,168,75,0.2); }
}

.portrait-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #2d1810 0%, #4a2a15 30%, #1a0f08 70%, #0d0703 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.portrait-silhouette {
  width: 60%; height: 80%;
  background: linear-gradient(180deg, rgba(10,6,3,0.9) 0%, rgba(61,34,17,0.6) 100%);
  clip-path: polygon(35% 0%, 65% 0%, 80% 20%, 85% 40%, 80% 60%, 75% 80%, 70% 100%, 30% 100%, 25% 80%, 20% 60%, 15% 40%, 20% 20%);
  position: relative;
}
.portrait-hat {
  position: absolute; top: 5%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 15%;
  background: linear-gradient(180deg, #1a0f08 0%, #0d0703 100%);
  border-radius: 50% 50% 0 0;
}
.portrait-frame-corner {
  position: absolute; width: 20px; height: 20px; border: 2px solid var(--gold);
  opacity: 0.5;
}
.portrait-frame-corner.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.portrait-frame-corner.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.portrait-frame-corner.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.portrait-frame-corner.br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.legend-text h3 {
  font-family: 'Rye', serif; font-size: 2rem; color: var(--gold);
  letter-spacing: 3px; margin-bottom: 0.5rem;
}
.legend-text .legend-sub {
  font-family: 'IM Fell English', serif; font-style: italic;
  color: var(--warm-orange); font-size: 1.1rem; margin-bottom: 2rem;
}
.legend-bio {
  font-size: 1.05rem; line-height: 1.9; color: rgba(240,230,210,0.75);
  margin-bottom: 2rem;
}
.legend-quote {
  font-family: 'IM Fell English', serif; font-style: italic;
  font-size: 1.3rem; color: var(--gold); line-height: 1.6;
  padding-left: 1.5rem; border-left: 2px solid rgba(212,168,75,0.3);
  margin-bottom: 2rem;
}

/* Additional CSS for the Legend Image*/
.legend-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.legend-socials {
  display: flex; gap: 1rem;
}
.social-link {
  width: 45px; height: 45px; border: 1px solid rgba(212,168,75,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); text-decoration: none; font-size: 1rem;
  transition: all 0.4s ease;
}
.social-link:hover {
  background: var(--gold); color: var(--deep-black);
  box-shadow: 0 0 20px rgba(212,168,75,0.3);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 8rem 2rem; position: relative;
  background: var(--deep-black);
}

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

.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(212,168,75,0.1);
  transition: all 0.5s ease;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(6) { grid-row: span 2; }

.gallery-item:hover {
  border-color: rgba(212,168,75,0.4);
  box-shadow: 0 0 40px rgba(212,168,75,0.15);
}

.gallery-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0f08 0%, #3d2211 50%, #2d1810 100%);
  position: relative; overflow: hidden;
}
.gallery-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(45deg, 
    rgba(212,168,75,0.05) 0%, 
    transparent 50%, 
    rgba(224,123,57,0.05) 100%
  );
}

/* Decorative patterns for gallery placeholders */
.gallery-pattern-1 {
  background: 
    radial-gradient(ellipse at 30% 40%, rgba(212,168,75,0.1) 0%, transparent 50%),
    linear-gradient(180deg, #1a0f08 0%, #3d2211 100%);
}
.gallery-pattern-2 {
  background: 
    radial-gradient(circle at 70% 60%, rgba(224,123,57,0.08) 0%, transparent 40%),
    linear-gradient(135deg, #2d1810 0%, #1a0f08 100%);
}
.gallery-pattern-3 {
  background: 
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(212,168,75,0.03) 20px, rgba(212,168,75,0.03) 21px),
    linear-gradient(180deg, #0d0703 0%, #2d1810 100%);
}
.gallery-pattern-4 {
  background: 
    radial-gradient(ellipse at 50% 80%, rgba(139,94,60,0.15) 0%, transparent 60%),
    linear-gradient(0deg, #3d2211 0%, #1a0f08 100%);
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,6,3,0.9) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; opacity: 0; transition: all 0.5s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  font-family: 'Cinzel', serif; font-size: 0.85rem; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
}
.gallery-desc {
  font-size: 0.85rem; color: rgba(240,230,210,0.6); margin-top: 0.3rem;
  font-style: italic;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,6,3,0.95); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.5s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content {
  max-width: 90vw; max-height: 85vh;
  border: 2px solid rgba(212,168,75,0.3);
  position: relative;
}
.lightbox-close {
  position: absolute; top: -50px; right: 0;
  color: var(--gold); font-size: 2rem; cursor: pointer;
  background: none; border: none;
}

/* ===== LIVE FEED SECTION ===== */
.feed-section {
  padding: 8rem 2rem; position: relative;
  background: linear-gradient(180deg, var(--deep-black) 0%, #0a0502 50%, var(--deep-black) 100%);
}

.feed-container {
  max-width: 900px; margin: 0 auto;
  border: 1px solid rgba(212,168,75,0.15);
  background: rgba(10,6,3,0.5);
  position: relative;
}
.feed-container::before {
  content: 'LIVE TRANSMISSION'; position: absolute; top: -12px; left: 2rem;
  background: var(--deep-black); padding: 0 1rem;
  font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 4px;
  color: var(--gold);
}

.feed-header {
  padding: 1.5rem 2rem; border-bottom: 1px solid rgba(212,168,75,0.1);
  display: flex; justify-content: space-between; align-items: center;
}
.feed-status {
  display: flex; align-items: center; gap: 0.5rem;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 5px #4ade80; }
  50% { opacity: 0.5; box-shadow: 0 0 15px #4ade80; }
}
.status-text {
  font-family: 'Cinzel', serif; font-size: 0.65rem; letter-spacing: 3px;
  color: #4ade80;
}

.feed-list { padding: 0; }

.feed-item {
  padding: 1.5rem 2rem; border-bottom: 1px solid rgba(212,168,75,0.08);
  display: flex; gap: 1.5rem; align-items: flex-start;
  transition: all 0.3s ease; cursor: pointer;
}
.feed-item:hover {
  background: rgba(61,34,17,0.2);
}
.feed-item:last-child { border-bottom: none; }

.feed-time {
  font-family: 'Cinzel', serif; font-size: 0.7rem; color: var(--gold);
  opacity: 0.5; min-width: 60px; text-align: right;
}
.feed-content { flex: 1; }
.feed-title {
  font-family: 'Cinzel', serif; font-size: 0.9rem; letter-spacing: 2px;
  color: var(--parchment); margin-bottom: 0.3rem;
}
.feed-text {
  font-size: 0.95rem; color: rgba(240,230,210,0.6); line-height: 1.6;
  font-style: italic;
}
.feed-tag {
  display: inline-block; padding: 0.2rem 0.6rem;
  font-family: 'Cinzel', serif; font-size: 0.6rem; letter-spacing: 2px;
  text-transform: uppercase; margin-top: 0.5rem;
}
.tag-mission { background: rgba(212,168,75,0.15); color: var(--gold); }
.tag-news { background: rgba(74,222,128,0.1); color: #4ade80; }
.tag-warning { background: rgba(255,107,53,0.15); color: var(--ember); }

/* ===== FOOTER ===== */
.footer {
  padding: 6rem 2rem 3rem; position: relative;
  background: linear-gradient(180deg, var(--deep-black) 0%, #050301 100%);
  border-top: 1px solid rgba(212,168,75,0.1);
}

.lantern-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,75,0.3) 0%, rgba(224,123,57,0.1) 40%, transparent 70%);
  animation: lanternFlicker 3s ease-in-out infinite;
}
@keyframes lanternFlicker {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  25% { opacity: 1; transform: translateX(-50%) scale(1.1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(0.95); }
  75% { opacity: 0.9; transform: translateX(-50%) scale(1.05); }
}

.footer-content {
  max-width: 800px; margin: 0 auto; text-align: center;
}

.footer-quote {
  font-family: 'IM Fell English', serif; font-style: italic;
  font-size: 1.4rem; color: var(--gold); line-height: 1.8;
  margin-bottom: 2rem; opacity: 0.8;
}

.footer-socials {
  display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 3rem;
}
.footer-socials a {
  color: rgba(240,230,210,0.5); text-decoration: none;
  font-family: 'Cinzel', serif; font-size: 0.75rem; letter-spacing: 3px;
  text-transform: uppercase; transition: all 0.4s ease;
  position: relative;
} 
.footer-socials a::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.4s ease;
}
.footer-socials a:hover { color: var(--gold); }
.footer-socials a:hover::after { width: 100%; }

.footer-copy {
  font-size: 0.8rem; color: rgba(240,230,210,0.3);
  letter-spacing: 2px;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1; transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { letter-spacing: 6px; }
  .legend-container { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
  .gallery-item:nth-child(6) { grid-row: span 1; }
  .world-grid { grid-template-columns: 1fr; }
  .feed-item { flex-direction: column; gap: 0.5rem; }
  .feed-time { text-align: left; }
}

/* ===== PARALLAX LAYERS ===== */
.parallax-layer {
  position: absolute; width: 100%; height: 100%; top: 0; left: 0;
  pointer-events: none;
}
