/* ==========================================================================
   GUÍA RADIUX - ESTILO BROADCAST STUDIO / APPLE MUSIC
   Diseño sobrio, minimalista y de alto contraste sin clichés de neón/IA.
   ========================================================================== */

:root {
    --bg-main: #0a0b0e;
    --bg-card: #12151c;
    --bg-card-hover: #171b24;
    --bg-surface: #181d27;
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Acentos sobrios */
    --accent-crimson: #e11d48;
    --accent-crimson-hover: #be123c;
    --live-emerald: #10b981;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --player-height: 80px;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    padding-bottom: calc(var(--player-height) + 30px);
    overflow-x: hidden;
}

/* ─────────────────────────────────────────────────────────────
   1. NAVBAR SUPERIOR
   ───────────────────────────────────────────────────────────── */
.app-header {
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: #181d27;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-crimson);
    font-size: 19px;
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.brand-accent {
    color: var(--accent-crimson);
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-pill.secondary {
    color: var(--text-muted);
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--live-emerald);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

.btn-join-radiux {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-join-radiux:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────
   2. HERO & BUSCADOR
   ───────────────────────────────────────────────────────────── */
.hero-section {
    padding: 45px 24px 30px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

.hero-container {
    max-width: 860px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 28px;
}

.search-box-wrapper {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    height: 54px;
    background: #12151c;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 0 50px 0 54px;
    font-size: 0.95rem;
    color: #ffffff;
    font-family: inherit;
    transition: all var(--transition-fast);
    outline: none;
}

.search-input:focus {
    background: #171b24;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.clear-search-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search-btn:hover {
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────
   3. FILTROS (PILLS)
   ───────────────────────────────────────────────────────────── */
.filters-section {
    padding: 0 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.filters-container {
    max-width: 1360px;
    margin: 0 auto;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.filter-group-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pills-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: none;
}

.pills-scroll::-webkit-scrollbar {
    display: none;
}

.pill-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.pill-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
}

.pill-btn.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a0b0e;
    font-weight: 700;
}

/* Banderas de Países en Alta Definición */
.fi {
    border-radius: 2px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: -1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.card-country-flag .fi {
    margin-right: 3px;
    font-size: 0.85em;
}

/* ─────────────────────────────────────────────────────────────
   4. GRID DE EMISORAS (ESTILO ÁLBUM)
   ───────────────────────────────────────────────────────────── */
.main-content {
    padding: 35px 24px 50px;
}

.content-container {
    max-width: 1360px;
    margin: 0 auto;
}

.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.results-badge {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

/* Tarjeta Individual de Emisora */
.station-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.station-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.station-card.is-playing {
    border-color: var(--accent-crimson);
    background: #161b24;
}

/* Carátula / Portada Cuadrada 1:1 */
.card-artwork-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #0f1218;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-artwork-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0d1017;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-normal);
}

.station-card:hover .card-artwork-img {
    transform: scale(1.04);
}

/* Badges sobre la carátula */
.card-live-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(10, 11, 14, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.4px;
}

.card-listeners-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 11, 14, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Botón Play Superpuesto en Tarjeta */
.card-play-overlay-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-crimson);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(225, 29, 72, 0.5);
    opacity: 0;
    transform: scale(0.85);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.station-card:hover .card-play-overlay-btn,
.station-card.is-playing .card-play-overlay-btn {
    opacity: 1;
    transform: scale(1);
}

.card-play-overlay-btn:hover {
    background: var(--accent-crimson-hover);
    transform: scale(1.08);
}

/* Metadata de la tarjeta */
.card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.card-country-flag {
    font-size: 0.9rem;
}

.card-now-playing-box {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-song-icon {
    color: var(--accent-crimson);
    font-size: 11px;
}

.card-song-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────
   5. BANNER PROMOCIONAL INFERIOR
   ───────────────────────────────────────────────────────────── */
.banner-cta-section {
    padding: 0 24px 30px;
}

.banner-cta-container {
    max-width: 1360px;
    margin: 0 auto;
    background: #12151c;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.banner-cta-text h3 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 6px;
}

.banner-cta-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0a0b0e;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.btn-cta-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* ─────────────────────────────────────────────────────────────
   6. FOOTER
   ───────────────────────────────────────────────────────────── */
.app-footer {
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────
   7. STICKY BOTTOM PLAYER (ESTILO APPLE MUSIC)
   ───────────────────────────────────────────────────────────── */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--player-height);
    background: rgba(14, 17, 24, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.6);
}

.sticky-player.visible {
    transform: translateY(0);
}

.player-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Info Estación */
.player-station-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    max-width: 380px;
}

.player-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #1a1f2b;
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.player-meta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow: hidden;
}

.player-station-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-station-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-live-badge {
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: #f43f5e;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.live-dot-mini {
    width: 5px;
    height: 5px;
    background-color: #f43f5e;
    border-radius: 50%;
}

.player-song-title {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controles Centrales */
.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-player-play {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    color: #0a0b0e;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-player-play:hover {
    background: #f1f5f9;
    transform: scale(1.06);
}

/* Animación de Ondas de Sonido */
.sound-wave-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 18px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.sound-wave-bars.active {
    opacity: 1;
}

.wave-bar {
    width: 3px;
    height: 100%;
    background-color: var(--accent-crimson);
    border-radius: 2px;
    animation: waveAnim 1.2s infinite ease-in-out alternate;
}

.wave-bar:nth-child(1) { animation-delay: 0.1s; height: 30%; }
.wave-bar:nth-child(2) { animation-delay: 0.4s; height: 80%; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 50%; }
.wave-bar:nth-child(4) { animation-delay: 0.5s; height: 90%; }

@keyframes waveAnim {
    0% { transform: scaleY(0.2); }
    100% { transform: scaleY(1); }
}

/* Acciones Derecha */
.player-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    justify-content: flex-end;
}

.btn-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.btn-action-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

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

.volume-slider {
    width: 85px;
    accent-color: var(--accent-crimson);
    cursor: pointer;
}

.btn-close-player {
    color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────────
   8. ESTADO VACÍO (SIN RESULTADOS)
   ───────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.empty-icon {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.btn-reset-filters {
    background: #ffffff;
    color: #0a0b0e;
    border: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.btn-reset-filters:hover {
    background: #e2e8f0;
}

/* ─────────────────────────────────────────────────────────────
   9. RESPONSIVE DESIGN (MÓVILES & TABLETS)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .banner-cta-container {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .player-actions .volume-container {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-stats {
        display: none;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .stations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .station-card {
        padding: 10px;
    }
    
    .card-title {
        font-size: 0.92rem;
    }
    
    .card-song-text {
        font-size: 0.72rem;
    }
    
    .player-station-info {
        max-width: 170px;
        min-width: unset;
    }
    
    .player-logo {
        width: 44px;
        height: 44px;
    }
    
    .player-station-name {
        font-size: 0.85rem;
    }
    
    .sound-wave-bars {
        display: none;
    }
}

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

/* ─────────────────────────────────────────────────────────────
   8. MODAL DE PERFIL DEDICADO 3D (GAME UI & SKEUOMORPHIC 3D)
   ───────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-card-3d {
    background: #11141c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 28px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.modal-overlay.active .modal-card-3d {
    transform: scale(1) translateY(0);
}

/* Botón Cerrar 3D */
.btn-modal-close-3d {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1e28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 3px 0 #0b0d12;
    transition: all 0.15s ease;
    z-index: 10;
}

.btn-modal-close-3d:hover {
    background: #252b3a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #0b0d12;
}

.btn-modal-close-3d:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #0b0d12;
}

/* Cabecera del Perfil */
.modal-header-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.modal-artwork-box-3d {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 16px;
    background: #0d1017;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 3px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.modal-live-badge-3d {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(225, 29, 72, 0.9);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.5);
    letter-spacing: 0.5px;
}

.modal-titles-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    overflow: hidden;
}

.modal-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.badge-country-hd, .badge-genre-hd, .badge-listeners-hd {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.badge-listeners-hd {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
}

.modal-station-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.modal-station-slogan {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Banner "Al Aire Ahora" */
.modal-now-playing-banner {
    background: #171b26;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.spinning-disc-icon {
    font-size: 26px;
    color: var(--accent-crimson);
    animation: spinDisc 4s linear infinite;
    flex-shrink: 0;
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.now-playing-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    overflow: hidden;
}

.now-playing-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--text-muted);
}

.now-playing-track-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botón Play 3D en Modal */
.btn-play-modal-3d {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e11d48;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 0 #9f1239, 0 6px 14px rgba(225, 29, 72, 0.35);
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.btn-play-modal-3d:hover {
    background: #f43f5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #9f1239, 0 8px 18px rgba(225, 29, 72, 0.45);
}

.btn-play-modal-3d:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #9f1239;
}

/* ─────────────────────────────────────────────────────────────
   SECCIÓN DE CALIFICACIÓN CON ESTRELLAS ELÁSTICAS (GAME UI)
   ───────────────────────────────────────────────────────────── */
.modal-rating-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}

.rating-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.rating-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-box-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-score-badge {
    background: #f59e0b;
    color: #0b0d13;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    box-shadow: 0 2px 0 #b45309;
}

.rating-count-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rating-feedback-msg {
    font-size: 0.78rem;
    color: #f59e0b;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* Contenedor de Estrellas con efecto Game Pop */
.stars-interactive-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
}

.star-btn-3d {
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    color: #374151;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center center;
    padding: 0;
    outline: none;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}

/* EFECTO JUEGO: La estrella se pone grandota y elástica al pasar el ratón */
.star-btn-3d:hover,
.star-btn-3d.hovered {
    color: #fbbf24;
    transform: scale(1.45) rotate(-6deg);
    filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.85));
}

.star-btn-3d.active {
    color: #f59e0b;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.star-btn-3d:active {
    transform: scale(1.6) rotate(6deg);
}

/* Animación de explosión/pop al votar */
@keyframes starPopExplode {
    0% { transform: scale(1); }
    50% { transform: scale(1.65) rotate(-12deg); }
    100% { transform: scale(1.2) rotate(0deg); }
}

.star-btn-3d.pop-anim {
    animation: starPopExplode 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─────────────────────────────────────────────────────────────
   BOTONES DE ACCIÓN 3D (GAME UI & RELIEVE TÁCTIL)
   ───────────────────────────────────────────────────────────── */
.modal-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-action-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Botón Sitio Web Oficial 3D */
.btn-website-3d {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 0 #1d4ed8, 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-website-3d:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1d4ed8, 0 8px 20px rgba(37, 99, 235, 0.45);
    color: #ffffff;
}

.btn-website-3d:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #1d4ed8;
}

/* Botón WhatsApp de Cabina 3D */
.btn-whatsapp-3d {
    background: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 0 #15803d, 0 6px 16px rgba(22, 163, 74, 0.35);
}

.btn-whatsapp-3d:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #15803d, 0 8px 20px rgba(22, 163, 74, 0.45);
    color: #ffffff;
}

.btn-whatsapp-3d:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #15803d;
}

/* Botón Compartir 3D */
.btn-share-3d {
    background: #1e2430;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 0 #0f1218;
}

.btn-share-3d:hover {
    background: #283040;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #0f1218;
    color: #ffffff;
}

.btn-share-3d:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #0f1218;
}

/* Redes Sociales Oficiales */
.modal-socials-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.socials-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.social-icons-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-btn-3d {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #1a1e28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 3px 0 #0d1016;
    transition: all 0.15s ease;
}

.social-icon-btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #0d1016;
}

.social-icon-btn-3d.fb:hover { background: #1877f2; }
.social-icon-btn-3d.ig:hover { background: #e1306c; }
.social-icon-btn-3d.tt:hover { background: #000000; border-color: #25f4ee; }

.social-icon-btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #0d1016;
}

/* Descripción de la Estación */
.modal-description-box {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-description-box p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Sello Tecnológico Radiux */
.modal-radiux-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-radiux-seal i {
    color: var(--accent-crimson);
}

