/**
 * LIVE MATCH CENTER STYLES
 * 
 * LIVE-specific enhancements for Match Center
 * Reuses all prematch Match Center base styles
 * Adds live-specific indicators, animations, and status
 */

/* LIVE Match Page Variant */
.bc-sb-match-page--live {
    /* Inherits all base .bc-sb-match-page styles */
}

/* LIVE Hero Section */
.bc-sb-mp-hero--live {
    background: linear-gradient(180deg, 
        rgba(220, 38, 38, 0.08) 0%, 
        transparent 100%);
}

.bc-sb-mp-hero--live::before {
    border-color: rgba(220, 38, 38, 0.15) !important;
}

/* LIVE Status Badge */
.bc-sb-mp-hero__live-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px 0;
}

.bc-sb-mp-hero__live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bc-sb-mp-hero__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    animation: bc-sb-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bc-sb-pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
    }
}

.bc-sb-mp-hero__live-time {
    color: var(--sb-text);
    font-size: 18px;
    font-weight: 700;
}

.bc-sb-mp-hero__live-period {
    color: var(--sb-text-2);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

/* LIVE Teams with Scores */
.bc-sb-mp-hero__teams--live {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
}

.bc-sb-mp-hero__teams--live .bc-sb-mp-hero__team {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 8px;
    background: var(--sb-odd-bg, rgba(255, 255, 255, 0.02));
}

.bc-sb-mp-hero__score {
    font-size: 28px;
    font-weight: 800;
    color: var(--sb-text);
    min-width: 40px;
    text-align: right;
}

/* LIVE Odd Button State */
.bc-sb-odd--suspended {
    background: var(--sb-odd-bg-suspended, rgba(255, 193, 7, 0.08)) !important;
    color: var(--sb-text-3) !important;
    border-color: rgba(255, 193, 7, 0.15) !important;
    cursor: not-allowed;
}

.bc-sb-odd--suspended .bc-sb-odd__value {
    color: var(--sb-text-3);
}

.bc-sb-odd--suspended::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 8px,
        rgba(255, 193, 7, 0.05) 8px,
        rgba(255, 193, 7, 0.05) 16px
    );
    pointer-events: none;
}

/* LIVE Market Refresh Animation */
@keyframes bc-sb-live-refresh {
    0% {
        opacity: 0.6;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.bc-sb-market--refreshing {
    animation: bc-sb-live-refresh 0.3s ease-out;
}

/* LIVE No Markets State */
.bc-sb-no-markets {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 240px;
    padding: 40px 20px;
    text-align: center;
}

.bc-sb-no-markets__icon {
    font-size: 48px;
    opacity: 0.4;
}

.bc-sb-no-markets__text {
    color: var(--sb-text-2);
    font-size: 15px;
    font-weight: 600;
}

.bc-sb-no-markets__subtext {
    color: var(--sb-text-3);
    font-size: 13px;
    max-width: 300px;
}

/* LIVE Error State */
.bc-sb-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 240px;
    padding: 40px 20px;
    text-align: center;
}

.bc-sb-error-state__icon {
    font-size: 56px;
    opacity: 0.5;
}

.bc-sb-error-state__message {
    color: var(--sb-text-2);
    font-size: 15px;
    font-weight: 600;
    max-width: 320px;
}

.bc-sb-error-state__retry {
    padding: 10px 24px;
    border: 1px solid var(--sb-border-strong);
    border-radius: 8px;
    background: var(--sb-odd-bg);
    color: var(--sb-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.bc-sb-error-state__retry:hover {
    background: var(--sb-odd-bg-hover);
    border-color: var(--sb-primary);
}

/* Loading Skeleton */
.bc-sb-markets-skeleton {
    display: grid;
    gap: 12px;
    padding: 16px 0;
}

.bc-sb-skeleton-market {
    height: 160px;
    border-radius: 8px;
    background: linear-gradient(
        90deg,
        var(--sb-odd-bg) 0%,
        rgba(255, 255, 255, 0.04) 50%,
        var(--sb-odd-bg) 100%
    );
    background-size: 200% 100%;
    animation: bc-sb-skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes bc-sb-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .bc-sb-mp-hero__live-time {
        font-size: 22px;
    }
    
    .bc-sb-mp-hero__teams--live .bc-sb-mp-hero__team {
        grid-template-columns: 80px 1fr auto;
        gap: 18px;
        padding: 16px;
    }
    
    .bc-sb-mp-hero__score {
        font-size: 36px;
    }
}

@media (min-width: 1024px) {
    .bc-sb-mp-hero__live-status {
        gap: 16px;
    }
    
    .bc-sb-mp-hero__live-time {
        font-size: 26px;
    }
    
    .bc-sb-mp-hero__score {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .bc-sb-mp-hero__live-badge {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .bc-sb-mp-hero__live-time {
        font-size: 16px;
    }
    
    .bc-sb-mp-hero__live-period {
        font-size: 11px;
    }
    
    .bc-sb-mp-hero__teams--live .bc-sb-mp-hero__team {
        grid-template-columns: 50px 1fr auto;
        gap: 10px;
        padding: 10px;
    }
    
    .bc-sb-mp-hero__score {
        font-size: 24px;
    }
}
