body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9e5c9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.quiz-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
}

h1 {
    font-family: 'Lobster', cursive;
    color: #e8843c;
    text-align: center;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 25px;
    padding: 15px;
    background: #fff8f0;
    border-radius: 8px;
    border-left: 4px solid #e8843c;
}

.options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #f3b95f;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #e8843c;
}

button.selected {
    background: #e8843c;
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(232, 132, 60, 0.3);
}

.question-status {
    display: inline-block;
    margin-left: 10px;
    color: #888;
    font-style: italic;
    font-size: 0.9em;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.success-link {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #e8843c;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s;
}

.success-link:hover {
    transform: scale(1.05);
}

.failure-popup {
    color: #e74c3c;
}
