/* =========================================================
   mp-live.css — Live Darshan page
   Namespace: lv-  |  Depends on: custom.css design tokens
   ========================================================= */

/* ── Page Banner overrides ──────────────────────────────── */
.lv-banner {
    background: linear-gradient(135deg, #FBF4E9 0%, #f5e6cc 60%, #eedabf 100%);
    border-bottom: 3px solid var(--mp-gold, #C99A3F);
    padding: 52px 0 42px;
    position: relative;
    text-align: center;
}

.lv-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 75% 50%, rgba(200,150,60,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.lv-banner .mp-eyebrow {
    font-family: var(--mp-font-display);
    font-size: 0.8rem;
    color: var(--mp-saffron, #E8820C);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 10px;
}

.lv-banner h1 {
    font-family: var(--mp-font-display);
    color: var(--mp-maroon, #6E1E1E);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mp-breadcrumb {
    color: var(--mp-ink, #2A1A12);
    opacity: 0.65;
    font-size: 0.9rem;
    margin-top: 8px;
}

.mp-breadcrumb a {
    color: var(--mp-saffron, #E8820C);
    text-decoration: none;
}

.mp-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Video section ──────────────────────────────────────── */
.lv-video-section {
    padding: 56px 0 48px;
}

.lv-player-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 0 0 3px var(--mp-gold, #C99A3F),
        0 24px 64px -20px rgba(42, 12, 12, 0.45);
    background: #1a0a0a;
}

/* Live/Darshan badge */
.lv-live-badge {
    display: inline-block;
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 10;
    background: var(--mp-saffron, #E8820C);
    color: #fff;
    font-family: var(--mp-font-display);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(232, 130, 12, 0.45);
}

/* Responsive 16:9 ratio box */
.lv-ratio-box {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.lv-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Footer below the player */
.lv-player-footer {
    background: var(--mp-maroon, #6E1E1E);
    padding: 10px 18px;
    text-align: center;
}

.lv-player-caption {
    font-family: var(--mp-font-display);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.08em;
}

/* ── Timings section ────────────────────────────────────── */
.lv-timings-section {
    padding: 56px 0 52px;
}

.lv-timings-board {
    max-width: 640px;
    margin: 0 auto 20px;
    border: 1.5px solid var(--mp-line, rgba(110,30,30,0.12));
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px -16px rgba(42,12,12,0.18);
}

/* Individual row */
.lv-timing-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--mp-line, rgba(110,30,30,0.12));
    background: #fff;
    transition: background 0.18s ease;
}

.lv-timing-row:last-child {
    border-bottom: none;
}

.lv-timing-row:hover {
    background: #fdf8f0;
}

/* Aarti rows — highlighted */
.lv-timing-aarti {
    background: rgba(232, 130, 12, 0.08);
    border-left: 4px solid var(--mp-saffron, #E8820C);
}

.lv-timing-aarti:hover {
    background: rgba(232, 130, 12, 0.13);
}

/* Icon */
.lv-timing-icon {
    font-size: 18px;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

/* Label */
.lv-timing-label {
    flex: 1;
    font-family: var(--mp-font-display);
    font-size: 15px;
    color: var(--mp-ink, #2A1A12);
    letter-spacing: 0.02em;
}

/* Time */
.lv-timing-time {
    font-family: var(--mp-font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--mp-maroon, #6E1E1E);
    letter-spacing: 0.05em;
    margin-left: auto;
}

/* Aarti pill badge */
.lv-aarti-pill {
    display: inline-block;
    background: var(--mp-saffron, #E8820C);
    color: #fff;
    font-family: var(--mp-font-display);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

/* Festival note */
.lv-timings-note {
    text-align: center;
    font-size: 13px;
    font-style: italic;
    color: var(--mp-ink, #2A1A12);
    opacity: 0.65;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

/* ── Notify / subscribe band ────────────────────────────── */
.lv-notify-band {
    background: linear-gradient(135deg, var(--mp-maroon, #6E1E1E) 0%, #4a1212 100%);
    padding: 52px 0;
    position: relative;
    overflow: hidden;
}

.lv-notify-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(201,154,63,0.12) 0%, transparent 55%);
    pointer-events: none;
}

.lv-notify-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.lv-notify-text .mp-eyebrow {
    color: var(--mp-gold, #C99A3F);
    font-family: var(--mp-font-display);
    font-size: 0.75rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.lv-notify-title {
    font-family: var(--mp-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    font-weight: 400;
    margin: 0 0 8px;
    letter-spacing: 0.03em;
}

.lv-notify-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.70);
    margin: 0;
    font-style: italic;
}

.lv-notify-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* Base button */
.lv-notify-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    font-family: var(--mp-font-display);
    font-size: 14px;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: transform 0.20s ease, box-shadow 0.20s ease, background 0.20s ease;
    cursor: pointer;
    white-space: nowrap;
}

.lv-notify-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.lv-btn-icon {
    font-size: 16px;
    line-height: 1;
}

/* YouTube button */
.lv-btn-yt {
    background: var(--mp-saffron, #E8820C);
    color: #fff;
    box-shadow: 0 6px 20px rgba(232,130,12,0.40);
}

.lv-btn-yt:hover {
    background: var(--mp-saffron-deep, #C76A05);
    color: #fff;
    box-shadow: 0 10px 28px rgba(232,130,12,0.50);
}

/* WhatsApp button */
.lv-btn-wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.lv-btn-wa:hover {
    background: #1ebe5d;
    color: #fff;
    box-shadow: 0 10px 28px rgba(37,211,102,0.45);
}

/* ── Secondary thumbnails grid ──────────────────────────── */
.lv-gallery-section {
    padding: 56px 0 60px;
}

.lv-thumb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 576px) {
    .lv-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .lv-thumb-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* Individual thumbnail card */
.lv-thumb-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--mp-cream, #FBF4E9);
    box-shadow: 0 12px 28px -14px rgba(42,12,12,0.28);
    text-decoration: none;
    transition: transform 0.26s ease, box-shadow 0.26s ease;
    position: relative;
}

/* Gold corner accent — top left */
.lv-thumb-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 16px;
    height: 16px;
    border-top: 2px solid var(--mp-gold, #C99A3F);
    border-left: 2px solid var(--mp-gold, #C99A3F);
    border-radius: 3px 0 0 0;
    z-index: 3;
    pointer-events: none;
}

/* Gold corner accent — bottom right */
.lv-thumb-card::after {
    content: '';
    position: absolute;
    bottom: 36px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid var(--mp-gold, #C99A3F);
    border-right: 2px solid var(--mp-gold, #C99A3F);
    border-radius: 0 0 3px 0;
    z-index: 3;
    pointer-events: none;
}

.lv-thumb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(42,12,12,0.38);
    text-decoration: none;
}

/* Image wrapper — 4:3 */
.lv-thumb-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.lv-thumb-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.38s ease;
}

.lv-thumb-card:hover .lv-thumb-img-wrap img {
    transform: scale(1.07);
}

/* Hover overlay with play button */
.lv-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(110,30,30,0.80) 0%,
        rgba(110,30,30,0.25) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lv-thumb-card:hover .lv-thumb-overlay {
    opacity: 1;
}

.lv-thumb-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mp-saffron, #E8820C);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 18px rgba(232,130,12,0.55);
}

/* Caption bar */
.lv-thumb-caption {
    padding: 9px 12px 10px;
    font-family: var(--mp-font-display);
    font-size: 12px;
    color: var(--mp-maroon, #6E1E1E);
    letter-spacing: 0.05em;
    text-align: center;
    border-top: 1px solid var(--mp-line, rgba(110,30,30,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lv-caption-diamond {
    color: var(--mp-gold, #C99A3F);
    font-size: 8px;
}

/* ── Responsive tweaks ──────────────────────────────────── */

/* Timings board stacks at small screens (already block by default) */
@media (max-width: 575px) {
    .lv-timing-row {
        padding: 11px 14px;
        gap: 10px;
    }

    .lv-timing-label {
        font-size: 13px;
    }

    .lv-timing-time {
        font-size: 13px;
    }

    .lv-aarti-pill {
        display: none; /* hide pill on very small screens, accent colour sufficient */
    }
}

/* Notify band stacks on small screens */
@media (max-width: 767px) {
    .lv-notify-inner {
        flex-direction: column;
        text-align: center;
    }

    .lv-notify-actions {
        justify-content: center;
    }
}

/* Player max-width doesn't restrict too much on tablets */
@media (max-width: 991px) {
    .lv-player-wrap {
        max-width: 100%;
    }
}
