/* Professional Leaderboard Layout */

.leaderboard-container-pro {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    padding: 20px;
}

.leaderboard-header-pro {
    text-align: center;
    margin-bottom: 30px;
}

.leaderboard-header-pro h1 {
    font-size: 48px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.leaderboard-subtitle-pro {
    color: #CCC;
    font-size: 16px;
    margin: 0;
}

/* Two Column Layout */
.leaderboard-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Left Sidebar */
.leaderboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.your-stats-card, .player-info-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.your-stats-card h3, .player-info-card h3 {
    color: #FFD700;
    font-size: 16px;
    margin: 0 0 15px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.stat-row:hover {
    background: rgba(255, 215, 0, 0.05);
    padding-left: 5px;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label-mini {
    color: #AAA;
    font-size: 13px;
}

.stat-value-mini {
    color: #FFD700;
    font-size: 15px;
    font-weight: bold;
}

.btn-mini {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Right Main Table */
.leaderboard-main {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 70, 85, 0.3);
    border-radius: 12px;
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.leaderboard-table-pro {
    width: 100%;
}

.table-header-pro {
    display: grid;
    grid-template-columns: 60px 1fr 150px 100px 100px;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 70, 85, 0.2);
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.col-rank-pro, .col-player-pro, .col-score-pro, .col-hs-pro, .col-acc-pro {
    display: flex;
    align-items: center;
}

.col-rank-pro {
    justify-content: center;
}

.col-score-pro, .col-hs-pro, .col-acc-pro {
    justify-content: center;
}

.table-body-pro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Leaderboard Entry - Pro Style */
.leaderboard-entry-pro {
    display: grid;
    grid-template-columns: 60px 1fr 150px 100px 100px;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    align-items: center;
}

.leaderboard-entry-pro:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateX(5px);
}

.leaderboard-entry-pro.current-player {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.leaderboard-entry-pro.top-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: #FFD700;
}

.leaderboard-entry-pro.top-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.05) 100%);
    border-color: #C0C0C0;
}

.leaderboard-entry-pro.top-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.2) 0%, rgba(205, 127, 50, 0.05) 100%);
    border-color: #CD7F32;
}

.entry-rank-pro {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
}

.entry-player-pro {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
}

.entry-score-pro {
    text-align: center;
    color: #FF4655;
    font-weight: bold;
    font-size: 16px;
}

.entry-hs-pro, .entry-acc-pro {
    text-align: center;
    color: #4CAF50;
    font-size: 14px;
}

/* Scrollbar */
.leaderboard-main::-webkit-scrollbar {
    width: 10px;
}

.leaderboard-main::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.leaderboard-main::-webkit-scrollbar-thumb {
    background: rgba(255, 70, 85, 0.5);
    border-radius: 10px;
}

.leaderboard-main::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 70, 85, 0.8);
}

/* Responsive */
@media (max-width: 1024px) {
    .leaderboard-layout {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-sidebar {
        order: 2;
    }
    
    .leaderboard-main {
        order: 1;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .leaderboard-header-pro h1 {
        font-size: 32px;
    }
    
    .table-header-pro,
    .leaderboard-entry-pro {
        grid-template-columns: 50px 1fr 120px 80px;
        gap: 8px;
        padding: 12px;
        font-size: 12px;
    }
    
    .col-acc-pro,
    .entry-acc-pro {
        display: none;
    }
}
