/* ===== ROOT VARIABLES — Colores oficiales radiofmdance.cl ===== */
:root {
    /* Brand Colors extraídos de radiofmdance.cl */
    --pink: #ee2c82;
    --pink-light: #f2549a;
    --pink-dark: #c41e6a;
    --purple: #8224e3;
    --purple-light: #9778d1;
    --yellow: #eeee22;
    --cyan: #4aeadc;
    --coral: #fb6962;

    /* Gradient de marca oficial */
    --brand-gradient: linear-gradient(135deg, #4aeadc 0%, #9778d1 20%, #cf2aba 40%, #ee2c82 60%, #fb6962 80%, #fef84c 100%);
    --brand-gradient-45: linear-gradient(45deg, #ee2c82, #8224e3);

    /* Fondos */
    --bg: #0a0a10;
    --bg-card: #111118;
    --bg-card2: #18181f;

    /* Texto */
    --white: #ffffff;
    --muted: #8888a8;

    /* Bordes */
    --border: rgba(255,255,255,0.07);

    /* Tipografía */
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Misc */
    --radius: 18px;
    --radius-sm: 10px;
    --shadow-pink: 0 0 40px rgba(238,44,130,0.28);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TICKER BAR ===== */
.ticker-bar {
    background: var(--pink);
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
    position: relative;
    z-index: 1100;
}
.ticker-label {
    background: var(--pink-dark);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.ticker-track { flex: 1; overflow: hidden; }
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    animation: ticker 30s linear infinite;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== HEADER ===== */
.main-header {
    background: rgba(13,13,20,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 54px; width: auto; transition: transform 0.3s; }
.logo img:hover { transform: scale(1.05); }

.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 50px;
    transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.07);
}
.nav-listen-btn {
    background: var(--pink) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    box-shadow: 0 4px 18px rgba(238,44,130,0.35);
}
.nav-listen-btn:hover { background: var(--pink-light) !important; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(238,44,130,0.55); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 6px;
}

/* ===== BLOBS ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
/* Blobs con colores exactos de la marca */
.blob-1 { width: 500px; height: 500px; background: rgba(238,44,130,0.18); top: -100px; right: -100px; }
.blob-2 { width: 400px; height: 400px; background: rgba(130,36,227,0.14); bottom: 0; left: -80px; }
.blob-3 { width: 300px; height: 300px; background: rgba(74,234,220,0.08); top: 40%; left: 30%; }
.blob-v1 { width: 500px; height: 500px; background: rgba(238,44,130,0.1); top: 0; right: -150px; border-radius: 50%; filter: blur(100px); position: absolute; pointer-events: none; }
.blob-a1 { width: 600px; height: 600px; background: rgba(130,36,227,0.1); bottom: -100px; left: -200px; border-radius: 50%; filter: blur(100px); position: absolute; pointer-events: none; }
.cta-blob { width: 700px; height: 700px; background: rgba(238,44,130,0.14); top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; filter: blur(120px); position: absolute; pointer-events: none; }

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
    background: radial-gradient(ellipse at 80% 50%, rgba(238,44,130,0.13) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(130,36,227,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 0%, rgba(74,234,220,0.05) 0%, transparent 40%);
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(238,44,130,0.14);
    border: 1px solid rgba(238,44,130,0.38);
    color: var(--pink-light);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 0 rgba(238,44,130,0.7);
    animation: pulse-anim 1.5s ease-out infinite;
    display: inline-block;
}
@keyframes pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(238,44,130,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(238,44,130,0); }
    100% { box-shadow: 0 0 0 0 rgba(238,44,130,0); }
}
.hero-text h1 {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
    color: var(--white);
}
.highlight-text {
    background: linear-gradient(90deg, var(--pink), var(--pink-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 480px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}
.btn-icon {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
    color: #fff;
    box-shadow: 0 8px 30px rgba(238,44,130,0.42);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(238,44,130,0.62);
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--purple) 100%);
}
.btn-outline-light {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: var(--white);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}
.btn-android {
    background: #1d8348;
    color: #fff;
    gap: 14px;
}
.btn-android span { display: flex; flex-direction: column; line-height: 1.2; }
.btn-android small { font-size: 0.65rem; font-weight: 400; opacity: 0.85; text-transform: none; letter-spacing: 0; }
.btn-android:hover { background: #239b56; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(29,131,72,0.4); }
.btn-android .fab { font-size: 1.6rem; }
.btn-large { padding: 18px 40px; font-size: 0.95rem; }

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Audio Player */
.audio-player-container {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(238,44,130,0.28);
    box-shadow: var(--shadow-pink), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
}
.player-header {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(238,44,130,0.06);
}
.live-badge {
    background: #e50000;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.blink-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: blinker 1.2s linear infinite;
    display: inline-block;
}
@keyframes blinker { 50% { opacity: 0; } }

/* Sound Waves Animation */
.sound-waves { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.sound-waves span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(to top, var(--pink), var(--cyan));
    animation: wave 1s ease-in-out infinite;
}
.sound-waves span:nth-child(1) { height: 8px; animation-delay: 0s; }
.sound-waves span:nth-child(2) { height: 16px; animation-delay: 0.1s; }
.sound-waves span:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.sound-waves span:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.sound-waves span:nth-child(5) { height: 6px; animation-delay: 0.4s; }
@keyframes wave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ===== GENRES SECTION ===== */
.genres-section { padding: 28px 0; border-bottom: 1px solid var(--border); }
.genres-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.genres-scroll::-webkit-scrollbar { display: none; }
.genre-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 50px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s;
}
.genre-pill:hover, .genre-pill.active {
    background: rgba(238,44,130,0.13);
    border-color: rgba(238,44,130,0.45);
    color: var(--pink);
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
    display: inline-block;
    background: rgba(238,44,130,0.1);
    border: 1px solid rgba(238,44,130,0.32);
    color: var(--pink);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-title-main {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
}
.section-subtitle { font-size: 0.95rem; color: var(--muted); max-width: 500px; margin: 0 auto; }
.pink-text {
    background: linear-gradient(90deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg), #0e0e16);
}
.video-wrapper { display: flex; justify-content: center; }
.video-container {
    width: 100%;
    max-width: 920px;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(238,44,130,0.22);
    box-shadow: 0 0 60px rgba(238,44,130,0.18), 0 20px 60px rgba(0,0,0,0.5);
    position: relative;
}
.video-live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    background: rgba(229,0,0,0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== APP SECTION ===== */
.app-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #0e0e16, var(--bg));
}
.app-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}
.app-image { display: flex; justify-content: center; }
.app-phone-frame { position: relative; display: inline-block; }
.phone-mockup {
    max-width: 280px;
    position: relative;
    z-index: 2;
    border-radius: 30px;
    transform: rotate(-4deg);
    transition: transform 0.5s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.phone-mockup:hover { transform: rotate(0deg) scale(1.03); }
.app-glow {
    position: absolute;
    width: 220px; height: 220px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.3;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}
.app-text { position: relative; z-index: 2; }
.app-text h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.app-text p { color: var(--muted); font-size: 1rem; margin-bottom: 28px; max-width: 450px; line-height: 1.7; }
.app-features { margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.app-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--muted);
}
.app-features li i { color: var(--cyan); font-size: 1rem; }

/* ===== DJS SECTION ===== */
.djs-section {
    padding: 90px 0;
    background: linear-gradient(to bottom, var(--bg), #0e0e16);
}
.djs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.dj-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.dj-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: border-color 0.35s ease;
}
.dj-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(238,44,130,0.12);
}
.dj-card:hover::after { border-color: rgba(238,44,130,0.42); }
.dj-avatar {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(238,44,130,0.08);
    border: 1.5px solid rgba(238,44,130,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
    color: var(--pink);
    transition: all 0.35s ease;
}
.dj-card:nth-child(odd) .dj-avatar { color: var(--pink); }
.dj-card:nth-child(even) .dj-avatar { color: var(--purple); border-color: rgba(130,36,227,0.25); background: rgba(130,36,227,0.08); }
.dj-card:hover .dj-avatar {
    background: rgba(238,44,130,0.18);
    border-color: var(--pink);
    box-shadow: 0 0 22px rgba(238,44,130,0.35);
    transform: scale(1.1);
    color: var(--pink);
}
.dj-info h3 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--white);
}
.dj-genre {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 16px;
}
.cta-content p { color: var(--muted); font-size: 1.05rem; margin-bottom: 40px; }

/* ===== FOOTER ===== */
.main-footer { background: #08080f; padding: 70px 0 0; border-top: 1px solid var(--border); }
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin: 16px 0 24px; max-width: 280px; }
.footer-logo { height: 48px; width: auto; }
.footer-col h4 {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--muted); font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--white); }
.footer-listen { display: flex; flex-direction: column; gap: 10px; }
.footer-listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}
.footer-listen-btn i { color: var(--pink); width: 14px; }
.footer-listen-btn:hover { color: var(--white); }

.social-icons { display: flex; gap: 10px; }
.social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--muted);
    transition: all 0.3s;
}
.social-icon:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(238,44,130,0.45);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    color: #555;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bottom-links { display: flex; gap: 10px; align-items: center; }
.footer-bottom-links a { color: #555; }
.footer-bottom-links a:hover { color: var(--muted); }
.footer-bottom-links span { color: #333; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 50px; }
    .hero-text { text-align: center; }
    .subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .app-content { grid-template-columns: 1fr; gap: 50px; text-align: center; }
    .app-text p { margin: 0 auto 28px; }
    .app-features { align-items: center; }
    .djs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13,13,20,0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .nav-listen-btn { margin-left: 0; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    .djs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 1.4rem; }
}