/* ==========================================================================
   STYLE.CSS - BASE CORREGIDO (SIN FOOTER)
   ========================================================================== */

:root {
    --primary-color: #0056ff;
    --primary-rgb: 0, 86, 255;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px) saturate(180%);
    --shadow-depth: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.3);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-titulo: 'MontserratBlack', sans-serif;
    --font-artista: 'MontserratSemiBold', sans-serif;
    --font-creditos: 'RobotoCondensed', sans-serif;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #000000;
    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --radius-pill: 50px;
}

@font-face {
    font-family: 'MontserratBlack';
    src: url('../fonts/Montserrat-Black.woff2') format('woff2'),
        url('../fonts/Montserrat-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'MontserratSemiBold';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'RobotoCondensed';
    src: url('../fonts/Roboto-Condensed.woff2') format('woff2'),
        url('../fonts/Roboto-Condensed.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

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

html,
body {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    font-family: var(--font-artista);
    color: var(--text-white);
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 1;
    /* Forzado visible por defecto */
    transition: opacity 0.5s ease;
}

/* ==========================================================================
   COLOR colorThief
   ========================================================================== */
#bg-container {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

#bg-cover-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    width: 110%;
    height: 110%;
    object-fit: cover;
    filter: blur(20px) brightness(0.5) saturate(1.2);
    transition: opacity 1.5s ease;
    z-index: 0;
    animation: backgroundBreath 20s infinite alternate ease-in-out;
    will-change: transform;
}

@keyframes backgroundBreath {
    0% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.25);
    }
}


.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

/* ==========================================================================
 
   ========================================================================== */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 10;
}

.player-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 80px;
    overflow-y: auto;
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-depth), var(--shadow-glow);
}

/* FOOTER ELIMINADO COMPLETAMENTE - Los créditos solo van en modal Radio */
.site-footer {
    display: none !important;
}

#credits-container {
    display: none !important;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 999;
}

.skip-link:focus {
    top: 0;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --glass-border: rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 768px) {
    .player-main {
        padding: 10px;
        margin-bottom: 70px;
    }
}