:root {
    /* Paleta Espacial Romántica */
    --primary: #ff4d6d;      /* Rosa neón para botones */
    --primary-glow: rgba(255, 77, 109, 0.6); /* Resplandor del botón */
    --secondary: #c9184a;    /* Rosa oscuro */
    --text-main: #ffffff;    /* Texto principal blanco */
    --text-muted: #d1d1d1;   /* Texto secundario gris claro */
    
    /* Variables del cristal oscuro */
    --glass-bg: rgba(20, 20, 25, 0.75); /* Negro/Azul muy oscuro y transparente */
    --glass-border: rgba(255, 255, 255, 0.15); /* Borde sutil */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text-main);
    
    /* FONDO DE NEBULOSA ANIMADA */
    background: linear-gradient(-45deg, #000000, #1a0b2e, #100b30, #2b1055);
    background-size: 400% 400%;
    animation: nebulaMove 15s ease infinite;
    position: relative;
}

/* Animación del fondo */
@keyframes nebulaMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- ESTRELLAS (Truco CSS para no usar imágenes) --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    z-index: 0;
    opacity: 0.6; /* Estrellas sutiles */
    pointer-events: none;
}

/* Pantallas */
.screen {
    min-height: 100vh;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1; /* Encima de las estrellas */
}

.screen.active { display: flex; }
.hidden { display: none; }

/* Intro Screen específica */
#intro-screen h1 { text-shadow: 0 0 20px rgba(255, 77, 109, 0.8); }

/* --- TARJETA DE CRISTAL OSCURO --- */
.container {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px); /* Efecto borroso detrás */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); /* Sombra profunda */
    border: 1px solid var(--glass-border);
}

/* Foto Interactiva */
.photo-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: -70px auto 20px; /* Flotando sobre el borde */
}

#profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff; /* Borde blanco para resaltar sobre lo oscuro */
    box-shadow: 0 0 25px rgba(255, 77, 109, 0.5); /* Resplandor neón */
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: floatPhoto 4s ease-in-out infinite;
}
#profile-photo:active { transform: scale(0.9); }

.birthday-hat {
    position: absolute;
    /* Ajustamos para que "toque" el borde del círculo */
    top: -18px;  /* Antes estaba en -25px (muy arriba) */
    right: -5px; /* Antes en 5px. Negativo lo saca un poco para que caiga de lado */
    
    /* Reduje un poquito el tamaño para que sea más proporcional */
    font-size: 3rem; 
    
    z-index: 5;
    pointer-events: none;
    /* Sombra para que se integre mejor en el modo oscuro */
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
    /* Mantenemos la animación de balanceo */
    animation: swing 3s ease-in-out infinite;
}

/* Animaciones */
@keyframes floatPhoto {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes swing {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

/* --- TIPOGRAFÍA Y FORMULARIOS --- */
h1 {
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 77, 109, 0.4);
}
.subtitle { color: var(--text-muted); margin-bottom: 30px; font-weight: 300; }
.question { 
    font-size: 1.3rem; 
    font-weight: 600; 
    margin: 25px 0; 
    color: var(--text-main); 
}

/* Input Oscuro */
input {
    width: 85%;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05); /* Fondo casi transparente */
    color: white; /* Texto blanco al escribir */
    margin: 10px 0;
    font-size: 18px;
    outline: none;
    text-align: center;
    transition: all 0.3s;
}
input::placeholder { color: rgba(255,255,255,0.4); }
input:focus { 
    border-color: var(--primary); 
    box-shadow: 0 0 15px var(--primary-glow); 
    background: rgba(255,255,255,0.1);
}

/* Aviso Pista (Estilo Dark) */
.input-hint {
    font-size: 0.75rem;
    color: #ffeba7; /* Amarillo pálido legible */
    background-color: rgba(255, 235, 167, 0.1); /* Amarillo muy transparente */
    border: 1px solid rgba(255, 235, 167, 0.3);
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

/* --- BOTONES NEÓN --- */
.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px var(--primary-glow); /* Efecto Glow */
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-large { font-size: 1.2rem; padding: 18px 50px; margin-top: 30px; }

.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 30px var(--primary); /* Glow más fuerte al hover */
}
.btn-primary:active { transform: scale(0.95); }

.btn-secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: white;
    color: white;
    background: rgba(255,255,255,0.1);
}

/* Progress Bar */
.progress-bar {
    width: 80%;
    height: 6px;
    background: rgba(255,255,255,0.1); /* Riel oscuro */
    border-radius: 10px;
    margin: 0 auto 30px;
    overflow: hidden;
}
#progress {
    height: 100%;
    background: linear-gradient(90deg, #ff4d6d, #ff9e00); /* Degradado fuego/rosa */
    box-shadow: 0 0 10px var(--primary);
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- ESTILOS DEL DASHBOARD (MENÚ DE OPCIONES) --- */

/* Grid para organizar las tarjetas (una al lado de otra en PC, vertical en móvil) */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Estilo de cada Tarjeta de Opción */
.card-option {
    background: rgba(255, 255, 255, 0.05); /* Muy transparente */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px 20px;
    width: 100%;
    max-width: 220px; /* Tamaño controlado */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Efecto Hover (Brillo y elevación) */
.card-option:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-option:active { transform: scale(0.95); }

/* Íconos flotantes */
.icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    position: relative;
}

/* Colores Neón para los íconos */
.neon-green {
    background: rgba(30, 215, 96, 0.15); /* Verde Spotify */
    border: 1px solid rgba(30, 215, 96, 0.4);
    box-shadow: 0 0 15px rgba(30, 215, 96, 0.2);
    color: #1ed760;
}

.neon-purple {
    background: rgba(189, 11, 224, 0.15); /* Morado Casino */
    border: 1px solid rgba(189, 11, 224, 0.4);
    box-shadow: 0 0 15px rgba(189, 11, 224, 0.2);
    color: #bd0be0;
}

/* Textos dentro de la tarjeta */
.card-option h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.card-option p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nota final pequeña */
.footer-note {
    margin-top: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* Media Query: En móviles muy pequeños, tarjetas al 100% de ancho */
@media (max-width: 480px) {
    .menu-grid {
        flex-direction: column;
        align-items: center;
    }
    .card-option {
        max-width: 90%; /* Ocupan casi todo el ancho */
        display: flex;  /* Layout horizontal en móvil para ahorrar espacio vertical */
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 15px;
    }
    
    .icon-container {
        width: 50px; 
        height: 50px; 
        font-size: 1.5rem;
        margin: 0 15px 0 0; /* Margen a la derecha */
    }
    
    /* Ocultar el texto descriptivo largo en móviles para que sea más limpio */
    .card-option p { display: none; }
    
    .card-option h3 { margin: 0; font-size: 1rem; }
    .btn-text { display: none; } /* Solo ícono y título */
}/* --- ESTILOS DEL DASHBOARD (MENÚ DE OPCIONES) --- */

/* Grid para organizar las tarjetas (una al lado de otra en PC, vertical en móvil) */
.menu-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* Estilo de cada Tarjeta de Opción */
.card-option {
    background: rgba(255, 255, 255, 0.05); /* Muy transparente */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 30px 20px;
    width: 100%;
    max-width: 220px; /* Tamaño controlado */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Efecto Hover (Brillo y elevación) */
.card-option:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-option:active { transform: scale(0.95); }

/* Íconos flotantes */
.icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    position: relative;
}

/* Colores Neón para los íconos */
.neon-green {
    background: rgba(30, 215, 96, 0.15); /* Verde Spotify */
    border: 1px solid rgba(30, 215, 96, 0.4);
    box-shadow: 0 0 15px rgba(30, 215, 96, 0.2);
    color: #1ed760;
}

.neon-purple {
    background: rgba(189, 11, 224, 0.15); /* Morado Casino */
    border: 1px solid rgba(189, 11, 224, 0.4);
    box-shadow: 0 0 15px rgba(189, 11, 224, 0.2);
    color: #bd0be0;
}

/* Textos dentro de la tarjeta */
.card-option h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--text-main);
}

.card-option p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nota final pequeña */
.footer-note {
    margin-top: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
}

/* Media Query: En móviles muy pequeños, tarjetas al 100% de ancho */
@media (max-width: 480px) {
    .menu-grid {
        flex-direction: column;
        align-items: center;
    }
    .card-option {
        max-width: 90%; /* Ocupan casi todo el ancho */
        display: flex;  /* Layout horizontal en móvil para ahorrar espacio vertical */
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 15px;
    }
    
    .icon-container {
        width: 50px; 
        height: 50px; 
        font-size: 1.5rem;
        margin: 0 15px 0 0; /* Margen a la derecha */
    }
    
    /* Ocultar el texto descriptivo largo en móviles para que sea más limpio */
    .card-option p { display: none; }
    
    .card-option h3 { margin: 0; font-size: 1rem; }
    .btn-text { display: none; } /* Solo ícono y título */
}

/* --- ESTILOS DE LA PLAYLIST --- */

.player-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.back-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.back-btn:hover { background: var(--primary); border-color: var(--primary); }

.playlist-container {
    height: 60vh; /* Altura máxima para hacer scroll interno */
    overflow-y: auto; /* Scroll si son muchas canciones */
    padding-bottom: 50px;
    /* Estilo de scrollbar fino */
    scrollbar-width: thin; 
    scrollbar-color: var(--primary) transparent;
}

/* Item de Canción Individual */
.song-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.song-item.active {
    background: rgba(255, 77, 109, 0.1); /* Fondo rosado suave al abrir */
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.2);
}

/* Información visible siempre (Título y Artista) */
.song-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.song-title {
    font-weight: 600;
    color: var(--text-main);
    display: block;
}
.song-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.expand-icon { font-size: 1.2rem; transition: transform 0.3s; }

.song-item.active .expand-icon { transform: rotate(180deg); }

/* Contenido Oculto (Nota y Player) */
.song-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    opacity: 0;
    margin-top: 0;
}

.song-item.active .song-details {
    max-height: 500px; /* Suficiente para nota + player */
    opacity: 1;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.personal-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #ffeba7; /* Amarillo suave para la nota */
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}/* --- ESTILOS DE LA PLAYLIST --- */

.player-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.back-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.back-btn:hover { background: var(--primary); border-color: var(--primary); }

.playlist-container {
    height: 60vh; /* Altura máxima para hacer scroll interno */
    overflow-y: auto; /* Scroll si son muchas canciones */
    padding-bottom: 50px;
    /* Estilo de scrollbar fino */
    scrollbar-width: thin; 
    scrollbar-color: var(--primary) transparent;
}

/* Item de Canción Individual */
.song-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.song-item.active {
    background: rgba(255, 77, 109, 0.1); /* Fondo rosado suave al abrir */
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.2);
}

/* Información visible siempre (Título y Artista) */
.song-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.song-title {
    font-weight: 600;
    color: var(--text-main);
    display: block;
}
.song-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.expand-icon { font-size: 1.2rem; transition: transform 0.3s; }

.song-item.active .expand-icon { transform: rotate(180deg); }

/* Contenido Oculto (Nota y Player) */
.song-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    opacity: 0;
    margin-top: 0;
}

.song-item.active .song-details {
    max-height: 500px; /* Suficiente para nota + player */
    opacity: 1;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.personal-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #ffeba7; /* Amarillo suave para la nota */
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}/* --- ESTILOS DE LA PLAYLIST --- */

.player-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.back-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 10px;
    transition: all 0.3s;
}
.back-btn:hover { background: var(--primary); border-color: var(--primary); }

.playlist-container {
    height: 60vh; /* Altura máxima para hacer scroll interno */
    overflow-y: auto; /* Scroll si son muchas canciones */
    padding-bottom: 50px;
    /* Estilo de scrollbar fino */
    scrollbar-width: thin; 
    scrollbar-color: var(--primary) transparent;
}

/* Item de Canción Individual */
.song-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    padding: 15px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.song-item.active {
    background: rgba(255, 77, 109, 0.1); /* Fondo rosado suave al abrir */
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.2);
}

/* Información visible siempre (Título y Artista) */
.song-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.song-title {
    font-weight: 600;
    color: var(--text-main);
    display: block;
}
.song-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.expand-icon { font-size: 1.2rem; transition: transform 0.3s; }

.song-item.active .expand-icon { transform: rotate(180deg); }

/* Contenido Oculto (Nota y Player) */
.song-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease;
    opacity: 0;
    margin-top: 0;
}

.song-item.active .song-details {
    max-height: 500px; /* Suficiente para nota + player */
    opacity: 1;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.personal-note {
    font-size: 0.9rem;
    font-style: italic;
    color: #ffeba7; /* Amarillo suave para la nota */
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}

/* Estilo para video responsivo de YouTube */
.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    position: relative;
    height: 0;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* --- ESTILO REPRODUCTOR VINILO / IPOD --- */

/* Contenedor del Vinilo */
.vinyl-wrapper {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.vinyl-record {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #111 20%, #222 21%, #111 22%, #222 30%, #111 31%, #333 100%);
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 8s linear infinite; /* Animación de giro */
    box-shadow: 0 0 20px rgba(255, 77, 109, 0.2);
}

/* Centro del vinilo (La etiqueta) */
.vinyl-center {
    width: 80px;
    height: 80px;
    background: var(--primary); /* Tu color rosa neón */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Tarjeta de Información */
.song-card-display {
    text-align: center;
    padding: 20px !important;
    margin-bottom: 20px;
    transition: all 0.3s;
}

#current-song-title {
    margin: 5px 0;
    font-size: 1.5rem;
    color: white;
}

.note-box {
    background: rgba(255,255,255,0.1);
    border-left: 4px solid var(--primary);
    padding: 10px;
    margin: 15px 0;
    border-radius: 8px;
    font-style: italic;
    color: #ffeba7;
    min-height: 60px; /* Para evitar saltos si la nota es corta */
    display: flex;
    align-items: center;
    justify-content: center;
}

#spotify-embed-container iframe {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* --- LA RUEDA IPOD (CLICK WHEEL) --- */
.ipod-controls {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.click-wheel {
    width: 180px;
    height: 180px;
    background: #e0e0e0; /* Color clásico iPod o puedes usar var(--glass-bg) */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.wheel-btn {
    position: absolute;
    background: none;
    border: none;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}
.wheel-btn:hover { color: var(--primary); text-shadow: 0 0 5px var(--primary); }

.wheel-btn.top { top: 15px; left: 50%; transform: translateX(-50%); }
.wheel-btn.left { top: 50%; left: 15px; transform: translateY(-50%); }
.wheel-btn.right { top: 50%; right: 15px; transform: translateY(-50%); }

/* Botón Central */
.wheel-center {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #ffffff, #dcdcdc);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: flex; /* Para centrar el puntito si quieres */
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1);
}

.wheel-center:active { background: #ccc; }

/* --- ESTILOS DE LA RULETA --- */
.wheel-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #fff;
    z-index: 10;
    text-shadow: 0 0 10px #ff00de;
}

/* AJUSTE PARA 10 SLOTS (36 grados cada uno) */
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    /* Gradiente calculado para 10 secciones */
    background: conic-gradient(
        #2b1055 0deg 36deg,   #7597de 36deg 72deg, 
        #2b1055 72deg 108deg, #7597de 108deg 144deg, 
        #2b1055 144deg 180deg, #7597de 180deg 216deg, 
        #2b1055 216deg 252deg, #7597de 252deg 288deg, 
        #2b1055 288deg 324deg, #7597de 324deg 360deg
    );
    box-shadow: 0 0 30px rgba(117, 151, 222, 0.5);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    position: relative;
    overflow: hidden;
}

/* Ajuste de posición de los iconos para 10 espacios */
.wheel-inner span {
    position: absolute;
    top: 20px;
    left: 50%;
    transform-origin: 0 120px; 
    /* 36 grados por item */
    transform: translateX(-50%) rotate(calc(36deg * var(--i))); 
    font-size: 1.4rem; /* Un poco más pequeños para que quepan */
}

/* ESTILO BOTÓN WHATSAPP */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 15px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.whatsapp-btn:hover {
    background-color: #1ebe57;
    transform: scale(1.05);
}
/* Tarjeta de Resultado */
.result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(189, 11, 224, 0.3);
}

.result-card h2 {
    color: #bd0be0;
    margin: 10px 0;
    font-family: 'Orbitron', sans-serif;
}

.price-tag {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Panel de Bloqueo (Cooldown) */
.cooldown-panel {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    border: 1px solid #dc3545;
}

.neon-timer {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #dc3545;
    text-shadow: 0 0 10px #dc3545;
    margin-top: 10px;
}

.action-btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.5;
}
/* Estilo del Botón SOS */
.sos-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.sos-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.5);
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sos-btn:active {
    transform: scale(0.9);
}

/* Efecto de ondas al hacer clic (opcional pero bonito) */
.sos-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid #ff4b2b;
    animation: sos-ripple 2s infinite;
}

@keyframes sos-ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}