* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
}

#quiz-container {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 30px;
    font-size: 2.5em;
}

#start-screen, #result-screen {
    text-align: center;
}

#start-screen p, #result-screen p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

button {
    background-color: #1e3c72;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2a5298;
}

#progress, #score {
    text-align: right;
    margin-bottom: 15px;
    color: #666;
}

#question-container {
    text-align: center;
    margin-bottom: 20px;
}

#media {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

#media img, #media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

#question {
    font-size: 1.3em;
    margin: 20px 0;
    color: #333;
}

#options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.option {
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    color: #333;
}

.option:hover:not([disabled]) {
    background-color: #e0e0e0;
    transform: scale(1.02);
}

.option.correct {
    background-color: #4CAF50;
    color: white;
    border-color: #45a049;
}

.option.incorrect {
    background-color: #f44336;
    color: white;
    border-color: #da190b;
}

.option[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.special-button {
    background-color: #ff4081;
    color: white;
    padding: 20px 40px;
    font-size: 1.5em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.special-button:hover {
    background-color: #f50057;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#question.final-title {
    font-size: 3em;
    color: #ff0000;
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 64, 129, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 64, 129, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 64, 129, 0);
    }
}

@keyframes scale-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
}

#question-info {
    margin-bottom: 20px;
}

.hide {
    display: none !important;
}

#question-info.hide {
    display: none;
}

@media (max-width: 600px) {
    #options-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2em;
    }
    
    #media {
        max-width: 250px;
    }
}
