/* Ana Quiz Konteyneri */
#quiz-container {
    background: #1F2833;
    border: 1px solid #45A29E;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 30px;
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    color: #C5C6C7;
    overflow: hidden; /* Animasyonlar için */
}

/* Quiz Başlığı (İlerleme Çubuğu ve Skor) */
#quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2c5364;
}

#progress-container {
    width: 80%;
    background-color: #0B0C10;
    border-radius: 10px;
    height: 10px;
}

#progress-bar {
    height: 100%;
    width: 0%; /* JavaScript ile güncellenecek */
    background: linear-gradient(90deg, #45A29E, #66FCF1);
    border-radius: 10px;
    transition: width 0.4s ease-in-out;
}

#score-text {
    font-size: 1.1em;
    font-weight: bold;
    color: #66FCF1;
}

/* Soru ve Cevap Alanı */
#question-area {
    animation: fadeIn 0.5s ease-in-out;
}

#question {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #FFFFFF;
}

#answers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.answer-item {
    background: rgba(11, 12, 16, 0.5);
    border: 2px solid #2c5364;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.answer-item:hover {
    background: #45A29E;
    color: #0B0C10;
    transform: translateX(5px);
    border-color: #66FCF1;
}

.answer-item.disabled {
    pointer-events: none; /* Cevap seçildikten sonra tıklamayı engelle */
    opacity: 0.7;
}

.answer-item.correct {
    background-color: #27ae60;
    color: white;
    border-color: #2ecc71;
}

.answer-item.incorrect {
    background-color: #e74c3c;
    color: white;
    border-color: #c0392b;
}

/* Cevap Geri Bildirim İkonları */
.answer-item.correct::after {
    content: '✔';
    font-size: 1.5em;
    color: white;
}

.answer-item.incorrect::after {
    content: '✖';
    font-size: 1.5em;
    color: white;
}


/* Sonuç Ekranı */
#result-container {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

#result-container h2 {
    font-size: 2.5em;
    color: #66FCF1;
}

#final-score, #final-accuracy {
    font-size: 1.5em;
    margin: 15px 0;
}

#restart-btn {
    background: #66FCF1;
    color: #1F2833;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

#restart-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 252, 241, 0.4);
}

/* Yardımcı Sınıflar */
.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}