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

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

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

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

        .quiz-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        .question-card {
            background: #f8f9ff;
            border-radius: 15px;
            padding: 20px;
            border: 3px solid #e0e7ff;
        }

        .question {
            font-size: 1.8em;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            text-align: center;
        }

        .answers {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .answer-btn {
            background: white;
            border: 3px solid #667eea;
            border-radius: 10px;
            padding: 15px;
            font-size: 1.5em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            color: #333;
        }

        .answer-btn:hover {
            background: #667eea;
            color: white;
            transform: scale(1.05);
        }

        .answer-btn.selected {
            background: #667eea;
            color: white;
        }

        .answer-btn.correct {
            background: #10b981;
            border-color: #10b981;
            color: white;
        }

        .answer-btn.incorrect {
            background: #ef4444;
            border-color: #ef4444;
            color: white;
        }

        .answer-btn:disabled {
            cursor: not-allowed;
        }

        .results {
            background: #f0fdf4;
            border: 3px solid #10b981;
            border-radius: 15px;
            padding: 20px;
            margin-top: 20px;
            display: none;
        }

        .results.show {
            display: block;
        }

        .results h2 {
            color: #10b981;
            margin-bottom: 15px;
            font-size: 2em;
            text-align: center;
        }

        .result-item {
            font-size: 1.3em;
            margin: 10px 0;
            color: #333;
        }

        .result-item strong {
            color: #667eea;
        }

        .time-display {
            font-size: 2em;
            text-align: center;
            color: #10b981;
            margin: 15px 0;
        }

        .reset-btn, .save-btn {
            border: none;
            border-radius: 10px;
            padding: 15px 30px;
            font-size: 1.3em;
            font-weight: bold;
            cursor: pointer;
            margin: 10px auto;
            transition: all 0.3s;
        }

        .reset-btn {
            background: #667eea;
            color: white;
            display: block;
        }

        .reset-btn:hover {
            background: #5568d3;
            transform: scale(1.05);
        }

        .progress {
            text-align: center;
            font-size: 1.3em;
            color: #667eea;
            margin-bottom: 20px;
            font-weight: bold;
        }