@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, #0f0f1f, #050510 70%);
    font-family: 'Orbitron', sans-serif;
    color: white;
}

.leaderboard-container {
    width: 90%;
    max-width: 1000px;
    margin: 60px auto;
}

.leaderboard {
    padding: 25px;
    border-radius: 20px;
    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.player {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 18px;
    margin: 15px 0;
    border-radius: 15px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-weight: 600;
}

.rank {
    font-size: 1.2rem;
    min-width: 50px;
}

.name {
    font-weight: 700;
    min-width: 120px;
}

.quote {
    flex: 1;
    opacity: 0.9;
}

.top1 {
    background: linear-gradient(135deg, #ffd700, #ffae00);
    color: black;
    box-shadow: 0 0 25px #ffd700;
}

.top2 {
    background: linear-gradient(135deg, #c0c0c0, #8f8f8f);
    color: black;
    box-shadow: 0 0 20px #c0c0c0;
}

.top3 {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    box-shadow: 0 0 20px #cd7f32;
}

.player:not(.top1):not(.top2):not(.top3) {
    background: linear-gradient(135deg, #00f5ff, #0066ff);
}

.page-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin: 0;
    background: linear-gradient(90deg, #00f5ff, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.page-header p {
    margin-top: 10px;
    opacity: 0.7;
    font-size: 1rem;
    letter-spacing: 2px;
}

.footer {
    margin-top: 80px;
    padding: 25px;
    text-align: center;
    font-size: 0.9rem;

    background: rgba(20, 20, 40, 0.6);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 -5px 30px rgba(0, 255, 255, 0.15);

    opacity: 0.8;
}

.normal {
    color: #00f5ff;
    text-decoration: none;
    font-weight: 600;
}

.warn {
    color: #ff4d4d;
    font-weight: 700;
}

@media screen and (max-width: 600px) {
    .leaderboard-container {
        width: 95%;
        margin: 40px auto;
        padding: 0 10px;
    }

    .player {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        font-size: 0.9rem;
    }

    .rank, .name {
        min-width: auto;
        font-size: 0.9rem;
    }

    .quote {
        font-size: 0.85rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .footer {
        padding: 15px;
        font-size: 0.8rem;
    }
}
