/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    --bg-base: #0a0a12;
    --bg-surface: #12121c;
    --accent: #8b5cf6;
    --accent-2: #a78bfa;
    --accent-glow: rgba(139, 92, 246, 0.35);
    
    /* Gradiente magenta-púrpura (acentos y botones del sitio) */
    --player-gradient: linear-gradient(135deg, #d633ff 0%, #8b2fef 100%);
    --player-gradient-hover: linear-gradient(135deg, #e040fb 0%, #9b3fef 100%);
    --player-glow: rgba(214, 51, 255, 0.45);
    
    /* Player TEAL/TURQUESA — contraste con fondo púrpura oscuro */
    --player-bg: linear-gradient(135deg, #0d7377 0%, #0a4f52 100%);
    --player-bg-hover: linear-gradient(135deg, #0f8b8f 0%, #0d7377 100%);
    --player-border: rgba(45, 212, 191, 0.4);
    --player-text: #ffffff;
    --player-text-muted: rgba(255, 255, 255, 0.85);
    --player-accent: #2dd4bf;
    --player-accent-glow: rgba(45, 212, 191, 0.5);
    
    --banner-purple: #7a00e6;
    --banner-lime: #c3e63a;

    --text-primary: #ffffff;
    --text-secondary: #9494a8;
    --text-muted: #5a5a6e;
    
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-h: 80px;
    --banner-h: 80px;
    --player-h: 108px;
    --modal-radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    padding-bottom: calc(var(--player-h) + 20px);
    position: relative;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   CABECERA
   ============================================ */
.main-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(10, 10, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}
.logo-icon-wrap {
    width: 40px; height: 40px;
    background: var(--player-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 15px var(--player-glow);
}
.logo-accent { color: var(--accent-2); }
.main-nav ul { display: flex; list-style: none; gap: 36px; }
.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
    cursor: pointer;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 16px; }
.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}
.btn-header-cta:hover {
    background: var(--player-gradient);
    border-color: transparent;
    box-shadow: 0 4px 20px var(--player-glow);
    transform: translateY(-2px);
}
.btn-header-cta i { color: var(--accent-2); }
.btn-header-cta:hover i { color: #fff; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   FRANJA "SONANDO AHORA"
   ============================================ */
.now-playing-banner {
    display: flex;
    width: 100%;
    margin-top: var(--header-h);
    height: var(--banner-h);
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.banner-left {
    background-color: var(--banner-purple);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px 0 20px;
    flex: 0 0 50%;
    min-width: 0;
}
.banner-label {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: right;
}
.banner-right {
    background-color: var(--banner-lime);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px 0 40px;
    flex: 0 0 50%;
    min-width: 0;
    overflow: hidden;
}
.banner-metadata {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.meta-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.3px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.meta-artist {
    font-size: 0.85rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.meta-artist.updating,
.meta-title.updating {
    opacity: 0;
    transform: translateY(5px);
}

/* ============================================
   HERO SECTION — CENTRADO VERTICAL PERFECTO
   ============================================ */
.hero-section {
    min-height: calc(100vh - var(--header-h) - var(--banner-h));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    z-index: 1;
}
.hero-bg-gradient {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(214, 51, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139, 47, 239, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg-base) 0%, #0d0d18 100%);
    z-index: 0;
}
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(214, 51, 255, 0.08);
    border: 1px solid rgba(214, 51, 255, 0.3);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e9d5ff;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.live-dot {
    font-size: 0.45rem;
    color: #22c55e;
    animation: pulseLiveDot 1.5s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 620px;
}
.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--player-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px var(--player-glow);
    font-family: var(--font-main);
}
.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 45px var(--player-glow);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.35s ease;
    font-family: var(--font-main);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
}
.hero-visualizer {
    position: absolute;
    bottom: 8%; right: 5%;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 80px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}
.hero-visualizer span {
    width: 5px;
    background: var(--accent-2);
    border-radius: 3px;
    animation: heroBarPulse 1.4s ease-in-out infinite alternate;
}
.hero-visualizer span:nth-child(1) { height: 25px; animation-delay: 0s; }
.hero-visualizer span:nth-child(2) { height: 55px; animation-delay: 0.1s; }
.hero-visualizer span:nth-child(3) { height: 35px; animation-delay: 0.2s; }
.hero-visualizer span:nth-child(4) { height: 65px; animation-delay: 0.3s; }
.hero-visualizer span:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.hero-visualizer span:nth-child(6) { height: 50px; animation-delay: 0.5s; }
.hero-visualizer span:nth-child(7) { height: 40px; animation-delay: 0.6s; }
.hero-visualizer span:nth-child(8) { height: 70px; animation-delay: 0.7s; }
.hero-visualizer span:nth-child(9) { height: 28px; animation-delay: 0.8s; }
.hero-visualizer span:nth-child(10) { height: 58px; animation-delay: 0.9s; }
.hero-visualizer span:nth-child(11) { height: 38px; animation-delay: 1.0s; }
.hero-visualizer span:nth-child(12) { height: 62px; animation-delay: 1.1s; }
.hero-visualizer span:nth-child(13) { height: 32px; animation-delay: 1.2s; }
.hero-visualizer span:nth-child(14) { height: 48px; animation-delay: 1.3s; }
.hero-visualizer span:nth-child(15) { height: 42px; animation-delay: 1.4s; }
@keyframes heroBarPulse {
    to { transform: scaleY(1.6); opacity: 0.6; }
}

/* ============================================
   REPRODUCTOR INFERIOR — CON VU METER
   ============================================ */
.player-card {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 680px;
    background: var(--player-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--player-border);
    border-radius: 20px;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 8px 30px rgba(13, 115, 119, 0.4),
        0 0 0 1px rgba(45, 212, 191, 0.15) inset;
    z-index: 2000;
    padding: 12px 18px 14px;
    --beat: 0;
    transition: box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    isolation: isolate;
}

.player-card.playing {
    background: var(--player-bg-hover);
    border-color: rgba(45, 212, 191, 0.65);
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 12px 40px rgba(45, 212, 191, calc(0.25 + var(--beat) * 0.45)),
        0 0 0 1px rgba(45, 212, 191, calc(0.15 + var(--beat) * 0.3)) inset;
}

.player-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}

/* Portada circular = Botón Play/Pause */
.player-cover {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--player-gradient);
    border: 2px solid rgba(255, 255, 255, 0.95);
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: block;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(214, 51, 255, 0.55);
    overflow: hidden;
}
.player-cover:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(214, 51, 255, 0.75);
}
.player-cover:active { transform: scale(0.97); }
.player-cover > i {
    position: absolute;
    top: 50%;
    left: 50%;
    line-height: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}
.player-cover .fa-play {
    opacity: 1;
    transform: translate(calc(-50% + 2px), -50%) scale(1);
}
.player-cover .fa-pause {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}
.player-cover.playing .fa-play {
    opacity: 0;
    transform: translate(calc(-50% + 2px), -50%) scale(0.5);
}
.player-cover.playing .fa-pause {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Info: EN VIVO + Título */
.player-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 0 4px;
}

.player-live {
    font-size: 0.6rem;
    font-weight: 800;
    color: #4ade80;
    letter-spacing: 1.8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}
.player-live i {
    font-size: 0.42rem;
    animation: pulseLiveDot 1.5s ease-in-out infinite;
}
@keyframes pulseLiveDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.player-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--player-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.player-info h3.updating {
    opacity: 0;
    transform: translateY(5px);
}

/* Iconos sociales */
.player-social {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}
.player-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(45, 212, 191, 0.5);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.player-social a:hover {
    background: var(--player-accent);
    color: #0a4f52;
    border-color: var(--player-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--player-accent-glow);
}

/* ============================================
   VU METER (medidor analógico al ritmo)
   ============================================ */
.vu-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 0 2px;
}

.vu-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(45, 212, 191, 0.4);
}

.vu-max {
    font-family: 'Poppins', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.vu-scale {
    position: relative;
    flex: 1;
    height: 10px;
    background: rgba(0, 0, 0, 0.42);
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(45, 212, 191, 0.22);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    background-image: 
        repeating-linear-gradient(
            90deg,
            rgba(45, 212, 191, 0.22) 0px,
            rgba(45, 212, 191, 0.22) 1px,
            transparent 1px,
            transparent 10%
        );
}

.vu-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: calc(var(--beat, 0) * 100%);
    background: linear-gradient(90deg,
        #2dd4bf 0%,
        #22d3ee 25%,
        #fbbf24 60%,
        #f97316 82%,
        #ef4444 100%
    );
    border-radius: 4px;
    transition: width 0.08s linear;
    box-shadow: 
        0 0 10px rgba(45, 212, 191, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    will-change: width;
}

.vu-peak {
    position: absolute;
    top: -1px; bottom: -1px;
    width: 2px;
    background: #fde68a;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(253, 230, 138, 0.9);
    pointer-events: none;
    left: calc(var(--beat, 0) * 100%);
    transition: left 0.35s ease-out;
    opacity: 0;
}
.player-card.playing .vu-peak {
    opacity: calc(var(--beat, 0) * 1);
}

.vu-needle {
    position: absolute;
    top: -2px; bottom: -2px;
    left: calc(var(--beat, 0) * 100% - 1px);
    width: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1px;
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.85),
        0 0 12px rgba(45, 212, 191, 0.7);
    transition: left 0.08s linear;
    pointer-events: none;
    will-change: left;
}

.player-card:not(.playing) .vu-fill {
    width: 0 !important;
    transition: width 0.5s ease;
}
.player-card:not(.playing) .vu-needle {
    left: -2px !important;
    opacity: 0.3;
    transition: left 0.5s ease, opacity 0.3s ease;
}

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 130px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 2500;
    box-shadow: 
        0 8px 25px rgba(37, 211, 102, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappPulse 2.2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(37, 211, 102, 0.7),
        0 6px 20px rgba(0, 0, 0, 0.35);
    animation-play-state: paused;
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float i {
    line-height: 1;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappRing 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes whatsappRing {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ============================================
   MODAL AJAX
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-container {
    background: var(--bg-surface);
    border-radius: var(--modal-radius);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 52px 44px;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.modal-close:hover {
    background: var(--player-gradient);
    color: #fff;
    transform: rotate(90deg);
}
.modal-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #e9d5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.modal-content .modal-subtitle {
    color: var(--accent-2);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 28px;
}
.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
}
.modal-content strong { color: var(--text-primary); }
.modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    color: var(--text-secondary);
    gap: 18px;
}
.spinner {
    width: 44px; height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-form .form-group { margin-bottom: 18px; }
.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}
.modal-form input:focus,
.modal-form textarea:focus {
    border-color: var(--accent);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.modal-form input::placeholder,
.modal-form textarea::placeholder { color: var(--text-muted); }
.modal-form textarea { min-height: 130px; resize: vertical; }
.modal-form .btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--player-gradient);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px var(--player-glow);
}
.modal-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px var(--player-glow);
}

/* Botón de WhatsApp dentro del modal */
.btn-whatsapp-modal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, #8b5cf6 0%, #8b5cf6 100%);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    cursor: pointer;
}
.btn-whatsapp-modal i {
    font-size: 1.25rem;
    line-height: 1;
}
.btn-whatsapp-modal:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.65);
}
.btn-whatsapp-modal:active {
    transform: translateY(-1px) scale(0.99);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    background: #06060c;
    padding: 70px 0 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 1;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.social-links { display: flex; gap: 14px; }
.social-links a {
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.social-links a:hover {
    background: var(--player-gradient);
    border-color: transparent;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--player-glow);
}
.footer-bottom { text-align: center; }
.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-visualizer { display: none; }
}

@media (max-width: 768px) {
    :root {
        --header-h: 68px;
        --banner-h: auto;
        --player-h: 100px;
    }
    
    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: -100%;
        width: 75%;
        height: calc(100vh - var(--header-h));
        background: var(--bg-surface);
        padding: 50px 30px;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        z-index: 1500;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 32px; }
    .nav-link { font-size: 1.15rem; }
    .nav-toggle { display: block; }
    .btn-header-cta span { display: none; }
    .btn-header-cta { padding: 12px 14px; }
    
    .now-playing-banner { flex-direction: column; height: auto; }
    .banner-left {
        padding: 12px 20px;
        flex-basis: auto;
        justify-content: center;
    }
    .banner-label { font-size: 0.85rem; letter-spacing: 2px; text-align: center; }
    .banner-right {
        padding: 12px 20px;
        flex-basis: auto;
        justify-content: center;
    }
    .banner-metadata { align-items: center; text-align: center; }
    .meta-title { font-size: 0.98rem; }
    .meta-artist { font-size: 0.78rem; }

    .hero-section {
        min-height: calc(100vh - var(--header-h) - 70px);
        padding: 30px 0;
    }
    .hero-tag {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        padding: 7px 14px;
        margin-bottom: 18px;
    }
    .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-cta, .btn-outline {
        width: 100%;
        justify-content: center;
        padding: 15px 24px;
    }
    
    .player-card {
        width: calc(100% - 16px);
        bottom: 10px;
        padding: 10px 14px 12px;
        border-radius: 18px;
    }
    .player-inner { gap: 10px; }
    .player-cover { width: 46px; height: 46px; font-size: 0.92rem; }
    .player-live { font-size: 0.55rem; letter-spacing: 1.5px; }
    .player-info h3 { font-size: 0.88rem; }
    .player-social { gap: 6px; }
    .player-social a {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    .vu-meter { margin-top: 8px; gap: 8px; }
    .vu-label { font-size: 0.52rem; letter-spacing: 1.5px; }
    .vu-scale { height: 9px; }

    .whatsapp-float {
        bottom: 120px;
        right: 14px;
        width: 52px;
        height: 52px;
        font-size: 1.65rem;
    }
    
    .modal-container { padding: 40px 24px; max-height: 90vh; }
    .modal-content h2 { font-size: 1.7rem; }
    .footer-top { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    :root { --player-h: 94px; }
    
    .player-card {
        padding: 8px 12px 10px;
        border-radius: 16px;
        bottom: 8px;
    }
    .player-inner { gap: 8px; }
    .player-cover {
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }
    .player-live { font-size: 0.5rem; letter-spacing: 1.3px; gap: 4px; }
    .player-live i { font-size: 0.38rem; }
    .player-info { padding: 0 2px; gap: 2px; }
    .player-info h3 { font-size: 0.82rem; }
    .player-social { gap: 5px; }
    .player-social a {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .player-social a i { transform: scale(0.9); }

    .vu-meter { margin-top: 7px; gap: 6px; }
    .vu-label { font-size: 0.48rem; letter-spacing: 1.2px; }
    .vu-max { display: none; }
    .vu-scale { height: 8px; }

    .meta-title { font-size: 0.9rem; }
    .meta-artist { font-size: 0.72rem; }

    .whatsapp-float {
        bottom: 112px;
        right: 12px;
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}

@media (max-width: 380px) {
    .player-social { gap: 4px; }
    .player-social a {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }
    .player-info h3 { font-size: 0.78rem; }
}

/* ============================================
   SCROLLBAR PERSONALIZADO
   Gradiente magenta → turquesa que contrasta
   con el fondo oscuro del sitio
   ============================================ */

/* ---------- Firefox ---------- */
html {
    scrollbar-width: thin;
    scrollbar-color: #8b2fef #0a0a12;
}

/* ---------- Chrome, Edge, Safari, Opera ---------- */

/* Contenedor (track) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a12 0%, #12121c 50%, #0a0a12 100%);
    border-left: 1px solid rgba(139, 92, 246, 0.08);
}

/* Barra deslizante (thumb) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        #d633ff 0%, 
        #8b2fef 45%, 
        #2dd4bf 100%
    );
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        inset 0 0 6px rgba(255, 255, 255, 0.2),
        0 0 10px rgba(214, 51, 255, 0.3);
    transition: all 0.3s ease;
}

/* Hover sobre el thumb — se ilumina */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        #e040fb 0%, 
        #9b3fef 45%, 
        #4ae0d4 100%
    );
    box-shadow: 
        inset 0 0 8px rgba(255, 255, 255, 0.3),
        0 0 16px rgba(214, 51, 255, 0.6),
        0 0 24px rgba(45, 212, 191, 0.35);
}

/* Al hacer clic y arrastrar */
::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, 
        #f060ff 0%, 
        #a852ff 45%, 
        #5af0e0 100%
    );
}

/* Esquinas (donde se cruzan scroll vertical y horizontal) */
::-webkit-scrollbar-corner {
    background: #0a0a12;
}

/* ============================================
   SCROLLBAR PARA EL MODAL (contenido interno)
   ============================================ */
.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 20px 20px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}

.modal-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        #8b5cf6 0%, 
        #a78bfa 100%
    );
    border-radius: 10px;
    border: 1.5px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        #a78bfa 0%, 
        #c4b5fd 100%
    );
    box-shadow: 0 0 14px rgba(167, 139, 250, 0.6);
}

/* Firefox — modal */
.modal-container {
    scrollbar-width: thin;
    scrollbar-color: #8b5cf6 rgba(255, 255, 255, 0.02);
}

/* En dispositivos táctiles, mantener scrollbar delgado */
@media (hover: none) and (pointer: coarse) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-thumb {
        border: 1px solid transparent;
    }
}

/* Responsive: scrollbar más delgado en móviles */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-thumb {
        border: 1px solid transparent;
        border-radius: 8px;
    }
    
    ::-webkit-scrollbar-track {
        border-left: none;
    }
}