/* ===== Variables ===== */
:root {
  --gold: #FFC107;
  --gold-light: #FFE082;
  --gold-bright: #FFEB3B;
  --gold-dark: #FF8F00;
  --gold-deep: #E65100;
  --gold-muted: #FFB300;
  --gold-glow: rgba(255, 193, 7, 0.6);
  --gold-glow-strong: rgba(255, 235, 59, 0.8);
  --bg-dark: #1A0F00;
  --bg-card: #2A1A05;
  --bg-card-hover: #3D2808;
  --bg-section: #221508;
  --text-primary: #FFF8E1;
  --text-secondary: #FFE082;
  --text-muted: #BCAAA4;
  --border-gold: rgba(255, 193, 7, 0.55);
  --border-gold-bright: rgba(255, 235, 59, 0.75);
  --shadow-gold: 0 4px 30px rgba(255, 193, 7, 0.35);
  --shadow-gold-strong: 0 8px 50px rgba(255, 193, 7, 0.55), 0 0 80px rgba(255, 152, 0, 0.2);
  --gradient-gold: linear-gradient(135deg, #FF8F00 0%, #FFC107 40%, #FFEB3B 70%, #FFD54F 100%);
  --gradient-gold-text: linear-gradient(90deg, #FF8F00, #FFC107, #FFEB3B, #FFC107, #FF8F00);
  --gradient-dark: linear-gradient(180deg, #1A0F00 0%, #2A1A05 50%, #1A0F00 100%);
  --font-main: 'Kanit', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* ===== Gold Particles & Orbs ===== */
.gold-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.gold-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 12s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.2) 0%, transparent 70%);
  bottom: 20%;
  left: -80px;
  animation-delay: -4s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 235, 59, 0.15) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  animation-delay: -8s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

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

a:hover {
  color: var(--gold-bright);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===== Gold Text Effects ===== */
.gold-heading {
  font-family: var(--font-main);
  font-weight: 700;
  background: var(--gradient-gold-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
  filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.4));
}

.shimmer-text {
  animation: pulseGold 2s ease-in-out infinite;
}

@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGold {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px rgba(255, 193, 7, 0.5); }
  50% { opacity: 0.85; text-shadow: 0 0 25px rgba(255, 235, 59, 0.8); }
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 15, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--border-gold);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(26, 15, 0, 0.97);
  box-shadow: var(--shadow-gold-strong);
  border-bottom-color: var(--gold-bright);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 15px var(--gold-glow);
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 12px rgba(255, 235, 59, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon i {
  animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold-light);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 152, 0, 0.15) 0%, rgba(26, 15, 0, 0.7) 50%, var(--bg-dark) 100%),
    url('../images/pyramids.jpg') center/cover no-repeat;
  padding: 100px 20px 60px;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 193, 7, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at center, transparent 0%, rgba(26, 15, 0, 0.5) 100%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(255, 193, 7, 0.03) 20px,
      rgba(255, 193, 7, 0.03) 21px
    );
  pointer-events: none;
}

.hero-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 235, 59, 0.08) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: heroShimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-subtitle {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
  text-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
}

.hero h1 {
  font-family: var(--font-main);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  background: var(--gradient-gold-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both, shimmerText 4s linear infinite;
  filter: drop-shadow(0 0 30px rgba(255, 193, 7, 0.5));
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--gold-light);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gradient-gold);
  color: #1A0F00;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid var(--gold-bright);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeInUp 0.8s ease 0.6s both, btnGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-gold-strong);
  color: #1A0F00;
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(255, 235, 59, 0.7); }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  font-size: 1rem;
  color: var(--gold);
  margin-top: 4px;
}

/* ===== Stats Overview ===== */
.stats-section {
  position: relative;
  z-index: 1;
  padding: 50px 0 70px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 100%);
}

.stats-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.stats-intro .section-tag i {
  margin-right: 6px;
}

.stats-intro h2 {
  margin: 12px 0 14px;
}

.stats-intro p {
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 28px 16px 24px;
  background: linear-gradient(145deg, rgba(42, 26, 5, 0.95), rgba(26, 15, 0, 0.95));
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-strong);
  border-color: var(--gold-bright);
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 1.2rem;
}

.stat-card .stat-number {
  display: block;
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(255, 235, 59, 0.5);
}

.stat-card .stat-label {
  font-size: 0.88rem;
  color: var(--gold-light);
  line-height: 1.4;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-gold);
  margin: 0 auto 40px;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 12px;
  padding: 6px 20px;
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  background: rgba(255, 193, 7, 0.1);
}

.section-header h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header p {
  color: var(--gold-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Topics Grid ===== */
.topics-section {
  background: var(--gradient-dark);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.topic-card {
  background: linear-gradient(145deg, #2A1A05, #1A0F00);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.topic-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--gradient-gold);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}

.topic-card:hover::after {
  opacity: 0.5;
  animation: borderGlow 1.5s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.topic-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-gold-strong);
  border-color: var(--gold-bright);
}

.topic-card:hover::before {
  transform: scaleX(1);
}

.topic-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.topic-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.topic-card:hover .topic-card-image img {
  transform: scale(1.08);
}

.topic-card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: rgba(26, 15, 0, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold-bright);
}

.topic-card-body {
  padding: 24px;
}

.topic-card-body h3 {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
}

.topic-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.topic-card-footer {
  padding: 0 24px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.topic-card-footer .arrow {
  transition: transform var(--transition);
}

.topic-card:hover .topic-card-footer .arrow {
  transform: translateX(4px);
}

/* ===== Gallery ===== */
.gallery-section {
  background: var(--bg-section);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 2px solid var(--border-gold);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold-bright);
  border-radius: var(--radius);
  opacity: 0;
  z-index: 2;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gallery-item:hover::before {
  opacity: 1;
  animation: borderPulse 1s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { box-shadow: inset 0 0 20px rgba(255, 193, 7, 0.3); }
  50% { box-shadow: inset 0 0 40px rgba(255, 235, 59, 0.5); }
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-gold-strong);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 15, 0, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay h4 {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.gallery-tap-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(26, 15, 0, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--gold);
}

/* ===== Videos ===== */
.videos-section {
  background: var(--gradient-dark);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.video-card {
  background: linear-gradient(145deg, #2A1A05, #1A0F00);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold-strong);
  border-color: var(--gold-bright);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

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

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.video-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Timeline ===== */
.timeline-section {
  background: var(--bg-section);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 24px;
  background: linear-gradient(135deg, #2A1A05, #1A0F00);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.timeline-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-gold-strong);
  border-color: var(--gold-bright);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 28px;
  width: 16px;
  height: 16px;
  background: var(--gold-bright);
  border: 3px solid var(--bg-section);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 235, 59, 0.8), 0 0 30px rgba(255, 193, 7, 0.4);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 235, 59, 0.8); }
  50% { box-shadow: 0 0 25px rgba(255, 235, 59, 1), 0 0 50px rgba(255, 193, 7, 0.6); }
}

.timeline-period {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #2A1A05, #1A0F00);
  border-top: 2px solid var(--gold);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-credit {
  padding: 24px;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  background: rgba(255, 193, 7, 0.08);
  box-shadow: var(--shadow-gold);
}

.footer-credit h4 {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.credit-main {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
}

.credit-detail {
  font-size: 0.9rem;
  color: var(--gold-light);
  line-height: 1.8;
}

.footer-uni {
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-brand h3 {
  font-family: var(--font-main);
  color: var(--gold-bright);
  margin: 8px 0 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-links h4 {
  font-family: var(--font-main);
  color: var(--gold-light);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-gold);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-gold-strong);
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 16px 0 0;
  z-index: 1;
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.modal-body {
  padding: 0 32px 32px;
  clear: both;
}

.modal-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
  border: 1px solid var(--border-gold);
}

.modal-inline-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 16px 0;
  border: 1px solid var(--border-gold);
}

.modal-body h2 {
  font-family: var(--font-main);
  font-size: 1.6rem;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.modal-body h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin: 24px 0 10px;
}

.modal-body p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.modal-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.modal-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-body ul li::before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 7px;
}

.modal-body ol.social-pyramid-list {
  padding-left: 1.4rem;
  margin-bottom: 20px;
}

.modal-body ol.social-pyramid-list li {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 0.25rem;
}

.modal-body ol.social-pyramid-list li::marker {
  color: var(--gold-bright);
  font-weight: 600;
}

.modal-body ol.social-pyramid-list em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 500;
}

.modal-highlight {
  background: rgba(255, 193, 7, 0.12);
  border-left: 4px solid var(--gold-bright);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 16px 0;
  box-shadow: inset 0 0 20px rgba(255, 193, 7, 0.05);
}

.modal-highlight p {
  color: var(--text-primary);
  margin: 0;
  font-style: italic;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-inner {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-gold-strong);
}

.lightbox-inner img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
}

.lightbox-info {
  padding: 24px;
}

.lightbox-info h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.lightbox-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

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

.modal-close,
.lightbox-close {
  font-size: 1rem;
}

.modal-close i,
.lightbox-close i {
  pointer-events: none;
}

.lightbox-nav {
  background: rgba(26, 15, 0, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 15, 0, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 2px solid var(--gold);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stats-section {
    padding: 40px 0 50px;
  }

  .section {
    padding: 60px 0;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(180deg, transparent 20%, rgba(26, 15, 0, 0.85) 100%);
  }

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

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-item::before {
    left: -28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-credit {
    order: -1;
  }

  .lightbox-content {
    flex-direction: column;
  }

  .lightbox-nav {
    position: absolute;
    bottom: -60px;
  }

  .lightbox-prev {
    left: calc(50% - 60px);
  }

  .lightbox-next {
    right: calc(50% - 60px);
    left: auto;
  }

  .modal-body {
    padding: 0 20px 24px;
  }
}

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

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

  .hero {
    min-height: 90vh;
  }
}
