:root {
  --gold: #C5A047;
  --gold-light: #DDB754;
  --gold-dark: #987B32;
  --navy: #0C1E36;
  --navy-light: #16325B;
  --white: #FFFFFF;
  
  --bg-main: #F4F7FB;
  --bg-card: #FFFFFF;
  
  --text-main: #0C1E36;
  --text-light: #FFFFFF;
  --text-muted: rgba(12, 30, 54, 0.65);
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(197, 160, 71, 0.28);
  
  --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg-main); color: var(--text-main); overflow-x: hidden; min-height: 100vh; }

/* CUSTOM CURSOR */
.custom-cursor { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; position: fixed; transform: translate(-50%, -50%); pointer-events: none; z-index: 1000000; transition: width 0.2s, height 0.2s, background-color 0.2s, opacity 0.2s; display: none !important; }
.custom-cursor-follower { width: 36px; height: 36px; border: 1.5px solid var(--gold); border-radius: 50%; position: fixed; transform: translate(-50%, -50%); pointer-events: none; z-index: 999999; display: flex; align-items: center; justify-content: center; transition: transform 0.08s ease-out, width 0.25s, height 0.25s, background-color 0.25s, border-color 0.25s; display: none !important; }

@media (hover: hover) and (pointer: fine) {
  body, body a, body button, body input, body [role="button"] { cursor: none !important; }
  .custom-cursor { display: block !important; }
  .custom-cursor-follower { display: flex !important; }
}
body.desktop-cursor,
body.desktop-cursor a,
body.desktop-cursor button,
body.desktop-cursor input,
body.desktop-cursor [role="button"] {
  cursor: none !important;
}
body.desktop-cursor .custom-cursor {
  display: block !important;
}
body.desktop-cursor .custom-cursor-follower {
  display: flex !important;
}

.cursor-lbl { color: var(--gold); font-size: 0.6rem; font-weight: 900; letter-spacing: 0.1em; opacity: 0; text-transform: uppercase; transition: opacity 0.2s; pointer-events: none; }

.custom-cursor.hover { background: var(--gold); width: 12px; height: 12px; }
.custom-cursor-follower.hover { border-color: var(--gold); width: 50px; height: 50px; background: rgba(197,160,71,0.08); }

/* Specific Gallery Hover Cursor State */
.custom-cursor.hover-gallery { opacity: 0; }
.custom-cursor-follower.hover-gallery { width: 75px; height: 75px; background: var(--navy); border-color: var(--gold); }
.custom-cursor-follower.hover-gallery .cursor-lbl { opacity: 1; color: var(--gold); }

/* Specific Speaker Hover Cursor State */
.custom-cursor.hover-speaker { opacity: 0; }
.custom-cursor-follower.hover-speaker { width: 75px; height: 75px; background: var(--gold); border-color: var(--gold); }
.custom-cursor-follower.hover-speaker .cursor-lbl { opacity: 1; color: var(--white); font-size: 1rem; }

/* PARTICLES */
#particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.45; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.5rem 3rem; display: flex; align-items: center; justify-content: space-between; background: transparent; transition: var(--transition); }
.navbar.scrolled { padding: 1rem 3rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(197, 160, 71, 0.22); box-shadow: 0 10px 30px rgba(12,30,54,0.05); }
.nav-logo-wrap { display: flex; align-items: center; background: var(--white); padding: 0.5rem 1.2rem; border-radius: 100px; border: 2px solid var(--gold); box-shadow: 0 10px 25px rgba(197,160,71,0.2); text-decoration: none; transition: var(--transition); }
.nav-logo-wrap:hover { transform: scale(1.03) rotate(-1deg); box-shadow: 0 15px 35px rgba(197,160,71,0.35); }
.nav-logo-wrap img { height: 42px; width: auto; object-fit: contain; }
.nav-logo-wrap .nav-logo-text { display: flex; flex-direction: column; margin-left: 0.8rem; line-height: 1.1; }
.nav-logo-wrap .nav-logo-text .top { font-size: 0.82rem; font-weight: 900; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; }
.nav-logo-wrap .nav-logo-text .sub { font-size: 0.58rem; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.08em; }

.nav-contact { display: flex; align-items: center; gap: 2rem; font-size: 0.82rem; font-weight: 600; }
.nav-contact a { color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.nav-contact a:hover { color: var(--gold); }
.nav-socials { display: flex; gap: 0.8rem; align-items: center; }
.nav-social-link { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold-light); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); text-decoration: none; font-size: 0.95rem; transition: var(--transition); background: var(--white); box-shadow: 0 4px 12px rgba(12, 30, 54, 0.05); }
.nav-social-link:hover { border-color: var(--gold); color: var(--white); transform: translateY(-3px) scale(1.1); background: var(--gold); box-shadow: 0 8px 20px rgba(197, 160, 71, 0.35); }
.nav-actions { display: flex; align-items: center; gap: 1.5rem; }

/* HERO (MAXIMALIST LIGHT) */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 8rem 2rem 5rem; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.9), transparent), linear-gradient(180deg, #FFFFFF 0%, #EBF1F7 60%, var(--bg-main) 100%); z-index: 1; }
.hero-africa-map { position: absolute; top: 48%; left: 52%; transform: translate(-50%,-50%); width: min(780px,95vw); opacity: 0.12; z-index: 1; pointer-events: none; }
.hero-africa-map path { fill: rgba(12, 30, 54, 0.03); stroke: rgba(12, 30, 54, 0.07); stroke-width: 1.5; }
.hero-content { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; text-align: center; }

.hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 2rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.6rem 1.8rem; background: rgba(255,255,255,0.9); border: 2px solid var(--gold); border-radius: 100px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); box-shadow: 0 10px 30px rgba(197,160,71,0.15); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

.hero-title-massive { font-size: clamp(3.8rem, 15vw, 11rem); font-weight: 900; line-height: 0.82; letter-spacing: -0.04em; margin-bottom: 1.5rem; text-transform: uppercase; }
.hero-title-massive .coming { display: block; color: var(--navy); font-style: italic; }
.hero-title-massive .soon { display: block; background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 950; filter: drop-shadow(0 4px 30px rgba(197,160,71,0.25)); }

.hero-theme-block { font-family: 'Playfair Display', serif; font-size: clamp(1rem, 2.5vw, 1.65rem); color: var(--navy); line-height: 1.45; max-width: 900px; margin: 0 auto 3rem; font-weight: 700; position: relative; padding: 1.5rem 0; }
.hero-theme-block::before, .hero-theme-block::after { content: ''; position: absolute; left: 25%; right: 25%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-theme-block::before { top: 0; }
.hero-theme-block::after { bottom: 0; }

.hero-meta-large { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-meta-item-lg { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-meta-item-lg i { color: var(--gold); font-size: 1.1rem; }
.hero-meta-item-lg strong { color: var(--gold-dark); }

/* COUNTDOWN (DESTRUCTURED) */
.countdown-block { display: inline-flex; gap: 1rem; margin-bottom: 3.5rem; }
.cd-circle { width: 100px; height: 100px; border-radius: 50%; border: 2px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--white); box-shadow: 0 15px 35px rgba(12,30,54,0.1); transition: var(--transition); }
.cd-circle:hover { transform: scale(1.08) translateY(-5px); border-color: var(--navy); box-shadow: 0 20px 45px rgba(197,160,71,0.25); }
.cd-circle-num { font-size: 2rem; font-weight: 800; color: var(--gold-dark); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-circle-lbl { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 0.2rem; }

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

/* CTAS */
.btn-maximalist-gold { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.2rem 3rem; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--white); font-weight: 900; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 100px; border: 2px solid var(--gold-light); cursor: pointer; transition: var(--transition); box-shadow: 0 12px 35px rgba(197,160,71,0.35); position: relative; overflow: hidden; }
.btn-maximalist-gold::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.6s; }
.btn-maximalist-gold:hover::before { left: 100%; }
.btn-maximalist-gold:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 45px rgba(197,160,71,0.5); color: var(--white); }

.btn-maximalist-outline { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.2rem 3rem; background: transparent; color: var(--navy); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border-radius: 100px; border: 2px solid rgba(12, 30, 54, 0.4); cursor: pointer; transition: var(--transition); }
.btn-maximalist-outline:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(197,160,71,0.08); transform: translateY(-4px) scale(1.02); }

/* MARQUEE STATS */
.diagonal-marquee-wrap { background: var(--gold); overflow: hidden; position: relative; z-index: 10; padding: 2.2rem 0; width: 110%; margin-left: -5%; transform: rotate(-2.5deg); box-shadow: 0 15px 45px rgba(12,30,54,0.15); margin-top: -3rem; margin-bottom: 5rem; }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 32s linear infinite; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-stat-box { display: flex; align-items: center; gap: 1.5rem; padding: 0 3rem; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: clamp(2.2rem, 5vw, 4.2rem); color: var(--white); text-transform: uppercase; white-space: nowrap; }
.marquee-stat-box span { font-weight: 950; font-size: 1.25em; -webkit-text-stroke: 2px var(--white); -webkit-text-fill-color: transparent; }
.marquee-star { font-size: 2.5rem; color: var(--white); margin: 0 1rem; }

/* SECTIONS BASE */
.section { position: relative; z-index: 2; padding: 8rem 3rem; overflow: hidden; }
.section-header-maximalist { margin-bottom: 6rem; position: relative; }
.section-tag-max { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.5rem; display: block; }
.section-title-max { font-size: clamp(2.5rem, 8vw, 6.2rem); font-weight: 900; line-height: 0.9; text-transform: uppercase; letter-spacing: -0.03em; color: var(--navy); }
.section-title-max .accent { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc-max { font-size: 1.15rem; color: var(--text-muted); max-width: 650px; line-height: 1.7; margin-top: 2rem; }

/* SECTION MODIFIER FOR DARK BACKGROUNDS */
.section-dark .section-title-max { color: var(--white); }
.section-dark .section-desc-max { color: rgba(255, 255, 255, 0.65); }
.section-dark .section-tag-max { color: var(--gold-light); }

/* ABOUT SECTION (ASYMMETRIC LAYOUT) */
.about-max-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; max-width: 1200px; margin: 0 auto; align-items: center; }
.about-cards-pile { position: relative; height: 500px; }
.about-pile-card { position: absolute; width: 80%; border-radius: 24px; padding: 3rem; background: var(--white); border: 2px solid var(--glass-border); backdrop-filter: blur(15px); box-shadow: 0 25px 55px rgba(12,30,54,0.08); transition: var(--transition); }
.about-pile-card h3 { font-size: 1.6rem; font-weight: 800; color: var(--gold-dark); margin-bottom: 1rem; text-transform: uppercase; }
.about-pile-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.about-pile-card-1 { top: 0; left: 0; z-index: 3; }
.about-pile-card-2 { top: 70px; left: 10%; z-index: 2; border-color: rgba(197,160,71,0.15); opacity: 0.9; }
.about-pile-card-3 { top: 140px; left: 20%; z-index: 1; border-color: rgba(197,160,71,0.08); opacity: 0.8; }
.about-pile-card:hover { transform: translateY(-10px) scale(1.02); z-index: 10; border-color: var(--gold); box-shadow: 0 35px 70px rgba(197,160,71,0.18); }

.about-features { display: flex; flex-direction: column; gap: 2.5rem; }
.about-feature-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.about-feature-icon { width: 68px; height: 68px; border-radius: 20px; background: rgba(197,160,71,0.1); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--gold-dark); flex-shrink: 0; box-shadow: 0 10px 25px rgba(197,160,71,0.1); }
.about-feature-text h4 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; text-transform: uppercase; }
.about-feature-text p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* KINETIC WATERMARK TEXT */
.kinetic-watermark { font-size: clamp(5rem, 18vw, 15rem); font-weight: 950; text-transform: uppercase; color: rgba(12,30,54,0.015); -webkit-text-stroke: 1px rgba(12,30,54,0.025); position: absolute; z-index: 0; pointer-events: none; white-space: nowrap; user-select: none; }
.watermark-1 { top: 15%; left: -5%; transform: rotate(-5deg); }
.watermark-2 { bottom: 10%; right: -5%; transform: rotate(3deg); }

/* PROGRAMME (TIMELINE) */
.programme-max-timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 3rem; }
.programme-max-timeline::before { content: ''; position: absolute; left: 15.5px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--gold) 0%, var(--gold-light) 50%, transparent 100%); }

.timeline-day-card { position: relative; margin-bottom: 5rem; }
.timeline-dot { position: absolute; left: -44px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-main); border: 4px solid var(--gold); box-shadow: 0 0 15px var(--gold); transition: var(--transition); z-index: 5; }
.timeline-day-card.active .timeline-dot { background: var(--gold); transform: scale(1.25); box-shadow: 0 0 25px var(--gold); }

.timeline-content-inner { background: var(--white); border: 2px solid var(--glass-border); border-radius: 28px; padding: 3rem; box-shadow: 0 20px 45px rgba(12,30,54,0.06); transition: var(--transition); }
.timeline-day-card.active .timeline-content-inner { border-color: var(--gold); box-shadow: 0 25px 55px rgba(197,160,71,0.15); }
.timeline-day-num { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.5rem; }
.timeline-day-title { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 1.8rem; text-transform: uppercase; }

.timeline-event-list { display: flex; flex-direction: column; gap: 1.2rem; }
.timeline-event-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.95rem; color: var(--text-main); line-height: 1.5; }
.timeline-event-item i { color: var(--gold); margin-top: 0.2rem; }

/* SPEAKERS (VOGUE) */
.speakers-list-wrap { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(12,30,54,0.1); }
.speaker-row { display: flex; justify-content: space-between; align-items: center; padding: 2.2rem 1.5rem; border-bottom: 1px solid rgba(12,30,54,0.1); text-decoration: none; color: var(--navy); transition: var(--transition); position: relative; }
.speaker-row:hover { background: rgba(197,160,71,0.06); padding-left: 2.5rem; padding-right: 2.5rem; }
.speaker-row-num { font-size: 1.1rem; font-weight: 700; color: var(--gold-dark); opacity: 0.7; }
.speaker-row-name { font-size: clamp(1.8rem, 3.5vw, 3.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
.speaker-row-role { font-size: 0.95rem; color: var(--text-muted); max-width: 350px; text-align: right; line-height: 1.4; }
.speaker-row:hover .speaker-row-name { color: var(--gold-dark); }

/* FLOAT IMAGE FOR SPEAKERS */
.speaker-hover-image-container { position: fixed; width: 280px; height: 380px; pointer-events: none; z-index: 9999; opacity: 0; transform: scale(0.65) translate(-50%, -50%); transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(12,30,54,0.25); border: 2px solid var(--gold); display: none !important; }
@media (hover: hover) and (pointer: fine) {
  .speaker-hover-image-container { display: block !important; }
}
body.desktop-cursor .speaker-hover-image-container {
  display: block !important;
}
.speaker-hover-image-container img { width: 100%; height: 100%; object-fit: cover; }

/* AWARDS */
.awards-max-grid { 
  display: grid; 
  grid-template-columns: repeat(12, 1fr); 
  gap: 1.8rem; 
  max-width: 1200px; 
  margin: 0 auto; 
  position: relative; 
  z-index: 2; 
}
.award-max-card { 
  background: rgba(12, 30, 54, 0.45); 
  border: 1.5px solid rgba(197, 160, 71, 0.18); 
  border-radius: 24px; 
  padding: 2.5rem; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s, box-shadow 0.4s, background-color 0.4s; 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  backdrop-filter: blur(15px); 
  -webkit-backdrop-filter: blur(15px); 
  position: relative; 
  overflow: hidden; 
  min-height: 270px;
}
.award-max-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: grayscale(0.6) contrast(1.05) brightness(0.8);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, filter 0.8s ease;
  z-index: 1;
  pointer-events: none;
}
.award-max-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 36, 0.78) 0%, rgba(7, 18, 36, 0.22) 100%);
  z-index: 2;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.award-max-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  flex-grow: 1;
}
.award-max-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--gold); 
  background: rgba(12, 30, 54, 0.7); 
  box-shadow: 0 25px 50px rgba(197, 160, 71, 0.15), inset 0 0 25px rgba(197, 160, 71, 0.04); 
}
.award-max-card:hover .award-max-bg-img {
  transform: scale(1.08) rotate(1deg);
  opacity: 0.45;
  filter: grayscale(0) contrast(1.05) brightness(0.95);
}
.award-max-icon { 
  font-size: 2.4rem; 
  margin-bottom: 2rem; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 160, 71, 0.25);
  border-radius: 16px;
  padding: 0.6rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(197, 160, 71, 0.12), inset 0 1px 0 rgba(255,255,255,0.08);
  filter: drop-shadow(0 2px 8px rgba(197,160,71,0.2)); 
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s, box-shadow 0.3s; 
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.award-max-card:hover .award-max-icon { 
  transform: scale(1.12) rotate(4deg);
  background: rgba(197, 160, 71, 0.18);
  box-shadow: 0 8px 24px rgba(197, 160, 71, 0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}
.award-max-card h4 { 
  font-size: 1.2rem; 
  font-weight: 800; 
  color: var(--gold-light); 
  margin-bottom: 0.8rem; 
  text-transform: uppercase; 
  line-height: 1.35; 
  letter-spacing: 0.04em; 
  transition: color 0.3s; 
}
.award-max-card:hover h4 { 
  color: var(--white); 
}
.award-max-card p { 
  font-size: 0.88rem; 
  color: rgba(255, 255, 255, 0.65); 
  line-height: 1.6; 
  font-weight: 400; 
  transition: color 0.3s; 
}
.award-max-card:hover p { 
  color: rgba(255, 255, 255, 0.85); 
}

.sz-6 { grid-column: span 6; }
.sz-4 { grid-column: span 4; }
.sz-8 { grid-column: span 8; }
.sz-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .sz-4 { grid-column: span 6; }
  .sz-8 { grid-column: span 6; }
}
@media (max-width: 768px) {
  .awards-max-grid { gap: 1.2rem; }
  .award-max-card { padding: 2rem; min-height: 220px; }
  .award-max-icon { font-size: 2rem; width: 58px; height: 58px; margin-bottom: 1.5rem; }
  .sz-4, .sz-6, .sz-8, .sz-12 { grid-column: span 12 !important; }
}

/* VENUE (KEEP DARK & IMMERSIVE FOR CONTRAST) */
.venue-fullscreen-wrap { position: relative; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.venue-fullscreen-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.28) saturate(1.05) blur(1px); transform: scale(1.15); }
.venue-fullscreen-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-main) 0%, transparent 40%, transparent 60%, var(--bg-main) 100%); z-index: 1; }
.venue-fullscreen-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 2rem; }
.venue-fullscreen-badge { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.5rem; display: block; }
.venue-fullscreen-title { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; margin-bottom: 2rem; letter-spacing: -0.02em; color: var(--white); }
.venue-fullscreen-desc { font-size: 1.2rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 3rem; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.venue-info-row-max { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.venue-info-box-max { text-align: center; }
.venue-info-box-max .vib-val { font-size: 1.8rem; font-weight: 900; color: var(--gold-light); display: block; text-transform: uppercase; }
.venue-info-box-max .vib-lbl { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4rem; }

/* LOCALISATION (MAP) */
.map-container-wrap { max-width: 1200px; margin: 0 auto; position: relative; border-radius: 28px; overflow: hidden; border: 2px solid var(--gold); box-shadow: 0 25px 65px rgba(12,30,54,0.15); }
.map-iframe { width: 100%; height: 480px; border: none; } /* Standard Google Maps display, no dark filter */
.map-overlay-card { position: absolute; bottom: 2rem; left: 2rem; background: var(--white); border: 2px solid var(--gold); border-radius: 20px; padding: 2rem; width: 340px; box-shadow: 0 15px 35px rgba(12,30,54,0.1); backdrop-filter: blur(15px); }
.map-overlay-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 0.8rem; text-transform: uppercase; }
.map-overlay-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.map-direction-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--white); background: var(--gold); padding: 0.6rem 1.4rem; border-radius: 100px; text-decoration: none; text-transform: uppercase; transition: var(--transition); }
.map-direction-btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* PARTNERS (LTR/RTL MARQUEE IN WHITE BOXES) */
.partners-double-marquee { margin: 4rem 0; overflow: hidden; position: relative; }
.partners-marquee-row { display: flex; width: max-content; padding: 0.8rem 0; }
.partners-row-ltr { animation: ltr-marquee 35s linear infinite; }
.partners-row-rtl { animation: rtl-marquee 35s linear infinite; }
@keyframes ltr-marquee { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes rtl-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.partner-logo-box-max { background: var(--white); border: 2px solid var(--glass-border); border-radius: 20px; padding: 1.2rem 2.8rem; display: flex; align-items: center; justify-content: center; min-width: 180px; height: 90px; margin: 0 0.8rem; flex-shrink: 0; transition: var(--transition); box-shadow: 0 8px 25px rgba(12,30,54,0.04); }
.partner-logo-box-max img { max-height: 48px; max-width: 140px; object-fit: contain; opacity: 0.85; transition: var(--transition); }
.partner-logo-box-max:hover { border-color: var(--gold); box-shadow: 0 12px 30px rgba(197,160,71,0.22); transform: scale(1.03); }
.partner-logo-box-max:hover img { opacity: 1; }

/* NOTIFY (MAXIMALIST INPUT LIGHT) */
.notify-max-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.notify-max-form { display: flex; flex-direction: column; gap: 1rem; max-width: 900px; margin: 3rem auto 0; position: relative; }
.notify-max-input { width: 100%; padding: 2rem 4rem; background: transparent; border: none; border-bottom: 3px solid rgba(12,30,54,0.15); font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 3.8rem); font-weight: 800; color: var(--navy); text-align: center; text-transform: uppercase; outline: none; transition: var(--transition); }
.notify-max-input::placeholder { color: rgba(12,30,54,0.15); }
.notify-max-input:focus { border-color: var(--gold); }
.notify-max-btn { position: absolute; right: 1rem; bottom: 2rem; background: transparent; border: none; font-size: 2.2rem; color: var(--gold); cursor: pointer; transition: var(--transition); }
.notify-max-btn:hover { color: var(--gold-dark); transform: scale(1.15) translateX(4px); }

.notify-max-alert { display: none; margin: 2rem auto 0; max-width: 600px; padding: 1rem 2rem; border-radius: 100px; font-size: 0.95rem; font-weight: 700; border: 2px solid transparent; text-align: center; }
.notify-max-alert.success { background: rgba(197,160,71,0.1); border-color: var(--gold); color: var(--gold-dark); }
.notify-max-alert.error { background: rgba(220,38,38,0.1); border-color: #dc2626; color: #fca5a5; }

/* FOOTER */
footer { background: var(--navy); border-top: 2px solid var(--gold); padding: 5rem 3rem 3rem; position: relative; z-index: 2; color: var(--white); }
.footer-max-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 4rem; }
.footer-row-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 3rem; }

.footer-brand-box { text-decoration: none; display: flex; align-items: center; background: white; padding: 0.6rem 1.4rem; border-radius: 100px; border: 2px solid var(--gold); }
.footer-brand-box img { height: 48px; width: auto; object-fit: contain; }
.footer-brand-box .f-logo-text { display: flex; flex-direction: column; margin-left: 0.8rem; line-height: 1.1; }
.footer-brand-box .f-logo-text .top { font-size: 0.9rem; font-weight: 900; color: var(--navy); text-transform: uppercase; }
.footer-brand-box .f-logo-text .sub { font-size: 0.6rem; font-weight: 700; color: var(--gold-dark); text-transform: uppercase; }

.footer-nav { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-nav-col h5 { font-size: 0.9rem; font-weight: 800; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.5rem; }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-nav-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-nav-col ul a:hover { color: var(--gold-light); }

.footer-bottom-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; flex-wrap: wrap; gap: 1.5rem; }
.footer-hashtag-giant { font-size: 1.25rem; font-weight: 800; color: var(--gold-light); letter-spacing: 0.05em; text-transform: uppercase; }
.footer-copyright { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 1.8; }



/* VUE D'ENSEMBLE */
.overview-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; max-width: 1200px; margin: 0 auto; align-items: center; }
.overview-img-collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.overview-img-item { border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(12,30,54,0.06); border: 2px solid var(--glass-border); transition: var(--transition); }
.overview-img-item img { width: 100%; height: 100%; object-fit: cover; }
.overview-img-item:hover { transform: translateY(-8px) scale(1.02); border-color: var(--gold); box-shadow: 0 25px 50px rgba(197,160,71,0.18); }
.overview-img-item.large { grid-row: span 2; height: 480px; }
.overview-img-item.small { height: 232px; }

.overview-info-boxes { display: flex; gap: 1.5rem; margin-top: 2.5rem; }
.overview-info-card { flex: 1; background: var(--white); border: 2px solid var(--glass-border); border-radius: 20px; padding: 1.8rem; display: flex; align-items: center; gap: 1.2rem; box-shadow: 0 10px 30px rgba(12,30,54,0.04); transition: var(--transition); }
.overview-info-card:hover { border-color: var(--gold); box-shadow: 0 15px 35px rgba(197,160,71,0.12); transform: translateY(-4px); }
.overview-info-icon { width: 52px; height: 52px; border-radius: 50%; background: rgba(197,160,71,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); font-size: 1.4rem; }
.overview-info-text h4 { font-size: 0.95rem; font-weight: 800; color: var(--navy); text-transform: uppercase; margin-bottom: 0.2rem; }
.overview-info-text p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* GALERIE */
.gallery-max-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.gallery-item-wrap { position: relative; border-radius: 24px; overflow: hidden; height: 280px; border: 2px solid var(--glass-border); box-shadow: 0 15px 35px rgba(12,30,54,0.05); transition: var(--transition); }
.gallery-item-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gallery-item-wrap:hover img { transform: scale(1.08); }
.gallery-item-wrap:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 25px 50px rgba(197,160,71,0.18); }
.gallery-item-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(12,30,54,0.85) 100%); display: flex; align-items: flex-end; padding: 1.5rem; opacity: 0; transition: opacity 0.3s ease; }
.gallery-item-wrap:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: var(--white); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* GALLERY TABS */
.gallery-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}
.gallery-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 160, 71, 0.3);
  color: var(--white);
  transform: translateY(-2px);
}
.gallery-tab-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: transparent;
  color: #0c1e36;
  box-shadow: 0 8px 20px rgba(197, 160, 71, 0.25);
}
.gallery-item-wrap {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}
.gallery-item-wrap.hide {
  opacity: 0;
  transform: scale(0.85) translateY(30px);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  border: none;
  margin: 0;
  padding: 0;
}



/* PRELOADER ECLIPSE */
.preloader-eclipse {
  position: fixed;
  inset: 0;
  background: #0C1E36;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preloader-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.preloader-content.old-era {
  opacity: 1;
  z-index: 2;
}
.preloader-content.new-era {
  opacity: 0;
  z-index: 1;
  transform: scale(0.9);
}
.old-logo {
  max-width: 250px;
  margin-bottom: 2rem;
}
.new-logo {
  max-width: 300px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}
.era-text {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.8;
}
.new-era .era-text {
  color: #0C1E36;
  font-weight: 850;
  letter-spacing: 0.15em;
  font-size: 1.15rem;
  opacity: 0;
  transform: translateY(15px);
  position: relative;
  z-index: 2;
}
.era-years {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.9;
}
.new-era .era-years {
  color: #0C1E36;
  opacity: 0;
  transform: translateY(15px);
  position: relative;
  z-index: 2;
}
.halo-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100vmax;
  height: 100vmax;
  background: radial-gradient(circle, var(--gold-light) 0%, #F4F7FB 40%, #F4F7FB 100%);
  opacity: 0;
  z-index: 1;
  border-radius: 50%;
}
body.preloader-active {
  overflow: hidden;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 2rem;
  background: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 12px rgba(12, 30, 54, 0.05);
}
.lang-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition);
}
.lang-btn:hover {
  color: var(--gold-dark);
}
.lang-btn.active {
  color: var(--gold);
}
.lang-separator {
  color: rgba(12, 30, 54, 0.15);
  font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE & MOBILE UX OPTIMIZATIONS (AUDITED & OPTIMIZED)
   ============================================================ */

/* Global HTML overflow fix for scrollbars */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Touch device CSS overrides */
.gallery-tab-btn .mobile-text { display: none !important; }
.gallery-tab-btn .desktop-text { display: inline !important; }

/* Force touch-device overlays always visible */
.touch-device .gallery-item-overlay {
  opacity: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(12,30,54,0.85) 100%) !important;
}

/* Hide cursor and speaker photo on touch mobile devices */
.touch-device .custom-cursor,
.touch-device .custom-cursor-follower,
.touch-device .speaker-hover-image-container {
  display: none !important;
}

/* Desktop hover overlay fallback */
@media (hover: hover) and (pointer: fine) {
  .gallery-item-wrap:hover .gallery-item-overlay {
    opacity: 1 !important;
  }
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 960px) {
  /* Navbar */
  .navbar { padding: 1.2rem 1.5rem; }
  .navbar.scrolled { padding: 0.8rem 1.5rem; }
  .nav-contact { display: none !important; }
  .nav-socials { display: none !important; }
  .lang-switcher { margin-left: 0; }
  
  /* Overview grid */
  .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .overview-info-boxes { flex-direction: column; gap: 1rem; }
  
  /* About Section Pile Cards */
  .about-max-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-cards-pile { height: auto; display: flex; flex-direction: column; gap: 1.5rem; }
  .about-pile-card { position: relative; width: 100%; top: auto !important; left: auto !important; }
  
  /* Venue section responsive */
  .venue-fullscreen-wrap { min-height: 100vh; min-height: 100dvh; height: auto; padding: 6rem 1.5rem; }
  .venue-info-row-max { gap: 1.5rem; }
  
  /* Map & Grid stack */
  .map-overlay-card { position: relative; bottom: auto; left: auto; width: 100%; border-radius: 0; border: none; border-top: 2px solid var(--gold); }
  .award-max-card { grid-column: span 12 !important; }
  
  /* Gallery grid */
  .gallery-max-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* General spacing */
  .section { padding: 4rem 1.5rem; }
  
  /* Hide socials in navbar (keep lang-switcher) */
  .nav-socials { display: none !important; }
  
  /* Overview collage image layout */
  .overview-img-collage { grid-template-columns: 1fr !important; gap: 1rem; }
  .overview-img-item.large { height: 280px !important; }
  .overview-img-item.small { height: 160px !important; }
  
  /* Disable map scroll zoom capturing on mobile */
  .map-iframe { pointer-events: none; }
}

@media (max-width: 600px) {
  /* Hero & Massive Title */
  .hero { padding: 6rem 1rem 3rem; }
  .hero-badge { padding: 0.5rem 1.2rem; font-size: 0.72rem; letter-spacing: 0.15em; }
  .hero-title-massive { font-size: clamp(2.6rem, 12vw, 4.5rem); margin-bottom: 1rem; }
  .hero-theme-block { font-size: 1.1rem; margin-bottom: 2rem; padding: 1rem 0; }
  .hero-theme-block::before, .hero-theme-block::after { left: 10%; right: 10%; }
  .hero-meta-large { gap: 1rem; margin-bottom: 2.2rem; }
  .hero-meta-item-lg { font-size: 0.85rem; }
  .countdown-block { gap: 0.5rem; margin-bottom: 2.5rem; }
  .cd-circle { width: 80px; height: 80px; }
  .cd-circle-num { font-size: 1.5rem; }
  
  /* CTAs */
  .hero-ctas-giant { flex-direction: column; gap: 1rem; }
  .btn-maximalist-gold, .btn-maximalist-outline { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 0.88rem; }
  
  /* About Pile Card Padding */
  .about-pile-card { padding: 1.5rem; border-radius: 16px; }
  .about-pile-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
  .about-pile-card p { font-size: 0.88rem; }
  .about-feature-icon { width: 56px; height: 56px; border-radius: 14px; font-size: 1.5rem; }
  .about-feature-text h4 { font-size: 1.1rem; }
  .about-feature-text p { font-size: 0.88rem; }
  
  /* Gallery grid column to 1 col */
  .gallery-max-grid { grid-template-columns: 1fr !important; }
  
  /* Gallery short tabs text */
  .gallery-tab-btn .mobile-text { display: inline !important; }
  .gallery-tab-btn .desktop-text { display: none !important; }
  
  /* Timeline (Programme) */
  .programme-max-timeline { padding-left: 2rem; }
  .programme-max-timeline::before { left: 10px; }
  .timeline-dot { left: -30px; width: 20px; height: 20px; border-width: 3px; top: 12px; }
  .timeline-content-inner { padding: 1.5rem !important; border-radius: 20px; }
  .timeline-day-title { font-size: 1.4rem; margin-bottom: 1.2rem; }
  .timeline-event-list { gap: 0.8rem; }
  .timeline-event-item { font-size: 0.88rem; }
  
  /* Speaker Rows */
  .speaker-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.5rem 0.5rem; }
  .speaker-row-name { font-size: 1.4rem; }
  .speaker-row-role { text-align: left; font-size: 0.85rem; margin-top: 0.2rem; }
  
  /* Awards */
  .award-max-card { min-height: auto !important; padding: 1.5rem; gap: 0.8rem; }
  .award-max-icon { font-size: 1.8rem; width: 52px; height: 52px; margin-bottom: 1rem; }
  .award-max-card h4 { font-size: 1.1rem; }
  .award-max-card p { font-size: 0.85rem; }
  
  /* Notify Form & Input */
  .notify-max-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.2rem !important;
    align-items: center !important;
  }
  .notify-max-input {
    padding: 1.2rem 1.5rem !important;
    font-size: 1.2rem !important;
    text-align: center !important;
  }
  .notify-max-btn {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    background: var(--gold) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(197,160,71,0.25) !important;
    margin-top: 0.2rem !important;
  }
  
  /* Footer padding & gap */
  footer { padding: 4rem 1.5rem 2rem !important; }
  .footer-max-inner { gap: 2.5rem !important; }
  .footer-nav { gap: 2rem !important; }
}

@media (max-width: 480px) {
  /* Countdown for ultra-small screens */
  .cd-circle { width: 68px; height: 68px; }
  .cd-circle-num { font-size: 1.3rem; }
  .cd-circle-lbl { font-size: 0.5rem; margin-top: 0.1rem; }
  .countdown-block { gap: 0.4rem; }
}

@media (max-width: 400px) {
  /* Navbar brand details sizing */
  .nav-logo-wrap { padding: 0.4rem 0.8rem; }
  .nav-logo-wrap img { height: 32px; }
  .nav-logo-wrap .nav-logo-text .top { font-size: 0.72rem; }
  .nav-logo-wrap .nav-logo-text .sub { display: none; }
  .lang-switcher { padding: 0.2rem 0.5rem; gap: 0.3rem; }
  .lang-btn { font-size: 0.75rem; }
}

/* Button Text Visibility */
.desktop-text { display: inline !important; }
.mobile-text { display: none !important; }

/* Speaker Mobile Avatar & Layout */
.speaker-avatar-mobile { display: none !important; }
.speaker-info-wrap { display: contents; } /* Behaves as if the container doesn't exist on desktop */

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000000;
  inset: 0;
  background: rgba(12, 30, 54, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-modal.active {
  display: flex;
  opacity: 1;
}
.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--white);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.lightbox-close:hover {
  color: var(--gold);
  transform: scale(1.1);
}
.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease, opacity 0.15s ease;
}
.lightbox-modal.active .lightbox-content img {
  transform: scale(1);
}
#lightbox-caption {
  color: var(--white);
  margin-top: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  background: rgba(12, 30, 54, 0.6);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(197,160,71,0.3);
}
.lightbox-prev { left: 3rem; }
.lightbox-next { right: 3rem; }

/* Responsive adjustments inside media queries */
@media (max-width: 768px) {
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  .lightbox-prev, .lightbox-next { width: 45px; height: 45px; font-size: 1.1rem; }
  .lightbox-content { max-width: 95%; }
  #lightbox-caption { font-size: 0.9rem; padding: 0.4rem 1.2rem; }
}

@media (max-width: 600px) {
  /* Toggle text versions of buttons on mobile */
  .desktop-text { display: none !important; }
  .mobile-text { display: inline !important; }
  
  /* Speaker Rows mobile avatar styling */
  .speaker-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.2rem !important;
    padding: 1.2rem 0.5rem !important;
  }
  .speaker-row-num {
    font-size: 0.9rem !important;
    width: 24px !important;
    flex-shrink: 0;
  }
  .speaker-avatar-mobile {
    display: block !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid var(--gold) !important;
    flex-shrink: 0 !important;
    box-shadow: 0 8px 20px rgba(197,160,71,0.2) !important;
  }
  .speaker-avatar-mobile img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .speaker-info-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    flex: 1;
  }
  .speaker-row-name {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
  }
  .speaker-row-role {
    font-size: 0.8rem !important;
    text-align: left !important;
    margin-top: 0 !important;
  }
}
