/* ============================================
   CUSTOM CSS - Sonica Radio (Definitive Fix)
   ============================================ */

/* --- Estaciones --- */
.station-description {
    color: #fff;
    opacity: .9;
}
.station-img {
    border: 3px solid #ffffff00;
    padding: 0.15rem;
}

/* --- Artwork --- */
.player-artwork {
    padding: 0.75rem;
    border-radius: 1rem;
    background-color: #ffffff00;
}
.player-artwork img {
    border-radius: 0.65rem;
    box-shadow: var(--shadow-xl);
}

/* --- Imagen de fondo animada --- */
.player-cover-image {
    animation: bga 60s linear infinite;
}
@keyframes bga {
    50% { transform: scale(2); }
}

/* --- Fix: quitar fondo/borde raro del fw-700 en títulos del player --- */
.player-cover-title .fw-700,\n.player-cover-title .song-name,\n.player-cover-title .song-artist {
    background-color: transparent !important;
    border-radius: 0 !important;
}

/* --- Fix Estructural Prioritario del Player --- */
html body .app .player {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* --- Fix: player-wrapper centrado y ancho máximo --- */
.player-wrapper {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* --- Estilos del menú horizontal de Redes Móviles --- */
.footer-social-menu {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 4px;
    padding: 0.8rem 0 !important;
    width: 100%;
}

/* --- Botón individual de red --- */
.social-icon-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
    gap: 6px !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
    flex: 1 !important;
}

/* Configuración del tamaño de los SVG */
.social-icon-btn svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor;
    transition: color 0.2s ease, stroke 0.2s ease !important;
}

/* Texto debajo del ícono */
.social-icon-btn span {
    font-size: 10px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Efectos al pasar el dedo o cursor */
.social-icon-btn:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
}

.social-icon-btn:hover span {
    color: #ffffff !important;
}

/* Colores de Marca al interactuar */
.social-icon-btn:hover svg { color: #ffffff !important; }
.social-icon-btn:hover svg path { fill: currentColor; }
.social-icon-btn[aria-label="WhatsApp"]:hover { color: #25D366 !important; }
.social-icon-btn[aria-label="Instagram"]:hover { color: #E1306C !important; }
.social-icon-btn[aria-label="Facebook"]:hover { color: #1877F2 !important; }
.social-icon-btn[aria-label="TikTok"]:hover { color: #00f2fe !important; }
.social-icon-btn[aria-label="Contacto"]:hover { color: #ff5722 !important; }

/* Líneas divisorias blancas elegantes */
.menu-divider {
    border: 0 !important;
    height: 1px !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    width: 100% !important;
    margin: 0.4rem 0 !important;
}

/* --- Redes sociales en footer --- */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.6rem var(--main-padding);
}

/* --- En mobile y responsive: parches de contención --- */
@media (max-width: 991px) {
    .footer-social {
        border-top: 1px solid rgba(255,255,255,0.4);
        border-bottom: 1px solid rgba(255,255,255,0.4);
        padding: 0.75rem var(--main-padding);
    }
    .footer-app:empty {
        display: none;
    }

    /* FIX DE LA FRANJA: Manteniendo transparencias para ver partículas y fondo */
    html body .app .player {
        padding-top: 110px !important; 
        padding-bottom: 2rem !important;
        justify-content: flex-start !important;
        overflow-y: auto !important;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
        top: 0 !important;
        height: 100vh !important;
    }
    
    
    /* Evita saltos de altura raros en el contenedor padre */
    html body .app {
        overflow: hidden !important;
        height: 100vh !important;
    }
}