
.back-btn {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.header h1 {
    font-size: 16px;
    font-weight: 600;
}


.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    padding: 20px;
    margin-top: 30px;
}

.podium-spot {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33%;
    max-width: 120px;
    position: relative;
}

.podium-spot:nth-child(even)
{
    transform: translateY(-15px) scale(1.1);

} 
.podium-spot:nth-child(odd)
{
    transform: translateY(15px) scale(1);

} 

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ddd;
    position: relative;
    padding: 0.2rem;
    background: white;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(0,0,0,00.1);
}
.podium-spot:nth-child(1) .avatar
{
    
    border-color: #C0C0C0;
    box-shadow: 0 0 0 5px rgba(192, 192, 192, 0.256);
}
.podium-spot:nth-child(2) .avatar
{
 
    border-color: #FFD700;
    box-shadow: 0 0 0 8px rgba(255, 217, 0, 0.256);
}
.podium-spot:nth-child(3) .avatar
{
    border-color: #CD7F32;
    box-shadow: 0 0 0 5px rgba(205, 128, 50, 0.256);
}
.rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    border: 2px solid white;
}

.rank-1 { background: #FFD700; }
.rank-2 { background: #C0C0C0; }
.rank-3 { background: #CD7F32; color: white; }

.podium-name {
    margin: 8px 0 4px;
    font-size: 14px;
    text-align: center;
}

.score {
    display: flex;
    align-items: center;
    gap: 5px;
}

.coin {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.coin img 
{
    width: 100%;
}


.leaderboard {
    padding: 20px;
    margin-top: 20px;
}

.player-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rank {
    width: 30px;
    font-weight: 600;
}

.player-card .avatar {
    width: 35px;
    height: 35px;
    margin-right: 15px;
}

.player-name {
    flex: 1;
    font-weight: 500;
}


/* leaderboard desktop */


.leaderboard-cta {
    background:linear-gradient(#eee 20% , transparent 100%);
    padding: 5rem 0rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .leaderboard-cta h2 {
    color: #ce0303;
    font-size: 3rem;
    margin: 3rem 0 0;
  }

  .leaderboard-cta button {
    background-color: white;
    color: #ddd;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin-top: 1rem;
  }

  .leaderboard-cta button:hover {
    background-color: #ff6b6b;
    color: white;
  }
