   body { margin: 0; padding: 0; overflow-x: hidden; transition: background 0.5s ease; }

        .view-dashboard {
            font-family: 'Poppins', sans-serif;
            background-color: #0c0a1a;
            color: #e0e0e0;
        }
        .hero-bg {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
            background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
        }
        #stars, #stars2 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; z-index: -1; }
        #stars { background: radial-gradient(2px 2px at 20px 30px, #eee, transparent), radial-gradient(2px 2px at 40px 70px, #fff, transparent); background-size: 200px 200px; animation: twinkle 5s infinite linear; }
        @keyframes twinkle { from { transform: translateY(0); } to { transform: translateY(-200px); } }

        .nav-tabs { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 1rem; backdrop-filter: blur(10px); }
        .nav-tab { background: transparent; border: 1px solid rgba(139, 92, 246, 0.3); color: #fff; padding: 10px 25px; border-radius: 30px; cursor: pointer; transition: 0.3s; font-family: 'Orbitron', sans-serif; }
        .nav-tab:hover { background: rgba(139, 92, 246, 0.2); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3); }
        .nav-tab.active { background: linear-gradient(45deg, #8b5cf6, #c026d3); border-color: transparent; box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }

        .course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
        .course-card { background: rgba(20, 18, 38, 0.6); border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 20px; padding: 2rem; backdrop-filter: blur(15px); transition: 0.4s; position: relative; }
        .course-card:hover { transform: translateY(-10px); border-color: #c026d3; box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2); }
        .price-badge { position: absolute; top: 15px; right: 15px; background: linear-gradient(135deg, #facc15 0%, #fb923c 100%); color: #1e1b3a; font-weight: 900; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; animation: pulse 2s infinite; }
        .price-strike { text-decoration: line-through; opacity: 0.7; font-size: 0.8rem; margin-right: 5px; }
        @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

        .btn-glow { 
            background: linear-gradient(45deg, #4f46e5, #1d4ed8); 
            color: white; padding: 12px 20px; border-radius: 12px; font-weight: 600; width: 100%; margin-top: 10px; 
            cursor: pointer; border: none; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; 
        }
        .btn-glow:hover {
            transform: scale(1.03);
            box-shadow: 0 0 20px rgba(79, 70, 229, 0.6);
            filter: brightness(1.1);
        }
        
        .pass-input { width: 100%; background: rgba(255, 255, 255, 0.1); border: 1px solid #4b5563; color: white; padding: 12px; border-radius: 10px; margin-top: 15px; outline: none; transition: 0.3s; }
        .pass-input:focus { border-color: #c026d3; background: rgba(255, 255, 255, 0.15); }

        .view-course {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: #1f2937;
        }
        
        .modal-transition { transition: opacity 0.3s ease, transform 0.3s ease; }
        .modal-hidden { opacity: 0; transform: scale(0.95); pointer-events: none; }
        .modal-visible { opacity: 1; transform: scale(1); pointer-events: auto; }
        
        .custom-checkbox:checked { background-color: #22c55e; border-color: #22c55e; }
        .custom-checkbox:checked + span { text-decoration: line-through; color: #6b7280; }
        .konu-karti:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
        .konu-tamamlandi { border: 2px solid #22c55e; box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); }
        .progress-bar-gradient { background: linear-gradient(90deg, #3b82f6 0%, #818cf8 100%); }
        #confetti-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 100; pointer-events: none; }
        
        .back-btn { position: fixed; top: 20px; left: 20px; background: #1f2937; color: white; padding: 10px 20px; border-radius: 8px; z-index: 50; cursor: pointer; display: none; transition: 0.3s; }
        .back-btn:hover { background: #ef4444; transform: translateX(-3px); }

        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; justify-content: center; align-items: center; overflow-y: auto; padding: 20px; }
        
        .mission-content {
            background: linear-gradient(160deg, #1e1b3a 0%, #2e2a5a 100%);
            border: 2px solid #8b5cf6;
            border-radius: 20px; padding: 30px; max-width: 600px; width: 100%;
            box-shadow: 0 0 50px rgba(139, 92, 246, 0.5); position: relative; font-family: 'Poppins', sans-serif;
            max-height: 85vh;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #8b5cf6 rgba(0,0,0,0.2);
        }
        .mission-content::-webkit-scrollbar { width: 6px; }
        .mission-content::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); border-radius: 10px; margin: 10px 0; }
        .mission-content::-webkit-scrollbar-thumb { background: #8b5cf6; border-radius: 10px; }
        .mission-content::-webkit-scrollbar-thumb:hover { background: #c026d3; }

        .modal-close-btn {
            position: absolute; top: 15px; right: 15px;
            width: 32px; height: 32px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%; color: white;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.3s ease; z-index: 20;
        }
        .modal-close-btn:hover { background: #ef4444; transform: rotate(90deg) scale(1.1); border-color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }

        .comment-builder { display: flex; flex-direction: column; gap: 10px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 10px; margin: 20px 0; }
        @media (min-width: 768px) { .comment-builder { flex-direction: row; align-items: center; } }
        .locked-badge { background: #4b5563; color: #d1d5db; padding: 10px 15px; border-radius: 6px; font-family: monospace; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid #6b7280; min-width: 60px; }
        .user-input-area { flex-grow: 1; background: rgba(255, 255, 255, 0.1); border: 1px solid #8b5cf6; color: #ffffff; padding: 12px; border-radius: 6px; resize: none; font-family: inherit; }
        .user-input-area:focus { outline: none; background: rgba(139, 92, 246, 0.15); border-color: #c026d3; }

        .help-box { background: rgba(255,255,255,0.05); border: 1px dashed #6b7280; padding: 15px; margin-bottom: 15px; border-radius: 8px; display: none; font-size: 0.85rem; color: #d1d5db; }
        .help-box strong {
            color: #8b5cf6;
        } 
.success-pass { font-size: 3rem; font-weight: 900; letter-spacing: 5px; color: #4ade80; text-shadow: 0 0 20px rgba(74, 222, 128, 0.5); margin: 20px 0; display: block; }
        .help-toggle { color: #facc15; 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: 10px; right: 10px; 
            background: rgba(239, 68, 68, 0.9); 
            color: white; width: 35px; height: 35px; 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; 
            cursor: pointer; z-index: 10001; font-weight: bold; 
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4); 
            font-size: 16px; transition: all 0.3s ease; border: 2px solid white;
        }
        .close-html-lightbox:hover {
            transform: rotate(90deg) scale(1.1);
            background: #dc2626;
            box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
        }

        .orbitron { font-family: 'Orbitron', sans-serif; }

@media (max-width: 768px) {
    .nav-tabs {
        gap: 0.5rem;
        padding: 0.8rem;
    }
    .nav-tab {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
}

.q-badge {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    font-size: 0.6em;    
    padding: 1px 5px;     
    border-radius: 4px;   
    margin-left: 6px;
    font-weight: 700;
    border: 1px solid rgba(139, 92, 246, 0.3);
    vertical-align: middle;
    display: inline-block;
}

.konu-karti:hover .q-badge {
    background: #8b5cf6;
    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;
}