  body {
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            transition: background 0.3s ease;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #f4f7fb;
            color: #1e293b;
        }
       

        .view-dashboard {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: #f4f7fb;
            color: #1e293b;
        }

        /* Göz Yormayan Renkli Atmosferik Arka Plan */
        .hero-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: 
                radial-gradient(circle at 12% 18%, rgba(66, 133, 244, 0.10) 0%, transparent 40%),
                radial-gradient(circle at 88% 15%, rgba(139, 92, 246, 0.10) 0%, transparent 40%),
                radial-gradient(circle at 50% 85%, rgba(52, 168, 83, 0.08) 0%, transparent 45%),
                linear-gradient(180deg, #eff6ff 0%, #f4f7fb 50%, #f8fafc 100%);
        }

        #stars, #stars2 {
            display: none;
        }

        .orbitron {
            font-family: 'Poppins', 'Inter', sans-serif;
            letter-spacing: -0.02em;
        }

        /* Renkli & Şık Sekmeler (Nav Tabs) */
        .nav-tabs {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-bottom: 2.5rem;
            background: rgba(255, 255, 255, 0.9);
            padding: 0.55rem;
            border-radius: 9999px;
            border: 1px solid #e2e8f0;
            box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08), 0 4px 10px -3px rgba(0, 0, 0, 0.03);
            backdrop-filter: blur(12px);
            max-width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }

        .nav-tab {
            background: transparent;
            border: 1px solid transparent;
            color: #475569;
            padding: 10px 26px;
            border-radius: 9999px;
            cursor: pointer;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.92rem;
        }

        .nav-tab:hover {
            background: #eff6ff;
            color: #2563eb;
            transform: translateY(-1px);
        }

        .nav-tab.active {
            background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.32);
        }

        /* Ders Kartları (Course Grid & Cards) */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.75rem;
            max-width: 1160px;
            margin: 0 auto;
        }

        .course-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-top: 4px solid #3b82f6;
            border-radius: 20px;
            padding: 1.85rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.05);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .course-card { border-top-color: #2563eb; }

        .course-card:hover {
            transform: translateY(-6px);
            border-color: #bfdbfe;
            box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.14), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
        }

        .price-badge {
            position: absolute;
            top: 2.35rem;
            right: 1.85rem;
            background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
            color: #ffffff;
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 9999px;
            font-size: 0.75rem;
            box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
            letter-spacing: 0.03em;
        }

        .price-strike {
            text-decoration: line-through;
            opacity: 0.7;
            font-size: 0.8rem;
            margin-right: 5px;
        }

        /* Renkli Modern Butonlar */
        .btn-glow { 
            background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%); 
            color: #ffffff;
            padding: 12px 22px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.94rem;
            width: 100%;
            margin-top: 10px; 
            cursor: pointer;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
        }

        .btn-glow:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
            filter: brightness(1.06);
        }
        
        .pass-input {
            width: 100%;
            background: #ffffff;
            border: 2px solid #e2e8f0;
            color: #1e293b;
            padding: 11px 42px 11px 16px;
            border-radius: 12px;
            margin-top: 15px;
            outline: none;
            transition: all 0.2s ease;
            font-size: 0.94rem;
            font-weight: 500;
        }

        .pass-input::placeholder {
            color: #94a3b8;
        }

        .pass-input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
        }

        /* İçerik Görünümü (Course View) */
        .view-course {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(180deg, #eff6ff 0%, #f4f7fb 300px, #f8fafc 100%);
            color: #1e293b;
        }
        
        .modal-transition {
            transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        }
        .modal-hidden {
            opacity: 0;
            transform: scale(0.95);
            pointer-events: none;
            visibility: hidden;
        }
        .modal-visible {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
            visibility: visible;
        }
        
        .custom-checkbox:checked {
            background-color: #10b981;
            border-color: #10b981;
        }
        .custom-checkbox:checked + span {
            text-decoration: line-through;
            color: #94a3b8;
        }

        .konu-karti {
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
        }
        .konu-karti:hover {
            transform: translateY(-4px);
            border-color: #93c5fd;
            box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.14);
        }
        .konu-tamamlandi {
            border: 2px solid #10b981 !important;
            background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%) !important;
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15) !important;
        }

        .progress-bar-gradient {
            background: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #10b981 100%);
        }

        #confetti-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 100;
            pointer-events: none;
        }
        
        .back-btn {
            position: fixed;
            top: 22px;
            left: 22px;
            background: #ffffff;
            color: #1e293b;
            border: 1px solid #cbd5e1;
            padding: 10px 20px;
            border-radius: 9999px;
            z-index: 50;
            cursor: pointer;
            display: none;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
            font-weight: 700;
        }
        .back-btn:hover {
            background: #2563eb;
            color: #ffffff;
            border-color: #2563eb;
            transform: translateX(-3px);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
        }

        /* Görev / Şifre Modalı */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(6px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            overflow-y: auto;
            padding: 20px;
        }
        
        .mission-content {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-top: 5px solid #2563eb;
            border-radius: 24px;
            padding: 32px;
            max-width: 560px;
            width: 100%;
            box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
            position: relative;
            font-family: 'Inter', sans-serif;
            max-height: 85vh;
            overflow-y: auto;
            color: #1e293b;
        }

        .modal-close-btn {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 50%;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 20;
        }
        .modal-close-btn:hover {
            background: #ef4444;
            color: #ffffff;
            border-color: #ef4444;
            transform: rotate(90deg);
        }

        .comment-builder {
            display: flex;
            flex-direction: column;
            gap: 10px;
            background: #f8fafc;
            padding: 15px;
            border-radius: 12px;
            margin: 20px 0;
            border: 1px solid #e2e8f0;
        }
        @media (min-width: 768px) {
            .comment-builder {
                flex-direction: row;
                align-items: center;
            }
        }
        .locked-badge {
            background: #eff6ff;
            color: #2563eb;
            padding: 10px 15px;
            border-radius: 8px;
            font-family: monospace;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #bfdbfe;
            min-width: 60px;
        }
        .user-input-area {
            flex-grow: 1;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            color: #1e293b;
            padding: 12px;
            border-radius: 8px;
            resize: none;
            font-family: inherit;
        }
        .user-input-area:focus {
            outline: none;
            border-color: #2563eb;
        }

        .help-box {
            background: #f8fafc;
            border: 1px dashed #cbd5e1;
            padding: 14px;
            margin-bottom: 15px;
            border-radius: 10px;
            display: none;
            font-size: 0.85rem;
            color: #475569;
        }
        .help-box strong {
            color: #2563eb;
        }

        .success-pass {
            font-size: 2.75rem;
            font-weight: 900;
            letter-spacing: 5px;
            color: #059669;
            background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
            border: 2px solid #6ee7b7;
            border-radius: 16px;
            padding: 14px 28px;
            margin: 20px 0;
            display: inline-block;
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
        }

        .help-toggle {
            color: #2563eb;
            cursor: pointer;
            font-size: 0.85rem;
            text-decoration: underline;
        }

        #html-lightbox-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 10000;
            overflow: hidden;
        }
        
        .close-html-lightbox { 
            position: fixed;
            top: 14px;
            right: 14px; 
            background: #ef4444; 
            color: #ffffff;
            width: 40px;
            height: 40px; 
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center; 
            cursor: pointer;
            z-index: 10001;
            font-weight: bold; 
            box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4); 
            font-size: 16px;
            transition: all 0.25s ease;
            border: 2px solid #ffffff;
        }
        .close-html-lightbox:hover {
            background: #dc2626;
            transform: rotate(90deg) scale(1.1);
        }

        @media (max-width: 768px) {
            .nav-tabs {
                gap: 0.35rem;
                padding: 0.45rem;
                border-radius: 18px;
            }
            .nav-tab {
                padding: 8px 15px;
                font-size: 0.82rem;
            }
        }

        .q-badge {
            background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
            color: #2563eb;
            font-size: 0.65em;    
            padding: 3px 9px;     
            border-radius: 9999px;   
            margin-left: 8px;
            font-weight: 700;
            border: 1px solid #bfdbfe;
            vertical-align: middle;
            display: inline-block;
        }

        .konu-karti:hover .q-badge {
            background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
            color: white;
            border-color: transparent;
        }

        * {
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }

        *::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
            background: transparent !important;
        }

        #modal-icerik, .mission-content, body, html {
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }