* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 600px;
    width: 90%;
    padding: 2rem;
}

.screen {
    text-align: center;
}

.hidden {
    display: none;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: 3px;
    transition: width 0.3s;
    width: 0%;
}

.question-count {
    text-align: left;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.question {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.answer-btn {
    background: #1e293b;
    color: #e2e8f0;
    border: 2px solid #334155;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s;
}

.answer-btn:hover {
    border-color: #6366f1;
    background: #1a2236;
}

.answer-btn.correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.answer-btn.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.answer-btn:disabled {
    cursor: default;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 6px solid #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
}

#score-text {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#result-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
