/* ==========================================================================
   JUNGLE SAFARI BIRTHDAY EXPEDITION - STYLESHEET (styles.css)
   Clean, User-Friendly & Elegant Safari Adventure Aesthetic
   ========================================================================== */

:root {
  --bg-deep: #05140c;
  --bg-primary: #0a2417;
  --bg-card: rgba(11, 38, 25, 0.88);
  --bg-card-hover: rgba(16, 52, 34, 0.95);
  
  --gold-primary: #e5a93c;
  --gold-light: #fce39e;
  --gold-glow: rgba(229, 169, 60, 0.45);
  --gold-gradient: linear-gradient(135deg, #fce39e 0%, #e5a93c 50%, #b45309 100%);
  
  --jungle-leaf: #22c55e;
  --jungle-dark: #071e13;
  --jungle-accent: #10b981;
  
  --text-main: #fefce8;
  --text-muted: #cbd5e1;
  --text-dark: #1c1917;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body.safari-theme {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(229, 169, 60, 0.06) 0%, transparent 45%);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(5, 20, 12, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 169, 60, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-safari {
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.4);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 20px;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn-safari-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 169, 60, 0.35);
  color: var(--text-main);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-safari-sm:hover {
  background: rgba(229, 169, 60, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-safari-sm.playing {
  background: rgba(34, 197, 94, 0.2);
  border-color: #4ade80;
  color: #86efac;
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
  animation: musicPulse 2s infinite ease-in-out;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(74, 222, 128, 0.25); }
  50% { box-shadow: 0 0 20px rgba(74, 222, 128, 0.6); }
}

.btn-gold-sm {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(229, 169, 60, 0.25);
  transition: all 0.2s ease;
}

.btn-gold-sm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(229, 169, 60, 0.45);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(229, 169, 60, 0.3);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 169, 60, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 169, 60, 0.35);
  color: var(--text-main);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(229, 169, 60, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-secondary-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-secondary-sm:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   RIGHT-HAND SIDEBAR / EDIT DRAWER (CONSOLIDATED RHS PANEL)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.edit-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 92vw;
  height: 100vh;
  background: linear-gradient(180deg, #071c12 0%, #05140c 100%);
  border-left: 2px solid var(--gold-primary);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.edit-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(229, 169, 60, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(7, 28, 18, 0.95);
}

.drawer-badge {
  background: rgba(229, 169, 60, 0.2);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: 1px;
}

.drawer-subtitle {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 3px;
}

.btn-drawer-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s, color 0.2s;
}

.btn-drawer-close:hover {
  transform: scale(1.2);
  color: var(--gold-primary);
}

.drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.drawer-section {
  background: rgba(14, 45, 30, 0.6);
  border: 1px solid rgba(229, 169, 60, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.drawer-sec-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(229, 169, 60, 0.2);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
}

.form-field input, .form-field textarea {
  background: #05140c;
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 4px;
  padding: 8px 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  transition: border-color 0.2s;
}

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(229, 169, 60, 0.3);
}

.input-with-btn {
  display: flex;
  gap: 8px;
}

.input-with-btn input {
  flex: 1;
}

.drawer-footer {
  padding: 1.2rem 1.5rem;
  background: #05140c;
  border-top: 1px solid rgba(229, 169, 60, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-gold-block {
  width: 100%;
  padding: 12px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 169, 60, 0.3);
  transition: all 0.25s ease;
}

.btn-gold-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 169, 60, 0.5);
}

.btn-secondary-block {
  width: 100%;
  padding: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-block:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-primary);
}

/* ==========================================================================
   HERO SCROLL CANVAS SECTION
   ========================================================================== */
.hero-scroll-container {
  position: relative;
  height: 380vh;
  height: 380dvh;
  background-color: var(--bg-deep);
}

.sticky-canvas-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scroll-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   3 EQUIDISTANT SCROLL STORY CARDS (AFTER ENVELOPE OPENS - Frame 48+)
   ========================================================================== */
.safari-story-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 620px;
  height: auto;
  pointer-events: none;
  z-index: 45;
}

.story-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  width: 92%;
  max-width: 620px;
  background: linear-gradient(145deg, rgba(3, 16, 9, 0.40) 0%, rgba(6, 24, 14, 0.48) 100%);
  border: 1.5px solid rgba(229, 169, 60, 0.6);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(229, 169, 60, 0.2), inset 0 0 15px rgba(229, 169, 60, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.story-card.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.story-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: rgba(4, 28, 16, 0.65);
  border: 1px solid rgba(229, 169, 60, 0.6);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.story-quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.25rem, 3.2vw, 1.65rem);
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 18px rgba(0, 0, 0, 0.9);
}

.story-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fef08a;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.9);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* DISTINCT ROYAL FORMATTING FOR CELEBRANT KRIYANSH LINGA */
.child-name-highlight {
  display: inline-block;
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.26em;
  letter-spacing: 2px;
  color: #fffef0;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.32) 0%, rgba(202, 138, 4, 0.42) 100%);
  border: 1.5px solid #facc15;
  border-radius: 8px;
  padding: 2px 14px 4px;
  margin: 2px 4px;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.65), inset 0 0 12px rgba(254, 240, 138, 0.35);
  text-shadow: 0 0 12px #facc15, 0 0 24px rgba(234, 179, 8, 0.9), 0 2px 4px #000000;
  vertical-align: middle;
  animation: goldenShine 3s infinite alternate ease-in-out;
}

@keyframes goldenShine {
  0% {
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.5), inset 0 0 8px rgba(254, 240, 138, 0.25);
    border-color: #facc15;
  }
  100% {
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.85), inset 0 0 16px rgba(254, 240, 138, 0.5);
    border-color: #fef08a;
  }
}

.story-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: #f8fafc;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 0, 0, 0.9);
  margin-bottom: 1.4rem;
}

.story-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.story-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.story-dots .dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(229, 169, 60, 0.8);
}

.story-scroll-cue {
  font-size: 0.76rem;
  letter-spacing: 1.5px;
  color: #86efac;
  opacity: 0.85;
}

.story-action-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  opacity: 0.85;
  pointer-events: none;
  animation: bounceHint 2s infinite ease-in-out;
}

@keyframes bounceHint {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.85; }
  50% { transform: translate(-50%, 8px); opacity: 0.4; }
}

.scroll-arrow-mini {
  font-size: 1.2rem;
  color: var(--gold-primary);
}

/* Loading Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  transition: opacity 0.6s ease;
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-box {
  text-align: center;
  max-width: 400px;
  padding: 2rem;
}

.loader-logo {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.loader-title {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gold-gradient);
  transition: width 0.15s ease;
}

.loading-status {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   MAIN INVITATION CONTAINER & CARDS
   ========================================================================== */
.invitation-container {
  max-width: 1100px;
  margin: -60px auto 0;
  padding: 0 1.5rem 5rem;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* SAFARI DOSSIER CARD */
.safari-dossier-card {
  background: linear-gradient(160deg, rgba(8, 30, 20, 0.95) 0%, rgba(5, 20, 12, 0.98) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(229, 169, 60, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.corner-gold {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-primary);
  border-style: solid;
  pointer-events: none;
}

.corner-gold.top-left { top: 12px; left: 12px; border-width: 3px 0 0 3px; }
.corner-gold.top-right { top: 12px; right: 12px; border-width: 3px 3px 0 0; }
.corner-gold.bottom-left { bottom: 12px; left: 12px; border-width: 0 0 3px 3px; }
.corner-gold.bottom-right { bottom: 12px; right: 12px; border-width: 0 3px 3px 0; }

.dossier-header {
  text-align: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(229, 169, 60, 0.25);
  padding-bottom: 1.8rem;
}

.dossier-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.executive-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 3px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.executive-subheading {
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: #86efac;
  font-weight: 600;
}

.invitation-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lion-wax-badge {
  font-size: 3.5rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 15px rgba(229, 169, 60, 0.4));
}

.intro-statement {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.child-name {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7a1 25%, #facc15 55%, #f59e0b 85%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(250, 204, 21, 0.65)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
  margin-bottom: 10px;
  line-height: 1.15;
}

.milestone-badge-wrap {
  margin-bottom: 1.8rem;
}

.milestone-badge {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2.5px;
  padding: 6px 20px;
  border-radius: 30px;
  display: inline-block;
}

.personal-message {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #fef9c3;
  max-width: 820px;
  margin-bottom: 2.8rem;
  padding: 0 1rem;
}

/* LIVE COUNTDOWN TIMER */
.countdown-section {
  width: 100%;
  max-width: 600px;
  margin-bottom: 3rem;
  background: rgba(6, 20, 13, 0.6);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
}

.countdown-heading {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.timer-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #041009;
  border: 1px solid rgba(229, 169, 60, 0.4);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 72px;
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.timer-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #94a3b8;
}

.timer-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  animation: pulseColon 1s ease-in-out infinite;
}

@keyframes pulseColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* STREAMLINED KEY DETAILS GRID (3 COLUMNS ON DESKTOP) */
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto 2.8rem;
}

.detail-dinner-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: rgba(229, 169, 60, 0.16);
  border: 1px solid rgba(229, 169, 60, 0.45);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.detail-card {
  background: rgba(10, 36, 24, 0.7);
  border: 1px solid rgba(229, 169, 60, 0.25);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.detail-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 169, 60, 0.2);
}

.detail-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.detail-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.detail-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.detail-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.card-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   SECTIONS: GENERAL HEADERS
   ========================================================================== */
.section-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #86efac;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
}

/* ==========================================================================
   VENUE & MAP SECTION
   ========================================================================== */
.venue-section {
  text-align: center;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(229, 169, 60, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  text-align: left;
}

.venue-info-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.venue-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  background: rgba(229, 169, 60, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.venue-info-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
}

.venue-full-address {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.venue-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.venue-bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bullet-icon {
  font-size: 1.4rem;
  margin-top: 2px;
}

.venue-bullet strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gold-light);
  margin-bottom: 2px;
}

.venue-bullet p {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.venue-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.venue-map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(229, 169, 60, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  min-height: 320px;
}

.venue-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   SAFARI PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-section {
  text-align: center;
}

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

.gallery-card {
  background: var(--bg-card);
  border: 1px solid rgba(229, 169, 60, 0.25);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 169, 60, 0.25);
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #041009;
}

.gallery-month-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(5, 20, 12, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

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

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 20, 12, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.zoom-btn {
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
}

.gallery-caption {
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.4;
  text-align: left;
}

/* ==========================================================================
   MINI-GAME / PUZZLE SECTION (ROBUST & 100% RESPONSIVE)
   ========================================================================== */
.puzzle-section {
  text-align: center;
}

.puzzle-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 169, 60, 0.3);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(229, 169, 60, 0.35);
}

.puzzle-wrapper {
  background: var(--bg-card);
  border: 2px solid rgba(229, 169, 60, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.puzzle-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-badge {
  background: #041009;
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
}

.stat-num {
  color: #fff;
  font-weight: 800;
}

.puzzle-instructions-hint {
  font-size: 0.78rem;
  color: #86efac;
}

/* TARGET PICTURE PREVIEW */
.puzzle-preview-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(4, 16, 9, 0.8);
  border: 1px solid rgba(229, 169, 60, 0.35);
  border-radius: 30px;
  padding: 4px 14px 4px 6px;
  margin-bottom: 1.4rem;
}

.puzzle-preview-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
}

.puzzle-preview-lbl {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* SLIDING BOARD OUTER & TILES */
.sliding-board-outer {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 360px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.8rem;
  user-select: none;
}

.sliding-board {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  background: #030c06;
  border: 3px solid var(--gold-primary);
  border-radius: 12px;
  padding: 6px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95), 0 10px 30px rgba(0, 0, 0, 0.8);
  box-sizing: border-box;
}

.puzzle-tile {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background-size: 300% 300% !important;
  background-repeat: no-repeat;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  touch-action: manipulation;
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, outline 0.2s ease, filter 0.2s ease;
}

.puzzle-tile:hover {
  transform: scale(1.04);
  filter: brightness(1.12);
  z-index: 3;
}

/* Selected tile to swap */
.puzzle-tile.selected {
  outline: 3px solid #fce39e !important;
  box-shadow: 0 0 25px rgba(229, 169, 60, 1), inset 0 0 15px rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.08) !important;
  z-index: 8 !important;
  animation: pulseSelect 1.4s infinite alternate;
}

@keyframes pulseSelect {
  0% { box-shadow: 0 0 12px rgba(229, 169, 60, 0.7); }
  100% { box-shadow: 0 0 28px rgba(252, 227, 158, 1); }
}

/* Drag over feedback */
.puzzle-tile.drag-over {
  outline: 3px dashed var(--gold-light) !important;
  transform: scale(1.05);
}

.puzzle-tile.tile-shake {
  animation: shakeTile 0.3s ease;
}

@keyframes shakeTile {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.tile-number {
  background: rgba(0, 0, 0, 0.75);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  transition: all 0.2s ease;
}

.puzzle-tile.correct-slot .tile-number {
  background: rgba(34, 197, 94, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* When puzzle is completely solved, grid becomes one seamless photo */
.sliding-board.puzzle-solved {
  gap: 0 !important;
  border-color: #22c55e !important;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.8) !important;
}

.sliding-board.puzzle-solved .puzzle-tile {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.sliding-board.puzzle-solved .tile-number {
  display: none !important;
}

/* SUCCESS BANNER OVER BOARD */
.puzzle-success-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 16, 9, 0.98);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 0.9rem;
  box-sizing: border-box;
  overflow-y: auto;
  animation: fadeIn 0.35s ease;
  z-index: 25;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.95);
}

.success-content {
  width: 100%;
  max-width: 320px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-content .trophy-icon {
  font-size: 2rem;
  margin-bottom: 2px;
}

.congrats-title {
  font-family: 'Cinzel Decorative', var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #facc15;
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
  margin-bottom: 2px;
}

.congrats-headline {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 1.2px;
  color: #86efac;
  margin-bottom: 6px;
}

.congrats-message {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #fef9c3;
  margin-bottom: 12px;
}

.success-btn-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  width: 100%;
}

.success-btn-group button {
  width: 100%;
  max-width: 220px;
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.puzzle-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ANCIENT TEMPLE CHEST LOCK */
.vault-box {
  max-width: 520px;
  margin: 0 auto;
}

.vault-instructions h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.vault-instructions p {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.clue-list {
  list-style: none;
  background: rgba(5, 20, 12, 0.65);
  border: 1px solid rgba(229, 169, 60, 0.25);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: left;
  font-size: 0.88rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.clue-list li {
  margin-bottom: 8px;
}

.clue-list li strong {
  color: var(--gold-light);
}

.dials-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 2rem;
}

.dial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.dial-arrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(229, 169, 60, 0.4);
  width: 44px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.dial-arrow:hover {
  background: rgba(229, 169, 60, 0.25);
  border-color: var(--gold-primary);
}

.dial-digit {
  width: 64px;
  height: 74px;
  background: #041009;
  border: 2px solid var(--gold-primary);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-light);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.dial-digit.clickable {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.dial-digit.clickable:hover {
  transform: scale(1.06);
  border-color: #fff;
}

.vault-feedback {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 24px;
}

.vault-feedback.success {
  color: #86efac;
}

.vault-feedback.error {
  color: #fca5a5;
}

/* ==========================================================================
   CONFETTI CELEBRATION OVERLAY BANNER
   ========================================================================== */
.confetti-banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(3, 15, 8, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2200;
  animation: fadeIn 0.3s ease;
}

.confetti-celebration-card {
  background: linear-gradient(135deg, #092617 0%, #05140c 100%);
  border: 3px solid var(--gold-primary);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 169, 60, 0.4);
  max-width: 580px;
  width: 90%;
  animation: scaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.sparkle-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.confetti-headline {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.confetti-subtext {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.confetti-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   MODALS: VIP RANGER PASS & LIGHTBOX
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  animation: fadeIn 0.3s ease;
}

.modal-backdrop.hidden {
  display: none !important;
}

.vip-badge-card {
  position: relative;
  background: linear-gradient(135deg, #0d3822 0%, #061a10 100%);
  border: 3px solid var(--gold-primary);
  border-radius: 16px;
  padding: 2.2rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 169, 60, 0.35);
}

.btn-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  z-index: 10;
}

.btn-modal-close:hover {
  transform: scale(1.2);
  color: var(--gold-primary);
}

.badge-inner-border {
  border: 2px dashed rgba(229, 169, 60, 0.5);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.badge-top-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.badge-avatar-wrap {
  width: 84px;
  height: 84px;
  background: #041009;
  border: 2px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.3);
}

.badge-avatar {
  font-size: 2.8rem;
}

.badge-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.badge-rank {
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: #86efac;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.simple-pass-card {
  max-width: 480px;
  background: linear-gradient(135deg, #072616 0%, #03140a 100%);
  border: 2.5px solid var(--gold-primary);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(229, 169, 60, 0.35);
}

.badge-welcome-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.badge-welcome-sub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}

.badge-details-box {
  background: rgba(4, 16, 9, 0.7);
  border: 1px solid rgba(229, 169, 60, 0.25);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.badge-detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.badge-detail-item .lbl {
  color: #94a3b8;
  font-weight: 600;
}

.badge-detail-item .val {
  color: var(--gold-light);
  font-weight: 700;
}

.badge-footer-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* LIGHTBOX */
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #041009;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 6px;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 600;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 20, 12, 0.88);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: var(--text-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.6);
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

/* ==========================================================================
   INVIARC CREATIVE STUDIO FOOTER PROMO
   ========================================================================== */
.inviarc-footer-section {
  padding: 3rem 1.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.inviarc-card {
  background: linear-gradient(145deg, rgba(6, 26, 16, 0.88) 0%, rgba(10, 36, 24, 0.94) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(229, 169, 60, 0.2), inset 0 0 15px rgba(229, 169, 60, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.inviarc-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.45);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.inviarc-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

.inviarc-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 1.6rem;
}

.inviarc-desc strong {
  color: var(--gold-light);
}

.inviarc-links-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.inviarc-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 250px;
  text-align: left;
}

.inviarc-btn.email-btn {
  background: linear-gradient(135deg, rgba(229, 169, 60, 0.22) 0%, rgba(229, 169, 60, 0.08) 100%);
  border: 1.5px solid rgba(229, 169, 60, 0.65);
  color: #fff;
}

.inviarc-btn.email-btn:hover {
  background: linear-gradient(135deg, rgba(229, 169, 60, 0.38) 0%, rgba(229, 169, 60, 0.18) 100%);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 169, 60, 0.4);
}

.inviarc-btn.ig-btn {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.22) 0%, rgba(131, 58, 180, 0.12) 100%);
  border: 1.5px solid rgba(225, 48, 108, 0.65);
  color: #fff;
}

.inviarc-btn.ig-btn:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.38) 0%, rgba(131, 58, 180, 0.25) 100%);
  border-color: #f43f5e;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(225, 48, 108, 0.45);
}

.inviarc-btn .btn-icon {
  font-size: 1.5rem;
}

.inviarc-btn .btn-text-wrap {
  display: flex;
  flex-direction: column;
}

.inviarc-btn .btn-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.inviarc-btn .btn-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #94a3b8;
}

.inviarc-btn:hover .btn-sub {
  color: #e2e8f0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.safari-footer {
  border-top: 1px solid rgba(229, 169, 60, 0.25);
  background: #030d07;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-size: 1.8rem;
}

.footer-text {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Helper hidden class */
.hidden {
  display: none !important;
}

.hidden-admin {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   PRINT STYLES FOR VIP PASS
   ========================================================================== */
@media print {
  body * {
    visibility: hidden;
  }
  #vip-badge-modal, #vip-badge-modal * {
    visibility: visible;
  }
  #vip-badge-modal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: transparent;
  }
  .btn-modal-close, .badge-footer-row {
    display: none !important;
  }
  .vip-badge-card {
    border: 3px solid #000;
    color: #000;
    background: #fff;
    box-shadow: none;
    margin: 20px auto;
  }
  .badge-inner-border {
    border-color: #000;
  }
  .badge-name, .badge-rank, .val {
    color: #000 !important;
  }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .details-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .top-nav {
    padding: 0 1rem;
  }
  .brand-title {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .top-nav {
    padding: 0 0.85rem;
    height: 56px;
  }
  .btn-safari-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .safari-story-wrapper {
    width: 94%;
  }
  .safari-dossier-card {
    padding: 2.2rem 1.4rem;
  }
  .story-card {
    padding: 1.3rem 1.1rem;
    width: 100%;
    border-radius: 16px;
  }
  .child-name-highlight {
    font-size: 1.15em;
    letter-spacing: 1px;
    padding: 2px 10px 3px;
    margin: 2px 2px;
  }
  .safari-scene-textbox {
    padding: 1.5rem 1.2rem;
    max-width: 92%;
  }
  .cs-title {
    font-size: 1.35rem;
  }
  .cs-subtitle {
    font-size: 0.92rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .nav-brand .brand-title {
    display: none;
  }
  .timer-box {
    min-width: 58px;
    padding: 8px 10px;
  }
  .timer-num {
    font-size: 1.4rem;
  }
  .sliding-board-outer {
    max-width: 300px;
    height: 300px;
  }
}
