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

        body {
            font-family: 'Segoe UI', sans-serif;
            background: #0a0a1a;
            color: #e0e0ff;
            min-height: 100vh;
            overflow-x: hidden;
        }

        nav.breadcrumb {
            background: rgba(255, 255, 255, 0.04);
            padding: 10px 20px;
            font-size: 0.85rem;
            color: #94a3b8;
            display: flex;
            gap: 6px;
            align-items: center;
            flex-wrap: wrap;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        }

        nav.breadcrumb a {
            color: #a855f7;
            text-decoration: none;
        }

        nav.breadcrumb a:hover {
            text-decoration: underline;
        }

        footer {
            text-align: center;
            padding: 20px;
            color: #64748b;
            font-size: 0.8rem;
            border-top: 1px solid rgba(255, 255, 255, 0.07);
            margin-top: 40px;
        }

        footer a {
            color: #a855f7;
            text-decoration: none;
        }

        /* ===== STARTSCREEN ===== */
        #startScreen {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
            text-align: center;
            padding: 20px;
        }

        .logo-container {
            position: relative;
            margin-bottom: 30px;
        }

        .logo-lock {
            font-size: 80px;
            animation: pulse 2s infinite;
            filter: drop-shadow(0 0 20px #7c3aed);
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
                filter: drop-shadow(0 0 20px #7c3aed);
            }

            50% {
                transform: scale(1.1);
                filter: drop-shadow(0 0 40px #a855f7);
            }
        }

        .title {
            font-size: 2.5rem;
            font-weight: 900;
            background: linear-gradient(90deg, #a855f7, #06b6d4, #a855f7);
            background-size: 200%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s infinite;
            margin-bottom: 10px;
        }

        @keyframes shimmer {
            0% {
                background-position: 0%;
            }

            100% {
                background-position: 200%;
            }
        }

        .subtitle {
            font-size: 1.1rem;
            color: #94a3b8;
            margin-bottom: 40px;
        }

        .story-box {
            background: rgba(124, 58, 237, 0.15);
            border: 1px solid rgba(124, 58, 237, 0.4);
            border-radius: 15px;
            padding: 25px;
            max-width: 600px;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .story-box h3 {
            color: #a855f7;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .btn-start {
            background: linear-gradient(135deg, #7c3aed, #06b6d4);
            border: none;
            padding: 18px 50px;
            border-radius: 50px;
            color: white;
            font-size: 1.3rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
            letter-spacing: 1px;
            margin: 5px;
        }

        .btn-start:hover {
            transform: scale(1.05);
            box-shadow: 0 0 50px rgba(124, 58, 237, 0.8);
        }

        /* Save slot buttons */
        .save-info {
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.4);
            border-radius: 12px;
            padding: 15px 25px;
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: #10b981;
            max-width: 500px;
            text-align: left;
        }

        .save-info h4 {
            margin-bottom: 8px;
            color: #10b981;
        }

        .save-info p {
            color: #94a3b8;
            font-size: 0.85rem;
            margin-bottom: 10px;
        }

        .btn-load {
            background: linear-gradient(135deg, #10b981, #06b6d4);
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            color: white;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            margin-right: 10px;
        }

        .btn-load:hover {
            transform: scale(1.05);
        }

        .btn-delete-save {
            background: transparent;
            border: 1px solid rgba(239, 68, 68, 0.5);
            color: #ef4444;
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 0.85rem;
            transition: all 0.2s;
        }

        .btn-delete-save:hover {
            background: rgba(239, 68, 68, 0.1);
        }

        /* ===== MAIN GAME ===== */
        #gameScreen {
            display: none;
            min-height: 100vh;
        }

        /* HUD */
        .hud {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 10, 26, 0.95);
            border-bottom: 1px solid rgba(124, 58, 237, 0.3);
            padding: 10px 20px;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            backdrop-filter: blur(10px);
        }

        .hud-item {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.05);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .hud-item .icon {
            font-size: 1.1rem;
        }

        .streak-fire {
            animation: flicker 0.5s infinite alternate;
        }

        @keyframes flicker {
            from {
                filter: brightness(1);
            }

            to {
                filter: brightness(1.5) drop-shadow(0 0 5px orange);
            }
        }

        .xp-bar-container {
            flex: 1;
            min-width: 150px;
            max-width: 200px;
        }

        .xp-bar {
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            overflow: hidden;
        }

        .xp-fill {
            height: 100%;
            background: linear-gradient(90deg, #7c3aed, #06b6d4);
            border-radius: 4px;
            transition: width 0.5s ease;
        }

        .room-indicator {
            display: flex;
            gap: 6px;
        }

        .room-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transition: all 0.3s;
        }

        .room-dot.done {
            background: #10b981;
        }

        .room-dot.active {
            background: #a855f7;
            animation: pulse 1s infinite;
        }

        /* Save indicator in HUD */
        .save-indicator {
            font-size: 0.75rem;
            color: #10b981;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .save-indicator.show {
            opacity: 1;
        }

        /* ===== ROOMS ===== */
        .room {
            display: none;
            min-height: 100vh;
            padding-top: 80px;
            padding-bottom: 40px;
        }

        .room.active {
            display: block;
        }

        .room-header {
            text-align: center;
            padding: 30px 20px 20px;
        }

        .room-icon {
            font-size: 3rem;
            margin-bottom: 10px;
        }

        .room-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: #a855f7;
            margin-bottom: 8px;
        }

        .room-desc {
            color: #94a3b8;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* ===== CHALLENGE CARDS ===== */
        .challenge-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }

        .challenge-card {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(124, 58, 237, 0.3);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            transition: all 0.3s;
        }

        .challenge-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #7c3aed, #06b6d4);
        }

        .challenge-card.completed {
            border-color: rgba(16, 185, 129, 0.5);
            background: rgba(16, 185, 129, 0.05);
        }

        .challenge-card.completed::before {
            background: linear-gradient(90deg, #10b981, #06b6d4);
        }

        .challenge-card.active-challenge {
            border-color: rgba(124, 58, 237, 0.8);
            box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
        }

        .challenge-number {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 0.8rem;
            color: #64748b;
        }

        .challenge-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #e0e0ff;
        }

        .challenge-instruction {
            color: #94a3b8;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        /* Shortcut display - HIDDEN by default, shown only via hint */
        .shortcut-display {
            display: none;
            /* Hidden until hint revealed */
            align-items: center;
            gap: 5px;
            margin: 10px 0;
            padding: 12px 16px;
            background: rgba(124, 58, 237, 0.1);
            border: 1px solid rgba(124, 58, 237, 0.3);
            border-radius: 10px;
        }

        .shortcut-display.revealed {
            display: inline-flex;
        }

        .key {
            background: linear-gradient(180deg, #2d2d4e, #1a1a3e);
            border: 2px solid #4a4a7a;
            border-bottom: 4px solid #2a2a5a;
            border-radius: 8px;
            padding: 8px 14px;
            font-size: 0.95rem;
            font-weight: 700;
            color: #e0e0ff;
            font-family: 'Courier New', monospace;
            box-shadow: 0 2px 0 #1a1a3e;
            display: inline-block;
            min-width: 40px;
            text-align: center;
        }

        .key.ctrl {
            background: linear-gradient(180deg, #4c1d95, #3730a3);
            border-color: #6d28d9;
        }

        .key.pressed {
            transform: translateY(2px);
            border-bottom-width: 2px;
            background: linear-gradient(180deg, #7c3aed, #4c1d95);
            box-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
        }

        .plus-sign {
            color: #64748b;
            font-weight: 300;
            font-size: 1.2rem;
        }

        /* ===== SIMULATION AREAS ===== */
        .sim-area {
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            overflow: hidden;
            margin: 15px 0;
        }

        .sim-titlebar {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .sim-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .sim-dot.red {
            background: #ef4444;
        }

        .sim-dot.yellow {
            background: #f59e0b;
        }

        .sim-dot.green {
            background: #10b981;
        }

        .sim-title-text {
            color: #94a3b8;
            font-size: 0.85rem;
            flex: 1;
            text-align: center;
        }

        .sim-content {
            padding: 15px;
            background: rgba(255, 255, 255, 0.02);
        }

        .text-editor {
            background: #1e1e2e;
            border: none;
            width: 100%;
            min-height: 120px;
            padding: 15px;
            color: #e0e0ff;
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            line-height: 1.8;
            resize: none;
            outline: none;
            border-radius: 0;
        }

        .file-explorer {
            background: #1a1a2e;
            padding: 10px;
            min-height: 150px;
            border-radius: 8px;
        }

        .file-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 10px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            user-select: none;
        }

        .file-item:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .file-item.selected {
            background: rgba(124, 58, 237, 0.3);
        }

        .file-item span {
            font-size: 0.9rem;
        }

        .browser-bar {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 15px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .browser-url {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 5px 15px;
            flex: 1;
            color: #94a3b8;
            font-size: 0.85rem;
        }

        .highlight-text {
            background: rgba(255, 235, 59, 0.3);
            color: #ffd600;
            border-radius: 3px;
            padding: 0 3px;
        }

        /* ===== FEEDBACK ===== */
        .feedback-popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.5);
            z-index: 9999;
            background: rgba(10, 10, 26, 0.98);
            border: 2px solid #10b981;
            border-radius: 20px;
            padding: 30px 40px;
            text-align: center;
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            pointer-events: none;
            max-width: 400px;
            width: 90%;
        }

        .feedback-popup.show {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }

        .feedback-popup.error {
            border-color: #ef4444;
        }

        .feedback-icon {
            font-size: 3rem;
            margin-bottom: 10px;
        }

        .feedback-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .feedback-text {
            color: #94a3b8;
            line-height: 1.5;
            font-size: 0.95rem;
        }

        .feedback-xp {
            color: #fbbf24;
            font-weight: 700;
            font-size: 1.1rem;
            margin-top: 10px;
        }

        /* ===== BADGES ===== */
        .badge-notification {
            position: fixed;
            top: 90px;
            right: 20px;
            background: rgba(10, 10, 26, 0.98);
            border: 2px solid #fbbf24;
            border-radius: 15px;
            padding: 15px 20px;
            z-index: 9998;
            transform: translateX(200%);
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: flex;
            align-items: center;
            gap: 15px;
            max-width: 300px;
        }

        .badge-notification.show {
            transform: translateX(0);
        }

        .badge-icon {
            font-size: 2.5rem;
        }

        .badge-text h4 {
            color: #fbbf24;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .badge-text p {
            font-weight: 700;
            font-size: 1rem;
        }

        .badge-text small {
            color: #94a3b8;
            font-size: 0.8rem;
        }

        /* ===== BADGES DISPLAY ===== */
        .badges-panel {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            padding: 15px;
            justify-content: center;
        }

        .badge-item {
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 12px 16px;
            text-align: center;
            min-width: 80px;
            transition: all 0.3s;
            opacity: 0.4;
            filter: grayscale(1);
        }

        .badge-item.earned {
            border-color: #fbbf24;
            background: rgba(251, 191, 36, 0.1);
            opacity: 1;
            filter: none;
            animation: badge-glow 2s infinite;
        }

        @keyframes badge-glow {

            0%,
            100% {
                box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
            }

            50% {
                box-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
            }
        }

        .badge-item .b-icon {
            font-size: 2rem;
        }

        .badge-item .b-name {
            font-size: 0.7rem;
            color: #94a3b8;
            margin-top: 4px;
        }

        /* ===== PROGRESS BAR ROOM ===== */
        .progress-locks {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            padding: 20px;
        }

        .lock-stage {
            text-align: center;
            opacity: 0.4;
            transition: all 0.5s;
        }

        .lock-stage.unlocked {
            opacity: 1;
        }

        .lock-icon {
            font-size: 2.5rem;
            display: block;
            transition: all 0.5s;
        }

        .lock-stage.unlocked .lock-icon {
            animation: unlock-bounce 0.5s ease;
        }

        @keyframes unlock-bounce {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.4) rotate(-10deg);
            }

            100% {
                transform: scale(1) rotate(0);
            }
        }

        .lock-label {
            font-size: 0.75rem;
            color: #64748b;
            margin-top: 4px;
        }

        .lock-stage.unlocked .lock-label {
            color: #10b981;
        }

        /* ===== QUIZ MODE ===== */
        .quiz-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .quiz-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 12px 15px;
            color: #e0e0ff;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.2s;
            text-align: left;
        }

        .quiz-btn:hover {
            background: rgba(124, 58, 237, 0.2);
            border-color: rgba(124, 58, 237, 0.5);
        }

        .quiz-btn.correct {
            background: rgba(16, 185, 129, 0.2);
            border-color: #10b981;
        }

        .quiz-btn.wrong {
            background: rgba(239, 68, 68, 0.2);
            border-color: #ef4444;
        }

        /* ===== ROOM COMPLETE ===== */
        .room-complete-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 1500;
            align-items: center;
            justify-content: center;
        }

        .room-complete-overlay.show {
            display: flex;
        }

        .room-complete-card {
            background: linear-gradient(135deg, #1a0a2e, #0a1a2e);
            border: 2px solid #10b981;
            border-radius: 25px;
            padding: 40px;
            text-align: center;
            max-width: 450px;
            width: 90%;
            animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        @keyframes pop-in {
            from {
                transform: scale(0.5);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .complete-icon {
            font-size: 5rem;
            margin-bottom: 15px;
        }

        .complete-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: #10b981;
            margin-bottom: 10px;
        }

        .complete-subtitle {
            color: #94a3b8;
            margin-bottom: 20px;
        }

        .complete-stats {
            display: flex;
            gap: 20px;
            justify-content: center;
            margin-bottom: 25px;
        }

        .stat-box {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 15px 20px;
            text-align: center;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 800;
            color: #a855f7;
        }

        .stat-label {
            font-size: 0.75rem;
            color: #64748b;
        }

        .btn-next-room {
            background: linear-gradient(135deg, #10b981, #06b6d4);
            border: none;
            padding: 14px 35px;
            border-radius: 50px;
            color: white;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-next-room:hover {
            transform: scale(1.05);
        }

        /* ===== PARTICLES ===== */
        .particle {
            position: fixed;
            pointer-events: none;
            font-size: 1.5rem;
            animation: float-up 2s ease-out forwards;
            z-index: 9999;
        }

        @keyframes float-up {
            0% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }

            100% {
                opacity: 0;
                transform: translateY(-150px) scale(0.5);
            }
        }

        /* ===== KEYBOARD VISUAL ===== */
        .keyboard-visual {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            padding: 15px;
            margin: 15px 0;
            display: flex;
            justify-content: center;
            gap: 5px;
            flex-wrap: wrap;
        }

        .kbd-row {
            display: flex;
            gap: 4px;
            justify-content: center;
            width: 100%;
        }

        .kbd-key {
            background: linear-gradient(180deg, #2d2d4e, #1a1a3e);
            border: 1px solid #4a4a7a;
            border-bottom: 3px solid #2a2a5a;
            border-radius: 5px;
            padding: 5px 8px;
            font-size: 0.7rem;
            color: #94a3b8;
            min-width: 30px;
            text-align: center;
            font-family: 'Courier New', monospace;
            transition: all 0.1s;
        }

        .kbd-key.highlight {
            background: linear-gradient(180deg, #7c3aed, #4c1d95);
            border-color: #a855f7;
            color: white;
            box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
        }

        /* ===== HINT SYSTEM ===== */
        .hint-btn {
            background: transparent;
            border: 1px solid rgba(251, 191, 36, 0.4);
            color: #fbbf24;
            padding: 6px 14px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.8rem;
            transition: all 0.2s;
        }

        .hint-btn:hover {
            background: rgba(251, 191, 36, 0.1);
        }

        .hint-box {
            background: rgba(251, 191, 36, 0.08);
            border: 1px solid rgba(251, 191, 36, 0.3);
            border-radius: 10px;
            padding: 12px 15px;
            margin-top: 10px;
            font-size: 0.88rem;
            color: #fbbf24;
            display: none;
            line-height: 1.5;
        }

        .hint-box.visible {
            display: block;
        }

        /* ===== NAVIGATION ===== */
        .btn-action {
            background: linear-gradient(135deg, #7c3aed, #4c1d95);
            border: none;
            padding: 10px 25px;
            border-radius: 25px;
            color: white;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s;
            margin-top: 10px;
        }

        .btn-action:hover {
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
        }

        .btn-action:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none;
        }

        /* ===== CHALLENGE STATUS ===== */
        .challenge-status {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
        }

        .status-badge {
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
        }

        .status-badge.todo {
            background: rgba(100, 116, 139, 0.3);
            color: #64748b;
        }

        .status-badge.active {
            background: rgba(124, 58, 237, 0.3);
            color: #a855f7;
        }

        .status-badge.done {
            background: rgba(16, 185, 129, 0.3);
            color: #10b981;
        }

        /* ===== FINAL SCREEN ===== */
        #finalScreen {
            display: none;
            min-height: 100vh;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            padding: 20px;
            background: linear-gradient(135deg, #0a0a1a, #1a0a2e, #0a1a0a);
        }

        .firework {
            position: fixed;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            animation: firework-anim 1.5s ease-out forwards;
        }

        @keyframes firework-anim {
            0% {
                transform: translate(0, 0) scale(0);
                opacity: 1;
            }

            100% {
                transform: translate(var(--fx), var(--fy)) scale(1);
                opacity: 0;
            }
        }

        /* ===== MINI GAME ===== */
        #miniGameArea {
            display: none;
        }

        /* ===== RELOAD WARNING ===== */
        .reload-warning {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.9);
            z-index: 99999;
            display: none;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            padding: 30px;
        }

        .reload-warning.show {
            display: flex;
        }

        .reload-warning-card {
            background: linear-gradient(135deg, #1a0a2e, #2e0a0a);
            border: 3px solid #ef4444;
            border-radius: 25px;
            padding: 40px;
            max-width: 500px;
            animation: pop-in 0.4s ease;
        }

        .reload-warning-card h2 {
            color: #ef4444;
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        .reload-warning-card p {
            color: #94a3b8;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .reload-warning-btns {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-stay {
            background: linear-gradient(135deg, #10b981, #06b6d4);
            border: none;
            padding: 14px 30px;
            border-radius: 25px;
            color: white;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-stay:hover {
            transform: scale(1.05);
        }

        .btn-leave {
            background: transparent;
            border: 2px solid rgba(239, 68, 68, 0.5);
            color: #ef4444;
            padding: 12px 25px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.2s;
        }

        .btn-leave:hover {
            background: rgba(239, 68, 68, 0.1);
        }

        /* ===== ROOM BACKGROUNDS ===== */
        .room-bg-1 {
            background: linear-gradient(180deg, #0a0a1a 0%, #1a0a0a 100%);
        }

        .room-bg-2 {
            background: linear-gradient(180deg, #0a0a1a 0%, #0a1a0a 100%);
        }

        .room-bg-3 {
            background: linear-gradient(180deg, #0a0a1a 0%, #0a0a2e 100%);
        }

        .room-bg-4 {
            background: linear-gradient(180deg, #0a0a1a 0%, #1a1a0a 100%);
        }

        .room-bg-5 {
            background: linear-gradient(180deg, #0a0a1a 0%, #0a1a1a 100%);
        }

        /* ===== MISC ===== */
        .color-purple {
            color: #a855f7;
        }

        .color-cyan {
            color: #06b6d4;
        }

        .color-green {
            color: #10b981;
        }

        .color-yellow {
            color: #fbbf24;
        }

        .color-red {
            color: #ef4444;
        }

        .mt-10 {
            margin-top: 10px;
        }

        .mt-20 {
            margin-top: 20px;
        }

        .text-center {
            text-align: center;
        }

        .divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
            margin: 20px 0;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0;
            }
        }

        .cursor {
            animation: blink 1s infinite;
            display: inline;
        }

        @media (max-width: 600px) {
            .title {
                font-size: 1.8rem;
            }

            .quiz-options {
                grid-template-columns: 1fr;
            }

            .complete-stats {
                flex-direction: column;
                align-items: center;
            }
        }

        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
        }

        ::-webkit-scrollbar-thumb {
            background: #7c3aed;
            border-radius: 3px;
        }

        .room-bg-6 {
            background: linear-gradient(180deg, #0a0a1a 0%, #1a0a1a 100%);
        }

        .room-bg-7 {
            background: linear-gradient(180deg, #0a0a1a 0%, #1a1a0a 100%);
        }

        .draggable-file {
            cursor: grab;
            transition: all 0.2s;
            border: 1px solid transparent;
        }

        .draggable-file:active {
            cursor: grabbing;
        }

        .draggable-file.dragging {
            opacity: 0.4;
            border: 1px dashed #a855f7;
        }

        .drop-zone-active {
            border-color: #10b981 !important;
            background: rgba(16, 185, 129, 0.1) !important;
        }

        /* Hinweis nur auf Touch-Geräten ohne Maus: Übung braucht eine echte Tastatur */
        .tastatur-hinweis {
            display: none;
            margin: .5rem 1rem;
            padding: .6rem .9rem;
            border-radius: 10px;
            border: 1px solid #d97706;
            background: #fffbeb;
            color: #78350f;
            font-size: .9rem;
            line-height: 1.45;
        }

        @media (hover: none) and (pointer: coarse) {
            .tastatur-hinweis {
                display: block;
            }
        }
    
