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

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}

.container {
background: white;
border-radius: 20px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
max-width: 800px;
width: 100%;
padding: 40px;
}

h1 {
color: #667eea;
text-align: center;
margin-bottom: 30px;
font-size: 2em;
}

.quiz-controls {
display: flex;
gap: 15px;
margin-bottom: 30px;
flex-wrap: wrap;
}

button {
background: #667eea;
color: white;
border: none;
padding: 12px 24px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
transition: all 0.3s;
}

button:hover {
background: #764ba2;
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:disabled {
background: #ccc;
cursor: not-allowed;
transform: none;
}

.progress-bar {
background: #f0f0f0;
border-radius: 10px;
height: 30px;
margin-bottom: 20px;
overflow: hidden;
position: relative;
}

.progress-fill {
background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
height: 100%;
transition: width 0.3s;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 14px;
}

.question-card {
background: #f8f9fa;
padding: 30px;
border-radius: 15px;
margin-bottom: 20px;
}

.question-number {
color: #667eea;
font-weight: bold;
font-size: 18px;
margin-bottom: 15px;
}

.question-text {
font-size: 20px;
font-weight: 600;
margin-bottom: 25px;
color: #333;
line-height: 1.5;
}

.options {
display: flex;
flex-direction: column;
gap: 12px;
}

.option {
background: white;
padding: 18px;
border-radius: 10px;
cursor: pointer;
border: 2px solid #e0e0e0;
transition: all 0.3s;
display: flex;
align-items: center;
gap: 12px;
}

.option:hover {
border-color: #667eea;
transform: translateX(5px);
}

.option.selected {
border-color: #667eea;
background: #f0f4ff;
}

.option.correct {
border-color: #4caf50;
background: #e8f5e9;
}

.option.incorrect {
border-color: #f44336;
background: #ffebee;
}

.option.disabled {
cursor: not-allowed;
opacity: 0.7;
}

.option.disabled:hover {
transform: none;
}

.option-label {
font-weight: bold;
color: #667eea;
min-width: 30px;
}

.navigation {
display: flex;
justify-content: space-between;
margin-top: 30px;
gap: 15px;
}

.nav-buttons {
display: flex;
gap: 15px;
}

.results {
text-align: center;
padding: 40px;
}

.score {
font-size: 48px;
font-weight: bold;
color: #667eea;
margin: 20px 0;
}

.score-details {
font-size: 20px;
color: #666;
margin-bottom: 30px;
}

.results h2 {
color: #333;
margin-bottom: 20px;
}

.emoji {
font-size: 80px;
margin-bottom: 20px;
}

.hidden {
display: none;
}

.feedback {
margin-top: 15px;
padding: 15px;
border-radius: 8px;
font-weight: 600;
}

.feedback.correct {
background: #e8f5e9;
color: #2e7d32;
}

.feedback.incorrect {
background: #ffebee;
color: #c62828;
}

@media (max-width: 600px) {
.container {
padding: 20px;
}

h1 {
font-size: 1.5em;
}

.question-text {
font-size: 18px;
}

.quiz-controls {
flex-direction: column;
}

button {
width: 100%;
}
}
