body { 
    font-family: Arial, sans-serif; 
    background-color: black;
    color: black; 
    margin: 0; 
    padding: 20px; 
    min-height: 100vh;
}
#quiz-container { 
    max-width: 600px; 
    margin: auto; 
    padding: 20px; 
    background: white; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}
h1 { text-align: center; }
#timer { 
    font-size: 1.5em; 
    color: #FF4500; 
    text-align: center; 
    margin-bottom: 10px; 
}
button { 
    background: #FF4500; 
    color: black; 
    padding: 10px 20px; 
    border: none; 
    cursor: pointer; 
    border-radius: 5px; 
    margin: 10px 5px; 
    font-size: 1em;

}
#options { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.option { 
    padding: 15px; 
    border: 2px solid #ddd; 
    border-radius: 8px; 
    background: #f9f9f9; 
    text-align: center; 
    font-size: 1.1em;
}
.option.correct { border-color: #228B22 !important; background: #d4edda !important; font-weight: bold; }
.option.wrong { border-color: #dc3545 !important; background: #f8d7da !important; }
#feedback { 
    font-size: 1.3em; 
    text-align: center; 
    margin: 15px 0; 
    min-height: 30px; 
}
#red-card-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    z-index: 100;
    animation: fadeOut 4s forwards;
}
#red-card-popup img { max-width: 300px; border: 5px solid #dc3545; border-radius: 10px; }
#red-card-popup p { font-size: 1.5em; margin-top: 10px; }
@keyframes fadeOut {
    0% { opacity: 1; }
    75% { opacity: 1; }
    100% { opacity: 0; display: none; }
}
#end-images img { 
    max-width: 200px; 
    margin: 10px; 
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
@media (max-width: 600px) {
    #options .option { font-size: 1em; padding: 12px; }
    button { width: 100%; margin: 10px 0; }
    #end-images img { max-width: 150px; }
}