/* =========================
   🏆 HIGHSCORE
========================= */
#highscores {
    margin-top: 40px;
}

.highscore-card {
    text-align: center;
    transition: 0.3s;
}

/* 🥇 Platz 1 */
.highscore-card.first {
    border: 1px solid gold;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

/* 🥈 Platz 2 */
.highscore-card.second {
    border: 1px solid silver;
    box-shadow: 0 0 20px rgba(192,192,192,0.4);
}

/* 🥉 Platz 3 */
.highscore-card.third {
    border: 1px solid #cd7f32;
    box-shadow: 0 0 20px rgba(205,127,50,0.4);
}

/* 🥇 Platz 1 Hover */
.highscore-card.first:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: gold;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
}

/* 🥈 Platz 2 Hover */
.highscore-card.second:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: silver;
    box-shadow: 0 0 35px rgba(192, 192, 192, 0.7);
}

/* 🥉 Platz 3 Hover */
.highscore-card.third:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: #cd7f32;
    box-shadow: 0 0 35px rgba(205, 127, 50, 0.7);
}

/* ===== Highscore Input Card ===== */
.highscore-input {
    max-width: 360px;
    margin: 0 auto;
    padding: 30px 25px;
    border-radius: 16px;

    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(138, 124, 255, 0.3);
    box-shadow: 0 0 30px rgba(138, 124, 255, 0.2);

    text-align: center;
}

/* ===== Score Anzeige ===== */
#lastScoreDisplay {
    font-size: 20px;
    margin: 15px 0 20px;
    color: #8A7CFF;
    text-shadow: 0 0 10px rgba(138,124,255,0.6);
}

/* ===== Input ===== */
#playerName {
    width: 70%;
    padding: 12px 14px;
    border-radius: 10px;

    border: 1px solid rgba(138,124,255,0.4);
    background: rgba(20, 20, 30, 0.8);
    color: white;

    font-size: 16px;
    outline: none;
    text-align: center;
    transition: 0.2s;
}

#playerName::placeholder {
    text-align: center;
    opacity: 0.6;
}

#playerName:focus {
    border-color: #8A7CFF;
    box-shadow: 0 0 10px rgba(138,124,255,0.6);
}

/* ===== Button ===== */
#saveScoreBtn {
    margin-top: 15px;
    padding: 12px 20px;

    border-radius: 10px;
    border: 1px solid rgba(138,124,255,0.5);

    background: rgba(138,124,255,0.15);
    color: white;

    cursor: pointer;
    transition: 0.2s;
}

#saveScoreBtn:hover {
    background: rgba(138,124,255,0.3);
    box-shadow: 0 0 15px rgba(138,124,255,0.5);
}

/* ===== Abstand fix ===== */
.highscore-form {
    margin-top: 10px;
}

/* INPUT – übernimmt Admin Style */
.highscore-form input {
    width: 80%;
    padding: 10px;
    background: transparent;
    border: 2px solid #6D609D;
    color: white;
    outline: none;
    transition: 0.3s;
}

.highscore-form input:focus {
    box-shadow: 0 0 10px #6D609D;
}

/* BUTTON – wie Admin */
.highscore-form button {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid #6D609D;
    background: rgba(109,96,157,0.1);
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
    backdrop-filter: blur(5px);
}

/* HOVER */
.highscore-form button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 10px #6D609D,
        inset 0 0 10px rgba(109,96,157,0.3);
}