/* ==========================================================================
   AUREA ROSE — HAUTE COUTURE LUXURY DESIGN SYSTEM
   THEME: IVORY SILK & ALABASTER WITH 24K GOLD TRIM & FLOATING PANELS
   ========================================================================== */

:root {
  /* Chromatic Palette: Pristine Alabaster, Pearl & Ivory Silk */
  --bg-canvas: #fcf9f6;
  --bg-ivory: #f8f4ee;
  --bg-ivory-warm: #f4ece2;
  --bg-pearl: #fffdfa;
  --bg-silk: #fdfbf9;

  /* Floating Panel Foundations */
  --panel-bg: rgba(255, 255, 255, 0.92);
  --panel-bg-hover: rgba(255, 255, 255, 0.98);
  --panel-bg-solid: #ffffff;
  --panel-blur: blur(24px) saturate(180%);

  /* 24K Haute Gold & Rose Gold Metallic Trim */
  --gold-primary: #c59b27;
  --gold-light: #edd18c;
  --gold-bright: #fff0c7;
  --gold-warm: #b8860b;
  --gold-deep: #8f6215;
  --gold-dark: #664309;

  /* Rose Gold Accents */
  --rose-gold-primary: #d49a8b;
  --rose-gold-light: #f7ddd5;
  --rose-gold-deep: #aa6353;

  /* Gold Trims & Gilded Borders */
  --gold-trim: rgba(197, 155, 39, 0.45);
  --gold-trim-bright: rgba(212, 175, 55, 0.85);
  --gold-trim-subtle: rgba(197, 155, 39, 0.22);
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-glow-intense: rgba(212, 175, 55, 0.45);

  /* Deep Royal Charcoal Typography for Supreme Legibility */
  --text-primary: #1c1119;
  --text-headings: #1f121b;
  --text-secondary: #4a3642;
  --text-muted: #735e6c;
  --text-light: #947f8d;

  /* Cryptographic Emerald Accent */
  --emerald-accent: #059669;
  --emerald-light: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  /* Floating Panel Elevations */
  --panel-shadow: 0 20px 50px -10px rgba(120, 80, 50, 0.08), 0 8px 24px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--gold-trim);
  --panel-shadow-hover: 0 30px 70px -10px rgba(120, 80, 50, 0.14), 0 12px 30px -5px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--gold-trim-bright);
  --panel-shadow-sm: 0 10px 25px -5px rgba(120, 80, 50, 0.06), 0 0 0 1px var(--gold-trim-subtle);

  /* Timeless Luxury Typography */
  --font-serif-display: 'Cinzel Decorative', Georgia, serif;
  --font-serif-title: 'Playfair Display', Georgia, serif;
  --font-serif-sub: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Montserrat', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Motion & Transitions */
  --ease-haute: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.45s var(--ease-haute);
  --transition-fast: all 0.22s ease;
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLING
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background-color: var(--bg-canvas);
  font-size: 16px;
}

body.luxury-ivory {
  font-family: var(--font-sans);
  background: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(212, 175, 55, 0.25);
  color: var(--text-primary);
}

/* Luxury Gilded Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-ivory);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-primary), var(--gold-light));
  border-radius: 4px;
  border: 2px solid var(--bg-ivory);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-warm);
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   WHITE TEXTURED BACKGROUND, DIAMOND HEARTS & AMBIENT GLOWS
   ========================================================================== */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Subtle French Plaster / Ivory Silk Grain Texture */
.ivory-texture-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperGrain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperGrain)'/%3E%3C/svg%3E");
}

/* Warm Champagne & Rose Gold Ambient Pools */
.ambient-nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
  will-change: transform, opacity;
  animation: floatNebula 26s infinite alternate ease-in-out;
}

.ambient-top {
  top: -15%;
  left: 10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(247, 221, 213, 0.7) 0%, rgba(245, 230, 210, 0.4) 50%, transparent 75%);
}

.ambient-center {
  top: 35%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(237, 209, 140, 0.5) 0%, rgba(245, 215, 205, 0.3) 50%, transparent 75%);
  animation-delay: -9s;
}

.ambient-bottom {
  bottom: -20%;
  left: 15%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(243, 215, 205, 0.6) 0%, rgba(230, 210, 185, 0.35) 60%, transparent 80%);
  animation-delay: -18s;
}

@keyframes floatNebula {
  0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
  50% { transform: scale(1.15) translate(-40px, 30px); opacity: 0.45; }
  100% { transform: scale(0.95) translate(30px, -20px); opacity: 0.3; }
}

/* Cursor Spotlight (Warm Pearlescent & Gold Aura) */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  margin-left: -210px;
  margin-top: -210px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 154, 139, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  margin-top: -3.5px;
  background: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  box-shadow: 0 0 10px rgba(197, 155, 39, 0.7);
  transition: opacity 0.3s ease, transform 0.06s linear;
}

/* UV Forensic Beam Overlay */
.uv-beam-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 998;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle 200px at var(--uv-x, -500px) var(--uv-y, -500px), rgba(168, 85, 247, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 100%);
}

body.uv-mode-active .uv-beam-overlay {
  opacity: 1;
}

/* ==========================================================================
   FLOATING PANELS ARCHITECTURE & GOLD TRIM
   ========================================================================== */
.floating-panel {
  position: relative;
  background: var(--panel-bg);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border-radius: 28px;
  box-shadow: var(--panel-shadow);
  transition: var(--transition-smooth);
}

.floating-panel:hover {
  box-shadow: var(--panel-shadow-hover);
  transform: translateY(-4px);
}

.floating-panel-sm {
  background: var(--panel-bg);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border-radius: 20px;
  box-shadow: var(--panel-shadow-sm);
  transition: var(--transition-smooth);
}

/* 24K Gold Trim Boxes with Delicate Bevel Insets */
.gold-trim-box {
  border: 1px solid var(--gold-trim);
  outline: 1px solid rgba(212, 175, 55, 0.18);
  outline-offset: -5px;
}

.gold-trim-box:hover {
  border-color: var(--gold-trim-bright);
  outline-color: rgba(212, 175, 55, 0.35);
}

.gold-trim-subtle {
  border: 1px solid var(--gold-trim-subtle);
}

.gold-trim-subtle:hover {
  border-color: var(--gold-primary);
}

/* Diamond Heart Icon Decorator */
.diamond-heart-icon {
  font-size: 0.95rem;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

/* ==========================================================================
   TOP NETWORK TICKER BAR (IVORY & GOLD TRIM)
   ========================================================================== */
.network-ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: rgba(255, 253, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-trim);
  z-index: 101;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  white-space: nowrap;
  padding: 0 1.5rem;
  animation: tickerScroll 42s linear infinite;
  width: max-content;
}

.ticker-inner:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 8px var(--emerald-accent);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
}

.ticker-label {
  color: var(--gold-warm);
  font-weight: 600;
}

.ticker-val {
  color: var(--text-primary);
  font-weight: 500;
}

.ticker-separator {
  font-size: 0.65rem;
  opacity: 0.7;
}

/* ==========================================================================
   METALLIC GOLD GRADIENTS & SHIMMER EFFECTS
   ========================================================================== */
.gold-gradient-text {
  background: linear-gradient(135deg, #1f121b 0%, #4a2233 35%, #946419 75%, #c59b27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 2px 15px rgba(212, 175, 55, 0.15);
}

.shimmer-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
}

button:hover .shimmer-sweep, a:hover .shimmer-sweep {
  animation: sweep 1.3s var(--ease-haute) forwards;
}

@keyframes sweep {
  0% { left: -120%; }
  100% { left: 220%; }
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (FLOATING GLASS WITH GOLD TRIM)
   ========================================================================== */
.header-glass {
  position: fixed;
  top: 34px;
  left: 0;
  right: 0;
  height: 78px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--panel-blur);
  -webkit-backdrop-filter: var(--panel-blur);
  border-bottom: 1px solid var(--gold-trim);
  box-shadow: 0 10px 30px rgba(120, 80, 50, 0.05);
  z-index: 100;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-monogram {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.sigil-icon-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffdf8 0%, #fbf3e4 80%);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  transition: var(--transition-smooth);
}

.brand-monogram:hover .sigil-icon-ring {
  transform: rotate(180deg) scale(1.08);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.monogram-sigil {
  font-size: 1.35rem;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif-display);
  font-size: 1.2rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--text-headings);
}

.brand-status-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--gold-warm);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s var(--ease-haute), left 0.3s var(--ease-haute);
  box-shadow: 0 2px 8px var(--gold-glow);
}

.nav-link:hover {
  color: var(--gold-warm);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Audio Control & Equalizer Visualizer */
.audio-control-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.audio-btn {
  position: relative;
  overflow: hidden;
  gap: 6px;
  padding: 0 10px;
  width: auto;
  min-width: 44px;
}

.audio-visualizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-right: 4px;
}

.audio-visualizer-bars .bar {
  width: 2.5px;
  background: var(--gold-primary);
  border-radius: 1px;
  height: 3px;
  transition: height 0.2s ease;
}

body.sound-active .audio-visualizer-bars .bar-1 { animation: eqDance 0.8s infinite alternate ease-in-out; }
body.sound-active .audio-visualizer-bars .bar-2 { animation: eqDance 0.6s infinite alternate ease-in-out 0.2s; }
body.sound-active .audio-visualizer-bars .bar-3 { animation: eqDance 1.1s infinite alternate ease-in-out 0.4s; }
body.sound-active .audio-visualizer-bars .bar-4 { animation: eqDance 0.7s infinite alternate ease-in-out 0.1s; }

@keyframes eqDance {
  0% { height: 3px; }
  100% { height: 14px; background: var(--gold-warm); }
}

.audio-state-tooltip {
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  box-shadow: 0 6px 18px rgba(120, 80, 50, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.audio-control-wrapper:hover .audio-state-tooltip {
  opacity: 1;
}

/* Icon Buttons (Floating Ivory Rings) */
.btn-icon {
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-warm);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(120, 80, 50, 0.06);
  transition: var(--transition-smooth);
}

.btn-icon:hover {
  background: #fffdf8;
  border-color: var(--gold-primary);
  transform: scale(1.08);
  box-shadow: 0 6px 20px var(--gold-glow);
  color: var(--gold-dark);
}

.btn-icon svg {
  width: 19px;
  height: 19px;
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-toggle[aria-expanded="true"] .line-1 {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] .line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle[aria-expanded="true"] .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Luxury Outline Button */
.btn-gold-outline {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid var(--gold-primary);
  color: var(--text-headings);
  padding: 0.65rem 1.6rem;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.1);
  transition: var(--transition-smooth);
}

.btn-gold-outline:hover {
  background: #fffdf6;
  border-color: var(--gold-warm);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.25);
  transform: translateY(-2px);
  color: var(--gold-dark);
}

/* Luxury Solid Button (24K Gold Foil) */
.btn-gold-solid {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f5d68b 0%, #d4af37 40%, #b8860b 80%, #946419 100%);
  color: #170d13;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0.95rem 2.2rem;
  border-radius: 38px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -4px rgba(184, 134, 11, 0.4), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.btn-gold-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px -4px rgba(184, 134, 11, 0.55), 0 6px 16px rgba(0, 0, 0, 0.08);
  filter: brightness(1.05);
}

.btn-gold-solid:active {
  transform: translateY(0) scale(0.98);
}

.btn-gold-solid.btn-lg {
  padding: 1.15rem 2.8rem;
  font-size: 0.94rem;
  border-radius: 40px;
}

.btn-gold-solid.full-width {
  width: 100%;
}

/* Luxury Glass Button (Floating Alabaster Pill) */
.btn-gold-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  color: var(--text-primary);
  padding: 0.9rem 2rem;
  border-radius: 38px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(120, 80, 50, 0.06);
  transition: var(--transition-smooth);
}

.btn-gold-glass:hover {
  background: #fffdf9;
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(197, 155, 39, 0.2);
  transform: translateY(-2px);
  color: var(--gold-warm);
}

.btn-gold-glass.btn-sm {
  padding: 0.55rem 1.3rem;
  font-size: 0.76rem;
}

.btn-gold-glass.full-width {
  width: 100%;
}

.pulse-glow {
  animation: buttonPulseGold 3.5s infinite ease-in-out;
}

@keyframes buttonPulseGold {
  0%, 100% { box-shadow: 0 8px 25px -4px rgba(184, 134, 11, 0.4); }
  50% { box-shadow: 0 12px 38px 0px rgba(184, 134, 11, 0.65), 0 0 15px rgba(255, 235, 170, 0.6); }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.4s;
}

.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 17, 25, 0.45);
  backdrop-filter: blur(15px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 420px;
  height: 100%;
  background: #ffffff;
  border-left: 2px solid var(--gold-primary);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-haute);
  box-shadow: -15px 0 50px rgba(120, 80, 50, 0.15);
  overflow-y: auto;
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gold-trim-subtle);
}

.close-drawer-btn {
  font-size: 1.2rem;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-serif-title);
  font-size: 1.2rem;
  color: var(--text-headings);
  text-decoration: none;
  letter-spacing: 0.05em;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gold-trim-subtle);
  transition: var(--transition-fast);
}

.mobile-nav-item:hover {
  color: var(--gold-warm);
  transform: translateX(8px);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-primary);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-enclave-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 165px 1.5rem 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.6rem;
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--gold-warm);
  margin-bottom: 2.2rem;
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.15);
}

.sparkle-icon {
  color: var(--gold-primary);
  animation: spinSlow 12s infinite linear;
}

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

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.title-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: var(--gold-warm);
  text-transform: uppercase;
}

.title-main {
  font-family: var(--font-serif-display);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  letter-spacing: 0.08em;
  font-weight: 900;
  line-height: 1.05;
}

.hero-tagline {
  font-family: var(--font-serif-sub);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--text-secondary);
  max-width: 860px;
  margin: 0 auto 3.4rem;
  line-height: 1.7;
}

/* Master Reliquary Showcase Card (Floating Alabaster Panel with Double Gold Trim) */
.hero-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin: 0 auto 3.8rem;
  perspective: 1200px;
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 125%;
  height: 125%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(235, 195, 120, 0.3) 0%, rgba(247, 215, 205, 0.2) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/* Inspector Tabs */
.inspector-tabs {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(120, 80, 50, 0.06);
}

.inspector-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.48rem 1.2rem;
  border-radius: 24px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.inspector-tab.active {
  background: linear-gradient(135deg, #f5d68b 0%, #d4af37 100%);
  color: #1a0d13;
  box-shadow: 0 2px 10px rgba(184, 134, 11, 0.3);
}

.showcase-card {
  position: relative;
  background: #ffffff;
  border-radius: 34px;
  padding: 1.8rem;
  z-index: 2;
  transition: transform 0.2s ease-out, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
}

.holographic-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.4) 45%, rgba(247, 225, 170, 0.3) 50%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.image-stage {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0d040c; /* Deep velvet under the jewel */
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-trim);
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-haute);
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.7));
}

.showcase-card:hover .showcase-image {
  transform: scale(1.04);
}

.specular-light-glint {
  position: absolute;
  top: var(--glint-y, 35%);
  left: var(--glint-x, 40%);
  width: 160px;
  height: 160px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(245, 215, 140, 0.4) 30%, transparent 70%);
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
  opacity: 0.5;
}

.lens-flare {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.flare-1 {
  top: 24%;
  right: 27%;
  width: 26px;
  height: 26px;
  background: radial-gradient(circle, #fff 0%, #f7d68b 40%, transparent 70%);
  box-shadow: 0 0 25px 8px rgba(255, 255, 255, 0.95);
  animation: flareSparkle 4s infinite ease-in-out;
}

.flare-2 {
  top: 48%;
  left: 35%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #fff 0%, #ffccd5 40%, transparent 70%);
  animation: flareSparkle 5s infinite ease-in-out 1.5s;
}

.flare-3 {
  bottom: 28%;
  right: 30%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #fff 0%, #d4af37 40%, transparent 70%);
  animation: flareSparkle 3.5s infinite ease-in-out 0.8s;
}

@keyframes flareSparkle {
  0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.35) rotate(45deg); opacity: 1; filter: drop-shadow(0 0 12px #fff); }
}

.inspection-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease-haute);
}

.inspection-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.schematic-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.6);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringRotate 20s linear infinite;
}
.ring-1 { width: 65%; height: 65%; }
.ring-2 { width: 85%; height: 85%; border-color: rgba(212, 175, 55, 0.45); animation-direction: reverse; }

@keyframes ringRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.wafer-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
}
.callout-top { top: 15%; left: 10%; }
.callout-bottom { bottom: 15%; right: 10%; }

.callout-dot {
  width: 10px;
  height: 10px;
  background: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-accent);
}

.callout-box {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--emerald-accent);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-align: left;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.callout-box strong { color: var(--text-primary); display: block; }
.callout-box span { color: var(--emerald-accent); font-weight: 600; }

.gem-point {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
  animation: pulseDot 2.5s infinite;
}
.gem-point.pt-1 { top: 22%; left: 48%; }
.gem-point.pt-2 { top: 52%; right: 32%; }
.gem-point.pt-3 { bottom: 32%; left: 38%; }

.gem-point span {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.card-caption {
  margin-top: 1.5rem;
  text-align: center;
}

.sigil-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.sigil-icon {
  font-size: 1.25rem;
}

.sigil-title {
  font-family: var(--font-serif-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-headings);
}

.sigil-desc {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 500;
}

.card-interaction-hint {
  margin-top: 0.7rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--gold-warm);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3.8rem;
}

/* Metric Pills (Floating Alabaster Panels with Gold Trim) */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  padding: 1rem 1.8rem;
}

.stat-number {
  font-family: var(--font-serif-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section-padded {
  padding: 115px 1.5rem;
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4.5rem;
}

.text-center {
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--gold-warm);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-serif-display);
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: var(--text-headings);
}

.section-subtitle {
  font-family: var(--font-serif-sub);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   FEATURES GRID (SECTION 2: ETHOS)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.4rem;
}

.feature-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: radial-gradient(circle, #fffdfa 0%, #fbf3e6 100%);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.2);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 25px rgba(197, 155, 39, 0.35);
}

.gem-icon {
  font-size: 1.75rem;
}

.feature-title {
  font-family: var(--font-serif-title);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--text-headings);
  margin-bottom: 1.1rem;
}

.feature-body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-footer-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold-warm);
  border: 1px solid var(--gold-trim);
  background: rgba(247, 238, 220, 0.5);
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.highlight-card {
  border-color: var(--gold-primary);
  box-shadow: 0 25px 60px -10px rgba(197, 155, 39, 0.18), 0 0 0 1.5px var(--gold-primary);
}

/* ==========================================================================
   SECTION 3: SECRET OBSCURED CODEX & UV FORENSIC BEAM
   ========================================================================== */
.code-section {
  background: linear-gradient(to bottom, transparent 0%, rgba(248, 242, 234, 0.6) 50%, transparent 100%);
}

.badge-classified {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.45rem 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #dc2626;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  box-shadow: 0 0 8px #dc2626;
  animation: pulseDot 1.8s infinite ease-in-out;
}

.highlight-instruction {
  color: var(--gold-warm);
  font-style: normal;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.decoder-controls {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.codex-dossier {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  max-width: 980px;
  margin: 0 auto;
}

.codex-item {
  padding: 2.6rem;
}

.codex-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.codex-num {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--gold-warm);
  font-weight: 700;
}

.codex-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

.codex-item.revealed .status-indicator {
  background: var(--emerald-accent);
  box-shadow: 0 0 8px var(--emerald-accent);
}

.codex-heading {
  font-family: var(--font-serif-title);
  font-size: 1.55rem;
  color: var(--text-headings);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

/* Redacted Container with Pearl Shimmer Veil */
.redacted-container {
  position: relative;
  padding: 1.6rem 1.8rem;
  border-radius: 16px;
  background: #fbf7f2;
  border: 1.5px dashed var(--gold-trim);
  cursor: pointer;
  transition: all 0.5s var(--ease-haute);
}

.classified-text {
  font-family: var(--font-serif-sub);
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 500;
  transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
  user-select: none;
}

.redacted-container[data-revealed="false"] .classified-text {
  filter: blur(10px);
  opacity: 0.22;
  transform: scale(0.99);
}

.obscured-veil {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 242, 230, 0.95) 0%, rgba(245, 235, 220, 0.98) 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: opacity 0.6s var(--ease-haute), visibility 0.6s;
  z-index: 2;
}

.veil-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
  animation: cipherSweep 3.5s infinite ease-in-out;
}

.ciphers {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.38em;
  color: var(--gold-warm);
  font-weight: 700;
}

.redacted-container:hover .obscured-veil,
.redacted-container[data-revealed="true"] .obscured-veil {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.redacted-container:hover .classified-text,
.redacted-container[data-revealed="true"] .classified-text {
  filter: blur(0px);
  opacity: 1;
  transform: scale(1);
  user-select: text;
}

.redacted-container:hover,
.redacted-container[data-revealed="true"] {
  border-style: solid;
  border-color: var(--gold-primary);
  box-shadow: 0 8px 30px rgba(197, 155, 39, 0.15);
  background: #ffffff;
}

.codex-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-trim-subtle);
}

.btn-copy-codex {
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy-codex:hover {
  border-color: var(--gold-primary);
  color: var(--gold-warm);
  box-shadow: 0 4px 12px var(--gold-glow);
}

.decrypted-hash {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 4: THE RELIQUARY & GOLDEN KEY ANATOMY
   ========================================================================== */
.reliquary-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}

.reliquary-visual {
  position: relative;
}

.reliquary-frame {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  background: #0d040c;
  padding: 1.5rem;
}

.reliquary-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  transition: transform 0.8s var(--ease-haute);
}

.reliquary-frame:hover .reliquary-img {
  transform: scale(1.04);
}

.key-hotspot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.key-hotspot:hover, .key-hotspot.active {
  transform: scale(1.25);
  background: linear-gradient(135deg, #f5d68b 0%, #d4af37 100%);
  border-color: #fff;
}

.hotspot-pin {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-headings);
}

.hotspot-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold-primary);
  opacity: 0.7;
  animation: hotspotRings 2s infinite ease-out;
}

.hotspot-stem { top: 48%; left: 45%; }
.hotspot-finial { top: 18%; left: 32%; }
.hotspot-lock { bottom: 25%; right: 28%; }
.hotspot-chip { top: 38%; right: 35%; }

.hotspot-live-status {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
}

.hotspot-live-status .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
}

.specular-sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  filter: drop-shadow(0 0 8px #ffffff);
  box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.9);
  pointer-events: none;
  animation: glintPulse 3.5s infinite ease-in-out;
}

.spec-1 { top: 22%; left: 32%; animation-delay: 0s; }
.spec-2 { top: 38%; right: 28%; animation-delay: 1.2s; }
.spec-3 { bottom: 35%; left: 45%; animation-delay: 2.1s; }

.reliquary-info {
  display: flex;
  flex-direction: column;
}

.reliquary-lead {
  font-family: var(--font-serif-sub);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.artifact-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.8rem;
}

.spec-item {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.2rem 1.4rem;
}

.spec-item.highlighted {
  border-color: var(--gold-primary);
  background: #fffdf8;
  box-shadow: 0 10px 30px rgba(197, 155, 39, 0.2);
  transform: translateX(8px);
}

.spec-bullet {
  font-family: var(--font-serif-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-warm);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-primary);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(197, 155, 39, 0.15);
}

.spec-item strong {
  display: block;
  font-family: var(--font-serif-title);
  font-size: 1.15rem;
  color: var(--text-headings);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.spec-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 5: INTERACTIVE UNLOCKING CHAMBER (KEYHOLE CEREMONY)
   ========================================================================== */
.unlock-section {
  background: linear-gradient(to bottom, transparent 0%, rgba(248, 241, 230, 0.6) 50%, transparent 100%);
}

.interactive-lock-stage {
  max-width: 920px;
  margin: 3.5rem auto 0;
  position: relative;
}

.lock-mechanism-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  min-height: 380px;
  margin-bottom: 2.8rem;
  position: relative;
  padding: 3rem 2rem;
}

.lock-guide-track {
  position: absolute;
  top: 50%;
  left: 25%;
  right: 25%;
  height: 2px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.track-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.track-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 44px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 4px;
  box-shadow: 0 0 12px var(--gold-glow);
  animation: trackFlow 3s infinite ease-in-out;
}

.lock-target {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  z-index: 2;
  transition: transform 0.6s var(--ease-elastic);
}

.padlock-chassis {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  padding: 12px;
  background: #ffffff;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 55px rgba(120, 80, 50, 0.15), 0 0 35px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.lock-img-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.36) translateY(-4px);
  filter: contrast(1.1);
  transition: var(--transition-smooth);
}

.keyhole-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, var(--gold-light) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  filter: blur(3px);
}

.lock-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--gold-warm);
  font-weight: 700;
}

.interactive-key {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 10px;
  background: #ffffff;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 50px rgba(120, 80, 50, 0.15), 0 0 30px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
  z-index: 3;
  transition: transform 1.2s var(--ease-haute), opacity 0.8s ease, box-shadow 0.4s;
  user-select: none;
}

.interactive-key:active {
  cursor: grabbing;
}

.interactive-key:hover {
  box-shadow: 0 25px 65px rgba(120, 80, 50, 0.25), 0 0 50px var(--gold-glow-intense);
}

.key-img-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.4) rotate(-35deg);
  pointer-events: none;
}

.key-status-indicator {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold-warm);
  background: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--gold-trim);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.lock-mechanism-wrapper.unlocked .interactive-key {
  transform: translate(-175px, 0) scale(0.85) rotate(55deg);
  opacity: 0.75;
  cursor: default;
}

.lock-mechanism-wrapper.unlocked .keyhole-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(2.8);
  box-shadow: 0 0 80px 30px var(--gold-glow-intense);
}

.lock-mechanism-wrapper.unlocked .padlock-chassis {
  border-color: var(--gold-primary);
  box-shadow: 0 0 80px 20px var(--gold-glow-intense);
}

.lock-hint {
  font-size: 0.86rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  margin-top: 1rem;
}

.hint-bullet {
  color: var(--gold-primary);
}

/* Unlocked Sanctuary Drawer (Floating White Alabaster Panel) */
.unlocked-sanctuary-drawer {
  margin-top: 4.2rem;
  padding: 3.8rem 2.8rem;
  animation: drawerSlideUp 0.8s var(--ease-haute) forwards;
}

.drawer-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.45rem 1.3rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.4rem;
}

.drawer-title {
  font-family: var(--font-serif-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  margin-bottom: 0.9rem;
}

.drawer-desc {
  font-family: var(--font-serif-sub);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.6rem;
}

.salon-filters {
  display: inline-flex;
  gap: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  padding: 5px;
  border-radius: 30px;
  margin-bottom: 2.6rem;
}

.salon-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 1.3rem;
  border-radius: 22px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.salon-filter-btn.active {
  background: linear-gradient(135deg, #f5d68b 0%, #d4af37 100%);
  color: #170d13;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

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

.salon-card {
  padding: 2.2rem 1.8rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.salon-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.salon-city {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-warm);
  font-weight: 700;
}

.salon-tier-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.55rem;
  background: #fbf5eb;
  border: 1px solid var(--gold-trim);
  border-radius: 10px;
  color: var(--gold-deep);
  font-weight: 600;
}

.salon-title {
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  color: var(--text-headings);
  margin-bottom: 0.5rem;
}

.salon-date {
  font-size: 0.88rem;
  color: var(--gold-warm);
  font-weight: 600;
  margin-bottom: 0.95rem;
}

.salon-excerpt {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.salon-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--gold-trim-subtle);
  gap: 0.5rem;
}

.salon-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pulse-open {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-accent);
  box-shadow: 0 0 6px var(--emerald-accent);
}

.pulse-vouched {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
}

.btn-salon-protocol {
  background: transparent;
  border: none;
  color: var(--gold-warm);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-salon-protocol:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ==========================================================================
   SECTION 6: SOVEREIGN PASS GENERATOR & SIMULATOR
   ========================================================================== */
.pass-section {
  background: linear-gradient(to bottom, transparent 0%, rgba(246, 238, 228, 0.6) 50%, transparent 100%);
}

.pass-preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pass-card-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.pass-card-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1.586 / 1;
  background: linear-gradient(135deg, #ffffff 0%, #faf3eb 50%, #f7ebe1 100%);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  cursor: pointer;
}

.pass-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pass-sigil-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pass-pineapple {
  font-size: 1.5rem;
}

.pass-org-name {
  font-family: var(--font-serif-display);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--text-headings);
}

.pass-diamond-heart {
  font-size: 1.2rem;
}

.pass-card-chip-art {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.chip-grid {
  width: 46px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f5d68b 0%, #b8860b 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(184, 134, 11, 0.25);
}

.chip-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--gold-warm);
  font-weight: 700;
}

.pass-card-alias-display {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pass-field-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.pass-alias-val {
  font-family: var(--font-serif-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-headings);
}

.pass-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.pass-meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pass-tier-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-warm);
  font-weight: 700;
}

.pass-hash-val {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.pass-qr-sigil {
  color: var(--gold-primary);
}

.pass-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.8rem;
}

.panel-heading {
  font-family: var(--font-serif-title);
  font-size: 1.55rem;
  color: var(--text-headings);
}

.panel-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pass-sim-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.zk-metrics-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.zk-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.zk-code {
  color: var(--emerald-accent);
  font-weight: 600;
}

/* ==========================================================================
   SECTION 7: INQUEST APPLICATION FORM & WIZARD
   ========================================================================== */
.inquest-section {
  position: relative;
}

.inquest-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 3.8rem 3.2rem;
}

.inquest-header {
  margin-bottom: 3.2rem;
}

.inquest-lead {
  font-family: var(--font-serif-sub);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0.8rem auto 2.4rem;
}

.wizard-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto;
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.node-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold-trim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.step-node.active .node-num {
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, #f5d68b 0%, #d4af37 100%);
  color: #170d13;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.35);
}

.step-node.completed .node-num {
  border-color: var(--emerald-accent);
  background: var(--emerald-accent);
  color: #ffffff;
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.step-node.active .node-label {
  color: var(--text-headings);
  font-weight: 700;
}

.step-connector {
  flex-grow: 1;
  height: 2px;
  background: var(--gold-trim);
  margin: -1.2rem 0.5rem 0;
  position: relative;
  z-index: 1;
}

.step-connector.active {
  background: var(--gold-primary);
}

.petition-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.wizard-step-pane {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeIn 0.4s var(--ease-haute);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
}

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-headings);
  font-weight: 700;
}

.required-star {
  color: #dc2626;
}

.luxury-input {
  background: #ffffff;
  border: 1.5px solid var(--gold-trim);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  box-shadow: 0 4px 12px rgba(120, 80, 50, 0.04);
  transition: var(--transition-smooth);
}

.luxury-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(197, 155, 39, 0.25);
  background: #fffdf9;
}

.luxury-input::placeholder {
  color: #9c8491;
}

.luxury-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b8860b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.3rem center;
}

.luxury-textarea {
  resize: vertical;
  min-height: 125px;
  line-height: 1.7;
}

.input-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.checkbox-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pill-check {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pill-check input {
  display: none;
}

.pill-check span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.2rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  color: var(--text-secondary);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-fast);
}

.pill-check input:checked + span {
  background: linear-gradient(135deg, #fff9ea 0%, #fbf1d8 100%);
  border-color: var(--gold-primary);
  color: var(--gold-deep);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.2);
}

.covenant-pledges {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin: 0.9rem 0;
}

.form-consent {
  text-align: left;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold-primary);
  border-radius: 6px;
  background: #ffffff;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  transition: all 0.25s ease;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--gold-primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.checkbox-text {
  font-size: 0.94rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.step-nav-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
}

.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.zk-generation-progress {
  padding: 1.6rem;
  border-radius: 16px;
  background: #ffffff;
}

.progress-bar-track {
  width: 100%;
  height: 9px;
  background: #f0e6d6;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--emerald-accent));
  transition: width 0.3s ease;
}

.zk-status-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--emerald-accent);
  font-weight: 700;
}

.form-feedback {
  margin-top: 1.8rem;
  padding: 1.8rem;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  color: #065f46;
  font-size: 0.96rem;
  text-align: left;
}

/* ==========================================================================
   FOOTER (IVORY ALABASTER WITH GOLD TRIM)
   ========================================================================== */
.luxury-footer {
  position: relative;
  background: #ffffff;
  border-top: 2px solid var(--gold-trim);
  padding: 95px 1.5rem 50px;
  z-index: 10;
  box-shadow: 0 -15px 40px rgba(120, 80, 50, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.footer-brand {
  max-width: 440px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 1.2rem;
  line-height: 1.75;
}

.footer-sigil-tagline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-family: var(--font-serif-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold-warm);
  font-weight: 700;
}

.footer-domains {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.domains-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold-warm);
}

.domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.domain-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.45rem 1.1rem;
  background: #fbf5eb;
  border: 1px solid var(--gold-trim);
  border-radius: 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-fast);
}

.domain-tag:hover {
  background: linear-gradient(135deg, #fff9ea 0%, #fbf1d8 100%);
  border-color: var(--gold-primary);
  color: var(--gold-deep);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.25);
}

.smart-contracts-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.hash-str {
  color: var(--gold-deep);
  font-weight: 600;
}

.footer-divider {
  height: 1px;
  background: var(--gold-trim-subtle);
  margin-bottom: 2.8rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.footer-privacy-seal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold-warm);
  font-weight: 600;
}

/* ==========================================================================
   MODAL DIALOGS (FLOATING WHITE PANELS WITH GOLD TRIM)
   ========================================================================== */
dialog.luxury-dialog {
  margin: auto;
  border: none;
  background: transparent;
  padding: 1.5rem;
  max-width: 620px;
  width: 90%;
  outline: none;

  opacity: 0;
  transform: scale(0.92);
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.35s;
  transition-timing-function: var(--ease-haute);
  transition-behavior: allow-discrete;
}

dialog.luxury-dialog[open] {
  opacity: 1;
  transform: scale(1);

  @starting-style {
    opacity: 0;
    transform: scale(0.92);
  }
}

dialog.luxury-dialog::backdrop {
  background: rgba(28, 17, 25, 0);
  backdrop-filter: blur(0px);
  transition: display 0.35s allow-discrete, overlay 0.35s allow-discrete, background 0.35s ease-out, backdrop-filter 0.35s ease-out;
}

dialog.luxury-dialog[open]::backdrop {
  background: rgba(28, 17, 25, 0.55);
  backdrop-filter: blur(20px);

  @starting-style {
    background: rgba(28, 17, 25, 0);
    backdrop-filter: blur(0px);
  }
}

.dialog-content {
  background: #ffffff;
  padding: 2.8rem 2.4rem;
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.dialog-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  background: #fbf5eb;
  border: 1px solid var(--gold-trim);
  padding: 0.35rem 0.9rem;
  border-radius: 14px;
  font-weight: 700;
}

.receipt-badge {
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.dialog-close-btn {
  background: #ffffff;
  border: 1px solid var(--gold-trim);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dialog-close-btn:hover {
  background: var(--gold-bright);
  color: var(--text-primary);
  border-color: var(--gold-primary);
}

.dialog-title {
  font-family: var(--font-serif-title);
  font-size: 1.95rem;
  margin-bottom: 0.45rem;
}

.dialog-location, .dialog-subtitle {
  font-size: 0.98rem;
  color: var(--gold-warm);
  font-weight: 600;
  margin-bottom: 2rem;
}

.dialog-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  text-align: left;
}

.dialog-section h4 {
  font-family: var(--font-serif-title);
  font-size: 1.1rem;
  color: var(--text-headings);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.dialog-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.receipt-card {
  background: #fbf7f1;
  border-radius: 16px;
  padding: 1.8rem;
  margin: 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-align: left;
}

.receipt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--gold-trim);
  color: var(--gold-deep);
  font-weight: 700;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-secondary);
}

.receipt-row strong {
  color: var(--text-headings);
}

.status-verified-text {
  color: var(--emerald-accent);
  font-weight: 700;
}

.receipt-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  pointer-events: none;
}

.luxury-toast {
  background: #ffffff;
  border: 1.5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 1rem 1.6rem;
  box-shadow: 0 15px 40px rgba(120, 80, 50, 0.15), 0 0 25px var(--gold-glow);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  pointer-events: auto;
  animation: toastSlideIn 0.4s var(--ease-haute) forwards;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast-icon {
  font-size: 1.2rem;
  color: var(--gold-warm);
}

/* ==========================================================================
   PARTICLE EXPLOSION LAYER
   ========================================================================== */
#sparkle-explosion-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

.burst-particle {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  animation: particleFly 1.3s cubic-bezier(0.12, 0.8, 0.33, 1) forwards;
}

@keyframes particleFly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN & ACCESSIBILITY
   ========================================================================== */
@media (max-width: 1080px) {
  .reliquary-layout, .pass-preview-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media (max-width: 960px) {
  .header-container { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .lock-mechanism-wrapper { gap: 2rem; }
  .hero-stats-row { gap: 1rem; }
}

@media (max-width: 680px) {
  .hero-section { padding-top: 140px; }
  .lock-mechanism-wrapper { flex-direction: column; gap: 2.5rem; }
  .lock-guide-track { display: none; }
  .lock-mechanism-wrapper.unlocked .interactive-key {
    transform: translate(0, -140px) scale(0.8) rotate(55deg);
  }
  .inquest-card { padding: 2.2rem 1.4rem; }
  .wizard-stepper { flex-direction: column; gap: 1rem; }
  .step-connector { display: none; }
  .dialog-content { padding: 2rem 1.4rem; }
  .unlocked-sanctuary-drawer { padding: 2.2rem 1.2rem; }
  .pass-card-inner { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
