:root {
    --primary-blue: #003366;
    --accent-blue: #005ce6;
    --white: #ffffff;
    --light-gray: #f4f7f6;
    --transition: all 0.3s ease;
    --paypal-gold: #ffc439;
    --glass: rgba(255, 255, 255, 0.95);
}

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

body { 
    font-family: 'Segoe UI', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    overflow-x: hidden; 
}

.container { 
    width: 100%;
    max-width: 1100px; 
    margin: auto; 
    padding: 0 1rem; 
}

/* NAVBAR */
header { 
    background: var(--white); 
    padding: 1rem 0; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    transition: var(--transition); 
}

header.scrolled { 
    background: var(--primary-blue); 
    padding: 0.6rem 0; 
}

header.scrolled .logo a, 
header.scrolled .nav-links a { 
    color: var(--white); 
}

header.scrolled .btn-nav-donate { 
    background: var(--white); 
    color: var(--primary-blue); 
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo a { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--primary-blue); 
    text-decoration: none; 
}

.logo span { 
    color: var(--accent-blue); 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}

.nav-links li { 
    margin-left: 1.5rem; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 600; 
    transition: var(--transition); 
}

.btn-nav-donate { 
    background: var(--paypal-gold); 
    color: #000 !important; 
    padding: 0.6rem 1.2rem; 
    border-radius: 50px; 
    font-size: 0.9rem; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}

/* HERO */
.hero { 
    height: 70vh; 
    background: url('https://images.unsplash.com/photo-1470225620780-dba8ba36b745?auto=format&fit=crop&w=1350&q=80') center/cover; 
    display: flex; 
    align-items: center; 
    position: relative; 
    color: var(--white); 
    text-align: center; 
    margin-top: 60px; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.9)); 
}

.hero-content { 
    position: relative; 
    z-index: 1; 
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
}

.btn-primary { 
    display: inline-block; 
    background: var(--accent-blue); 
    color: var(--white); 
    padding: 1rem 2.5rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    margin-top: 3.5rem; 
    transition: var(--transition); 
}

.btn-primary:hover { 
    background: var(--white); 
    color: var(--primary-blue); 
    transform: translateY(-3px); 
}

/* REPRODUCTOR */
.player-section { 
    padding: 4rem 0 2rem 0; 
    margin-top: -100px; 
    position: relative; 
    z-index: 10; 
}

.player-container { 
    max-width: 800px; 
    margin: 0 auto; 
}

.player-glass { 
    background: var(--glass); 
    backdrop-filter: blur(10px); 
    border-radius: 30px; 
    padding: 3rem; 
    display: flex; 
    align-items: center; 
    gap: 3rem; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); 
    border: 1px solid rgba(255,255,255,0.3); 
}

.album-art { 
    position: relative; 
    width: 220px; 
    height: 220px; 
}

.album-art img { 
    width: 100%; 
    height: 100%; 
    border-radius: 20px; 
    object-fit: cover; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
}

.pulse-ring { 
    display: none; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border: 4px solid var(--accent-blue); 
    border-radius: 20px; 
    animation: pulse 2s infinite; 
}

.active .pulse-ring { 
    display: block; 
}

.player-controls-wrapper { 
    flex: 1; 
}

.live-tag { 
    display: inline-block; 
    background: #ff0000; 
    color: #fff; 
    padding: 2px 10px; 
    border-radius: 4px; 
    font-size: 0.7rem; 
    font-weight: bold; 
    margin-bottom: 1rem; 
}

.blink { 
    animation: blinker 1s linear infinite; 
    margin-right: 5px; 
}

.station-name { 
    font-size: 2rem; 
    color: var(--primary-blue); 
    margin-bottom: 0.2rem; 
}

.now-playing { 
    color: #666; 
    margin-bottom: 2rem; 
    font-style: italic; 
}

.main-controls { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.play-main { 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    background: var(--primary-blue); 
    color: white; 
    border: none; 
    cursor: pointer; 
    font-size: 1.5rem; 
    transition: var(--transition); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.play-main:hover { 
    transform: scale(1.1); 
    background: var(--accent-blue); 
}

.volume-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex: 1; 
}

.volume-container input { 
    flex: 1; 
    cursor: pointer; 
}

.audio-visualizer { 
    display: flex; 
    align-items: flex-end; 
    gap: 3px; 
    height: 30px; 
}

.bar { 
    width: 4px; 
    height: 5px; 
    background: var(--accent-blue); 
    border-radius: 2px; 
}

.active .bar { 
    animation: equalize 0.8s infinite ease-in-out; 
}

/* DESCARGAS (NUEVA SECCIÓN) */
.downloads { 
    padding: 4rem 0; 
    background: var(--white); 
}

.section-title-large { 
    font-size: 3rem; 
    color: var(--primary-blue); 
    margin-bottom: 3rem; 
    font-weight: 800; 
    text-align: center;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mix-card {
    background: var(--light-gray);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mix-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mix-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.mix-info {
    padding: 1.5rem;
}

.mix-title {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.mix-dj {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.dj-name {
    font-weight: 700;
    color: var(--accent-blue);
}

.mix-duration {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.mix-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-download {
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-download:hover {
    background: var(--accent-blue);
}

.download-count {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.download-count::after {
    content: ' descargas';
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
    margin-left: 4px;
}

/* APP */
.app-promo { 
    padding: 6rem 0; 
    background: var(--light-gray); 
    overflow: hidden; 
}

.app-grid-layout { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    align-items: center; 
    gap: 4rem; 
}

.mockup-img { 
    width: 280px; 
    border-radius: 30px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    display: block; 
    margin: 0 auto; 
}

.app-content-right { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    height: 100%; 
}

.app-info-text { 
    margin-bottom: 2rem; 
}

.badge { 
    background: rgba(0, 92, 230, 0.1); 
    color: var(--accent-blue); 
    padding: 0.5rem 1rem; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.8rem; 
    margin-bottom: 1.5rem; 
    display: inline-block; 
}

.app-content-right h2 { 
    font-size: 2.8rem; 
    color: var(--primary-blue); 
    margin-bottom: 1rem; 
    line-height: 1.2; 
}

.app-content-right p { 
    font-size: 1.1rem; 
    color: #555; 
    margin-bottom: 1rem; 
}

.app-buttons { 
    display: flex; 
    gap: 1.2rem; 
    flex-wrap: wrap; 
    justify-content: flex-start;
}

.btn-store { 
    background: #111; 
    color: #fff; 
    padding: 0.8rem 1.5rem; 
    border-radius: 12px; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 12px; 
    transition: var(--transition); 
    border: 1px solid #333; 
    min-width: 220px; 
    height: 65px;
}

.btn-store i {
    font-size: 1.8rem;
}

.btn-store span {
    text-align: left;
    line-height: 1.2;
}

.btn-store small {
    font-size: 0.7rem;
    display: block;
    opacity: 0.8;
}

.btn-store br {
    display: none;
}

.btn-store:hover { 
    background: #333; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* CONTACTO */
.contact-block { 
    padding: 6rem 0; 
    background: var(--white); 
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
}

.contact-info h3 { 
    font-size: 2.2rem; 
    color: var(--primary-blue); 
    margin-bottom: 1rem; 
}

.info-item { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    margin-top: 2rem; 
}

.info-item i { 
    width: 50px; 
    height: 50px; 
    background: var(--light-gray); 
    color: var(--accent-blue); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.contact-form { 
    background: var(--light-gray); 
    padding: 2.5rem; 
    border-radius: 20px; 
}

.form-group { 
    margin-bottom: 1.2rem; 
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 8px rgba(0, 92, 230, 0.1);
}

.btn-submit { 
    width: 100%; 
    background: var(--primary-blue); 
    color: #fff; 
    border: none; 
    padding: 1rem; 
    border-radius: 8px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: var(--transition); 
}

.btn-submit:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

/* FOOTER */
footer { 
    background: #001a33; 
    color: var(--white); 
    padding: 4rem 0; 
    text-align: center; 
}

.footer-social { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 2rem; 
}

.footer-social .social-icon { 
    width: 50px; 
    height: 50px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    text-decoration: none; 
}

/* ANIMACIONES */
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes blinker { 50% { opacity: 0; } }
@keyframes equalize { 0%, 100% { height: 5px; } 50% { height: 25px; } }

.fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: 0.8s ease-out; 
}

.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .app-grid-layout { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
}

@media (max-width: 768px) {
    .player-glass { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; }
    .nav-links { display: none; }
    .app-buttons { justify-content: center; }
    .btn-store { width: 100%; }
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-blue);
    cursor: pointer;
}

header.scrolled .menu-toggle {
    color: var(--white);
}

@media (max-width: 768px) {

    .nav-container {
        position: relative;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }

    header.scrolled .nav-links {
        background: var(--primary-blue);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin-left: 0;
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        display: block;
        padding: 0.8rem 0;
    }

    .btn-nav-donate {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .player-glass { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; }
    .nav-links { display: none; }
    .app-buttons { justify-content: center; }
    .btn-store { width: 100%; }
}