/* ... body, h1, #game-container, #question-modal stilleri aynı ... */

/* Önceki stilleriniz buraya yapıştırılacak */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

h1 { color: #0056b3; }

#game-container {
    border: 3px solid #0056b3;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#question-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background: white;
    border: 2px solid #0056b3;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    z-index: 10;
    text-align: center;
}

#question-text { font-size: 1.4em; margin-bottom: 20px; }

#options-container button {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#options-container button:hover {
    background-color: #e9e9e9;
    border-color: #0056b3;
}

#feedback-text { font-size: 1.2em; font-weight: bold; margin-top: 15px; }

.hidden { display: none; }

/* ----- YENİ STİLLER ----- */

/* Oyun Bitti Ekranı Stilleri (Soru ekranına benzer) */
#gameover-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background: white;
    border: 2px solid #d9534f; /* Farklı bir kenar rengi */
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    z-index: 10;
    text-align: center;
    max-height: 90vh; /* Ekranın %90'ından fazla büyümesin */
    overflow-y: auto; /* Gerekirse kaydırma çubuğu çıksın */
}

#gameover-modal h2 {
    color: #d9534f; /* Kırmızımsı */
    margin-top: 0;
}

#gameover-modal p {
    font-size: 1.2em;
}

#gameover-modal #final-score-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #0056b3;
}

/* İsim girme alanı */
#gameover-modal label {
    font-size: 1.1em;
    margin-top: 10px;
    display: block;
}

#gameover-modal input[type="text"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 10px 0;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 5px;
}

/* Buton stilleri */
#gameover-modal button {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

#submit-score-btn {
    background-color: #5cb85c; /* Yeşil */
}
#submit-score-btn:hover {
    background-color: #4cae4c;
}

#play-again-btn {
    background-color: #007bff; /* Mavi */
}
#play-again-btn:hover {
    background-color: #0069d9;
}


/* Liderlik Listesi Stilleri */
#leaderboard-list {
    list-style-position: inside;
    padding-left: 0;
    text-align: left;
    margin-top: 20px;
}

#leaderboard-list li {
    font-size: 1.1em;
    padding: 6px 10px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

/* İlk 3'ü vurgulama */
#leaderboard-list li:nth-child(1) {
    font-weight: bold;
    background-color: #fffbe6; /* Altın */
    font-size: 1.2em;
}
#leaderboard-list li:nth-child(2) {
    font-weight: bold;
    background-color: #f4f4f4; /* Gümüş */
}
#leaderboard-list li:nth-child(3) {
    font-weight: bold;
    background-color: #fdf0e7; /* Bronz */
}