/* Live Scoreboard Section */
.live-scoreboard-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.live-scoreboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(46, 125, 50, 0.1) 0%, transparent 50%);
    animation: scoreboardPulse 4s ease-in-out infinite;
}

@keyframes scoreboardPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.scoreboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.scoreboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.scoreboard-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ff9933 0%, #ff4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 153, 51, 0.3);
}

.scoreboard-subtitle {
    font-size: 1.1rem;
    color: #999;
    font-weight: 300;
}

.scoreboard-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.scoreboard-tab {
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #999;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scoreboard-tab:hover {
    background: rgba(255, 153, 51, 0.1);
    border-color: rgba(255, 153, 51, 0.3);
    color: #ff9933;
    transform: translateY(-2px);
}

.scoreboard-tab.active {
    background: linear-gradient(135deg, #ff9933 0%, #ff4444 100%);
    border-color: #ff9933;
    color: #fff;
    box-shadow: 0 5px 20px rgba(255, 153, 51, 0.4);
}

.scoreboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Match Card */
.match-card {
    background: linear-gradient(145deg, 
        #0a0a0a 0%,
        #1a1a1a 50%,
        #0f0f0f 100%);
    border-radius: 20px;
    padding: 0;
    border: 2px solid rgba(255, 145, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.2);
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 193, 7, 0.15) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.match-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 145, 0, 0.4);
    border-color: rgba(255, 193, 7, 0.5);
}

.match-card:hover::before {
    left: 100%;
}

/* Live Match Card */
.match-card.live {
    background: linear-gradient(145deg, 
        #0a0a0a 0%,
        #1a1a1a 50%,
        #0f0f0f 100%);
    border: 2px solid rgba(255, 214, 0, 0.6);
    box-shadow: 0 10px 30px rgba(255, 214, 0, 0.3);
}

.match-card.live:hover {
    box-shadow: 0 15px 40px rgba(255, 214, 0, 0.5);
    border-color: rgba(255, 235, 59, 0.8);
}

.live-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #ffd600 0%,
        #ffea00 50%,
        #ffd600 100%);
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.6);
}

/* Match Header */
.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.match-league {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.league-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6f00 0%, #ff9100 100%);
    border-radius: 10px;
    border: 1px solid #ffb74d;
}

.league-icon i {
    color: #fff;
    font-size: 0.9rem;
}

.match-league span {
    font-size: 0.85rem;
    color: #ffd54f;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.match-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.status-badge.live {
    background: linear-gradient(135deg, #ff1744 0%, #f50057 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

.status-badge.scheduled {
    background: linear-gradient(135deg, #ff6f00 0%, #ff9100 100%);
    color: #fff;
    border: 1px solid #ffb74d;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.4);
}

.status-badge.scheduled i {
    font-size: 0.7rem;
}

.status-badge.finished {
    background: linear-gradient(135deg, #ffd600 0%, #ffea00 100%);
    color: #000;
    font-weight: 800;
    border: 1px solid #ffeb3b;
    box-shadow: 0 4px 12px rgba(255, 214, 0, 0.5);
}

/* Match Content */
.match-content {
    position: relative;
    padding: 2rem 1.5rem;
    z-index: 1;
}

.teams-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.team-logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6f00 0%, #ff9100 50%, #ffa726 100%);
    border-radius: 50%;
    border: 3px solid #ffb74d;
    transition: transform 0.3s ease;
}

.match-card:hover .team-logo-bg {
    transform: scale(1.05);
}

.match-card.live .team-logo-bg {
    background: linear-gradient(135deg, #ffd600 0%, #ffea00 50%, #ffeb3b 100%);
    border-color: #fff59d;
}

.team-shield {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.match-card:hover .team-shield {
    transform: scale(1.1);
}

.team-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    max-width: 120px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Score Section */
.score-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.vs-container {
    position: relative;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6f00 0%, #ff9100 100%);
    border: 2px solid #ffb74d;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.5);
}

.match-card:hover .vs-container {
    transform: scale(1.1);
}

.match-card.live .vs-container {
    background: linear-gradient(135deg, #ffd600 0%, #ffea00 100%);
    border-color: #fff59d;
    box-shadow: 0 4px 12px rgba(255, 214, 0, 0.6);
}

.vs-text {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Match Footer */
.match-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.match-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #999;
    transition: all 0.3s ease;
}

.match-info i {
    color: #ffb74d;
    font-size: 0.85rem;
}

.match-card.live .match-info i {
    color: #ffd54f;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #999;
}

.empty-state p {
    font-size: 1rem;
    color: #666;
}

/* Last Updated */
.last-updated {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #666;
}

.last-updated i {
    color: #ff9933;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .scoreboard-title {
        font-size: 2rem;
    }
    
    .scoreboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scoreboard-tabs {
        gap: 0.5rem;
    }
    
    .scoreboard-tab {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .team-logo-container {
        width: 60px;
        height: 60px;
    }
    
    .score-display {
        font-size: 2rem;
        padding: 0.6rem 1rem;
    }
    
    .team-name {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .scoreboard-title {
        font-size: 1.6rem;
    }
    
    .team-logo-container {
        width: 50px;
        height: 50px;
    }
    
    .score-display {
        font-size: 1.6rem;
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
    }
    
    .match-card {
        padding: 1rem;
    }
}
