body {
    font-family: 'Inter', sans-serif;
    background-image: url('images/quiz_background.jpg');
    background-size: cover;
    color: #fff;
}
.btn-primary, .joker-btn {
    background-color: #4A90E2; /* Mavi buton rengi */
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover, .joker-btn:hover:not(:disabled) {
    background-color: #357ABD; /* Mavi buton hover rengi */
}
.joker-btn {
    padding: 10px 15px;
    font-size: 0.9em;
}
.joker-btn:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.6;
}
.btn-secondary {
    background-color: #2ECC71; /* Yeşil buton rengi */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover {
    background-color: #27AE60; /* Yeşil buton hover rengi */
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.input-field {
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 1rem;
}
.input-field::placeholder {
    color: rgba(255,255,255,0.7);
}
.error-message {
    color: #FFCCCC; /* Açık kırmızı */
    font-size: 0.9em;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    display: none; /* Başlangıçta gizli */
}
.item-card {
    background-color: #ffffff;
    color: #333;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
}
.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.item-card img {
    width: 60px; height: 60px; object-fit: contain; margin-bottom: 0.75rem;
}
.item-card .placeholder-icon {
    font-size: 2.5rem; margin-bottom: 0.75rem; color: #F79F1F;
}
.page { display: none; }
.page.active { display: block; }
#loadingIndicator {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5); z-index: 9999; justify-content: center; align-items: center;
}
.spinner {
    border: 8px solid #f3f3f3; border-top: 8px solid #4A90E2; border-radius: 50%;
    width: 60px; height: 60px; animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.quiz-option-btn {
    background-color: #4A90E2; color: white; padding: 10px 15px; border-radius: 6px;
    font-weight: 500; transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    border: 2px solid transparent; cursor: pointer;
}
.quiz-option-btn.hidden-by-joker {
    visibility: hidden; 
    opacity: 0;
    pointer-events: none;
}
.quiz-option-btn:hover:not(.disabled):not(.answered) { background-color: #357ABD; }
.quiz-option-btn.selected-transient { background-color: #F79F1F; border-color: #fff; }
.quiz-option-btn.correct { background-color: #2ECC71 !important; color: white !important; opacity: 1 !important; }
.quiz-option-btn.incorrect { background-color: #E74C3C !important; color: white !important; opacity: 1 !important; }
.quiz-option-btn.disabled, .quiz-option-btn.faded { opacity: 0.5; cursor: not-allowed; }
.modal-content, .expert-modal-content {
    background-color: #4A5568; color: #fff; padding: 24px; border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); max-width: 500px; width: 90%; text-align: center;
    position: relative; /* Close button için */
}
.modal-content img.result-badge-img { max-width: 100px; max-height: 100px; margin: 0 auto 1rem; }
.modal-content img.result-comment-img { max-width: 200px; max-height: 150px; object-fit: contain; margin: 1rem auto; border-radius: 8px; }
.expert-modal-content .expert-image { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; margin: 1rem auto; }
#authStatus {
    position: fixed; top: 10px; right: 10px; background-color: rgba(0,0,0,0.7);
    padding: 5px 10px; border-radius: 5px; font-size: 0.9em; z-index: 100;
}
#authButtonGoogle { 
     display: none; 
     margin-left: 10px; background-color: #dd4b39; 
     color: white; padding: 3px 8px; border-radius: 4px;
}
.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.8rem; 
    line-height: 1; 
    color: #ccc;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem; 
}
.close-modal-btn:hover { color: #fff; }

.btn-primary[style*="--blue-color"] {
    background-color: var(--blue-color);
}
