:root {
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --primary: #FF8A00;
    --text: #2D3748;
    --background: #1a1a2e;
}

.winners-page {
    min-height: 100vh;
    background: var(--background);
    color: white;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
}

.winners-stage {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100vw;
    margin: 0;
    overflow: hidden;
}

.stage-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 138, 0, 0.2), transparent 70%);
    z-index: 1;
}

.stage-background::before,
.stage-background::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(255, 138, 0, 0.1), transparent 70%);
    border-radius: 50%;
}

.stage-background::before {
    left: 2%;
    transform: translateY(-50%);
    animation: pulse 4s infinite alternate;
}

.stage-background::after {
    right: 2%;
    transform: translateY(-50%);
    animation: pulse 4s infinite alternate-reverse;
}

.spotlight {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vh;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 70%);
    animation: spotlight 5s infinite;
}

.winners-podium {
    width: 100vw;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5rem;
    padding: 0;
    position: relative;
    z-index: 2;
}

.winner-position {
    flex: 0 1 auto;
    width: 20%;
    max-width: 300px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: bottom;
    animation: appear 0.5s ease-out backwards;
}

.winner-trophy {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.winner-details {
    text-align: center;
    margin-bottom: 1rem;
}

.winner-name {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    font-size: 1.2rem;
    width: 220px;
    transition: all 0.3s ease;
    cursor: text;
    z-index: 10;
}

.winner-name::placeholder {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

.winner-name:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    outline: none;
}

.position-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.podium-block {
    width: 100%;
    max-width: 200px;
    border-radius: 10px 10px 0 0;
    transition: height 0.3s ease;
}

.gold .podium-block {
    height: 160px;
    background: linear-gradient(45deg, var(--gold), #FFA500);
}

.silver .podium-block {
    height: 120px;
    background: linear-gradient(45deg, var(--silver), #E8E8E8);
}

.bronze .podium-block {
    height: 80px;
    background: linear-gradient(45deg, var(--bronze), #DEB887);
}

.actions {
    padding: 2rem;
    margin-top: auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.action-btn {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes spotlight {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.7; }
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { opacity: 0.3; transform: translateY(-50%) scale(0.95); }
    100% { opacity: 0.6; transform: translateY(-50%) scale(1.05); }
}

@media (max-width: 1600px) {
    .winners-podium {
        gap: 8rem;
        padding: 0 6rem;
    }
}

@media (max-width: 1400px) {
    .winners-podium {
        gap: 4rem;
        padding: 0 4rem;
    }
    
    .winner-position {
        max-width: 350px;
    }
    
    .podium-block {
        width: 150px;
    }
}

@media (max-width: 1200px) {
    .winners-podium {
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .winner-position {
        max-width: 300px;
    }
    
    .podium-block {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 100px;
    }

    .winners-podium {
        padding: 0 1rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .winner-position {
        max-width: 280px;
        width: 80%;
    }

    .winner-name {
        font-size: 1.1rem;
        padding: 0.9rem 1.2rem;
    }
} 