/* Estilos compartidos para páginas temáticas indexables de Makondo Lofi Radio */
:root {
    --bg-dark: #0a0b0e;
    --bg-card: rgba(22, 24, 34, 0.75);
    --bg-card-border: rgba(255, 255, 255, 0.08);
    --gold: #f5b041;
    --gold-glow: rgba(245, 176, 65, 0.25);
    --text-primary: #f0f2f5;
    --text-secondary: #a0a6b5;
    --text-muted: #6b7280;
    --accent-red: #ef4444;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.75;
    font-size: 1.05rem;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Fondo ambiental sutil */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 15%, rgba(245, 176, 65, 0.06), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.04), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

/* Navegación superior */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--bg-card-border);
    padding: 0.8rem 1.5rem;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.brand-link img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(245, 176, 65, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--bg-card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-btn-live {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.nav-btn-live:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: var(--accent-red);
    color: #fff;
}

.nav-btn-lang {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-btn-lang:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Contenedor principal */
.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 5rem;
}

/* Migas de pan (Breadcrumbs) */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

/* Badge de categoría */
.cat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(245, 176, 65, 0.12);
    border: 1px solid rgba(245, 176, 65, 0.3);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Título principal */
h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #fff;
}

.lead-p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.65;
}

/* Reproductor de Audio Embebido en la página */
.player-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 1.5rem;
    margin-bottom: 2.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.player-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
}

.player-main-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-play-stream {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.2s ease;
    box-shadow: 0 4px 18px var(--gold-glow);
    flex-shrink: 0;
}

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

.btn-play-stream svg {
    width: 24px;
    height: 24px;
}

.player-info {
    flex-grow: 1;
}

.player-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.player-info-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Ecualizador animado */
.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.equalizer-bar {
    width: 4px;
    background: var(--gold);
    border-radius: 2px;
    height: 4px;
    transition: height 0.2s;
}

.equalizer.playing .equalizer-bar:nth-child(1) { animation: eqBar 1.1s ease-in-out infinite; }
.equalizer.playing .equalizer-bar:nth-child(2) { animation: eqBar 0.8s ease-in-out infinite 0.2s; }
.equalizer.playing .equalizer-bar:nth-child(3) { animation: eqBar 1.3s ease-in-out infinite 0.1s; }
.equalizer.playing .equalizer-bar:nth-child(4) { animation: eqBar 0.9s ease-in-out infinite 0.3s; }

@keyframes eqBar {
    0%, 100% { height: 4px; }
    50% { height: 20px; }
}

.player-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.btn-immersive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.6rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-immersive:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.volume-control input[type="range"] {
    accent-color: var(--gold);
    cursor: pointer;
    width: 80px;
}

/* Tipografía del artículo */
article {
    margin-bottom: 3.5rem;
}

article h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
    margin: 2.2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

article h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    margin: 1.6rem 0 0.8rem;
}

article p {
    margin-bottom: 1.25rem;
    color: #d1d5db;
}

article ul, article ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #d1d5db;
}

article li {
    margin-bottom: 0.5rem;
}

article blockquote {
    background: rgba(245, 176, 65, 0.05);
    border-left: 3px solid var(--gold);
    padding: 1.2rem 1.5rem;
    margin: 1.8rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #e5e7eb;
}

article blockquote cite {
    display: block;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--gold);
    margin-top: 0.5rem;
    font-weight: 600;
}

.callout-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bg-card-border);
    border-radius: 14px;
    padding: 1.3rem;
    margin: 1.8rem 0;
}

.callout-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sección FAQ */
.faq-section {
    margin: 3.5rem 0;
}

.faq-section h2 {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(245, 176, 65, 0.3);
}

.faq-question {
    padding: 1.1rem 1.3rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform 0.2s;
}

details[open] .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.3rem 1.2rem;
    color: #9ca3af;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Cuadrícula de otras estaciones */
.stations-grid-section {
    margin: 4rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-card-border);
}

.stations-grid-section h3 {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.station-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 14px;
    padding: 1.2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.station-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(30, 32, 46, 0.85);
}

.station-card-title {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.station-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--bg-card-border);
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.site-footer a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--gold);
}

/* Responsivo */
@media (max-width: 640px) {
    h1 { font-size: 1.75rem; }
    .main-wrapper { padding: 1.5rem 1rem 4rem; }
    .player-card { padding: 1.2rem; }
    .player-main-controls { gap: 0.8rem; }
    .btn-play-stream { width: 50px; height: 50px; }
    .btn-play-stream svg { width: 20px; height: 20px; }
    .nav-actions .nav-btn span.btn-label { display: none; }
}

