/* ═══════════════════════════════════════════════════════════
   Streaming Live — pagină dedicată (YouTube Live + chat)
   ═══════════════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────────── */
.live-hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(160deg, #0a0e14 0%, #101526 45%, #1a1030 100%);
}

.live-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.live-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 18% 12%, rgba(212, 175, 55, 0.14), transparent 60%),
        radial-gradient(ellipse 55% 45% at 85% 80%, rgba(99, 102, 241, 0.12), transparent 65%);
}

.live-hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.live-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.live-hero__badge svg {
    color: #e8c55a;
}

.live-hero__badge--live {
    background: rgba(255, 77, 77, 0.12);
    border-color: rgba(255, 77, 77, 0.35);
    color: #ff8a8a;
}

.live-hero__badge--live .live-hero__live-text {
    color: #ff5c5c;
}

.live-hero__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.9rem, 4.2vw, 3.1rem);
    font-weight: 600;
    line-height: 1.18;
    margin: 1.1rem 0 0.9rem;
    color: #fff;
    text-wrap: balance;
}

.live-hero__title-accent {
    background: linear-gradient(120deg, #e8c55a, #f5e8c8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.live-hero__subtitle {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 640px;
    margin: 0;
}

/* Countdown */
.live-hero__countdown {
    margin-top: 2rem;
}

.live-hero__countdown-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.live-hero__countdown-when {
    color: #e8c55a;
    font-weight: 600;
}

.live-hero__countdown-timer {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.live-cd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 64px;
    padding: 0.7rem 0.5rem 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.18);
}

.live-cd-num {
    font-size: 1.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #f5e8c8;
    line-height: 1;
}

.live-cd-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.live-cd-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.5);
    align-self: center;
    padding-top: 0.4rem;
}

.live-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Buton „Chat live” din hero (când nu e stream activ) */
.live-hero__chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #b89028, #d4af37);
    color: #1a1a1a;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-hero__chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}

/* ── STAGE (player + chat) ───────────────────────────────── */
.live-stage {
    background: #0a0e14;
    padding: 0 0 3.5rem;
}

.live-stage__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.live-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.live-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.live-player--on::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 77, 77, 0.25);
}

.live-player__off-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    padding: 2rem;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 175, 55, 0.08), transparent 70%),
        linear-gradient(160deg, #101526, #0a0e14);
}

.live-player__off-icon {
    font-size: 2.6rem;
    opacity: 0.7;
    animation: liveOffFloat 3s ease-in-out infinite;
}

@keyframes liveOffFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.live-player__off-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0.2rem 0 0;
}

.live-player__off-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 420px;
    line-height: 1.6;
    margin: 0;
}

.live-player__off-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.6rem;
}

.live-player__off-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #b89028, #d4af37);
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-player__off-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.live-player__off-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.live-player__off-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Now playing card */
.live-now-card {
    margin-top: 1.25rem;
    padding: 1.4rem 1.5rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-now-card__top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.live-now-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff5c5c;
}

.live-now-card__type {
    font-size: 0.78rem;
    color: #e8c55a;
    font-weight: 600;
}

.live-now-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #b89028, #d4af37);
    color: #1a1a1a;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-now-card__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3);
}


/* ── Worship player (off-air) ─────────────────── */
.live-player__worship {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 175, 55, 0.07), transparent 70%),
        linear-gradient(160deg, #101526, #0a0e14);
}

/* YT.Player înlocuiește div-ul #worshipPlayer (clasa se pierde) —
   de aceea țintim explicit și id-ul, ca playerul să umple mereu containerul. */
.live-player__worship-embed,
#worshipPlayer,
.live-player__worship-embed iframe,
#worshipPlayer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Chip indicator */
.live-player__worship-chip {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(10, 14, 20, 0.72);
    border: 1px solid rgba(232, 197, 90, 0.28);
    color: #f5e8c8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Egalizator animat */
.live-player__worship-eq {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.live-player__worship-eq span {
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #f5e8c8, #d4af37);
    animation: worshipEq 1s ease-in-out infinite;
}

.live-player__worship-eq span:nth-child(1) { height: 6px; animation-delay: 0s; }
.live-player__worship-eq span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.live-player__worship-eq span:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.live-player__worship-eq span:nth-child(4) { height: 10px; animation-delay: 0.45s; }

@keyframes worshipEq {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Buton fallback când autoplay e blocat */
.live-player__worship-play {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 197, 90, 0.4);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
    color: #f5e8c8;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.live-player__worship-play--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.live-player__worship-play:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.15));
    transform: translateX(-50%) translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .live-player__worship-eq span {
        animation: none;
    }
}

.live-now-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 0 0.5rem;
}

.live-now-card__desc {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ── CHAT (sub player, lățime completă) ───────────────────── */
.live-chat-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    height: 600px;
    max-height: 72vh;
    min-height: 420px;
}

/* Offset pentru link-urile „Chat live” (anchor pe #liveChat, header fix) */
#liveChat {
    scroll-margin-top: calc(var(--header-height, 70px) + 1rem);
}

.live-chat-wrap__header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.live-chat-wrap__icon {
    font-size: 1.2rem;
}

.live-chat-wrap__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.live-chat-wrap__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.live-chat-wrap__sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

.live-chat-wrap .chat {
    flex: 1;
}

/* ── UPCOMING LIST ───────────────────────────────────────── */
.section--live-list {
    background: #0d1220;
    padding: 3.5rem 0;
}

.live-list__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.live-list__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: #fff;
    margin: 0;
}

.live-list__title-accent {
    background: linear-gradient(120deg, #e8c55a, #f5e8c8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.live-list__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8c55a;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.live-list__more:hover {
    color: #f5e8c8;
}

.live-list__more svg {
    transition: transform 0.2s ease;
}

.live-list__more:hover svg {
    transform: translateX(3px);
}

.live-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.live-list__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.live-list__card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.05);
}

.live-list__card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 72px;
    padding: 0.6rem 0.5rem;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.live-list__card-day {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e8c55a;
}

.live-list__card-num {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.live-list__card-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.live-list__card-type {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}

.live-list__card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-list__card-time {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.live-list__card-arrow {
    color: rgba(212, 175, 55, 0.5);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.live-list__card:hover .live-list__card-arrow {
    transform: translateX(4px);
    color: #e8c55a;
}

/* ── CTA ─────────────────────────────────────────────────── */
.live-cta {
    background: linear-gradient(160deg, #0a0e14, #101526);
    padding: 3.5rem 0;
}

.live-cta__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.live-cta__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 0.6rem;
}

.live-cta__desc {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.6rem;
}

.live-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.live-cta__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-cta__btn--primary {
    background: linear-gradient(135deg, #b89028, #d4af37);
    color: #1a1a1a;
}

.live-cta__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.3);
}

.live-cta__btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.live-cta__btn--secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .live-chat-wrap {
        height: auto;
        max-height: none;
    }
    .live-hero {
        padding: 3rem 0 2.5rem;
    }
    .live-hero__countdown-timer {
        flex-wrap: wrap;
    }
    .live-list__grid {
        grid-template-columns: 1fr;
    }
    .live-list__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .live-cd-item {
        min-width: 56px;
        padding: 0.55rem 0.35rem 0.45rem;
    }
    .live-cd-num {
        font-size: 1.35rem;
    }
    .live-player {
        border-radius: 14px;
    }
    .live-now-card {
        padding: 1.1rem;
    }
}
