/* ==========================================================================
   LE COMPTOIR DES ESSENCES — SALA: LA RESERVA PRIVADA (HOJA EXCLUSIVA DESKTOP)
   Atmósfera: Noche Urbana / Rascacielos / Rayos / Lujo de Alta Costura
   - Logotipo Emblemático Superior Derecha con Animación wowAuraGlow
   - Expositor Izquierdo: Blue Rain Le Parfum (Foco Ámbar Dorado)
   - Expositor Derecho: Black Intense Red Mystique (Foco Azul Eléctrico)
   - Centrado Axial Exacto, Levitación Desincronizada y Reflejo en Suelo Mojado
   Media Target: (min-width: 769px)
   ========================================================================== */

:root {
    --gold-primary: #C5A059;
    --gold-bright: #D4AF37;
    --gold-dark: #8C6B1C;
    --gold-border: rgba(197, 160, 89, 0.45);
    
    --amber-glow: #FFAE19;
    --amber-spot-border: rgba(212, 175, 55, 0.3);
    --amber-spot-shadow: rgba(212, 175, 55, 0.15);
    
    --blue-electric: #00B4FF;
    --blue-glow: #4DC3FF;
    --blue-spot-border: rgba(0, 180, 255, 0.3);
    --blue-spot-shadow: rgba(0, 180, 255, 0.15);

    --bg-dark: #050608;
    --text-pure-white: #FFFFFF;
    --text-cream: #F4F0EC;
    --text-muted: #A09B93;
    
    --font-title: 'Cinzel', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    overflow: hidden;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

.reserva-privada-stage, #reserva-privada-canvas, #boutique-viewport, .stage-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.reserva-privada-stage::before,
#reserva-privada-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/backgrounds/la-reserva-privada-bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
    animation: reservaFadeIn 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes reservaFadeIn {
    from {
        opacity: 0.85;
        transform: scale(1.005);
    }
    to {
        opacity: 1;
        transform: scale(1.0);
    }
}

/* ==========================================================================
   1. LOGOTIPO SUPERIOR (GESTIONADO DE FORMA CANÓNICA EN global-frame.css)
   ========================================================================== */

/* Shimmer Dinámico Oro Champagne / Seda Metálica */
@keyframes goldShimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* ==========================================================================
   2. IDENTIDAD CENTRAL DE MARCA (#spot-logo)
   ========================================================================== */

#spot-logo {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 30;
    pointer-events: auto;
    cursor: default;
}

.room-title {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 6px;
    background: linear-gradient(120deg, #d8bf8d 0%, #ffffff 30%, #c9a86a 55%, #f4e8c1 80%, #b88d44 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 7s ease-in-out infinite;
    filter: drop-shadow(0 2px 12px rgba(201, 168, 106, 0.35));
    transition: filter 0.4s ease;
}

.brand-subtitle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 4.5px;
    color: var(--gold-bright);
    margin-top: 5px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    text-transform: uppercase;
}

#spot-logo:hover .room-title {
    filter: drop-shadow(0 2px 18px rgba(212, 175, 55, 0.8)) drop-shadow(0 0 25px rgba(255, 235, 170, 0.5));
}

/* ==========================================================================
   3. KEYFRAMES DE LEVITACIÓN Y SOMBRA ORGÁNICA
   ========================================================================== */

/* Frasco Izquierdo: 4.2s */
@keyframes bottleLevitateLeft {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes shadowLevitateLeft {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    100% {
        transform: scale(0.88);
        opacity: 0.55;
    }
}

@keyframes reflectionLevitateLeft {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(8px);
    }
}

/* Frasco Derecho: 4.8s */
@keyframes bottleLevitateRight {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-8px);
    }
}

@keyframes shadowLevitateRight {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    100% {
        transform: scale(0.88);
        opacity: 0.55;
    }
}

@keyframes reflectionLevitateRight {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(8px);
    }
}

/* ==========================================================================
   4. FRASCOS LATERALES SOBRE PEDESTALES (CENTRADO AXIAL Y LEVITACIÓN)
   ========================================================================== */

.spot-bottle {
    position: absolute;
    bottom: 37.2%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    z-index: 20;
    min-width: 90px;
    padding: 0 10px;
    outline: none;
}

.bottle-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.bottle-contact-shadow {
    width: 105px;
    height: 16px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 45%, transparent 75%);
    border-radius: 50%;
    margin-top: -8px;
    filter: blur(3px);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.4s var(--transition-smooth), opacity 0.4s ease;
}

/* --- Expositor Izquierdo: Blue Rain Le Parfum (#spot-left) --- */
#spot-left {
    left: 21.3%;
    bottom: 37.2%;
    transform: translateX(-50%);
}

#spot-left .perfume-bottle {
    height: 165px;
    max-height: 18vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 12px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 18px rgba(212, 175, 55, 0.45));
    transition: transform 0.4s var(--transition-smooth), filter 0.4s ease;
    position: relative;
    z-index: 2;
    animation: bottleLevitateLeft 4.2s ease-in-out infinite alternate;
}

#spot-left .shadow-left {
    animation: shadowLevitateLeft 4.2s ease-in-out infinite alternate;
}

#spot-left:hover .perfume-bottle,
#spot-left:focus-visible .perfume-bottle {
    animation-play-state: paused;
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 20px 16px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 28px rgba(255, 180, 40, 0.95)) drop-shadow(0 0 45px rgba(255, 215, 80, 0.6)) brightness(1.08);
}

#spot-left:hover .shadow-left,
#spot-left:focus-visible .shadow-left {
    animation-play-state: paused;
    transform: scale(1.12);
    opacity: 0.95;
    filter: blur(4px);
}

/* --- Expositor Derecho: Black Intense Red Mystique (#spot-right) --- */
#spot-right {
    left: 78.7%;
    bottom: 37.2%;
    transform: translateX(-50%);
}

#spot-right .perfume-bottle {
    height: 165px;
    max-height: 18vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 12px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 18px rgba(0, 180, 255, 0.45));
    transition: transform 0.4s var(--transition-smooth), filter 0.4s ease;
    position: relative;
    z-index: 2;
    animation: bottleLevitateRight 4.8s ease-in-out infinite alternate;
}

#spot-right .shadow-right {
    animation: shadowLevitateRight 4.8s ease-in-out infinite alternate;
}

#spot-right:hover .perfume-bottle,
#spot-right:focus-visible .perfume-bottle {
    animation-play-state: paused;
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 20px 16px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 28px rgba(0, 180, 255, 0.95)) drop-shadow(0 0 45px rgba(80, 220, 255, 0.6)) brightness(1.08);
}

#spot-right:hover .shadow-right,
#spot-right:focus-visible .shadow-right {
    animation-play-state: paused;
    transform: scale(1.12);
    opacity: 0.95;
    filter: blur(4px);
}

/* ==========================================================================
   5. REFLEJO ESPECULAR EN EL SUELO MOJADO (.spot-reflection)
   ========================================================================== */

.spot-reflection {
    position: absolute;
    top: calc(100% + 55px);
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    width: 75%;
    height: auto;
    z-index: 4;
    pointer-events: none;
    opacity: 0.48;
    transition: opacity 0.4s ease;
}

.spot-bottle:hover .spot-reflection,
.spot-bottle:focus-visible .spot-reflection,
.spot-active .spot-reflection {
    opacity: 0.65;
}

.reflection-bottle {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: blur(3px) brightness(1.4);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}

#spot-left .reflection-img-left {
    filter: blur(3px) brightness(1.4) drop-shadow(0 0 10px rgba(255, 180, 40, 0.4));
    animation: reflectionLevitateLeft 4.2s ease-in-out infinite alternate;
}

#spot-right .reflection-img-right {
    filter: blur(3px) brightness(1.4) drop-shadow(0 0 10px rgba(0, 180, 255, 0.4));
    animation: reflectionLevitateRight 4.8s ease-in-out infinite alternate;
}

/* ==========================================================================
   6. CARTELAS INFORMATIVAS FLOTANTES (GLASSMORPHISM TRANSLÚCIDO REAL)
   ========================================================================== */

.spot-caption,
.perfume-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--transition-smooth);
    padding: 8px 14px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 18, 0.22);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 4px;
    z-index: 25;
}

#spot-left .spot-caption {
    border: 1px solid rgba(212, 175, 55, 0.25);
}

#spot-right .spot-caption {
    border: 1px solid rgba(0, 180, 255, 0.25);
}

.spot-bottle:hover .spot-caption,
.spot-bottle:hover .perfume-label,
.spot-bottle:focus-visible .spot-caption,
.spot-bottle:focus-visible .perfume-label,
.spot-active .spot-caption,
.spot-active .perfume-label {
    opacity: 1;
    transform: translateX(-50%) translateY(10px);
}

.fragrance-title {
    font-family: var(--font-title);
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.fragrance-title span {
    display: block;
    font-size: 0.80rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-pure-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
}

.fragrance-title .sub-title {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    color: #E8DFD4;
    margin-top: 1px;
    line-height: 1.2;
}

.brand-name {
    font-family: var(--font-sans);
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: var(--gold-bright);
    text-transform: uppercase;
    margin: 3px 0 0 0;
    line-height: 1.2;
    text-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   7. BOTÓN CINCELADO EN EL MOSTRADOR (#spot-nav)
   ========================================================================== */

#spot-nav {
    position: absolute;
    left: 50%;
    bottom: 5.5%;
    transform: translateX(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes luxuryAuraPulse {
    0%, 100% {
        color: var(--text-cream);
        text-shadow: 
            0 0 8px rgba(212, 175, 55, 0.6),
            0 0 16px rgba(212, 175, 55, 0.35),
            0 2px 4px rgba(0, 0, 0, 0.85);
    }
    50% {
        color: var(--gold-bright);
        text-shadow: 
            0 0 14px rgba(212, 175, 55, 1),
            0 0 28px rgba(255, 215, 0, 0.75),
            0 2px 6px rgba(0, 0, 0, 0.95);
    }
}

@keyframes lineAuraPulse {
    0%, 100% {
        width: 55%;
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
    }
    50% {
        width: 85%;
        box-shadow: 0 0 14px rgba(212, 175, 55, 1);
    }
}

.btn-cincelado {
    background: transparent;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    outline: none;
}

.btn-cincelado-text {
    font-family: var(--font-title);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 3.5px;
    text-align: center;
    animation: luxuryAuraPulse 3s ease-in-out infinite;
    transition: all 0.35s ease;
}

.btn-cincelado-line {
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 50%, transparent 100%);
    margin-top: 4px;
    animation: lineAuraPulse 3s ease-in-out infinite;
    transition: all 0.4s var(--transition-smooth);
}

.btn-cincelado:hover .btn-cincelado-text,
.btn-cincelado:focus-visible .btn-cincelado-text {
    animation: none;
    color: var(--gold-bright);
    letter-spacing: 4px;
    text-shadow: 0 0 16px rgba(212, 175, 55, 1);
}

.btn-cincelado:hover .btn-cincelado-line,
.btn-cincelado:focus-visible .btn-cincelado-line {
    animation: none;
    width: 100%;
    box-shadow: 0 0 14px rgba(212, 175, 55, 1);
}

/* ==========================================================================
   8. MENÚ FLOTANTE FLANCO IZQUIERDO (#collections-menu)
   ========================================================================== */

.boticario-floating-nav {
    position: fixed;
    left: 4.5%;
    right: auto;
    bottom: 21%;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s var(--transition-smooth), visibility 0.35s ease;
}

.boticario-floating-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Cabecera Flotante */
.boticario-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 10px 4px;
    border-bottom: 1.5px solid transparent;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
    background-size: 100% 1.5px;
    background-position: bottom;
    background-repeat: no-repeat;
    margin-bottom: 8px;
}

.boticario-eyebrow {
    font-family: var(--font-title);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 3.5px;
    text-align: left;
    color: var(--gold-bright);
    animation: luxuryAuraPulse 3s ease-in-out infinite;
    display: inline-block;
}

.btn-close-boticario {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold-bright);
    cursor: pointer;
    padding: 2px 6px;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    outline: none;
}

.btn-close-boticario:hover,
.btn-close-boticario:focus-visible {
    color: var(--text-pure-white);
    transform: rotate(90deg) scale(1.1);
}

/* Fila de Sala */
.boticario-nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 2px;
    background: rgba(10, 10, 10, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

/* Estado Hover */
.boticario-nav-item:hover {
    background: rgba(20, 20, 20, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding-left: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Estado Activo: La Reserva Privada */
.boticario-nav-item.active {
    background: rgba(25, 22, 18, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gold-bright);
    padding-left: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 0 8px rgba(212, 175, 55, 0.25);
}

/* Títulos de Salas */
.boticario-nav-title {
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: var(--text-cream);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.boticario-nav-item:hover .boticario-nav-title,
.boticario-nav-item.active .boticario-nav-title {
    color: var(--gold-bright); 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Lemas en 2 Líneas */
.boticario-nav-desc {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.35;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-top: 4px;
    transition: color 0.3s ease;
}

.boticario-nav-item:hover .boticario-nav-desc,
.boticario-nav-item.active .boticario-nav-desc {
    color: #E2DDD5;
}

/* Retorno Total Garantizado al Boticario */
.logo-home-link, 
#brand-emblem, 
#spot-logo, 
.trastienda-logo-link {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}
