        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3730a3 100%);
            min-height: 100vh;
            color: white;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            padding-top: 40px;
            position: relative;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .instructions {
            background: rgba(30, 58, 138, 0.5);
            border: 2px solid #60a5fa;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
        }

        .instructions h2 {
            margin-bottom: 20px;
            font-size: 1.8rem;
        }

        .nav-box {
            background: rgba(29, 78, 216, 0.5);
            padding: 20px;
            border-radius: 8px;
            margin: 10px 0;
        }

        .nav-box strong {
            color: #fbbf24;
        }

        .modules {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .module-card {
            background: #1e40af;
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s;
            border: 3px solid transparent;
            position: relative;
        }

        .module-card:hover {
            transform: scale(1.05);
        }

        .module-card.selected {
            background: #ca8a04;
            border-color: #fbbf24;
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
        }

        .module-card.completed {
            background: #15803d;
        }

        .module-icon {
            font-size: 4rem;
            margin-bottom: 20px;
        }

        .module-title {
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .question-box {
            background: rgba(88, 28, 135, 0.5);
            border: 2px solid #a855f7;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
        }

        /* Estilo para la caja de teoría */
        .theory-box {
            background: rgba(20, 83, 45, 0.7);
            /* Verde oscuro */
            border: 2px solid #4ade80;
            border-radius: 15px;
            padding: 40px;
            margin-bottom: 30px;
            text-align: left;
        }

        .theory-title {
            font-size: 2.2rem;
            color: #fbbf24;
            margin-bottom: 20px;
            text-align: center;
        }

        .theory-text {
            font-size: 1.6rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .key-concept {
            background: rgba(0, 0, 0, 0.3);
            padding: 15px;
            border-radius: 8px;
            border-left: 5px solid #fbbf24;
            margin-top: 20px;
            font-style: italic;
        }

        .question-text {
            font-size: 2rem;
            margin-bottom: 30px;
            line-height: 1.4;
        }

        .nav-help {
            background: rgba(168, 85, 247, 0.5);
            padding: 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            text-align: center;
        }

        .nav-help p {
            font-size: 1.3rem;
            margin: 5px 0;
        }

        .options {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .option {
            background: #7c3aed;
            padding: 25px;
            border-radius: 10px;
            font-size: 1.3rem;
            text-align: left;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .option:hover {
            background: #6d28d9;
        }

        .option.selected {
            background: #ca8a04;
            border-color: #fbbf24;
            transform: scale(1.02);
        }

        .option-number {
            background: rgba(0, 0, 0, 0.3);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem;
            margin-right: 20px;
            flex-shrink: 0;
        }

        .option.selected .option-number {
            background: #78350f;
        }

        .option.correct {
            background: #15803d;
            border-color: #22c55e;
        }

        .option.incorrect {
            background: #991b1b;
            border-color: #ef4444;
        }

        .feedback {
            background: #7c3aed;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            font-size: 1.3rem;
            text-align: center;
        }

        .feedback.correct {
            background: #15803d;
        }

        .feedback.incorrect {
            background: #991b1b;
        }

        .completed-screen {
            text-align: center;
            background: rgba(21, 128, 61, 0.5);
            border: 2px solid #22c55e;
            border-radius: 15px;
            padding: 60px;
            margin-top: 100px;
        }

        .completed-screen h2 {
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .completed-screen p {
            font-size: 2rem;
            margin: 10px 0;
        }

        .btn {
            background: #fbbf24;
            color: #1e3a8a;
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            font-size: 1.3rem;
            font-weight: bold;
            cursor: pointer;
            margin: 20px auto;
            display: inline-block;
        }

        .btn:hover {
            background: #f59e0b;
        }

        .score {
            font-size: 1.5rem;
            text-align: center;
            margin: 20px 0;
            color: #fbbf24;
            font-weight: bold;
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        .reminder-box {
            background: rgba(202, 138, 4, 0.3);
            border: 2px solid #fbbf24;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
        }

        /* Micrófono Status */
        #mic-status {
            display: none;
            color: #00FFFF;
            font-size: 1.2rem;
            font-weight: bold;
            margin: 15px 0;
            border: 2px dashed #00FFFF;
            padding: 10px;
            border-radius: 8px;
            text-align: center;
            background: rgba(0, 0, 0, 0.3);
            animation: pulse-mic 1.5s infinite;
        }

        @keyframes pulse-mic {
            0% {
                opacity: 0.5;
            }

            50% {
                opacity: 1;
            }

            100% {
                opacity: 0.5;
            }
        }
