﻿/* ──────────────────────────────────────────────────────────────────
   Live Component - Modern Video Streaming Page UI (always dark)
   ────────────────────────────────────────────────────────────────── */

.live__player-container {
    border-radius: 12px;
    overflow: hidden;
    background: #000; /* keep black background for player */
    aspect-ratio: 16 / 9;
}

.live__player {
    width: 100%;
    height: 100%;
}

/* ── Results Container ─────────────────────────────────────────── */
.live__results-container {
    border-radius: 12px;
    background: #2a2a2a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.live__results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #404040;
    color: #e0e0e0;
}

.live__results-table {
    border-radius: 8px;
    overflow: hidden;
}

.live__results-table thead {
    background: #1a1a1a;
}

.live__results-table th {
    font-weight: 600;
    padding: 12px 16px;
    color: #e0e0e0;
    font-size: 0.875rem;
}

.live__results-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #404040;
    color: #e0e0e0;
}

.live__results-table tbody tr:hover {
    background: rgba(52, 152, 219, 0.1);
}

/* ── Sidebar Sections ──────────────────────────────────────────── */
.live__sidebar-section {
    border-radius: 12px;
    background: #2a2a2a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.live__sidebar-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ── Heats Header ──────────────────────────────────────────────── */
.live__heats-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.live__heats-header :deep(.mud-typography) {
    color: #e0e0e0;
}

.live__heats-subtext {
    color: #a0a0a0 !important;
    font-weight: 500;
}

/* ── Heat Item ────────────────────────────────────────────────── */
.live__heat-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.live__heat-item:hover {
    background: rgba(52, 152, 219, 0.1);
}

.live__heat-item :deep(.mud-list-item-text) {
    color: #e0e0e0;
}

/* ── Ad Container ──────────────────────────────────────────────── */
.live__ad-container {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .live__player-container {
        aspect-ratio: auto;
        min-height: 40vh;
    }

    .live__results-container {
        margin-top: 16px;
    }

    .live__results-table {
        font-size: 0.75rem;
    }

    .live__results-table td,
    .live__results-table th {
        padding: 8px 12px;
    }
}

/* ── Smooth animations ─────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live__results-container {
    animation: fadeIn 0.3s ease;
}

/* ── Utilities ────────────────────────────────────────────────── */
.live__divider {
    background: #404040;
    height: 1px;
    margin: 12px 0;
}
