/* ===== ESCENA 15: FLORES OCULTAS (FINAL) ===== */

#escena-15 {
    background: radial-gradient(ellipse at center, #2d1044 0%, #1a0525 40%, #0d0015 100%);
    overflow: hidden;
    position: relative;
    cursor: crosshair;
}

#escena15-mensaje-oculto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1; /* Detrás de las flores */
    width: 80%;
    max-width: 600px;
    pointer-events: none;
}

#escena15-mensaje-oculto h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #ffb6c1;
    text-shadow: 0 0 15px rgba(255, 182, 193, 0.6), 0 0 30px rgba(255, 105, 180, 0.4);
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
}

#escena15-flores-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Sobre el mensaje */
}

/* Estilos para las rosas reales */
.escena15-flor {
    position: absolute;
    width: 90px; 
    height: 90px;
    margin-left: -45px;
    margin-top: -45px;
    transform: scale(var(--s)) rotate(var(--r));
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 1.2s ease;
    will-change: transform, opacity;
    
    /* Imagen fotorrealista transparente */
    background-image: url('../img/realistic_pink_rose_transparent.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Variación sutil de color para cada flor */
    filter: hue-rotate(var(--hue)) saturate(var(--sat)) drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

/* Cuando el cursor pasa cerca, aplicamos esta clase */
.escena15-flor.despejada {
    transform: scale(0) rotate(calc(var(--r) + 90deg)) translateY(50px) !important;
    opacity: 0 !important;
    animation: none !important; /* Detener la flotación si se está desvaneciendo */
}

@keyframes flotar {
    0% {
        transform: scale(var(--s)) rotate(var(--r)) translate(0px, 0px);
    }
    100% {
        transform: scale(var(--s)) rotate(calc(var(--r) + 5deg)) translate(4px, -4px);
    }
}
