/* ========================================
   LIVESTREAM.CSS — Sección Live Stream
   ======================================== */

.livestream {
    background: var(--color-noche);
    color: var(--color-crema);
}

.livestream .section__header h2 {
    color: var(--color-crema);
}

.livestream .section__header p {
    color: var(--color-humo);
}

/* ── Badge EN VIVO ── */
.livestream__live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-cuerpo);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: white;
    background: var(--color-acento);
    border-radius: var(--radius-xl);
    margin-bottom: 1.5rem;
}

.livestream__live-dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s ease infinite;
}

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

/* ── Embed container ── */
.livestream__embed {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.livestream__embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

/* ── Próximas transmisiones ── */
.livestream__upcoming {
    margin-bottom: 4rem;
}

.livestream__upcoming h3 {
    text-align: center;
    color: var(--color-ocre);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.livestream__upcoming-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.livestream__upcoming-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.livestream__upcoming-card:hover {
    border-color: var(--color-ocre);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.livestream__upcoming-date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.livestream__upcoming-day {
    width: 50px;
    height: 50px;
    background: var(--color-ocre);
    color: var(--color-noche);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titulo);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.livestream__upcoming-datetime {
    font-size: 0.8rem;
    color: var(--color-humo);
    opacity: 0.7;
}

.livestream__upcoming-datetime strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-crema);
    opacity: 1;
}

.livestream__upcoming-title {
    font-family: var(--font-subtitulo);
    font-size: 1rem;
    color: var(--color-crema);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.livestream__upcoming-desc {
    font-size: 0.85rem;
    color: var(--color-humo);
    line-height: 1.6;
    opacity: 0.8;
    max-width: none;
}

/* ── CTA buttons ── */
.livestream__cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Platform badge (Facebook Live icon + text) */
.livestream__platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.livestream__platform-badge svg {
    flex-shrink: 0;
}

/* "Próximamente" link */
.livestream__upcoming-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 0.75rem;
    font-family: var(--font-cuerpo);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-ocre);
    opacity: 0.7;
}

/* YouTube button */
.btn--youtube {
    background: #c4302b;
    color: #fff;
    border-color: #c4302b;
}

.btn--youtube svg path:last-child {
    fill: #c4302b;
}

.btn--youtube:hover {
    background: var(--color-ocre);
    border-color: var(--color-ocre);
    color: var(--color-noche);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 48, 43, 0.3);
}

.btn--youtube:hover svg path:last-child {
    fill: var(--color-ocre);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .livestream__upcoming-grid {
        grid-template-columns: 1fr;
    }

    .livestream__cta {
        flex-direction: column;
        align-items: center;
    }
}
