.display-screen {
    background-size: 100% 100%;
    overflow: hidden;
}

.display-container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
}

.display-header {
    text-align: center;
    margin-bottom: 40px;
}

    .display-header h1 {
        color: white;
        font-size: 4em;
        text-shadow: 0 4px 6px rgba(0,0,0,0.3);
        letter-spacing: 2px;
    }

.subtitle {
    color: #ffffffaa; /* ??? ?? ?º???? º?? */
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 10px;
    text-align: center;
}

/* NEW: Season Number Display */
.season-number {
    color: #ffd700;
    font-size: 1em;
    font-weight: 400;
    margin-top: 10px;
    text-align: center;
    opacity: 0.8;
    letter-spacing: 1px;
}


/*.rankings-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    flex: 1;
}

/* Top 3 Podium *
.top-three {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 40px;
}*/

.rankings-layout {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 40px;
    align-items: start; /* ???? ????????? ??????? ??º?? ?????? */
}

.top-three {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* ???? ????? ?-flex-start ?? ????? ??? ????? */
    gap: 20px;
    padding-left: 10px; /* ?º???? º?? */
}

#players-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scroll-players 20s linear infinite; /* ?????? ???? ????? */
}

@keyframes scroll-players {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
    /* ???? ????? ?????, ???? ????? */
}



.podium-place {
    background: linear-gradient(145deg, #2d3561, #1f2544);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    min-width: 200px;
}

    .podium-place:hover {
        transform: translateY(-10px);
    }

#first-place {
    order: 2;
    background: linear-gradient(145deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    transform: scale(1.15);
}

#second-place {
    order: 1;
    background: linear-gradient(145deg, #c0c0c0, #e8e8e8);
    color: #1a1a2e;
}

#third-place {
    order: 3;
    background: linear-gradient(145deg, #cd7f32, #e59866);
    color: #1a1a2e;
}

.rank-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 4px solid rgba(255,255,255,0.3);
}

    .rank-badge.gold {
        background: #ffd700;
        color: #1a1a2e;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }

    .rank-badge.silver {
        background: #c0c0c0;
        color: #1a1a2e;
        box-shadow: 0 0 20px rgba(192, 192, 192, 0.6);
    }

    .rank-badge.bronze {
        background: #cd7f32;
        color: #1a1a2e;
        box-shadow: 0 0 20px rgba(205, 127, 50, 0.6);
    }

.player-name {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
}

.player-elo {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: inherit;
}

#first-place .player-elo {
    color: #1a1a2e;
}

#second-place .player-elo,
#third-place .player-elo {
    color: #1a1a2e;
}

.player-stats {
    font-size: 1.2em;
    opacity: 0.8;
}

/* Remaining Players */
.remaining-players {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    overflow: hidden;
    max-height: calc(100vh - 250px);
    margin-right: 50px;
}

    .remaining-players h2 {
        color: white;
        font-size: 2.5em;
        margin-bottom: 30px;
        text-align: center;
    }

#players-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.player-card {
    background: linear-gradient(145deg, #2d3561, #1f2544);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
    border-left: 5px solid #667eea;
}

    .player-card:hover {
        transform: translateX(10px);
        background: linear-gradient(145deg, #3d4571, #2f3554);
    }

.player-info-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-rank {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    min-width: 60px;
}

.player-info-center {
    flex: 1;
}

.player-card .player-name {
    font-size: 1.6em;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.player-card .player-stats {
    font-size: 1.1em;
    color: rgba(255,255,255,0.7);
}

.player-info-right {
    text-align: right;
}

.player-card .player-elo {
    font-size: 2.2em;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 0;
}

/* Scrollbar */
.remaining-players::-webkit-scrollbar {
    width: 8px;
}

.remaining-players::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.remaining-players::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

    .remaining-players::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255,0.3);
    }

/* Responsive */
@media (max-width: 768px) {
    .rankings-layout {
        grid-template-columns: 1fr;
    }

    .top-three {
        order: 1;
    }

    .remaining-players {
        order: 2;
    }
}





/**/
#players-list {
    overflow: hidden;
}

    #players-list.auto-scroll {
        animation: scrollOnce 30s linear infinite;
    }

@keyframes scrollOnce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

.top-three-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 40px;
}

.info-text {
    text-align: center;
    color: white;
    font-size: 1.7em;
    padding: 0 20px;
}
