:root {
    --primary: #1a1a1a;
    --secondary: #4a4a4a;
    --accent: #d4af37;
    --accent-hover: #b5952f;
    --bg-light: #f9f9f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { max-width: 100vw; overflow-x: hidden; width: 100%; scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--primary); background-color: var(--bg-light); }

/* UTILIDADES GLOBALES */
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.section-padding { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.align-center { align-items: center; }
.bg-alt { background-color: #ffffff; }

/* TIPOGRAFÍA */
h1, h2, h3, .hero-tag, .name-highlight { font-family: 'Playfair Display', serif; }
.display-title { font-size: 4rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.display-title span { color: var(--accent); font-style: italic; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 10px; }
.section-title span { color: var(--accent); }
.title-line { width: 60px; height: 3px; background: var(--accent); margin: 15px auto 30px; border-radius: 2px; }
.small-title-line { width: 40px; height: 2px; background: var(--accent); margin: 8px 0 20px; border-radius: 1px; }

/* NAVBAR Y HEADER */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 15px rgba(0,0,0,0.1); padding: 15px 0; transition: all 0.3s; height: 70px; display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 10px 20px; border-radius: 30px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1001; }

/* HERO PREMIUM */
.hero-premium { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero-tag { display: inline-block; background: var(--accent); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 20px; font-style: italic; }
.hero-p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

/* BOTONES */
.btn-primary, .btn-secondary { display: inline-block; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-secondary:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }

/* TARJETAS */
.feature-card, .church-card { background: #fff; border-radius: 15px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-10px); }
.card-icon { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }

/* IMAGENES Y PASTORES */
.image-stack { position: relative; }
.img-main { width: 100%; border-radius: 20px; position: relative; z-index: 2; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.img-decoration { position: absolute; top: -20px; right: -20px; width: 100%; height: 100%; border: 3px solid var(--accent); border-radius: 20px; z-index: 1; }
.name-highlight span { color: var(--accent); }
.social-circle { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f0f0f0; color: var(--primary); text-decoration: none; margin-right: 10px; transition: all 0.3s; }
.social-circle:hover { background: var(--accent); color: #fff; }

/* LISTAS DE ACTIVIDADES */
.activity-list { list-style: none; text-align: left; }
.activity-list li { padding: 15px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; font-size: 1.1rem; }
.act-day { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.act-day i { color: var(--accent); }

/* FOOTER Y CONTACTO GLASSMORPHISM */
.footer-premium-wrapper { background: #111111; position: relative; width: 100%; overflow: hidden; }
.glass-form-container { background: rgba(255,255,255,0.03); padding: 45px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); width: 100%; margin: 0 auto; box-sizing: border-box; }
.glass-input { width: 100%; padding: 15px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; color: #fff; font-family: 'Poppins', sans-serif; margin-bottom: 15px; outline: none; transition: 0.3s; }
.glass-input::placeholder { color: rgba(255,255,255,0.5); }
.glass-input:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); }
.contact-item { display: flex; align-items: center; }
.footer-glass { border-top: 1px solid rgba(255,255,255,0.1); padding: 40px 0 20px 0; margin-top: 50px; }

/* MODAL DE SEGURIDAD */
.security-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); display: flex; align-items: center; justify-content: center; z-index: 99999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.security-modal.active { opacity: 1; pointer-events: all; }
.security-content { background: #111; padding: 40px 30px; border-radius: 15px; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-top: 4px solid var(--accent); transform: translateY(-30px); transition: transform 0.4s ease; color: #fff; }
.security-modal.active .security-content { transform: translateY(0); }
.security-content i { font-size: 3.5rem; color: var(--accent); margin-bottom: 15px; }
.security-content h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 10px; color: #fff; }
.security-content p { color: rgba(255,255,255,0.7); margin-bottom: 25px; font-size: 0.95rem; line-height: 1.6; }
.security-content button { background: var(--accent); color: #fff; border: none; padding: 12px 30px; border-radius: 30px; cursor: pointer; font-weight: 600; font-family: 'Poppins', sans-serif; transition: background 0.3s; }

/* ANIMACIONES */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.fade-left.active, .fade-right.active { transform: translateX(0); }

/* RESPONSIVE MÓVIL ESTRICTO */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-container { position: static; }
    .nav-links { 
        position: absolute; 
        top: 70px; 
        left: -100%; 
        width: 100vw; 
        background: #ffffff; 
        flex-direction: column; 
        padding: 20px 0; 
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
        margin: 0;
    }
    .nav-links.active { left: 0; }
    .nav-links li { width: 100%; text-align: center; margin: 10px 0; }
    .nav-links a { display: inline-block; font-size: 1.2rem; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 30px; }
    .display-title { font-size: 2.5rem; }
    .activity-list li { flex-direction: column; align-items: flex-start; gap: 5px; }
    .hero-btns { flex-direction: column; }
    
    .fade-left, .fade-right { transform: translateY(40px) !important; }
    .fade-left.active, .fade-right.active { transform: translateY(0) !important; }
    
    .glass-form-container { padding: 30px 20px; width: 100%; margin: 0 auto; }
    .contact-text { text-align: center; }
    .contact-item { justify-content: center; margin-bottom: 10px;}
}

/* ==========================================
   SECCIÓN EMISORA PREMIUM (DASHBOARD COMPLETO)
   ========================================== */
.radio-section-cinematic {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1598368195835-91e67f80c9d7?q=80&w=1920&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    width: 100%;
    overflow: hidden;
}

.cinematic-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(25, 25, 25, 0.85) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.cinematic-content { position: relative; z-index: 2; width: 100%; }

.radio-dashboard-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* TARJETA DEL REPRODUCTOR */
.custom-player-card {
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.02);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.player-header { display: flex; justify-content: center; margin-bottom: 20px; }
.live-badge {
    background-color: rgba(231, 76, 60, 0.12);
    color: #e74c3c;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(231, 76, 60, 0.25);
}
.live-dot {
    width: 8px; height: 8px;
    background-color: #e74c3c;
    border-radius: 50%;
    animation: pulse-red 1.4s infinite;
}

.station-top-tag {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 5px;
}

.station-name { color: #fff; font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; }
.station-slogan { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.5; margin-bottom: 25px; }

/* Ondas del Visualizador */
.visualizer {
    display: flex; justify-content: center; align-items: flex-end;
    gap: 6px; height: 45px; margin: 25px 0;
}
.bar {
    width: 6px; background-color: rgba(212, 175, 55, 0.3);
    border-radius: 3px; height: 8px;
    transition: all 0.2s ease;
}

.visualizer.playing .bar { animation: sound-bounce 1.2s ease-in-out infinite alternate; }
.visualizer.playing .bar:nth-child(1) { animation-delay: 0.1s; background-color: #f1c40f;}
.visualizer.playing .bar:nth-child(2) { animation-delay: 0.3s; background-color: #e67e22;}
.visualizer.playing .bar:nth-child(3) { animation-delay: 0.0s; background-color: #e74c3c;}
.visualizer.playing .bar:nth-child(4) { animation-delay: 0.4s; background-color: var(--accent);}
.visualizer.playing .bar:nth-child(5) { animation-delay: 0.2s; background-color: #e74c3c;}
.visualizer.playing .bar:nth-child(6) { animation-delay: 0.5s; background-color: #e67e22;}
.visualizer.playing .bar:nth-child(7) { animation-delay: 0.1s; background-color: #f1c40f;}

@keyframes sound-bounce { 0% { height: 8px; } 100% { height: 45px; } }
@keyframes pulse-red { 0% { transform: scale(0.95); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.4; } 100% { transform: scale(0.95); opacity: 1; } }

.status-text { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 25px; }

.player-footer { display: flex; justify-content: center; }
.custom-play-btn {
    width: 65px; height: 65px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
    padding-left: 4px;
}
.custom-play-btn:hover { background: var(--accent-hover); transform: scale(1.04); box-shadow: 0 12px 22px rgba(212, 175, 55, 0.4); }
.custom-play-btn.playing { padding-left: 0; background: #e74c3c; box-shadow: 0 10px 20px rgba(231, 76, 60, 0.25); }
.custom-play-btn.playing:hover { background: #c0392b; }

/* PANEL DE INFORMACIÓN Y TARJETA DE HORARIOS */
.radio-info-card {
    background: rgba(15, 15, 15, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
}

.info-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}
.info-card-title i { color: var(--accent); }

/* Línea de tiempo */
.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }

.time-tag {
    background: rgba(214, 175, 55, 0.1);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    height: fit-content;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(214, 175, 55, 0.2);
}

.program-details h4 {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.program-details p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.program-details strong {
    color: #fff;
}

/* Meta Footer */
.station-meta-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.meta-element {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}
.meta-element i { color: var(--accent); font-size: 1rem; }

/* Responsive Dashboard */
@media (max-width: 992px) {
    .radio-dashboard-grid { grid-template-columns: 1fr; gap: 30px; }
    .custom-player-card, .radio-info-card { padding: 30px 20px; }
    .timeline-item { grid-template-columns: 1fr; gap: 8px; }
}
