.container.podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
}

.podium__item {
    width: 200px;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition-base);
}

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

.podium__rank {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    font-weight: 700;
    color: #fff;
    border-radius: 1rem 1rem 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.podium__rank::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
}

.podium__username {
    text-align: center;
    padding: 1rem 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 1rem 1rem;
    margin-top: -1px;
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.podium__item:hover .podium__username {
    background-color: var(--bg-card-hover);
}

.podium__number {
    width: 27px;
    height: 75px;
}

.podium .first {
    font-size: 120px;
    min-height: 120px;
    background: var(--gold-gradient);
    border-radius: 1rem 1rem 0 0;
    color: rgba(0, 0, 0, 0.8);
    position: relative;
    animation: glow-gold 3s ease-in-out infinite;
}

@keyframes glow-gold {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 30px rgba(251, 191, 36, 0.5);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 50px rgba(251, 191, 36, 0.8);
    }
}

.podium .second {
    font-size: 80px;
    min-height: 80px;
    background: var(--silver-gradient);
    border-radius: 1rem 0 0 0;
    color: rgba(0, 0, 0, 0.7);
    animation: glow-silver 3s ease-in-out infinite;
    animation-delay: 0.3s;
}

@keyframes glow-silver {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 20px rgba(209, 213, 219, 0.3);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 40px rgba(209, 213, 219, 0.6);
    }
}

.podium .third {
    font-size: 40px;
    min-height: 40px;
    background: var(--bronze-gradient);
    border-radius: 0 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    animation: glow-bronze 3s ease-in-out infinite;
    animation-delay: 0.6s;
}

@keyframes glow-bronze {
    0%, 100% {
        box-shadow: var(--shadow-lg), 0 0 15px rgba(217, 119, 6, 0.3);
    }
    50% {
        box-shadow: var(--shadow-lg), 0 0 30px rgba(217, 119, 6, 0.6);
    }
}

/* Trophy icon styles */
.podium__username .fa-trophy {
    margin-left: 0.5rem;
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Podium base decoration */
.container.podium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

@media (min-width: 576px) {
    .podium .first {
        min-height: 210px;
        font-size: 140px;
    }

    .podium .second {
        min-height: 140px;
        font-size: 100px;
    }

    .podium .third {
        min-height: 70px;
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .podium__item {
        width: 120px;
        margin: 0 0.25rem;
    }
    
    .podium__username {
        font-size: 0.9rem;
        padding: 0.5rem 0.25rem;
    }
    
    .podium .first {
        font-size: 80px;
        min-height: 80px;
    }

    .podium .second {
        font-size: 60px;
        min-height: 60px;
    }

    .podium .third {
        font-size: 30px;
        min-height: 30px;
    }
}