        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            flex: 1;
        }

        .quiz-container {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            overflow: hidden;
            margin-top: 30px;
        }

        .quiz-header {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .quiz-header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .quiz-header p {
            font-size: 1.2em;
            opacity: 0.9;
        }

        .quiz-content {
            padding: 40px;
        }

        .question {
            display: none;
            animation: fadeIn 0.5s ease-in;
        }

        .question.active {
            display: block;
        }

        .question h2 {
            font-size: 1.8em;
            margin-bottom: 20px;
            color: #2c3e50;
        }

        .answers {
            list-style: none;
            margin-bottom: 30px;
        }

        .answers li {
            margin-bottom: 15px;
        }

        .answer-btn {
            width: 100%;
            padding: 15px 20px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
            font-size: 1.1em;
        }

        .answer-btn:hover {
            background: #e3f2fd;
            border-color: #2196f3;
            transform: translateY(-2px);
        }

        .answer-btn.selected {
            background: #2196f3;
            color: white;
            border-color: #1976d2;
        }

        .progress-bar {
            background: #e9ecef;
            height: 10px;
            border-radius: 5px;
            margin-bottom: 30px;
            overflow: hidden;
        }

        .progress-fill {
            background: linear-gradient(90deg, #4caf50, #8bc34a);
            height: 100%;
            width: 0%;
            transition: width 0.5s ease;
        }

        .btn {
            background: linear-gradient(45deg, #4caf50, #45a049);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1em;
            transition: all 0.3s ease;
            margin-right: 10px;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .quiz-form {
            display: none;
            text-align: center;
        }

        .quiz-form.active {
            display: block;
            animation: fadeIn 0.5s ease-in;
        }

        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #2c3e50;
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 1em;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus {
            outline: none;
            border-color: #2196f3;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
            text-align: left;
        }

        .checkbox-group input[type="checkbox"] {
            margin-right: 10px;
            margin-top: 3px;
            transform: scale(1.2);
        }

        .checkbox-group label {
            font-size: 0.9em;
            line-height: 1.4;
            color: #555;
        }

        .result-container {
            display: none;
            text-align: center;
            padding: 40px;
        }

        .result-container.active {
            display: block;
            animation: fadeIn 0.5s ease-in;
        }

        .result-score {
            font-size: 3em;
            font-weight: bold;
            color: #4caf50;
            margin-bottom: 20px;
        }

        .result-text {
            font-size: 1.3em;
            color: #2c3e50;
            margin-bottom: 30px;
        }

        .footer {
            text-align: center;
            padding: 20px;
            background: #2c3e50;
            color: white;
            margin-top: auto;
        }

        .footer a {
            color: #bdc3c7;
            text-decoration: none;
            margin: 0 10px;
        }

        .footer a:hover {
            color: white;
        }

        .thank-you {
            display: none;
            text-align: center;
            padding: 40px;
        }

        .thank-you.active {
            display: block;
            animation: fadeIn 0.5s ease-in;
        }

        .thank-you h2 {
            color: #4caf50;
            font-size: 2.5em;
            margin-bottom: 20px;
        }

        .thank-you p {
            font-size: 1.2em;
            color: #2c3e50;
            margin-bottom: 30px;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            .quiz-header h1 {
                font-size: 2em;
            }
            
            .quiz-content {
                padding: 20px;
            }
        }
