/* ===== NAVEGACIÓN FLOTANTE ENTRE ESCENAS ===== */

#nav-escenas {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: none; /* Se muestra solo cuando la historia comienza */
    gap: 8px;
    background: rgba(10, 0, 20, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 128, 171, 0.2);
    border-radius: 40px;
    padding: 8px 16px;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 64, 129, 0.1);
}

#nav-escenas.visible {
    display: flex;
}

/* Cada botón de escena */
.nav-btn-escena {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn-escena:hover {
    background: rgba(255, 128, 171, 0.12);
}

/* Punto indicador */
.nav-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 128, 171, 0.4);
    transition: all 0.3s ease;
}

.nav-btn-escena.activa .nav-dot {
    background: #ff80ab;
    border-color: #ff80ab;
    box-shadow: 0 0 8px rgba(255, 128, 171, 0.9), 0 0 16px rgba(255, 64, 129, 0.5);
    transform: scale(1.3);
}

.nav-btn-escena:hover .nav-dot {
    background: rgba(255, 128, 171, 0.5);
    border-color: rgba(255, 128, 171, 0.8);
}

/* Emoji / ícono de la escena */
.nav-icono {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.nav-btn-escena.activa .nav-icono,
.nav-btn-escena:hover .nav-icono {
    opacity: 1;
}

/* Tooltip con el nombre de la escena */
.nav-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(10, 0, 20, 0.9);
    color: rgba(255, 200, 220, 0.9);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 128, 171, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-btn-escena:hover .nav-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Separador entre escenas */
.nav-separador {
    width: 1px;
    height: 16px;
    background: rgba(255, 128, 171, 0.2);
    border-radius: 1px;
}
