

        .question-container {
            margin-bottom: 30px;
            padding: 20px;
            background-color: rgba(40, 40, 60, 0.7);
            border-radius: 10px;
            border-left: 4px solid #f8c537;
            color: #fff;
        }

        .question-number {
            color: #f8c537;
            font-weight: bold;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .question-text {
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

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

        .option {
            padding: 12px 15px;
            background-color: rgba(50, 50, 70, 0.7);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .option:hover {
            background-color: rgba(70, 70, 100, 0.7);
            transform: translateY(-2px);
        }

        .option.selected {
            background-color: rgba(80, 80, 120, 0.9);
            border-color: #f8c537;
        }

        .button-container {
            text-align: center;
            margin-top: 30px;
        }

        button {
            background-color: #f8c537;
            color: #1a1a2e;
            border: none;
            padding: 12px 30px;
            font-size: 1.1rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        button:hover {
            background-color: #e6b325;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
        }

        button:active {
            transform: translateY(1px);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: #2a2a3e;
            padding: 30px;
            border-radius: 15px;
            max-width: 600px;
            width: 90%;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
            border: 2px solid #f8c537;
            position: relative;
        }

        .close-button {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #f8c537;
        }

        .house-title {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #f8c537;
        }

        .house-description {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        .house-emoji {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .gryffindor {
            color: #ee0000;
        }

        .slytherin {
            color: #0ec049;
        }

        .ravenclaw {
            color: #86cbff;
        }

        .hufflepuff {
            color: #ffda7c;
        }

        .progress-bar {
            height: 8px;
            background-color: #39395a;
            border-radius: 4px;
            margin: 20px 0;
            overflow: hidden;
        }

        .progress {
            height: 100%;
            background-color: #f8c537;
            width: 0%;
            transition: width 0.5s ease;
        }

        .typing-animation {
            min-height: 200px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .typing-text {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 20px;
            text-align: left;
            white-space: pre-line;
            overflow: hidden;
            border-right: 2px solid #f8c537;
            animation: blink-caret 0.7s step-end infinite;
            color: #fff;
        }

        @keyframes blink-caret {
            from, to { border-color: transparent; }
            50% { border-color: #f8c537; }
        }

        @media (max-width: 600px) {
            .container {
                padding: 15px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .question-container {
                padding: 15px;
            }
        }