/* ============================================
   RADIO 33 - DISEÑO MODERNO PARA JÓVENES
   ============================================ */

/* Variables de colores - Tema joven y vibrante */
:root {
    --primary: #00d4aa;
    --primary-dark: #00b894;
    --primary-light: #55efc4;
    --secondary: #6c5ce7;
    --accent: #fd79a8;
    --accent-2: #fdcb6e;
    --dark: #0a0a0a;
    --dark-2: #1a1a2e;
    --dark-3: #16213e;
    --light: #dfe6e9;
    --white: #ffffff;
    --gray: #636e72;
    --gradient-1: linear-gradient(135deg, #00d4aa 0%, #6c5ce7 100%);
    --gradient-2: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    --shadow: 0 10px 40px rgba(0, 212, 170, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 212, 170, 0.3);
    --glow: 0 0 30px rgba(0, 212, 170, 0.5);
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    color: var(--white);
    padding-bottom: 140px;
    overflow-x: hidden;
    position: relative;
}

/* Fondo con imagen de Cataratas del Iguazú */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/iguazu-bg.jpg') center center / cover no-repeat fixed;
    z-index: -2;
}

/* Overlay oscuro sobre la imagen */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(26, 26, 46, 0.88) 50%, rgba(22, 33, 62, 0.9) 100%);
    z-index: -1;
}

/* Animaciones globales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 170, 0.5); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.8), 0 0 60px rgba(0, 212, 170, 0.4); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Header moderno - Glassmorphism */
.header {
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--glow);
    animation: pulse 3s infinite, glow 2s infinite;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 0.6s ease;
}

.logo-text span {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Navegación - Efecto simple */
.nav-menu {
    display: flex;
    gap: 15px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
}

.nav-menu a:hover {
    background: var(--gradient-1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 170, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 60px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 170, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease;
}

.hero-badge .live-dot {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Sección TV Player */
.tv-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 25px;
}

.tv-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.tv-player {
    background: rgba(255,255,255,0.03);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 170, 0.3);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s ease;
    transition: all 0.3s ease;
}

.tv-player:hover {
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.tv-player iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.tv-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}

.tv-placeholder i {
    font-size: 100px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    animation: float 3s ease infinite;
}

/* Sidebar redes */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.social-box {
    background: rgba(255,255,255,0.03);
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(0, 212, 170, 0.2);
    animation: slideInRight 0.6s ease;
    transition: all 0.3s ease;
}

.social-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.social-box h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    z-index: -1;
    transition: transform 0.3s ease;
}

.social-link.facebook::before {
    background: linear-gradient(135deg, #1877f2, #0d5cb3);
}

.social-link.instagram::before {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-link.youtube::before {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-link:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: var(--shadow);
}

.social-link i {
    font-size: 1.8rem;
}

/* Sección Programación */
.programs-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 25px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.section-title span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contenedor de programa en vivo y próximo */
.now-playing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Programa actual destacado */
.current-program {
    background: var(--gradient-1);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    animation: pulse 2s infinite, glow 2s infinite;
    position: relative;
    overflow: hidden;
}

/* Próximo programa */
.next-program {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.next-program-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
}

.next-program-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.next-program-image-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--primary);
    flex-shrink: 0;
}

.next-program-image-placeholder i {
    font-size: 50px;
    color: var(--primary);
}

.next-program-info {
    flex: 1;
}

.next-program h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--white);
}

.next-program .host {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.next-program .days {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.next-program .days i {
    margin-right: 8px;
}

.next-program .time {
    font-size: 1rem;
    color: var(--gray);
}

.next-program .time i {
    margin-right: 8px;
}

.tomorrow-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

/* Programación Musical (sin programa en vivo) */
.music-program {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 3px solid var(--primary);
}

.music-program::before {
    content: '🎵 EN VIVO';
    background: var(--primary);
    color: var(--dark);
}

.music-program .current-program-image {
    animation: rotate 10s linear infinite, pulse 2s infinite;
}

.current-program::before {
    content: '🔴 EN VIVO';
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff0000;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: blink 1s infinite;
}

.current-program-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border: 5px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.current-program-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.current-program-image-placeholder i {
    font-size: 60px;
    color: rgba(255,255,255,0.8);
}

.current-program-info {
    flex: 1;
}

.current-program h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.current-program .host {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.current-program .days {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 5px;
}

.current-program .days i {
    margin-right: 8px;
}

.current-program .time {
    font-size: 1.1rem;
    opacity: 0.8;
}

.current-program .time i {
    margin-right: 8px;
}

/* Responsive para programa en vivo */
@media (max-width: 1024px) {
    .now-playing-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .current-program,
    .next-program {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 25px;
    }
    
    .current-program-image,
    .current-program-image-placeholder {
        width: 120px;
        height: 120px;
        padding: 8px;
    }
    
    .next-program-image,
    .next-program-image-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .current-program h3 {
        font-size: 1.5rem;
    }
    
    .current-program .host {
        font-size: 1.1rem;
    }
    
    .next-program h3 {
        font-size: 1.3rem;
    }
}

/* Grid de programas */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.program-card {
    background: rgba(255,255,255,0.03);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    animation: fadeInUp 0.5s ease backwards;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }
.program-card:nth-child(5) { animation-delay: 0.5s; }
.program-card:nth-child(6) { animation-delay: 0.6s; }

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.program-card.active {
    border-color: var(--primary);
    box-shadow: var(--glow);
    animation: pulse 2s infinite;
}

.program-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
    position: relative;
}

.program-time {
    display: inline-block;
    background: var(--gradient-1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.program-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.program-host {
    color: var(--gray);
    font-size: 1rem;
}

.program-host i {
    color: var(--primary);
    margin-right: 8px;
}

.program-days {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 8px;
}

.program-days i {
    color: var(--accent);
    margin-right: 8px;
}

/* Sección Noticias - Full width */
.news-section {
    width: 100%;
    max-width: 100%;
    margin: 60px 0;
    padding: 0 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

.news-card {
    background: rgba(255,255,255,0.03);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    animation: fadeInUp 0.5s ease backwards;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    max-height: 420px;
    cursor: pointer;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.news-image-container {
    position: relative;
    overflow: hidden;
    height: 180px;
    flex-shrink: 0;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.15);
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.news-date {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card:hover .news-title {
    color: var(--primary);
}

.news-excerpt {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    flex-shrink: 0;
}

.read-more:hover {
    gap: 15px;
    color: var(--white);
}

/* Modal de Noticia - Overlay completo */
.news-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    z-index: 99999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.news-modal-overlay.active {
    display: block;
}

.news-modal-header {
    position: sticky;
    top: 0;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 20px;
    border-bottom: 2px solid rgba(0, 212, 170, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-modal-header h3 {
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-modal-close {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid var(--primary);
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-modal-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.news-modal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.news-modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0 0 30px 30px;
    margin-bottom: 30px;
}

.news-modal-date {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-modal-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.news-modal-text {
    color: var(--light);
    line-height: 1.9;
    font-size: 1.15rem;
}

.news-modal-text p {
    margin-bottom: 20px;
}

.news-modal-text img {
    max-width: 100%;
    border-radius: 15px;
    margin: 20px 0;
}

.news-modal-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 212, 170, 0.2);
}

.news-modal-share h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(0, 212, 170, 0.3);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.pagination-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
}

.pagination-btn.prev,
.pagination-btn.next {
    padding: 0 20px;
    gap: 8px;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-info {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0 15px;
}

/* Responsive noticias */
@media (max-width: 1400px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-section {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-section {
        padding: 0 20px;
    }
    
    .news-modal-image {
        height: 250px;
        border-radius: 0 0 20px 20px;
    }
    
    .news-modal-title {
        font-size: 1.6rem;
    }
    
    .news-modal-text {
        font-size: 1.05rem;
    }
    
    .news-modal-container {
        padding: 0 15px 30px;
    }
}

/* Botones de compartir */
.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }

.share-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Sección Auspiciantes Carrusel */
.sponsors-section {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 25px;
    text-align: center;
}

.sponsors-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sponsors-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(0, 212, 170, 0.2);
    padding: 40px 0;
}

.sponsors-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 50px;
    padding: 0 40px;
}

.sponsor-slide {
    flex: 0 0 250px;
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-slide:hover {
    transform: scale(1.05);
}

.sponsor-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sponsor-carousel-image {
    width: 220px;
    height: 220px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    filter: grayscale(30%);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sponsor-slide:hover .sponsor-carousel-image {
    filter: grayscale(0%);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.sponsor-carousel-placeholder {
    width: 220px;
    height: 220px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 60px;
    color: white;
}

.sponsor-carousel-name {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 600;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .sponsors-carousel-wrapper {
        gap: 10px;
    }
    
    .sponsor-slide {
        flex: 0 0 160px;
    }
    
    .sponsor-carousel-image,
    .sponsor-carousel-placeholder {
        width: 140px;
        height: 140px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Footer - Glassmorphism */
.footer {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 212, 170, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    text-align: center;
}

.footer-logo {
    width: 100px;
    margin-bottom: 25px;
    animation: pulse 3s infinite;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer p {
    color: var(--gray);
    margin-bottom: 10px;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.footer-social a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* ============================================
   PLAYER DE RADIO CON VÚMETRO - Glassmorphism
   ============================================ */

.radio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 2px solid rgba(0, 212, 170, 0.4);
    padding: 15px 0;
    z-index: 9999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.radio-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.radio-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.radio-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
    padding: 5px 15px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 15px;
}

.visualizer-bar {
    width: 6px;
    background: var(--gradient-1);
    border-radius: 3px;
    transition: height 0.1s ease;
    animation: visualizer 0.5s ease infinite alternate;
}

.visualizer-bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.visualizer-bar:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.visualizer-bar:nth-child(3) { animation-delay: 0.2s; height: 40%; }
.visualizer-bar:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.visualizer-bar:nth-child(5) { animation-delay: 0.4s; height: 30%; }
.visualizer-bar:nth-child(6) { animation-delay: 0.5s; height: 70%; }
.visualizer-bar:nth-child(7) { animation-delay: 0.6s; height: 50%; }
.visualizer-bar:nth-child(8) { animation-delay: 0.7s; height: 90%; }

@keyframes visualizer {
    0% { height: 20%; opacity: 0.5; }
    100% { height: 100%; opacity: 1; }
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.radio-logo-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    animation: rotate 10s linear infinite, glow 2s infinite;
}

.radio-text h4 {
    font-size: 1.3rem;
    color: var(--white);
}

.radio-text span {
    color: var(--primary);
    font-size: 0.95rem;
}

.radio-controls {
    display: flex;
    align-items: center;
    gap: 25px;
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: var(--glow);
}

.play-btn.playing {
    animation: pulse 1s infinite;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-control i {
    font-size: 1.3rem;
    color: var(--primary);
}

.volume-slider {
    width: 150px;
    height: 8px;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--gradient-1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: var(--glow);
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,0,0,0.2);
    padding: 10px 20px;
    border-radius: 30px;
    border: 2px solid rgba(255,0,0,0.4);
    font-weight: 700;
    animation: glow 2s infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .tv-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .radio-content {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Header compacto en móvil */
    .header {
        padding: 8px 0;
    }
    
    .header-content {
        flex-direction: row;
        gap: 10px;
        padding: 0 15px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logo {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .logo-text span {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    /* Menú hamburguesa en móvil */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 15px;
        gap: 10px;
        border-bottom: 1px solid rgba(0, 212, 170, 0.3);
        margin-top: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Botón menú hamburguesa */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        background: rgba(0, 212, 170, 0.2);
        border: 2px solid var(--primary);
        border-radius: 12px;
        color: var(--white);
        font-size: 1.3rem;
        cursor: pointer;
        margin-left: auto;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-section {
        padding: 30px 20px;
    }
    
    /* Player de radio en móvil - Compacto */
    .radio-player {
        padding: 8px 0;
    }
    
    .radio-content {
        padding: 0 15px;
        gap: 15px;
        justify-content: space-between;
    }
    
    .radio-left {
        gap: 0;
        flex: 1;
        min-width: 0;
    }
    
    /* Ocultar logo en móvil */
    .radio-logo-small {
        display: none;
    }
    
    .radio-visualizer {
        display: none;
    }
    
    .radio-text {
        min-width: 0;
    }
    
    .radio-text h4 {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .radio-text span {
        font-size: 0.75rem;
        color: var(--gray);
    }
    
    .radio-controls {
        gap: 15px;
        flex-wrap: nowrap;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .radio-controls .live-badge {
        display: none;
    }
    
    /* Ocultar control de volumen en móvil */
    .volume-control {
        display: none;
    }
    
    body {
        padding-bottom: 100px;
    }
    
    .news-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
