/* ===== LEADERBOARD SECTION ===== */
.leaderboard-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 4rem 0;
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-subtitle {
    color: #bbb;
    font-size: 1.1rem;
}

/* Game Navigation */
.game-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.game-btn {
    background: #2a2a2a;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #ddd;
}

.game-btn.active {
    background: #8B0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.3);
}

.game-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Podium */
.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    margin: 3rem 0;
}

.podium-item {
    width: 280px;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.podium-item:hover {
    transform: translateY(-10px);
}

.podium-item.gold {
    height: 320px;
    background: linear-gradient(135deg, #ffd700 0%, #f1c40f 100%);
}

.podium-item.silver {
    height: 280px;
    background: linear-gradient(135deg, #c0c0c0 0%, #bdc3c7 100%);
}

.podium-item.bronze {
    height: 240px;
    background: linear-gradient(135deg, #cd7f32 0%, #e67e22 100%);
}

.pos {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: rgba(0,0,0,0.2);
}

.team-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-bottom: 1rem;
}

.podium-item h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #333;
}

.game-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.game-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    transition: transform 0.3s;
}

.game-icon:hover {
    transform: scale(1.2);
}

.points {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #333;
}

.medals {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.medal {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: bold;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.medal.gold {
    background: rgba(255, 215, 0, 0.2);
    color: #daa520;
}

.medal.silver {
    background: rgba(192, 192, 192, 0.2);
    color: #999;
}

.medal.bronze {
    background: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
}

/* Game Boards */
.game-leaderboards {
    margin-top: 4rem;
}

.game-board {
    margin-bottom: 3rem;
    display: none;
}

.game-board[data-game="all"] {
    display: block;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.game-header .game-icon {
    width: 50px;
    height: 50px;
}

.game-header h3 {
    font-size: 1.8rem;
    color: #8B0000;
    margin: 0;
}

/* Leaderboard Tabs */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: #2a2a2a;
    border: none;
    border-radius: 50px;
    color: #ddd;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #8B0000;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Teams Container */
.teams-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #8B0000;
}

.team-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8B0000;
    min-width: 40px;
    text-align: center;
}

.team-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-grow: 1;
}

.team-logo-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #8B0000;
}

.team-info h4 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}

.team-region {
    margin: 0.25rem 0 0;
    color: #bbb;
    font-size: 0.9rem;
}

.team-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.team-points {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8B0000;
    margin-bottom: 0.5rem;
}

.team-medals {
    display: flex;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 992px) {
    .podium-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .podium-item {
        width: 100%;
        max-width: 350px;
        height: auto !important;
        padding: 1.5rem;
    }
    
    .teams-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .game-nav {
        gap: 0.5rem;
    }
    
    .game-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .game-btn img {
        width: 20px;
        height: 20px;
    }
}