/* Play-to-Earn Leaderboard CSS */

/* Specific styles for the Play-to-Earn leaderboard */
.leaderboard-container {
    background: linear-gradient(145deg, rgba(11, 11, 24, 0.95), rgba(19, 19, 38, 0.95));
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-header {
    background: linear-gradient(90deg, rgba(10, 10, 20, 0.8), rgba(30, 30, 60, 0.8));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Custom Play-to-Earn color theme */
.top-player.first .player-score,
.top-player.first .trophy,
.top-player.first .laurel-left,
.top-player.first .laurel-right {
    color: #ffd700; /* Gold color for Play-to-Earn */
}

.top-player.first .avatar-container {
    border-color: rgba(255, 215, 0, 0.6); /* Gold border */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.badge.bg-primary {
    background-color: #0d6efd !important;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header with back button */
.leaderboard-header .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

/* Responsive styles */
@media (max-width: 767.98px) {
    .leaderboard-header {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }
    
    .leaderboard-header .btn-sm {
        margin-bottom: 10px;
    }
    
    .leaderboard-header > div:last-child {
        display: none;
    }
    
    .leaderboard-title {
        margin-bottom: 5px;
    }
}

/* Animation for the top players trophy */
@keyframes glow-play {
    from {
        filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
    }
    to {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
    }
}

.top-player.first .trophy {
    animation: glow-play 2s infinite alternate;
}
