/* Leaderboard Specific Styles */
.leaderboard-container {
    padding: 4rem 10%;
    max-width: 1000px;
    margin: 0 auto;
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Base Leader Card (Glassmorphism) */
.leader-card {
    display: flex;
    align-items: center;
    padding: 1.2rem 2rem;
    border-radius: 20px;
    background: rgb(255 255 255 / 13%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.leader-card:hover {
    transform: scale(1.02);
}

.rank-number {
    font-size: 1.5rem;
    font-weight: 900;
    width: 50px;
}

.user-info {
    flex: 2;
}

.full-name {
    font-size: 1.1rem;
}

.username {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.badge-box {
    flex: 1;
    text-align: center;
}

.points {
    font-weight: 700;
    color: #ffcc00;
    font-size: 1.2rem;
}

/* Top 4 Circular Gradients and Glowing Shadows */
.rank-1 {
    background: radial-gradient(circle at top left, #00d2ff, #3a7bd5);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
    border: none;
}

.rank-2 {
    background: radial-gradient(circle at top left, #f1c40f, #e67e22);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.4);
    color: #2e005e;
    border: none;
}
.rank-2 .username, .rank-2 .points { color: #2e005e; opacity: 0.8; }

.rank-3 {
    background: radial-gradient(circle at top left, #bdc3c7, #2c3e50);
    box-shadow: 0 0 20px rgba(189, 195, 199, 0.4);
    border: none;
}

.rank-4 {
    background: radial-gradient(circle at top left, #d35400, #3e1d00);
    box-shadow: 0 0 20px rgba(211, 84, 0, 0.4);
    border: none;
}

/* Medal Badges */
.medal-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.diamond { background: #ffffff; color: #00d2ff; }
.gold { background: #2e005e; color: #ffcc00; }
.silver { background: #ffffff; color: #2c3e50; }
.bronze { background: #ffffff; color: #d35400; }

/* Responsive */
@media screen and (max-width: 600px) {

        .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 10000;
    }
    .menu-toggle .bar {
        display: block;
        width: 28px;
        height: 3px;
        margin: 6px auto;
        transition: all 0.3s ease-in-out;
        background: #ffcc00; /* Yellow bars for better visibility */
    }
    .leader-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 2rem;
    }
    .badge-box { margin: 10px 0; }
}

/* Year Selection Section */
.year-selection {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.year-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* Makes it responsive */
    margin-top: 2rem;
}

/* Base Card Style */
.year-card {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    height: 200px;
    text-decoration: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.year-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.year-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.year-text {
    font-size: 3.5rem;
    font-weight: 900;
    margin: -5px 0;
}

.status-indicator {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    display: inline-block;
}

/* Gradients and Glows */
.year-2026 {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
}

.year-2027 {
    background: linear-gradient(135deg, #f1c40f 0%, #e67e22 100%);
    box-shadow: 0 10px 30px rgba(241, 196, 15, 0.3);
}

.year-2028 {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

/* Hover Effects */
.year-card:hover {
    transform: translateY(-15px) scale(1.05);
}

.year-2026:hover { box-shadow: 0 20px 50px rgba(0, 210, 255, 0.6); }
.year-2027:hover { box-shadow: 0 20px 50px rgba(241, 196, 15, 0.6); }
.year-2028:hover { box-shadow: 0 20px 50px rgba(46, 204, 113, 0.6); }

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .year-container {
        flex-direction: column;
        align-items: center;
    }
    .year-card {
        width: 100%;
    }
}