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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f5f5f5;
            padding: 20px;
        }

        .quiz-trigger {
            display: inline-block;
            background: linear-gradient(135deg, #fb627d 0%, #ff8a9a 100%);
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(251, 98, 125, 0.3);
        }

        .quiz-trigger:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(251, 98, 125, 0.4);
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 20px;
            animation: fadeIn 0.3s ease-out;
        }

        .modal-overlay.active {
            display: flex;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .quiz-container {
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 700px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            padding: 40px;
            position: relative;
            animation: slideIn 0.4s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 2em;
            color: #fb627d;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .close-modal:hover {
            background: #fff0ab;
            transform: rotate(90deg);
        }

        .quiz-header {
            text-align: center;
            margin-bottom: 30px;
            padding-right: 40px;
        }

        .quiz-header h1 {
            color: #fb627d;
            font-size: 2em;
            margin-bottom: 10px;
        }

        .quiz-header p {
            color: #666;
            font-size: 1.1em;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: #f0f0f0;
            border-radius: 10px;
            margin-bottom: 30px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #fb627d 0%, #fff0ab 100%);
            width: 0%;
            transition: width 0.3s ease;
        }

        .question-container {
            display: none;
            animation: fadeInQuestion 0.4s ease-out;
        }

        .question-container.active {
            display: block;
        }

        @keyframes fadeInQuestion {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .question-number {
            color: #fb627d;
            font-weight: bold;
            font-size: 0.9em;
            margin-bottom: 10px;
        }

        .question-text {
            font-size: 1.3em;
            color: #333;
            margin-bottom: 25px;
            font-weight: 500;
        }

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

        .option {
            background: #f8f9fa;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 18px 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1em;
            color: #333;
        }

        .option:hover {
            background: #fff9e6;
            border-color: #fff0ab;
            transform: translateX(5px);
        }

        .option.selected {
            background: linear-gradient(135deg, #fb627d 0%, #ff8a9a 100%);
            border-color: #fb627d;
            color: white;
            font-weight: 500;
        }

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

        .btn-previous {
            background: #e0e0e0;
            color: #666;
        }

        .btn-previous:hover {
            background: #d0d0d0;
        }

        .btn-next, .btn-submit {
            background: linear-gradient(135deg, #fb627d 0%, #ff8a9a 100%);
            color: white;
        }

        .btn-next:hover, .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(251, 98, 125, 0.4);
        }

        .btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .results {
            display: none;
            text-align: center;
            animation: fadeIn 0.5s ease-out;
        }

        .results.active {
            display: block;
        }

        .results h2 {
            color: #fb627d;
            font-size: 2em;
            margin-bottom: 20px;
        }

        .score-display {
            font-size: 4em;
            font-weight: bold;
            background: linear-gradient(135deg, #fb627d 0%, #fff0ab 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 20px 0;
        }

        .result-message {
            font-size: 1.2em;
            color: #333;
            line-height: 1.6;
            margin-bottom: 30px;
            padding: 20px;
            background: #fff9e6;
            border-radius: 12px;
            border-left: 4px solid #fb627d;
        }

        .btn-restart {
            background: linear-gradient(135deg, #fb627d 0%, #ff8a9a 100%);
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-right: 10px;
        }

        .btn-restart:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(251, 98, 125, 0.4);
        }

        .btn-close-results {
            background: #e0e0e0;
            color: #666;
            padding: 15px 40px;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-close-results:hover {
            background: #d0d0d0;
        }

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

            .quiz-header {
                padding-right: 0;
            }

            .quiz-header h1 {
                font-size: 1.5em;
            }

            .question-text {
                font-size: 1.1em;
            }

            .close-modal {
                top: 10px;
                right: 10px;
            }

            .score-display {
                font-size: 3em;
            }
        }