.back-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.leaderboard-section {
    min-height: 100vh;
    padding: 100px 20px 50px;
}

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

.leaderboard-header h1 {
    font-family: 'Mountains of Christmas', cursive;
    font-size: 3rem;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.update-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.my-rank-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.rank-badge {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.rank-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.rank-number {
    font-size: 2rem;
    font-weight: 900;
    color: #ffd700;
}

.rank-score {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 3rem;
}

.podium-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

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

.podium-item.first {
    width: 200px;
    order: 2;
}

.podium-item.second {
    width: 180px;
    order: 1;
}

.podium-item.third {
    width: 180px;
    order: 3;
}

.podium-medal {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 1rem;
}

.podium-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.podium-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 1rem;
}

.podium-stand {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.podium-stand.first-stand {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1e3c72;
}

.podium-stand.second-stand {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #1e3c72;
}

.podium-stand.third-stand {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #cd7f32, #e6a157);
    color: #1e3c72;
}

.leaderboard-list {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.item-rank {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffd700;
    min-width: 50px;
    text-align: center;
}

.item-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.2rem;
}

.item-streak {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.item-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
}

@media (max-width: 768px) {
    .podium {
        flex-direction: column;
        align-items: center;
    }
    
    .podium-item {
        width: 100% !important;
        max-width: 300px;
    }
    
    .podium-item.first {
        order: 1;
    }
    
    .podium-item.second {
        order: 2;
    }
    
    .podium-item.third {
        order: 3;
    }
}
