:root {
    --primary: #2563eb;
    --success: #16a34a;
    --bg: #f8fafc;
    --text: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: white;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.hidden { display: none !important; }

.info-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--primary);
}

.progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 30px;
}

#progress-fill {
    height: 100%;
    background: var(--primary);
    width: 5%;
    transition: width 0.3s;
}

.question-text {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 25px;
    line-height: 1.6;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.option-btn {
    text-align: left;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
}

.option-btn:hover { border-color: var(--primary); background: #eff6ff; }
.option-btn.selected { background: var(--primary); color: white; border-color: var(--primary); }

footer {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.btn-start { background: var(--primary); color: white; font-size: 1.1rem; }
.btn-check { background: #64748b; color: white; }
.btn-next { background: var(--success); color: white; }

.explanation {
    margin-top: 20px;
    padding: 15px;
    background: #f0fdf4;
    border-left: 5px solid var(--success);
    text-align: left;
}

.score-circle {
    width: 150px;
    height: 150px;
    border: 10px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bold;
    margin: 20px auto;
}