/* Pop quiz */

#quiz-section {
    background: linear-gradient(145deg, #4B0082, #3E0066);
    border-radius: 16px;
    padding: 24px;
    max-width: 80%;
    min-width: 200px;
    margin: 2em auto;
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.4);
    /* dreamy purple shadow */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #A8FFCE;
}

#quiz-section h3 {
    font-size: 1.6em;
    margin-bottom: 1em;
    color: #D8B4F8;
    text-align: center;
    text-shadow: 0 0 8px rgba(216, 180, 248, 0.6);
    /* lavender glow */
}

#quiz-form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: stretch;
}

#quiz-form label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #3E0066, #4B0082);
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #A8FFCE;
    flex: 1 1 45%;
    min-width: 200px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    color: #A8FFCE;
    box-shadow: 0 0 10px rgba(80, 200, 120, 0.15);
    /* soft mint glow */
}

#quiz-form label:hover {
    background: linear-gradient(135deg, #5F2D91, #6E3FB1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(168, 255, 206, 0.4);
    /* minty glow on hover */
}

#quiz-form input[type="radio"] {
    accent-color: #50C878;
}

#quiz-form button {
    margin: 2em auto 0 auto;
    padding: 12px 30px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #50C878, #66D191);
    color: #4B0082;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    display: block;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(80, 200, 120, 0.3);
}

#quiz-form button:hover {
    background: linear-gradient(135deg, #66D191, #A8FFCE);
    box-shadow: 0 0 15px rgba(168, 255, 206, 0.5);
}

#quiz-result {
    margin-top: 24px;
    font-size: 1.1rem;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #3E0066, #4B0082);
    border-radius: 10px;
    color: #D8B4F8;
    box-shadow: 0 0 10px rgba(216, 180, 248, 0.25);
}

#quiz-result em {
    display: block;
    margin-top: 0.5em;
    font-style: italic;
    color: #A8FFCE;
    text-shadow: 0 0 6px rgba(168, 255, 206, 0.4);
}