/* ==========================================================================
   BOURBON & BUBBLES - MYSTERIOUS SPEAKEASY LUXURY DESIGN SYSTEM
   Palette: Velvet Pitch Obsidian (#070506), Burnished Gold (#D49B4B),
   Spiced Amber (#A6732B), Deep Crimson Velvet (#591A25), Glowing Champagne Pearl (#FAF6F0)
   Typography: Cinzel (Display) & Montserrat (Body)
   Layout Correction: Spacious Vertical Rhythm, Grand Hero Framing & Elegant Breathing Room
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Mysterious Color Tokens */
  --color-obsidian: #070506;
  --color-obsidian-alt: #0E0B0D;
  --color-obsidian-card: rgba(14, 10, 12, 0.94);
  
  --color-bourbon: #D49B4B;
  --color-bourbon-light: #F3C882;
  --color-bourbon-dark: #8F5E24;
  --color-amber-glow: rgba(212, 155, 75, 0.22);

  --color-rose: #C86A7B;
  --color-rose-light: #E58D9E;
  --color-crimson: #591A25;
  --color-rose-glow: rgba(200, 106, 123, 0.22);

  --color-champagne: #FAF6F0;
  --color-champagne-muted: #B8B0A4;

  --color-oak: #1C120F;
  --color-oak-light: #36221A;

  /* Mysterious Gradients */
  --grad-gold: linear-gradient(135deg, #F3C882 0%, #D49B4B 50%, #8F5E24 100%);
  --grad-rose: linear-gradient(135deg, #E58D9E 0%, #C86A7B 50%, #591A25 100%);
  --grad-dark-overlay: linear-gradient(180deg, rgba(7, 5, 6, 0.88) 0%, rgba(7, 5, 6, 0.97) 70%, #070506 100%);

  /* Fonts */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions & Shadows */
  --transition-smooth: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 10px 35px rgba(212, 155, 75, 0.25), 0 0 20px rgba(212, 155, 75, 0.15);
  --shadow-rose: 0 10px 35px rgba(200, 106, 123, 0.2);
  --shadow-obsidian: 0 25px 60px rgba(0, 0, 0, 0.98);
}

/* --------------------------------------------------------------------------
   ART DECO SHIMMERING GOLD FOIL METALLIC LIGHT SWEEP
   -------------------------------------------------------------------------- */
.text-gold-gradient {
  background: linear-gradient(135deg, #f3c882 0%, #d49b4b 35%, #ffffff 50%, #d49b4b 65%, #f3c882 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: goldFoilShimmer 6s ease-in-out infinite;
}

@keyframes goldFoilShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* REALISTIC FLICKERING CANDLE ANIMATION SYSTEM */
.candle-flame-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 24px;
  height: 28px;
  vertical-align: middle;
}

.candle-flame {
  width: 10px;
  height: 16px;
  background: radial-gradient(ellipse at 50% 80%, #FFF5CC 0%, #FFB732 40%, #E66000 80%, transparent 100%);
  border-radius: 50% 50% 20% 20%;
  box-shadow: 0 0 12px #FFB732, 0 0 24px rgba(212, 155, 75, 0.6);
  animation: flameFlicker 2.8s infinite ease-in-out alternate;
  transform-origin: center bottom;
}

@keyframes flameFlicker {
  0% { transform: scale(1) rotate(-1deg); opacity: 0.95; filter: drop-shadow(0 0 6px #FFB732); }
  20% { transform: scale(1.08, 0.94) rotate(2deg); opacity: 1; filter: drop-shadow(0 0 10px #FFC857); }
  40% { transform: scale(0.96, 1.05) rotate(-2deg); opacity: 0.88; filter: drop-shadow(0 0 5px #D49B4B); }
  60% { transform: scale(1.04, 0.97) rotate(1.5deg); opacity: 0.98; filter: drop-shadow(0 0 9px #FFB732); }
  80% { transform: scale(0.98, 1.02) rotate(-1deg); opacity: 0.92; filter: drop-shadow(0 0 7px #E66000); }
  100% { transform: scale(1.05, 0.95) rotate(1deg); opacity: 1; filter: drop-shadow(0 0 11px #FFC857); }
}

/* ART DECO BRASS CORNER UTILITIES */
.brass-corners {
  position: relative;
}

.brass-corners::before, .brass-corners::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--color-bourbon-light);
  pointer-events: none;
  z-index: 10;
  transition: var(--transition-smooth);
}

.brass-corners::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.brass-corners::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* FLOATING QUICK-CONCIERGE BAR */
.floating-concierge-pill {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 990;
  background: rgba(14, 10, 12, 0.94);
  border: 1px solid rgba(212, 155, 75, 0.4);
  backdrop-filter: blur(12px);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.floating-concierge-pill a {
  color: var(--color-bourbon-light);
  text-decoration: none;
  font-weight: 700;
}

/* LIGHTBOX MODAL */
#lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 30000;
  background: rgba(4, 3, 4, 0.96);
  backdrop-filter: blur(25px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(212, 155, 75, 0.4);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.98);
}

/* CANDLELIGHT AMBIENT SHADER MODE */
body.candlelight-active {
  background-color: #030203; /* Slightly darker to make the light pop */
}

body.candlelight-active::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999; /* Overlay everything as an ambient light */
  background: 
    radial-gradient(circle at 15% 85%, rgba(212, 155, 75, 0.15) 0%, rgba(212, 155, 75, 0.05) 30%, transparent 60%),
    radial-gradient(circle at 85% 15%, rgba(212, 155, 75, 0.12) 0%, rgba(212, 155, 75, 0.03) 40%, transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(89, 26, 37, 0.08) 0%, transparent 80%);
  animation: candleFlicker 4s ease-in-out infinite alternate;
  mix-blend-mode: color-dodge; /* Makes it glow intensely */
}

@keyframes candleFlicker {
  0% { opacity: 0.6; transform: scale(1) translate(0, 0); }
  25% { opacity: 0.95; transform: scale(1.02) translate(1%, 1%); }
  50% { opacity: 0.7; transform: scale(0.98) translate(-1%, 0); }
  75% { opacity: 1; transform: scale(1.01) translate(0, -1%); }
  100% { opacity: 0.65; transform: scale(1) translate(-1%, 1%); }
}

/* VERTICAL WATERMARK RIBBON */
.side-watermark {
  position: fixed;
  right: -80px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(212, 155, 75, 0.25);
  pointer-events: none;
  z-index: 800;
  white-space: nowrap;
}

/* FILIGREE ORNAMENT DIVIDERS WITH FLICKERING CANDLE EMBLEM */
.filigree-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3.5rem 0;
  color: var(--color-bourbon-light);
  font-size: 0.85rem;
  opacity: 0.75;
}

.filigree-divider::before, .filigree-divider::after {
  content: '';
  height: 1px;
  width: 140px;
  background: linear-gradient(90deg, transparent, rgba(212, 155, 75, 0.45), transparent);
}

/* DOSSIER STYLE CREATOR CARDS */
.dossier-card {
  position: relative;
  background: var(--color-obsidian-card);
  border: 1px solid rgba(212, 155, 75, 0.35);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9);
  transition: var(--transition-smooth);
}

.dossier-card::before {
  content: 'CONFIDENTIAL DOSSIER';
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--color-bourbon-gold);
  border: 1px solid rgba(212, 155, 75, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: rgba(7,5,6,0.6);
}

.dossier-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-bourbon-light);
  box-shadow: var(--shadow-gold);
}

/* SECRET KNOCK & ENTER 3D SPEAKEASY SWINGING DOUBLE DOORS */
#secret-entrance-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  pointer-events: auto;
  perspective: 1400px;
  perspective-origin: center center;
}

#secret-entrance-portal.unlocked {
  pointer-events: none;
  transition: opacity 0.4s ease 1.2s;
  opacity: 0;
}

.speakeasy-door-half {
  position: absolute;
  top: 0;
  width: 50vw !important;
  height: 100vh;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 50%, #161013 0%, #0a0708 70%, #040304 100%);
  box-shadow: inset 0 0 120px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.8);
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 2.4s ease;
  z-index: 10;
  backface-visibility: hidden;
}

.speakeasy-door-half.door-left {
  left: 0;
  transform-origin: left center;
  border-right: 1.5px solid #D49B4B !important;
}

.speakeasy-door-half.door-right {
  right: 0;
  transform-origin: right center;
  border-left: none !important;
}

.door-brass-trim {
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 80%;
  left: 10%;
  border: 1px solid rgba(212, 155, 75, 0.2);
  pointer-events: none;
}

/* 3D Door Swinging Animation on Unlock */
#secret-entrance-portal.unlocked .door-left {
  transform: rotateY(-108deg) scale(0.96);
  box-shadow: -40px 0 100px rgba(0,0,0,0.95);
}

#secret-entrance-portal.unlocked .door-right {
  transform: rotateY(108deg) scale(0.96);
  box-shadow: 40px 0 100px rgba(0,0,0,0.95);
}

.secret-entrance-content {
  position: relative;
  z-index: 20;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 2rem;
  max-width: 650px;
  width: 90%;
  margin: 0 auto;
  gap: 1rem;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

#secret-entrance-portal.unlocked .secret-entrance-content {
  opacity: 0;
  transform: scale(0.85) translateZ(-150px);
}

.entrance-keyhole-glow {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 155, 75, 0.5);
  background: radial-gradient(circle, rgba(212, 155, 75, 0.25) 0%, rgba(7, 5, 6, 0.98) 75%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  cursor: pointer;
  box-shadow: 0 0 45px rgba(212, 155, 75, 0.3);
  transition: all 0.4s ease;
  animation: keyholePulse 3.5s infinite alternate ease-in-out;
}

#secret-entrance-portal.turning #entrance-keyhole-svg {
  transform: rotate(90deg) scale(1.3);
}

#secret-entrance-portal.turning .entrance-keyhole-glow {
  box-shadow: 0 0 100px rgba(243, 200, 130, 0.95);
  border-color: #F3C882;
}

@keyframes keyholePulse {
  from { transform: scale(0.96); box-shadow: 0 0 25px rgba(212, 155, 75, 0.2); }
  to { transform: scale(1.05); box-shadow: 0 0 60px rgba(212, 155, 75, 0.5); }
}

.entrance-keyhole-glow:hover {
  border-color: var(--color-bourbon-light);
  transform: scale(1.08);
}

/* WAX-SEALED VIP ENVELOPE STYLING */
.wax-seal-card {
  background: linear-gradient(145deg, #161013 0%, #0E0A0C 100%);
  border: 1px solid rgba(212, 155, 75, 0.4);
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.95), inset 0 0 30px rgba(212,155,75,0.05);
}

.wax-seal-badge {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #9E2B38 0%, #591A25 70%, #300C12 100%);
  border: 2px solid #D49B4B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 20px rgba(158, 43, 56, 0.6);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.wax-seal-badge:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.9), 0 0 30px rgba(212, 155, 75, 0.5);
}

/* BRASS LOCKBOX ACCESS PORTAL */
.brass-lockbox {
  background: linear-gradient(180deg, rgba(28, 18, 15, 0.95) 0%, rgba(14, 10, 12, 0.98) 100%);
  border: 2px solid rgba(212, 155, 75, 0.45);
  box-shadow: inset 0 0 25px rgba(0,0,0,0.9), 0 20px 50px rgba(0,0,0,0.95);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
}

.brass-lockbox::before {
  content: '♦ SECRET ACCESS PORTAL ♦';
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--color-bourbon-light);
  margin-bottom: 1.25rem;
  text-align: center;
}

/* VEILED COURSE CARD HOVER REVEAL */
.veiled-course-card {
  background: rgba(14, 10, 12, 0.92);
  border: 1px solid rgba(212, 155, 75, 0.25);
  border-radius: 6px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.veiled-course-card::before {
  content: 'CLASSIFIED COURSE';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--color-bourbon-light);
  opacity: 0.6;
}

.veiled-course-blur {
  filter: blur(6px);
  transition: filter 0.5s ease;
  user-select: none;
}

.veiled-course-card:hover .veiled-course-blur {
  filter: blur(0px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-obsidian);
  color: var(--color-champagne);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  background: var(--color-obsidian);
}

/* MODAL OVERLAY & CARDS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 3, 4, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.4s ease;
}

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

.modal-card {
  background: rgba(14, 10, 12, 0.98);
  border: 1px solid rgba(212, 155, 75, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.98), 0 0 40px rgba(212, 155, 75, 0.12);
  border-radius: 6px;
  padding: 2.5rem;
  position: relative;
  width: 100%;
}

/* ANNOUNCEMENT BAR - PERFECTLY CENTERED */
.announcement-bar {
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, rgba(7,5,6,0.98) 0%, rgba(28,18,15,0.98) 50%, rgba(7,5,6,0.98) 100%);
  border-bottom: 1px solid rgba(212, 155, 75, 0.25);
  color: var(--color-champagne);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  text-align: center !important;
  width: 100%;
}

.announcement-bar .container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0.6rem !important;
  flex-wrap: wrap !important;
  margin: 0 auto !important;
  width: 100%;
}

.announcement-bar span,
.announcement-bar a {
  text-align: center !important;
}

@media (max-width: 768px) {
  .announcement-bar {
    font-size: 0.68rem !important;
    padding: 0.6rem 0.5rem !important;
  }
  .announcement-bar .container {
    flex-direction: column !important;
    gap: 0.35rem !important;
  }
  .announcement-bar-sep {
    display: none !important;
  }
}

/* NAVBAR - PERFECT FIT & NO CLIPPING */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 5, 6, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 155, 75, 0.2);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(7, 5, 6, 0.98);
  border-bottom-color: rgba(212, 155, 75, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95);
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 155, 75, 0.4));
}

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--color-champagne);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--color-champagne-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.2rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-bourbon-light);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-champagne);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-controls {
  display: none !important;
}

.mobile-audio-btn {
  display: none !important;
}

/* SLEEK NAVBAR UTILITY ICON BUTTONS */
.nav-ctrl-btn {
  background: rgba(14, 10, 12, 0.7);
  border: 1px solid rgba(212, 155, 75, 0.3);
  color: var(--color-champagne-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.nav-ctrl-btn:hover {
  border-color: var(--color-bourbon-light);
  color: var(--color-bourbon-light);
  transform: scale(1.08);
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-gold);
  color: #0E0B0C;
  border: none;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 155, 75, 0.4);
  filter: brightness(1.1);
}

.btn:active, .btn-primary:active, .btn-rose:active, .btn-outline:active {
  transform: scale(0.97) translateY(0);
  transition: transform 0.08s ease;
}

.btn-rose {
  background: var(--grad-rose);
  color: #FAF6F0;
  border: none;
  box-shadow: var(--shadow-rose);
}

.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(200, 106, 123, 0.35);
  filter: brightness(1.1);
}

.btn-outline {
  background: rgba(14, 10, 12, 0.6);
  color: var(--color-champagne);
  border: 1px solid rgba(212, 155, 75, 0.4);
}

.btn-outline:hover {
  background: rgba(212, 155, 75, 0.12);
  border-color: var(--color-bourbon-light);
  color: var(--color-bourbon-light);
  transform: translateY(-2px);
}

/* HERO SECTION - ELEGANT, SPACIOUS VERTICAL RHYTHM */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  background: var(--color-obsidian);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(0.42) contrast(1.15) saturate(0.9);
  transform: scale(1.02);
  animation: subtleZoom 25s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, rgba(7, 5, 6, 0.15) 0%, rgba(7, 5, 6, 0.6) 85%),
    linear-gradient(180deg, rgba(7, 5, 6, 0.3) 0%, rgba(7, 5, 6, 0.6) 70%, #070506 100%);
  z-index: 2;
}

#bubbles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 950px;
}

.hero-logo-frame {
  margin: 0 auto 1.5rem;
  width: 130px;
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 155, 75, 0.35) 0%, transparent 70%);
  animation: haloPulse 4s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  from { opacity: 0.4; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.1); }
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(212, 155, 75, 0.6));
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  text-shadow: 0 0 30px rgba(212, 155, 75, 0.35);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-champagne);
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.text-gold-gradient {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-rose-gradient {
  background: var(--grad-rose);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* EVENT BADGE & COUNTDOWN */
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(14, 10, 12, 0.88);
  border: 1px solid rgba(212, 155, 75, 0.35);
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  flex-wrap: wrap;
  justify-content: center;
}

.event-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-champagne);
}

.event-badge-item i {
  color: var(--color-bourbon-light);
}

.event-badge-divider {
  width: 4px;
  height: 4px;
  background: var(--color-bourbon-light);
  border-radius: 50%;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-bourbon-light);
  line-height: 1;
  text-shadow: 0 0 15px rgba(212, 155, 75, 0.4);
}

.countdown-label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-champagne-muted);
  margin-top: 0.25rem;
}

.countdown-colon {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-bourbon);
  margin-top: -0.8rem;
  opacity: 0.6;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* SECTION COMMON STYLES */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-bourbon-light);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* HIGHLIGHTS BAR - DEDICATED SPACIOUS SECTION */
.highlights-bar {
  padding: 5rem 0;
  background: var(--color-obsidian-alt);
  border-top: 1px solid rgba(212, 155, 75, 0.2);
  border-bottom: 1px solid rgba(212, 155, 75, 0.2);
  position: relative;
  z-index: 10;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background: rgba(14, 10, 12, 0.92);
  border: 1px solid rgba(212, 155, 75, 0.3);
  padding: 2.2rem 1.8rem;
  border-radius: 6px;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-bourbon-light);
  box-shadow: var(--shadow-gold);
}

.highlight-card:hover .pillar-img {
  transform: scale(1.06);
}

.highlight-icon {
  font-size: 2.2rem;
  color: var(--color-bourbon-light);
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.highlight-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.highlight-sub {
  font-size: 0.82rem;
  color: var(--color-champagne-muted);
}

/* EXPERIENCE SECTION */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.experience-card-stack {
  display: grid;
  gap: 1.2rem;
}

.luxury-card {
  background: var(--color-obsidian-card);
  border: 1px solid rgba(212, 155, 75, 0.22);
  border-radius: 6px;
  padding: 1.8rem;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.luxury-card:hover {
  border-color: rgba(212, 155, 75, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 155, 75, 0.15);
  transform: translateY(-3px);
}

.luxury-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 155, 75, 0.15);
  border: 1px solid rgba(212, 155, 75, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bourbon-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.luxury-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-champagne);
}

.luxury-card p {
  font-size: 0.88rem;
  color: var(--color-champagne-muted);
  line-height: 1.6;
}

/* GALLERY GRID - PERFECT UNIFORM 3x2 DESKTOP GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
    height: 350px;
  border: 1px solid rgba(212, 155, 75, 0.3);
  box-shadow: 0 20px 45px rgba(0,0,0,0.9);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85) contrast(1.05);
}

.gallery-card:hover {
  border-color: var(--color-bourbon-light);
  box-shadow: 0 25px 60px rgba(0,0,0,0.98), 0 0 30px rgba(212, 155, 75, 0.3);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
  filter: brightness(1.0) contrast(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(7, 5, 6, 0.98) 0%, rgba(7, 5, 6, 0.6) 70%, transparent 100%);
  transition: var(--transition-smooth);
}

/* VENUE DESTINATION */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.venue-feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.venue-feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-champagne-muted);
}

.venue-feature-item i {
  color: var(--color-bourbon-light);
}

/* RSVP / WAITLIST SECTION */
.rsvp-section {
  background: linear-gradient(180deg, rgba(14, 10, 12, 0.95) 0%, rgba(7, 5, 6, 0.98) 100%);
  border-top: 1px solid rgba(212, 155, 75, 0.2);
}

.rsvp-container {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(14, 10, 12, 0.92);
  border: 1px solid rgba(212, 155, 75, 0.35);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 155, 75, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(7, 5, 6, 0.85);
  border: 1px solid rgba(212, 155, 75, 0.35);
  border-radius: 6px;
  color: var(--color-champagne);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #F3C882;
  box-shadow: 0 0 0 3px rgba(243, 200, 130, 0.2), 0 0 20px rgba(212, 155, 75, 0.25);
  background: rgba(14, 10, 12, 0.98);
}

.form-select option {
  background: #070506;
  color: #FAF6F0;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
}

.rsvp-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.rsvp-success-icon {
  font-size: 3rem;
  color: var(--color-bourbon-light);
  margin-bottom: 1rem;
}

/* FAQ ACCORDION & UNIFORM CARDS */
.faq-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 185px;
  height: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .faq-card {
    min-height: auto;
  }
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--color-obsidian-card);
  border: 1px solid rgba(212, 155, 75, 0.2);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--color-champagne);
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-champagne-muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active {
  border-color: rgba(212, 155, 75, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* FLOATING BACK TO TOP BUTTON */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #070506;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.15);
}

/* FOOTER */
.footer {
  background: #040304;
  border-top: 1px solid rgba(212, 155, 75, 0.25);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px rgba(212, 155, 75, 0.3));
}

.footer-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 0.88rem;
  color: var(--color-champagne-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-champagne-muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--color-bourbon-light);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.4);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-nav-controls {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
  }

  .mobile-audio-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-bourbon-gold);
    color: var(--color-bourbon-gold);
    background: rgba(14, 10, 12, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(7, 5, 6, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(212, 155, 75, 0.3);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.5s ease-in-out;
  }

  .nav-links.active {
    clip-path: circle(140% at 100% 0);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 1.25rem !important;
  }

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

  .experience-grid, .venue-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .form-group-full {
    grid-column: span 1;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding: 5rem 1rem 3rem !important;
    min-height: 85vh !important;
  }

  .hero-bg img {
    object-position: center 25% !important;
  }

  .hero-logo-frame {
    width: 90px !important;
    height: 90px !important;
    margin: 0 auto 1rem !important;
  }

  .hero-brand-name {
    font-size: clamp(1.35rem, 5.8vw, 2.2rem) !important;
    letter-spacing: 1px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.25 !important;
  }

  .hero-title {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
  }

  .event-badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.45rem !important;
    padding: 0.8rem 1rem !important;
    margin-bottom: 1.25rem !important;
    border-radius: 14px !important;
    font-size: 0.78rem !important;
    max-width: 96% !important;
    box-sizing: border-box !important;
    background: rgba(7, 5, 6, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(212, 155, 75, 0.35) !important;
    text-align: center !important;
  }

  .event-badge-divider {
    display: none !important;
  }

  .event-badge-item {
    font-size: 0.78rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  .countdown-container {
    gap: 0.2rem !important;
    padding: 0.5rem 0.6rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(7, 5, 6, 0.85) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(212, 155, 75, 0.25) !important;
    margin-bottom: 1.5rem !important;
  }

  .countdown-number {
    font-size: 1.35rem !important;
  }

  .countdown-label {
    font-size: 0.6rem !important;
    letter-spacing: 1px !important;
  }

  .countdown-colon {
    font-size: 1.1rem !important;
    padding: 0 2px !important;
  }

  .mobile-toggle {
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
  }
  
  .mobile-audio-btn, .nav-ctrl-btn {
    width: 44px !important;
    height: 44px !important;
  }

  .floating-concierge-pill {
    display: none !important;
  }

  .modal-card {
    width: 95% !important;
    max-width: 100% !important;
    padding: 1.5rem 1rem !important;
    box-sizing: border-box !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

/* ==========================================================================
   RSVP & ACCESS TAB CONTROL BUTTONS (GLOBAL - ALL SCREENS)
   ========================================================================== */
.menu-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(14, 10, 12, 0.92) !important;
  border: 1.5px solid rgba(212, 155, 75, 0.4) !important;
  color: var(--color-bourbon-light) !important;
  padding: 0.75rem 1.6rem !important;
  font-family: var(--font-body), 'Cinzel', serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.35s ease !important;
  border-radius: 6px !important;
  backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
  min-height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.tab-btn:hover {
  background: rgba(212, 155, 75, 0.15) !important;
  border-color: var(--color-bourbon-gold) !important;
  color: var(--color-champagne) !important;
  box-shadow: 0 0 20px rgba(212, 155, 75, 0.3) !important;
  transform: translateY(-2px) !important;
}

.tab-btn.active {
  background: linear-gradient(135deg, #D49B4B 0%, #8F5E24 100%) !important;
  border-color: #F3C882 !important;
  color: #070506 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 25px rgba(212, 155, 75, 0.5) !important;
}


/* ==========================================================================
   MOBILE LAYOUT & BUTTON OVERFLOW OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 640px) {
  .btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0.75rem 0.75rem !important;
    font-size: 0.76rem !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .section {
    padding: 3.5rem 1rem !important;
  }

  .section-title {
    font-size: clamp(1.55rem, 5.5vw, 2.1rem) !important;
    letter-spacing: 1px !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }

  .section-tag {
    font-size: 0.75rem !important;
    letter-spacing: 1.5px !important;
  }

  .highlight-card {
    padding: 1rem !important;
  }

  .highlight-title {
    font-size: 1.05rem !important;
    letter-spacing: 1px !important;
  }

  .highlight-sub {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
  }

  .gallery-card {
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
  }

  .gallery-caption h4 {
    font-size: 0.95rem !important;
  }

  .gallery-caption p {
    font-size: 0.75rem !important;
  }

  .faq-card {
    min-height: auto !important;
    padding: 1.15rem 1rem !important;
  }

  .modal-card {
    width: 96% !important;
    padding: 1.25rem 0.85rem !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 480px) {
  .hero-brand-name {
    font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
  }

  .hero-logo-frame {
    width: 75px !important;
    height: 75px !important;
  }

  .event-badge {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.75rem !important;
  }

  .countdown-container {
    padding: 0.5rem !important;
    gap: 0.15rem !important;
  }

  .countdown-number {
    font-size: 1.15rem !important;
  }
}

/* ==========================================================================
   SPEAKEASY DOUBLE-DOOR KEYHOLE UNLOCK ANIMATION
   ========================================================================== */

#secret-entrance-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speakeasy-door-half {
  position: absolute;
  top: 0;
  width: 50vw;
  height: 100vh;
  background: linear-gradient(135deg, #0f0b0d 0%, #060405 100%);
  border-color: rgba(212, 155, 75, 0.25);
  box-shadow: inset 0 0 100px rgba(0,0,0,0.9);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

.speakeasy-door-half.door-left {
  left: 0;
  border-right: 1px solid rgba(212, 155, 75, 0.35);
}

.speakeasy-door-half.door-right {
  right: 0;
  border-left: 1px solid rgba(212, 155, 75, 0.35);
}

.secret-entrance-content {
  position: relative;
  z-index: 20;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 2rem;
  max-width: 650px;
  width: 90%;
  margin: 0 auto;
  gap: 1rem;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

/* Keyhole Turning & Slow Cinematic 3D Double-Door Swing Animations */
#secret-entrance-portal.turning #entrance-keyhole-svg {
  transform: translate(-1px, 0) rotate(90deg) scale(1.3) !important;
}

#secret-entrance-portal.turning .entrance-keyhole-glow {
  box-shadow: 0 0 140px rgba(243, 200, 130, 1), 0 0 40px rgba(212, 155, 75, 0.8), inset 0 0 30px rgba(243, 200, 130, 0.6) !important;
  border-color: #F3C882 !important;
}

.speakeasy-door-half {
  position: absolute;
  top: 0;
  width: 50vw !important;
  height: 100vh;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 50%, #161013 0%, #0a0708 70%, #040304 100%);
  box-shadow: inset 0 0 120px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.8);
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 2.4s ease !important;
  z-index: 10;
  backface-visibility: hidden;
}

#secret-entrance-portal.unlocked .door-left {
  transform: rotateY(-115deg) scale(0.92) !important;
  box-shadow: -60px 0 120px rgba(0,0,0,0.95) !important;
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 2.4s ease !important;
}

#secret-entrance-portal.unlocked .door-right {
  transform: rotateY(115deg) scale(0.92) !important;
  box-shadow: 60px 0 120px rgba(0,0,0,0.95) !important;
  transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 2.4s ease !important;
}

#secret-entrance-portal.unlocked .secret-entrance-content {
  opacity: 0 !important;
  transform: scale(0.85) translateZ(-150px) !important;
  transition: opacity 0.6s ease, transform 0.8s ease !important;
  pointer-events: none !important;
}

#secret-entrance-portal.unlocked {
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.8s ease 2.2s !important;
}





