    /* --- TEMA DEĞİŞKENLERİ --- */
        :root {
            /* Galaksi (Varsayılan) */
            --bg-gradient: linear-gradient(-45deg, #1a1a2e, #2d1b4e, #16213e, #0f0f1a);
            --bg-size: 400% 400%;
            --bg-anim: gradientBG 15s ease infinite;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.05);
            --glass-blur: 16px;
            --text-main: #e2e8f0;
            --text-muted: #94a3b8;
            --card-hover: rgba(255, 255, 255, 0.08);
            --accent-color: #a78bfa;
        }

        [data-theme="light"] {
            --bg-gradient: linear-gradient(-45deg, #e0e7ff, #f3f4f6, #c7d2fe, #f1f5f9);
            --bg-size: 400% 400%;
            --bg-anim: gradientBG 15s ease infinite;
            --glass-bg: rgba(255, 255, 255, 0.30); 
            --glass-border: rgba(255, 255, 255, 0.6); 
            --glass-blur: 20px; 
            --text-main: #1e293b;
            --text-muted: #64748b;
            --card-hover: rgba(255, 255, 255, 0.5);
            --accent-color: #6366f1;
        }

        [data-theme="dark"] {
            --bg-gradient: linear-gradient(-45deg, #000000, #1c1917, #111827, #0a0a0a);
            --bg-size: 400% 400%;
            --bg-anim: gradientBG 15s ease infinite;
            --glass-bg: rgba(0, 0, 0, 0.40); 
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-blur: 20px; 
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --card-hover: rgba(255, 255, 255, 0.08);
            --accent-color: #a78bfa;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background: var(--bg-gradient);
            background-size: var(--bg-size);
            animation: var(--bg-anim);
            color: var(--text-main);
            transition: background 0.5s ease, color 0.3s ease;
        }

        @keyframes gradientBG { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

        /* Glassmorphism */
        .glass-panel {
            background: var(--glass-bg);
            backdrop-filter: blur(var(--glass-blur));
            -webkit-backdrop-filter: blur(var(--glass-blur));
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
            transition: background 0.3s ease, border 0.3s ease;
        }
        .glass-card {
            background: var(--glass-bg);
            border: 1px solid transparent;
            border-radius: 12px;
            transition: all 0.3s ease;
        }
        .glass-card:hover {
            background: var(--card-hover);
            transform: translateY(-2px);
        }

        /* Light Theme Fixes */
        [data-theme="light"] .text-gray-300 { color: #475569; }
        [data-theme="light"] .text-gray-400 { color: #64748b; }
        [data-theme="light"] .text-gray-500 { color: #94a3b8; }
        [data-theme="light"] .text-white { color: #1e293b; }
        [data-theme="light"] .border-white\/5 { border-color: rgba(0,0,0,0.05); }
        [data-theme="light"] .border-white\/10 { border-color: rgba(0,0,0,0.1); }
        [data-theme="light"] .bg-white\/5 { background-color: rgba(0,0,0,0.05); }
        [data-theme="light"] .bg-white\/10 { background-color: rgba(0,0,0,0.05); }
        [data-theme="light"] #chat-input { color: #000; }
        [data-theme="light"] .bg-black\/20 { background-color: rgba(0,0,0,0.05); }
        
        /* Select Option Fix (Koyu Arka Plan) */
        select option {
            background-color: #1a1a2e;
            color: #e2e8f0;
        }
        [data-theme="light"] select option {
            background-color: #ffffff;
            color: #1e293b;
        }

        /* Scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(150, 150, 150, 0.2); border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(150, 150, 150, 0.4); }

        /* Markdown */
        .markdown-body { line-height: 1.7; } 
        .markdown-body h1, .markdown-body h2 { font-weight: 700; margin-top: 1em; margin-bottom: 0.5em; color: var(--text-main); border-bottom: 1px solid var(--glass-border); padding-bottom: 0.3em;}
        .markdown-body h3 { font-size: 1.1em; color: var(--accent-color); margin-top: 0.8em; font-weight: 600; }
        .markdown-body p { margin-bottom: 0.8em; }
        .markdown-body ul { list-style-type: disc; padding-left: 1.5em; margin-bottom: 0.8em; }
        .markdown-body ol { list-style-type: decimal; padding-left: 1.5em; margin-bottom: 0.8em; }
        .markdown-body blockquote { border-left: 4px solid var(--accent-color); padding-left: 1em; color: var(--text-muted); background: rgba(125, 125, 125, 0.1); border-radius: 0 8px 8px 0; padding: 0.5em 1em; margin-bottom: 1em; font-style: italic; }
        
        /* Code Editor */
        .markdown-body pre {
            background: #282c34; border-radius: 8px; margin: 1.5em 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); position: relative;
            padding-top: 35px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .markdown-body pre::before {
            content: ""; position: absolute; top: 12px; left: 15px; width: 10px; height: 10px; border-radius: 50%;
            background: #ff5f56; box-shadow: 20px 0 0 #ffbd2e, 40px 0 0 #27c93f; z-index: 10;
        }
        .markdown-body pre::after {
            content: "Code"; position: absolute; top: 0; left: 0; width: 100%; height: 32px;
            background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            color: #6c798f; font-size: 10px; font-family: sans-serif; display: flex; align-items: center; justify-content: center; letter-spacing: 1px; text-transform: uppercase;
        }
        .markdown-body code { font-family: 'Fira Code', monospace; font-size: 0.9em; }
        .markdown-body :not(pre) > code { background: rgba(125, 125, 125, 0.2); color: #e06c75; padding: 0.2em 0.4em; border-radius: 4px; }

        /* Chips */
        .suggestion-chip {
            font-size: 0.75rem; padding: 6px 12px; border-radius: 99px;
            background: var(--glass-bg); border: 1px solid var(--glass-border);
            color: var(--text-muted); cursor: pointer; transition: all 0.2s ease; white-space: nowrap;
        }
        .suggestion-chip:hover {
            background: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.4);
            color: var(--text-main); transform: translateY(-1px);
        }
        .chips-container { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; margin-left: 4px; opacity: 0; animation: fadeIn 0.5s ease forwards; animation-delay: 0.5s; }
        @keyframes fadeIn { to { opacity: 1; } }

        /* GPT Wave */
        .gpt-wave { width: 4px; border-radius: 99px; height: 6px; transition: all 0.3s ease; animation: idle-wave-anim 2s infinite ease-in-out; }
        .gpt-wave:nth-child(1) { background: #60a5fa; animation-delay: 0s; } 
        .gpt-wave:nth-child(2) { background: #a78bfa; animation-delay: 0.2s; } 
        .gpt-wave:nth-child(3) { background: #f472b6; animation-delay: 0.4s; } 
        .gpt-wave:nth-child(4) { background: #fbbf24; animation-delay: 0.6s; } 
        .gpt-wave:nth-child(5) { background: #34d399; animation-delay: 0.8s; } 
        @keyframes idle-wave-anim { 0%, 100% { height: 6px; opacity: 0.6; } 50% { height: 10px; opacity: 1; } }
        .listening .gpt-wave { animation: listening-wave-anim 1s ease-in-out infinite; opacity: 1 !important; }
        @keyframes listening-wave-anim { 0%, 100% { height: 10px; transform: scaleY(1); } 50% { height: 28px; transform: scaleY(1.2); } }
        .speaking .gpt-wave { background-color: #a78bfa !important; box-shadow: 0 0 15px rgba(167, 139, 250, 0.6); animation: speaking-wave-anim 0.5s ease-in-out infinite alternate; opacity: 1 !important; }
        @keyframes speaking-wave-anim { 0% { height: 12px; } 100% { height: 32px; } }

        .control-bar-container { background-color: #000000; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: all 0.4s; }
        .control-bar-container:hover { border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

        .toggle-checkbox:checked { right: 0; border-color: #8b5cf6; }
        .toggle-checkbox:checked + .toggle-label { background-color: #8b5cf6; }
        .toggle-checkbox:disabled + .toggle-label { background-color: #4b5563; cursor: not-allowed; opacity: 0.5; }

        @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
        .typing-dot { width: 6px; height: 6px; background-color: #a78bfa; border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
        .typing-dot:nth-child(1) { animation-delay: -0.32s; } .typing-dot:nth-child(2) { animation-delay: -0.16s; }
        @keyframes typing { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
        .note-done { text-decoration: line-through; opacity: 0.5; }

        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 50; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
        .modal-overlay.active { opacity: 1; pointer-events: auto; }
        .modal-content { transform: scale(0.9); transition: transform 0.3s ease; background: var(--glass-bg); border-color: var(--glass-border); color: var(--text-main); }
        .modal-overlay.active .modal-content { transform: scale(1); }

        .text-gold { color: #ffd700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
        .bg-gold-gradient { background: linear-gradient(135deg, #ffd700 0%, #fdb931 100%); }
        .border-gold { border-color: rgba(255, 215, 0, 0.3); }

        .input-mode-active #voice-ui { display: none; }
        .input-mode-active #keyboard-ui { display: flex; }
        #keyboard-ui { display: none; }
        #voice-ui { display: flex; }
        .mode-btn.active { background-color: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.5); color: #a78bfa; }

        .timer-active-indicator { animation: pulse-red 2s infinite; }
        @keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

        .nova-brand { font-family: 'Montserrat', sans-serif; letter-spacing: -1px; }
        .nova-star { animation: starPulse 3s infinite ease-in-out; }
        @keyframes starPulse { 0%, 100% { transform: scale(1); opacity: 1; text-shadow: 0 0 10px #00b4d8; } 50% { transform: scale(1.1); opacity: 0.8; text-shadow: 0 0 20px #00b4d8; } }
        
        .theme-card { border: 2px solid transparent; cursor: pointer; transition: all 0.2s; }
        .theme-card:hover { transform: translateY(-2px); }
        .theme-card.active { border-color: #a78bfa; box-shadow: 0 0 10px rgba(167, 139, 250, 0.3); }