body {
    font-family: 'Arial', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    min-height: 100vh;
}

.container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.2em;
}

.setup-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.setup-card h2 {
    color: #333;
    margin-bottom: 20px;
}

.question-count-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.option-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.option-card:hover {
    border-color: #ff6b6b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.option-card input[type="radio"] {
    display: none;
}

.option-card input[type="radio"]:checked + .option-text {
    color: #ff6b6b;
}

.option-card input[type="radio"]:checked {
    background: #ff6b6b;
}

.option-card:has(input[type="radio"]:checked) {
    border-color: #ff6b6b;
    background: #fff5f5;
}

.option-text {
    display: block;
    font-size: 0.9em;
}

.start-btn {
    font-size: 1.2em;
    padding: 15px 30px;
}

.quiz-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid #ff6b6b;
}

.question {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.option {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #ff6b6b;
    transform: translateX(5px);
}

.option.correct {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.option.incorrect {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.feedback {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
}

.feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.progress {
    background: #e9ecef;
    border-radius: 20px;
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    height: 100%;
    transition: width 0.3s ease;
}

.btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: transform 0.2s ease;
    margin: 10px 5px;
}

.btn:hover {
    transform: translateY(-2px);
}

.results {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.score {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.wrong-answers {
    margin-top: 20px;
}

.wrong-answer-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #dc3545;
}

.hidden {
    display: none;
}

.ebook-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.ebook-btn:hover {
    background: linear-gradient(135deg, #45a049, #3d8b40);
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

@media (max-width: 600px) {
    .question-count-options {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
}
