* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ff97f1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    font-family: sans-serif;
}

.container {
    background-color: aliceblue;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    position: relative;
}

.screen {
    display: none;
    padding: 2rem;
    text-align: center;
}

.screen.active {
    display: block;
}

/* Start Screen */
#start_screen h1 {
    color: #e833df;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

#start_screen p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Quiz */
.quiz_header {
    margin-bottom: 2rem;
}

#question_text {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.quiz_info {
    display: flex;
    justify-content: space-between;
    color: #666;
    margin-bottom: 10px;
}

.answers_container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.answer_btn {
    background-color: #f5e5f8;
    color: #333;
    border: 2px solid #eac8e8;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.4s ease;
}

.answer_btn:hover {
    background-color: #eac8e6;
    border-color: #daaed8;
}

.answer_btn.correct {
    background-color: #e6fff0;
    border-color: #a3f0c4;
    color: #28a745;
}

.answer_btn.incorrect {
    background-color: #fff0f0;
    border-color: #ffbdbd;
    color: #dc3545;
}

.progress_bar {
    height: 10px;
    background-color: #f8f0e5;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.progress {
    height: 100%;
    background-color: #e833d0;
    width: 0%;
    transition: width 0.3s ease;
}

/* Result Screen */
#result_screen h1 {
    color: #e833e8;
    margin-bottom: 30px;
}

.result_info {
    background-color: #f8e5f7;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.result_info p {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

#result_message {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e833ca;
}

button {
    background-color: #e833b2;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.4s ease;
}

button:hover {
    background-color: #ce28d4;
}

/* Responsive Design */
@media (max-width: 500px) {
    .screen {
        padding: 1rem;
    }

    #start_screen h1 {
        font-size: 2rem;
    }

    .answer_btn {
        padding: 12px;
    }

    button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
