/* ============================================ */
/* ESTILOS GLOBALES - FRECUENCIA LATINA */
/* ============================================ */

:root {
    /* Colores principales */
    --color-primario: #4f46e5;
    --color-primario-claro: #818cf8;
    --color-primario-oscuro: #4338ca;
    
    /* Fondos */
    --fondo-app: #0f0f1a;
    --fondo-header: rgba(15, 23, 42, 0.8);
    --fondo-tarjeta: rgba(30, 41, 59, 0.7);
    
    /* Textos */
    --texto-claro: #ffffff;
    --texto: #e2e8f0;
    --texto-suave: #94a3b8;
    
    /* Bordes */
    --borde: rgba(255, 255, 255, 0.1);
    --borde-hover: rgba(79, 70, 229, 0.5);
    
    /* Sombras */
    --sombra: 0 10px 30px rgba(0, 0, 0, 0.2);
    --sombra-hover: 0 20px 40px rgba(79, 70, 229, 0.2);
}

/* ============================================ */
/* TEMA OSCURO (por defecto ya es oscuro) */
/* ============================================ */
body {
    background: var(--fondo-app);
    color: var(--texto);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    line-height: 1.6;
}

.app-wrapper {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

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

/* ============================================ */
/* HEADER PRINCIPAL */
/* ============================================ */
.hder {
    background: var(--fondo-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borde);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hder__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 65px;
    width: auto;
    max-height: 90%;
    object-fit: contain;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.menu-list li a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--borde);
    color: var(--texto-claro);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
}

.menu-list li a:hover {
    background: var(--color-primario);
    border-color: var(--color-primario-claro);
    transform: translateY(-2px);
}

.menu-list li a i {
    font-size: 0.9rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--borde);
    color: var(--texto-claro);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: var(--color-primario);
    transform: translateY(-2px);
    border-color: var(--color-primario-claro);
}

.menu-list li a[href*="favoritos"] {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.menu-list li a[href*="favoritos"]:hover {
    background: #ef4444;
    border-color: #ef4444;
}

.favoritos-count {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--borde);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-menu {
    display: none;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.fter {
    background: var(--fondo-header);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--borde);
    padding: 2rem 0;
    margin-top: 3rem;
    color: var(--texto);
}

.fter__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.fter__nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.fter__nav a {
    color: var(--texto);
    text-decoration: none;
    transition: color 0.3s;
}

.fter__nav a:hover {
    color: var(--color-primario-claro);
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
    position: relative;
    padding: 4rem 0;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    margin-bottom: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.hero-search input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 2rem 0 0 2rem;
    outline: none;
    font-size: 1rem;
}

.hero-search button {
    padding: 1rem 2rem;
    background: var(--color-primario);
    color: white;
    border: none;
    border-radius: 0 2rem 2rem 0;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-search button:hover {
    background: var(--color-primario-oscuro);
}

/* ============================================ */
/* SECCIONES GENERALES */
/* ============================================ */
.seccion-header {
    text-align: center;
    margin-bottom: 2rem;
}

.seccion-header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.seccion-subtitulo {
    color: var(--texto-suave);
    font-size: 1.1rem;
}

/* ============================================ */
/* TARJETAS DE RADIO */
/* ============================================ */
.grid-radios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.radio-card-wrapper {
    position: relative;
}

.radio-card {
    display: block;
    background: var(--fondo-tarjeta);
    backdrop-filter: blur(10px);
    border: 1px solid var(--borde);
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    height: 100%;
}

.radio-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primario-claro);
    box-shadow: var(--sombra-hover);
}

.radio-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.radio-card h3 {
    margin: 1rem 1rem 0.5rem;
    font-size: 1.2rem;
}

.radio-card p {
    margin: 0 1rem 1rem;
    color: var(--texto-suave);
    font-size: 0.9rem;
    line-height: 1.4;
}

.radio-metadata {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem 1rem;
    color: var(--texto-suave);
    font-size: 0.85rem;
    border-top: 1px solid var(--borde);
}

.radio-metadata i {
    color: var(--color-primario-claro);
    margin-right: 0.25rem;
}

.radio-plays {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    z-index: 2;
    backdrop-filter: blur(5px);
}

.ranking-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primario);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.btn-fav-card {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid var(--borde);
    z-index: 3;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-fav-card:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.btn-fav-card.activo {
    background: #ef4444;
    border-color: #ef4444;
}

/* ============================================ */
/* SWIPER (CARRUSELES) */
/* ============================================ */
.featured-swiper {
    padding: 1rem 0.5rem;
    margin: 0 -0.5rem;
}

.swiper-slide {
    height: auto;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--color-primario-claro);
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--color-primario);
    opacity: 1;
}

/* ============================================ */
/* PAGINACIÓN */
/* ============================================ */
.paginacion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1rem;
    background: var(--fondo-tarjeta);
    backdrop-filter: blur(10px);
    border: 1px solid var(--borde);
    border-radius: 2rem;
}

.paginacion-info {
    color: var(--texto);
}

.paginacion-enlaces {
    display: flex;
    gap: 0.5rem;
}

.btn-paginacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--borde);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-paginacion:hover,
.btn-paginacion.activo {
    background: var(--color-primario);
    border-color: var(--color-primario-claro);
    transform: translateY(-2px);
}

/* ============================================ */
/* BOTÓN VER TODAS */
/* ============================================ */
.ver-mas-container {
    text-align: center;
    margin-top: 3rem;
    padding: 1rem 0;
    border-top: 1px solid var(--borde);
}

.btn-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--color-primario), var(--color-primario-oscuro));
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transition: all 0.3s;
}

.btn-ver-todas:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.5);
}

.btn-ver-todas i:last-child {
    transition: transform 0.3s;
}

.btn-ver-todas:hover i:last-child {
    transform: translateX(5px);
}

/* ============================================ */
/* PÁGINA DE RADIO (DETALLE) */
/* ============================================ */
.pagina-radio {
    padding: 2rem 0;
}

.radio-detalle {
    display: flex;
    gap: 3rem;
    background: var(--fondo-tarjeta);
    backdrop-filter: blur(10px);
    border: 1px solid var(--borde);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--sombra);
}

.radio-portada {
    flex: 0 0 350px;
}

.radio-portada img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--sombra);
    transition: transform 0.3s;
}

.radio-portada img:hover {
    transform: scale(1.02);
}

.radio-info {
    flex: 1;
}

.radio-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.descripcion-completa {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--texto);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--borde);
}

.radio-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item i {
    width: 24px;
    color: var(--color-primario);
    font-size: 1.2rem;
}

.stat-label {
    color: var(--texto-suave);
    font-size: 0.9rem;
}

.stat-value {
    font-weight: bold;
    color: white;
}

/* ============================================ */
/* CONTACTO Y REDES SOCIALES EN RADIO */
/* ============================================ */
.radio-contacto-social {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    border: 1px solid var(--borde);
}

.contacto-seccion,
.social-seccion {
    margin-bottom: 1.5rem;
}

.contacto-seccion h3,
.social-seccion h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--borde);
    padding-bottom: 0.5rem;
}

.contacto-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contacto-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid var(--borde);
}

.contacto-item:hover {
    background: var(--color-primario);
    border-color: var(--color-primario-claro);
    transform: translateY(-2px);
}

.social-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.2s;
    border: 1px solid var(--borde);
    text-decoration: none;
}

.social-item:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-item.facebook:hover {
    background: #1877f2;
}

.social-item.instagram:hover {
    background: #e4405f;
}

.social-item.tiktok:hover {
    background: #000000;
}

.social-item.twitter:hover {
    background: #1da1f2;
}

.social-item.bluesky:hover {
    background: #0560ff;
}

.social-item.bluesky {
    width: auto;
    padding: 0 1rem;
    border-radius: 2rem;
    gap: 0.5rem;
}

/* ============================================ */
/* BOTONES DE ACCIÓN */
/* ============================================ */
.radio-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.reproductor-embebido {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    border: 1px solid var(--borde);
}

#audio-embebido {
    width: 100%;
    height: 50px;
}

/* ============================================ */
/* ANUNCIOS DE CLIENTES (EN RADIO) */
/* ============================================ */
.anuncios-en-ficha {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.anuncios-titulo-ficha {
    color: white;
    font-size: 1.1rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.anuncios-en-ficha .anuncios-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-primario);
}

.anuncios-en-ficha .anuncio-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    cursor: pointer;
}

.anuncios-en-ficha .anuncio-item.active {
    opacity: 1;
    z-index: 2;
}

.anuncios-en-ficha .anuncio-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #1a1a2e;
}

.anuncios-en-ficha .anuncios-indicadores {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.anuncios-en-ficha .indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.anuncios-en-ficha .indicador:hover {
    background: rgba(255, 255, 255, 0.6);
}

.anuncios-en-ficha .indicador.active {
    background: var(--color-primario);
    transform: scale(1.2);
}

/* Mensaje informativo */
.anuncios-mensaje {
    text-align: center;
    color: white;
    font-size: 0.85rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.anuncios-mensaje i {
    color: var(--color-primario);
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Popup de anuncios */
.anuncio-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: var(--fondo-tarjeta);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    border: 2px solid var(--color-primario);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.popup-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.popup-body h2 {
    color: white;
    margin-bottom: 1rem;
}

.popup-imagen-container {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--color-primario);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-imagen {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background-color: #1a1a2e;
}

.anuncio-descripcion {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    border-left: 3px solid var(--color-primario);
}

.anuncio-descripcion p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.anuncio-direccion {
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.anuncio-direccion i {
    color: #f59e0b;
    font-size: 1.1rem;
}

.anuncio-contacto a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
}

.anuncio-contacto a:hover {
    background: var(--color-primario);
}

.anuncio-contacto i {
    margin-right: 0.5rem;
    color: var(--color-primario-claro);
}

/* ============================================ */
/* BANNERS PUBLICITARIOS (CARRUSEL) - MEDIDAS 720x275 */
/* ============================================ */
.banners-rotador {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 2rem auto;
    overflow: hidden;
}

.banners-rotador .banners-container {
    position: relative;
    width: 100%;
    height: 275px;
}

.banners-rotador .banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 275px;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.banners-rotador .banner-item.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.banners-rotador .banner-item img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banners-rotador .banners-indicadores {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.banners-rotador .indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.banners-rotador .indicador:hover {
    background: rgba(255, 255, 255, 0.6);
}

.banners-rotador .indicador.active {
    background: var(--color-primario);
    transform: scale(1.2);
}

/* Banner único (sin rotación) */
.banner-unico {
    margin: 2rem auto;
    text-align: center;
    max-width: 720px;
}

.banner-unico img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.banner-unico img:hover {
    transform: scale(1.02);
}

/* Posiciones específicas */
.banner-destacadas-superior,
.banner-destacadas-inferior {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.banner-entre-radios {
    max-width: 720px;
    margin: 2rem auto;
}

/* ============================================ */
/* REPRODUCTOR FLOTANTE */
/* ============================================ */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--fondo-tarjeta);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--color-primario);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.player-cover {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--color-primario);
}

.player-info {
    flex: 1;
    min-width: 0;
}

#player-title {
    display: block;
    font-weight: bold;
    color: white;
    margin-bottom: 0.25rem;
}

#player-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

#audio-player {
    width: 300px;
    height: 40px;
}

.player-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.player-close:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* ============================================ */
/* ALERTAS Y NOTIFICACIONES */
/* ============================================ */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-exito {
    background: rgba(16, 185, 129, 0.2);
    color: #d1fae5;
    border: 1px solid #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fee2e2;
    border: 1px solid #ef4444;
}

.alert-info {
    background: rgba(79, 70, 229, 0.2);
    color: #e0e7ff;
    border: 1px solid #818cf8;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

/* ============================================ */
/* TOAST NOTIFICATIONS */
/* ============================================ */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 10000;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toast-notification.toast-error {
    background: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================ */
/* RESPONSIVE GENERAL */
/* ============================================ */
@media (max-width: 1024px) {
    .radio-detalle {
        flex-direction: column;
        gap: 2rem;
    }
    
    .radio-portada {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Header móvil */
    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--fondo-header);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .menu-list {
        flex-direction: column;
        width: 80%;
        gap: 1rem;
    }
    
    .menu-list li a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .theme-toggle {
        margin: 1rem 0 0 0;
        width: 50px;
        height: 50px;
    }
    
    .close-menu {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }
    
    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Footer */
    .fter__container {
        flex-direction: column;
        text-align: center;
    }
    
    /* Radio detalle */
    .radio-detalle {
        padding: 1.5rem;
    }
    
    .radio-info h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .radio-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .radio-actions {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .contacto-items {
        flex-direction: column;
    }
    
    .contacto-item {
        width: 100%;
        justify-content: center;
    }
    
    /* Anuncios */
    .anuncios-en-ficha .anuncios-container {
        max-width: 250px;
    }
    
    .anuncios-mensaje {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Banners responsive */
    .banners-rotador,
    .banner-unico,
    .banner-destacadas-superior,
    .banner-destacadas-inferior,
    .banner-entre-radios {
        max-width: 100%;
        margin: 1rem auto;
    }
    
    .banners-rotador .banners-container,
    .banners-rotador .banner-item,
    .banners-rotador .banner-item img,
    .banner-unico img {
        height: 220px;
    }
    
    /* Paginación */
    .paginacion {
        flex-direction: column;
        text-align: center;
    }
    
    .paginacion-enlaces {
        justify-content: center;
    }
    
    /* Reproductor flotante */
    .player-content {
        flex-wrap: wrap;
    }
    
    #audio-player {
        width: 100%;
    }
    
    .player-close {
        position: absolute;
        top: -20px;
        right: 10px;
        background: #ef4444;
    }
}

@media (max-width: 480px) {
    .btn-ver-todas {
        width: 90%;
        padding: 0.9rem 1rem;
    }
    
    .grid-radios {
        grid-template-columns: 1fr;
    }
    
    /* Banners más pequeños en móvil */
    .banners-rotador .banners-container,
    .banners-rotador .banner-item,
    .banners-rotador .banner-item img,
    .banner-unico img {
        height: 180px;
    }

    /* ============================================ */
/* RECOMENDACIONES PERSONALIZADAS */
/* ============================================ */

.recomendaciones {
    margin: 3rem 0;
}

.recomendaciones-container {
    min-height: 200px;
}

.recomendaciones-loader {
    text-align: center;
    padding: 3rem;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.recomendaciones-loader i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.recomendaciones-vacio,
.recomendaciones-error {
    text-align: center;
    padding: 3rem;
    background: rgba(31,41,55,0.5);
    border-radius: 1rem;
    color: rgba(255,255,255,0.7);
    border: 1px dashed #4f46e5;
}

.recomendaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.recomendacion-card {
    background: rgba(31,41,55,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.recomendacion-card:hover {
    transform: translateY(-5px);
    border-color: #f59e0b;
    box-shadow: 0 10px 30px rgba(245,158,11,0.2);
}

.recomendacion-imagen {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.recomendacion-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recomendacion-puntuacion {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.recomendacion-info {
    padding: 1.5rem;
}

.recomendacion-info h3 {
    color: white;
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
}

.recomendacion-info p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.recomendacion-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.recomendacion-meta i {
    color: #f59e0b;
    margin-right: 0.25rem;
}

.recomendacion-razon {
    font-size: 0.85rem;
    color: #818cf8;
    background: rgba(79,70,229,0.1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border-left: 3px solid #4f46e5;
}

.recomendacion-razon i {
    margin-right: 0.25rem;
    color: #4f46e5;
}

@media (max-width: 768px) {
    .recomendaciones-grid {
        grid-template-columns: 1fr;
    }
}
}