/* ==========================================================================
   NBG Arena — Live Broadcast Stage
   Who Wants to Be a Millionaire–inspired studio theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --wwtbam-navy: #030b1f;
    --wwtbam-blue: #0a1f4a;
    --wwtbam-blue-mid: #122d6b;
    --wwtbam-purple: #1a0a3e;
    --wwtbam-gold: #e6b422;
    --wwtbam-gold-light: #ffd966;
    --wwtbam-gold-dark: #a67c00;
    --wwtbam-orange: #c45c00;
    --wwtbam-spotlight: rgba(255, 220, 100, 0.12);
    --wwtbam-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

.live-page {
    background: var(--wwtbam-navy);
    color: #fff;
    min-height: 100vh;
}

.live-page.bg-pattern::before {
    display: none;
}

.live-page main { padding: 0; }

/* Dark studio nav — crisp text, no frosted blur clash */
.live-page .site-nav {
    background: rgba(3, 11, 31, 0.97) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 2px solid var(--wwtbam-gold-dark) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.live-page .site-nav .navbar-brand {
    color: #fff !important;
}

.live-page .site-nav .brand-accent {
    color: var(--wwtbam-gold-light) !important;
}

.live-page .site-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

.live-page .site-nav .nav-link:hover,
.live-page .site-nav .nav-mega-link:hover {
    color: var(--wwtbam-gold-light) !important;
    background: rgba(230, 180, 34, 0.12) !important;
}

.live-page .site-nav .nav-mega-trigger {
    color: rgba(255, 255, 255, 0.75);
}

.live-page .site-nav .nav-menu-btn {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
}

.live-page .site-nav .nav-menu-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(230, 180, 34, 0.35);
    color: var(--wwtbam-gold-light);
}

.live-page .site-nav .btn-nbg-primary {
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

/* ---- Studio shell ---- */
.broadcast-stage.wwtbam-theme {
    position: relative;
    min-height: calc(100vh - 72px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(26, 10, 62, 0.9), transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 40%, var(--wwtbam-blue-mid) 0%, var(--wwtbam-navy) 70%);
}

.studio-lights {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.spotlight {
    position: absolute;
    top: -10%;
    width: 45%;
    height: 70%;
    opacity: 0.7;
    filter: blur(40px);
}

.spotlight-left {
    left: -5%;
    background: radial-gradient(ellipse at 30% 0%, var(--wwtbam-spotlight), transparent 70%);
    animation: spotlight-sway-left 8s ease-in-out infinite;
}

.spotlight-center {
    left: 27.5%;
    width: 45%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 240, 180, 0.18), transparent 65%);
    animation: spotlight-pulse 4s ease-in-out infinite;
}

.spotlight-right {
    right: -5%;
    background: radial-gradient(ellipse at 70% 0%, var(--wwtbam-spotlight), transparent 70%);
    animation: spotlight-sway-right 8s ease-in-out infinite;
}

.studio-floor-glow {
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 30%;
    background: radial-gradient(ellipse at 50% 100%, rgba(230, 180, 34, 0.08), transparent 70%);
}

@keyframes spotlight-sway-left {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5%); opacity: 0.85; }
}

@keyframes spotlight-sway-right {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(-5%); opacity: 0.85; }
}

@keyframes spotlight-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ---- Show header ---- */
.broadcast-header {
    padding: 1rem 0 1.25rem;
    border-bottom: 1px solid rgba(230, 180, 34, 0.2);
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent);
}

.show-logo-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(230, 180, 34, 0.12);
}

.show-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--wwtbam-gold), var(--wwtbam-gold-dark));
    color: var(--wwtbam-navy);
    font-weight: 900;
    font-size: 0.7rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 20px rgba(230, 180, 34, 0.4);
}

.show-logo-text {
    font-family: var(--wwtbam-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wwtbam-gold-light);
    letter-spacing: 0.04em;
}

.show-logo-tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.45);
    margin-left: auto;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.live-badge-on {
    background: rgba(196, 92, 0, 0.25);
    color: var(--wwtbam-gold-light);
    border: 1px solid var(--wwtbam-gold);
    animation: live-pulse-badge 2s ease infinite;
    box-shadow: 0 0 15px rgba(230, 180, 34, 0.2);
}

.live-badge-soon {
    background: rgba(230, 180, 34, 0.12);
    color: var(--wwtbam-gold-light);
    border: 1px solid rgba(230, 180, 34, 0.35);
}

.live-badge-off {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wwtbam-gold-light);
    animation: live-pulse-dot 1.2s ease infinite;
}

@keyframes live-pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 180, 34, 0.3); }
    50% { box-shadow: 0 0 24px 6px rgba(230, 180, 34, 0.15); }
}

@keyframes live-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.25); }
}

.broadcast-title {
    font-family: var(--wwtbam-font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 20px rgba(230, 180, 34, 0.15);
    letter-spacing: 0.02em;
}

.broadcast-meta {
    font-size: 0.85rem;
    color: rgba(255, 220, 150, 0.55);
    letter-spacing: 0.04em;
}

.btn-wwtbam-outline,
.live-action-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: var(--wwtbam-gold-light) !important;
    border: 1px solid rgba(230, 180, 34, 0.45) !important;
    background: rgba(230, 180, 34, 0.1) !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-wwtbam-outline:hover,
.live-action-btn-outline:hover {
    background: rgba(230, 180, 34, 0.22) !important;
    color: #fff !important;
    border-color: var(--wwtbam-gold) !important;
    box-shadow: 0 4px 18px rgba(230, 180, 34, 0.18);
    transform: translateY(-1px);
}

.live-action-group {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.live-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.live-action-btn-lg {
    min-height: 2.65rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
}

.live-action-btn-gold {
    color: var(--wwtbam-navy) !important;
    background: linear-gradient(135deg, var(--wwtbam-gold-light), var(--wwtbam-gold)) !important;
    border-color: rgba(255, 220, 150, 0.5) !important;
    box-shadow: 0 4px 18px rgba(230, 180, 34, 0.28);
}

.live-action-btn-gold:hover {
    color: var(--wwtbam-navy) !important;
    background: linear-gradient(135deg, #ffe699, var(--wwtbam-gold-light)) !important;
    box-shadow: 0 6px 22px rgba(230, 180, 34, 0.38);
    transform: translateY(-1px);
}

.live-action-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.live-page .broadcast-header .btn-sm.btn-wwtbam-outline,
.live-page .live-stage-actions .btn-sm.btn-wwtbam-outline {
    min-height: 2.1rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
}

/* ---- Lifelines ---- */
.lifelines-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.25rem;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(230, 180, 34, 0.2);
    border-radius: 100px;
}

.lifelines-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 220, 150, 0.5);
    padding-right: 0.5rem;
    border-right: 1px solid rgba(230, 180, 34, 0.2);
}

.lifelines-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.lifeline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}

.lifeline-active {
    opacity: 1;
}

.lifeline-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    background: radial-gradient(circle at 30% 30%, var(--wwtbam-blue-mid), var(--wwtbam-navy));
    border: 2px solid rgba(230, 180, 34, 0.35);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lifeline-active .lifeline-icon {
    border-color: var(--wwtbam-gold);
    box-shadow: 0 0 16px rgba(230, 180, 34, 0.35), inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lifeline-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.lifeline-active .lifeline-name { color: var(--wwtbam-gold-light); }

/* ---- Stage layout ---- */
.stage-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding: 1.25rem 0 2.5rem;
    position: relative;
    z-index: 1;
}

.stage-main { min-width: 0; }

/* Hot seat framing */
.hot-seat-wrap {
    position: relative;
}

.hot-seat-arch {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40px;
    border: 2px solid rgba(230, 180, 34, 0.25);
    border-bottom: none;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}

.hot-seat-label {
    text-align: center;
    font-family: var(--wwtbam-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--wwtbam-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(230, 180, 34, 0.3);
}

.hot-seat-icon {
    color: var(--wwtbam-gold-light);
    margin-right: 0.35rem;
}

.live-hot-seat-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.18), rgba(79, 70, 229, 0.12));
    border: 1px solid rgba(230, 180, 34, 0.25);
}

.live-hot-seat-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 230, 138, 0.85);
}

.live-hot-seat-meta {
    margin-left: auto;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.answer-diamond-correct {
    border-color: rgba(34, 197, 94, 0.65) !important;
    background: rgba(34, 197, 94, 0.12) !important;
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.18);
}

.answer-diamond-muted {
    opacity: 0.45;
}

.video-stage {
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 0 0 3px var(--wwtbam-gold-dark),
        0 0 0 6px rgba(10, 31, 74, 0.8),
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(230, 180, 34, 0.08);
}

.video-stage::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.video-stage iframe,
.video-stage #youtube-player,
.video-stage .stage-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.stage-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(230, 180, 34, 0.08), transparent 50%),
        linear-gradient(180deg, var(--wwtbam-blue-mid), var(--wwtbam-navy));
    text-align: center;
    padding: 2rem;
}

.stage-placeholder-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(230, 180, 34, 0.3));
}

.stage-placeholder-text {
    color: rgba(255, 220, 150, 0.65);
    font-family: var(--wwtbam-font-display);
    font-size: 1.1rem;
}

.stage-countdown {
    font-family: var(--wwtbam-font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--wwtbam-gold-light);
    text-shadow: 0 0 40px rgba(230, 180, 34, 0.5);
    letter-spacing: 0.05em;
}

.stage-countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 220, 150, 0.45);
    margin-top: 0.5rem;
}

/* Question bar — Millionaire-style */
.question-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: 0;
}

.question-bar-inner {
    flex: 1;
    min-width: 200px;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(180deg, rgba(18, 45, 107, 0.95), rgba(10, 31, 74, 0.98));
    border: 2px solid var(--wwtbam-gold);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 220, 150, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
}

.question-bar-inner::before,
.question-bar-inner::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wwtbam-gold);
    font-size: 0.6rem;
    opacity: 0.6;
}

.question-bar-inner::before { left: 0.5rem; }
.question-bar-inner::after { right: 0.5rem; }

.question-round {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--wwtbam-gold);
    margin-bottom: 0.35rem;
}

.question-text {
    font-family: var(--wwtbam-font-display);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    padding: 0 1rem;
}

.question-text-waiting {
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
}

.question-live-pill { flex-shrink: 0; }

/* Answer diamonds — classic WWTBAM shape */
.answer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
}

.answer-diamond {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(180deg, #1a4088 0%, #0d2557 100%);
    border: 2px solid rgba(230, 180, 34, 0.45);
    clip-path: polygon(6% 0%, 94% 0%, 100% 50%, 94% 100%, 6% 100%, 0% 50%);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.answer-diamond-live {
    border-color: var(--wwtbam-gold);
    box-shadow: 0 0 20px rgba(230, 180, 34, 0.15);
    animation: answer-glow 3s ease-in-out infinite;
}

@keyframes answer-glow {
    0%, 100% { box-shadow: 0 0 12px rgba(230, 180, 34, 0.1); }
    50% { box-shadow: 0 0 24px rgba(230, 180, 34, 0.25); }
}

.answer-letter {
    font-weight: 900;
    font-size: 1rem;
    color: var(--wwtbam-gold-light);
    min-width: 1.5rem;
}

.answer-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.stage-description {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 220, 150, 0.45);
    line-height: 1.5;
}

/* ---- Sidebar panels ---- */
.stage-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.watch-panel {
    background: linear-gradient(180deg, rgba(10, 31, 74, 0.9), rgba(3, 11, 31, 0.95));
    border: 1px solid rgba(230, 180, 34, 0.25);
    border-radius: 4px;
    padding: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.08);
}

.watch-panel h6 {
    font-family: var(--wwtbam-font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--wwtbam-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Money / prize ladder */
.money-ladder {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ladder-step {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 0.5rem;
    padding: 0.55rem 0.75rem;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.25s ease;
}

.ladder-prize {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 220, 150, 0.35);
    grid-column: 1;
}

.ladder-label {
    font-family: var(--wwtbam-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    grid-column: 1;
}

.ladder-you-are-here {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wwtbam-gold);
    white-space: nowrap;
}

.ladder-passed .ladder-label { color: rgba(255, 255, 255, 0.65); }
.ladder-passed .ladder-prize { color: rgba(255, 220, 150, 0.5); }

.ladder-current {
    background: linear-gradient(90deg, rgba(230, 180, 34, 0.2), transparent);
    border-left-color: var(--wwtbam-gold);
    box-shadow: 0 0 20px rgba(230, 180, 34, 0.1);
}

.ladder-current .ladder-label {
    color: var(--wwtbam-gold-light);
    font-weight: 700;
    font-size: 1.1rem;
}

.ladder-current .ladder-prize { color: var(--wwtbam-gold); }

/* Platform buttons */
.platform-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(230, 180, 34, 0.15);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.platform-btn:last-child { margin-bottom: 0; }

.platform-btn:hover {
    color: var(--wwtbam-gold-light);
    border-color: rgba(230, 180, 34, 0.45);
    background: rgba(230, 180, 34, 0.08);
}

.platform-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(230, 180, 34, 0.2);
}

.platform-icon.yt { background: #cc0000; border-color: #ff4444; }
.platform-icon.tt { background: #000; }
.platform-icon.ig { background: linear-gradient(135deg, #f58529, #dd2a7b); border: none; }

.platform-btn small {
    display: block;
    font-weight: 400;
    color: rgba(255, 220, 150, 0.4);
    font-size: 0.72rem;
}

.tiktok-notice {
    font-size: 0.72rem;
    color: rgba(255, 220, 150, 0.35);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(230, 180, 34, 0.1);
    line-height: 1.45;
}

.chat-panel .chat-embed-wrap {
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    height: 300px;
    border: 1px solid rgba(230, 180, 34, 0.15);
}

.chat-panel iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Stage state accents */
.stage-upcoming .video-stage,
.stage-pre_show .video-stage {
    box-shadow:
        0 0 0 3px rgba(230, 180, 34, 0.4),
        0 0 0 6px rgba(10, 31, 74, 0.8),
        0 0 40px rgba(230, 180, 34, 0.1);
}

.stage-live .video-stage {
    box-shadow:
        0 0 0 3px var(--wwtbam-gold),
        0 0 0 6px rgba(10, 31, 74, 0.8),
        0 0 80px rgba(230, 180, 34, 0.2);
    animation: hot-seat-live 3s ease-in-out infinite;
}

@keyframes hot-seat-live {
    0%, 100% { box-shadow: 0 0 0 3px var(--wwtbam-gold), 0 0 0 6px rgba(10, 31, 74, 0.8), 0 0 60px rgba(230, 180, 34, 0.15); }
    50% { box-shadow: 0 0 0 3px var(--wwtbam-gold-light), 0 0 0 6px rgba(10, 31, 74, 0.8), 0 0 100px rgba(230, 180, 34, 0.3); }
}

.stage-intermission .video-stage {
    box-shadow:
        0 0 0 3px rgba(100, 150, 255, 0.4),
        0 0 0 6px rgba(10, 31, 74, 0.8),
        0 25px 60px rgba(0, 0, 0, 0.5);
}

/* ---- Events schedule page ---- */
.events-page {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--wwtbam-navy) 0%, #0a1530 100%);
    min-height: 50vh;
}

.events-page .section-title,
.events-page h2 {
    font-family: var(--wwtbam-font-display);
    color: var(--wwtbam-gold-light);
}

.events-page .text-muted { color: rgba(255, 220, 150, 0.45) !important; }

.wwtbam-events-header {
    background:
        radial-gradient(ellipse 80% 100% at 50% 0%, rgba(26, 10, 62, 0.8), transparent),
        linear-gradient(180deg, var(--wwtbam-blue-mid), var(--wwtbam-navy));
    border-bottom: 2px solid rgba(230, 180, 34, 0.25);
    padding: 3.5rem 0 2.5rem;
}

.wwtbam-events-header h1 {
    font-family: var(--wwtbam-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--wwtbam-gold-light);
}

.wwtbam-events-header .section-label {
    color: rgba(255, 220, 150, 0.55) !important;
    letter-spacing: 0.15em;
}

.wwtbam-events-header p {
    color: rgba(255, 255, 255, 0.55);
}

.event-card {
    background: linear-gradient(180deg, rgba(18, 45, 107, 0.6), rgba(3, 11, 31, 0.9));
    border: 1px solid rgba(230, 180, 34, 0.2);
    border-radius: 4px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
}

.event-card:hover {
    border-color: rgba(230, 180, 34, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(230, 180, 34, 0.08);
    transform: translateY(-4px);
}

.event-card.live-card {
    border-color: var(--wwtbam-gold);
    background: linear-gradient(135deg, rgba(230, 180, 34, 0.08), rgba(3, 11, 31, 0.95));
    box-shadow: 0 0 40px rgba(230, 180, 34, 0.12);
}

.event-card h3, .event-card .h4, .event-card .h5 {
    font-family: var(--wwtbam-font-display);
    color: #fff;
}

.event-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--wwtbam-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.events-page .feature-card {
    background: rgba(10, 31, 74, 0.5);
    border: 1px solid rgba(230, 180, 34, 0.15);
    border-radius: 4px;
}

.events-page .feature-card h4 {
    font-family: var(--wwtbam-font-display);
    color: var(--wwtbam-gold-light);
}

.events-page .leaderboard-wrap {
    background: rgba(3, 11, 31, 0.8);
    border: 1px solid rgba(230, 180, 34, 0.15);
    border-radius: 4px;
}

.events-page .leaderboard-table { color: rgba(255, 255, 255, 0.8); }

.events-page .leaderboard-table thead th {
    color: var(--wwtbam-gold);
    border-color: rgba(230, 180, 34, 0.15);
}

.events-page .leaderboard-table tbody td {
    border-color: rgba(255, 255, 255, 0.06);
}

/* Nav live indicator */
.nav-live-dot {
    width: 8px;
    height: 8px;
    background: var(--wwtbam-gold-light);
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
    animation: live-pulse-dot 1.2s ease infinite;
}

/* ---- Live sync + countdown (backend-driven) ---- */
.live-sync-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(230, 180, 34, 0.1);
}

.live-sync-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
}

.live-sync-pill-live {
    background: rgba(196, 92, 0, 0.2);
    border-color: rgba(230, 180, 34, 0.45);
    color: var(--wwtbam-gold-light);
    animation: live-pulse-badge 2s ease infinite;
}

.live-sync-pill-idle {
    background: rgba(230, 180, 34, 0.08);
    border-color: rgba(230, 180, 34, 0.22);
    color: rgba(255, 220, 150, 0.85);
}

.live-sync-pill-error {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.35);
    color: #ffb4bc;
}

.live-sync-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.9;
}

.live-sync-pill-live .live-sync-dot {
    animation: live-pulse-dot 1.2s ease infinite;
}

.live-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: 28rem;
    margin: 0 auto;
}

.live-countdown-grid-stage { margin-bottom: 0.75rem; }

.live-countdown-unit {
    padding: 0.85rem 0.5rem;
    border-radius: 6px;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(230, 180, 34, 0.25);
    box-shadow: inset 0 0 20px rgba(230, 180, 34, 0.05);
}

.live-countdown-unit strong {
    display: block;
    font-family: var(--wwtbam-font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1;
    color: var(--wwtbam-gold-light);
    text-shadow: 0 0 20px rgba(230, 180, 34, 0.25);
}

.live-countdown-unit span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 220, 150, 0.45);
}

/* Off-air hub */
.live-off-air {
    position: relative;
    min-height: calc(100vh - 72px);
    padding: clamp(2rem, 5vw, 4rem) 0;
    background:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(26, 10, 62, 0.9), transparent 55%),
        radial-gradient(ellipse 80% 60% at 50% 40%, var(--wwtbam-blue-mid) 0%, var(--wwtbam-navy) 70%);
}

.live-off-air .lifelines-bar {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
}

.live-off-air-head { text-align: center; margin-bottom: 2rem; }

.live-off-air-hero {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: 8px;
    border: 1px solid rgba(230, 180, 34, 0.2);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    height: 100%;
}

.live-off-air-desc {
    color: rgba(255, 220, 150, 0.55);
    line-height: 1.65;
    max-width: 36rem;
}

.live-off-air-schedule {
    font-size: 0.88rem;
    color: rgba(255, 220, 150, 0.45);
}

.live-schedule-panel { min-height: 100%; }

.live-schedule-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(230, 180, 34, 0.1);
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, color 0.2s ease;
}

.live-schedule-item:last-child { border-bottom: none; }

.live-schedule-item:hover {
    color: var(--wwtbam-gold-light);
    transform: translateX(4px);
}

.live-schedule-item.is-next {
    background: rgba(230, 180, 34, 0.06);
    margin: 0 -0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 4px;
}

.live-schedule-date {
    flex-shrink: 0;
    width: 3rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--wwtbam-gold);
}

.live-schedule-body { flex: 1; min-width: 0; }

.live-schedule-body strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.25;
}

.live-schedule-body small {
    display: block;
    color: rgba(255, 220, 150, 0.4);
    font-size: 0.72rem;
    margin-top: 0.15rem;
}

.live-schedule-arrow { opacity: 0.35; }

.live-records-pending.records-pending-dark {
    border: none;
    background: transparent;
    padding: 0;
}

.stage-pre_show .live-countdown-grid-stage,
.stage-upcoming .live-countdown-grid-stage {
    animation: countdown-glow 3s ease-in-out infinite;
}

@keyframes countdown-glow {
    0%, 100% { filter: drop-shadow(0 0 0 transparent); }
    50% { filter: drop-shadow(0 0 12px rgba(230, 180, 34, 0.2)); }
}

.stage-placeholder-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.countdown-ring {
    position: absolute;
    width: min(18rem, 70vw);
    height: min(18rem, 70vw);
    border-radius: 50%;
    border: 2px solid rgba(230, 180, 34, 0.15);
    box-shadow: 0 0 0 8px rgba(230, 180, 34, 0.04), inset 0 0 40px rgba(230, 180, 34, 0.06);
    animation: countdown-ring-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes countdown-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.04); opacity: 1; }
}

.live-stage-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Contenders ticker */
.live-contenders-strip {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(230, 180, 34, 0.2);
    overflow: hidden;
}

.live-contenders-label {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 220, 150, 0.55);
    padding-right: 0.75rem;
    border-right: 1px solid rgba(230, 180, 34, 0.15);
}

.live-contenders-track {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.live-contenders-scroll {
    display: flex;
    gap: 0.65rem;
    width: max-content;
    animation: contenders-scroll 28s linear infinite;
}

@keyframes contenders-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.live-contender-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(230, 180, 34, 0.08);
    border: 1px solid rgba(230, 180, 34, 0.18);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.live-contender-chip strong {
    color: var(--wwtbam-gold-light);
    font-size: 0.68rem;
}

.live-contender-chip em {
    font-style: normal;
    font-size: 0.68rem;
    color: rgba(255, 220, 150, 0.55);
}

/* Empty stage (legacy) */
.broadcast-stage-empty {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.broadcast-stage-empty .stage-placeholder {
    position: relative;
    border-radius: 4px;
    min-height: 420px;
    width: 100%;
    max-width: 640px;
    border: 2px solid rgba(230, 180, 34, 0.3);
}

/* Admin stream guide */
.stream-guide {
    background: var(--nbg-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-size: 0.85rem;
}

.stream-guide ol { margin: 0; padding-left: 1.25rem; }
.stream-guide li { margin-bottom: 0.5rem; }

/* Responsive */
@media (max-width: 991.98px) {
    .stage-layout { grid-template-columns: 1fr; }

    .live-contenders-strip {
        flex-direction: column;
        align-items: stretch;
        border-radius: var(--radius-lg);
    }

    .live-contenders-label {
        border-right: none;
        padding-right: 0;
        padding-bottom: 0.35rem;
        border-bottom: 1px solid rgba(230, 180, 34, 0.15);
    }

    .stage-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .money-ladder-panel { grid-column: span 2; }
    .chat-panel { grid-column: span 2; }

    .show-logo-tagline { margin-left: 0; width: 100%; }

    .lifelines-bar { border-radius: var(--radius-md); }
}

@media (max-width: 575.98px) {
    .stage-sidebar { grid-template-columns: 1fr; }

    .money-ladder-panel,
    .chat-panel { grid-column: span 1; }

    .broadcast-header { padding: 1rem 0; }

    .broadcast-header .live-action-group {
        width: 100%;
        justify-content: flex-start;
    }

    .live-off-air-hero .live-action-group {
        width: 100%;
    }

    .live-off-air-hero .live-action-btn {
        flex: 1 1 calc(50% - 0.25rem);
        justify-content: center;
    }

    .stage-layout { padding: 1rem 0 1.5rem; }

    .question-bar { flex-direction: column; align-items: stretch; }

    .answer-grid { grid-template-columns: 1fr; }

    .answer-diamond { clip-path: none; border-radius: 4px; }

    .lifelines-row { gap: 0.75rem; }

    .lifeline-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .live-badge-on,
    .live-badge-dot,
    .nav-live-dot,
    .spotlight-left,
    .spotlight-right,
    .spotlight-center,
    .live-contenders-scroll,
    .countdown-ring,
    .stage-live .video-stage,
    .answer-diamond-live,
    .live-action-btn-outline:hover,
    .live-action-btn-gold:hover { animation: none; transform: none; }
}
