:root {
    --accent: #c7b6ff;
    --accent-2: #a7e0ff;
    --bg: #fafafa;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 2rem;
}

.quiz-container {
    width: min(850px, 92vw);
    background: white;
    border-radius: 1.4rem;
    padding: 2.4rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.09);
    animation: fadeUp .4s ease both;
}

@keyframes fadeUp {
    from { opacity:0; transform: translateY(18px); }
    to   { opacity:1; transform: translateY(0); }
}

.back-btn {
    margin-bottom: 1.2rem;
    background: none;
    border: 0;
    font-size: .9rem;
    opacity: .7;
    cursor: pointer;
}
.back-btn:hover { opacity: 1; }

.quiz-title {
    font-size: 2.4rem;
    margin: 0;
    font-weight: 800;
}

.quiz-subtitle {
    margin: .4rem 0 1.8rem;
    opacity: .7;
    font-size: 1rem;
}

.quiz-block {
    margin-bottom: 2rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.quiz-option {
    padding: .75rem .9rem;
    border-radius: .8rem;
    background: #f4f4f9;
    cursor: pointer;
    transition: background .16s, transform .16s;
    font-size: .95rem;
}

.quiz-option input {
    margin-right: .6rem;
}

.quiz-option:hover {
    background: #e9e9f3;
    transform: translateY(-2px);
}

.quiz-submit {
    width: 100%;
    margin-top: .6rem;
    padding: .9rem;
    border-radius: .85rem;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #1a1a1a;
    box-shadow: 0px 6px 18px rgba(0,0,0,.09);
}
