:root {
            --primary-color: #6c63ff;
            --success-color: #00d26a; /* Çözüldü Rengi (Yeşil) */
            --warning-color: #fcd535; /* Uyarı Rengi (Sarı) */
            --bg-color: #0f172a;
            --card-bg: #1e293b;
            --text-color: #e2e8f0;
            --border-color: #334155;
        }

        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
        }

        /* Navbar */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 50px;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(15px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
            box-sizing: border-box;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }
        .logo img { height: 50px; width: auto; object-fit: contain; }

        .nav-links a {
            color: #94a3b8;
            text-decoration: none;
            margin-left: 20px;
            font-weight: 500;
            transition: color 0.3s;
        }
        .nav-links a:hover { color: var(--primary-color); }
        .nav-links a.active { color: var(--primary-color); font-weight: bold; }

        /* --- FORUM DÜZENİ --- */
        .forum-container {
            display: grid;
            grid-template-columns: 250px 1fr; /* Sol Menü 250px, kalanı İçerik */
            gap: 30px;
            max-width: 1200px;
            margin: 100px auto 50px auto;
            padding: 0 20px;
        }

        /* SOL KENAR ÇUBUĞU (SIDEBAR) */
        .sidebar {
            background-color: var(--card-bg);
            padding: 20px;
            border-radius: 15px;
            border: 1px solid var(--border-color);
            height: fit-content;
        }

        .new-topic-btn {
            /* --- TAŞMAYI ENGELLEYEN AYARLAR --- */
            display: block; /* Kutu gibi davranmasını sağlar */
            width: 100%; /* Genişliği kutu kadar yap */
            box-sizing: border-box; /* Padding'i genişliğe dahil et (Taşmayı önler) */
            text-align: center; /* Yazıyı ortala */
            text-decoration: none; /* Alt çizgiyi kaldır */
            /* ---------------------------------- */

            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 15px; /* Buton yüksekliği/dolgunluğu */
            border-radius: 12px; /* Köşeleri yuvarla */
            font-weight: bold;
            font-size: 1rem;
            cursor: pointer;
            margin-bottom: 20px; /* Alttaki kategori listesiyle mesafe bırak */
            transition: transform 0.2s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Hafif gölge ekler */
        }

            /* Üzerine gelince efekt */
            .new-topic-btn:hover {
                transform: translateY(-2px);
                background-color: #5851db; /* Hafif renk değişimi */
                color: white;
            }

        .category-list { list-style: none; padding: 0; margin: 0; }
        .category-list li {
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.3s;
            color: #cbd5e1;
            display: flex;
            justify-content: space-between;
        }
        .category-list li:hover { background-color: rgba(255,255,255,0.05); color: white; }
        .category-list li.active { background-color: rgba(108, 99, 255, 0.2); color: var(--primary-color); font-weight: bold; }

        .badge-count {
            background-color: #334155;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
        }

        /* SAĞ TARAFTAKİ KONU LİSTESİ */
        .search-bar {
            width: 100%;
            padding: 15px;
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 15px;
            color: white;
            font-size: 1rem;
            margin-bottom: 20px;
            box-sizing: border-box;
        }

        .topic-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .topic-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.2s;
            cursor: pointer;
        }

        .topic-card:hover {
            border-color: var(--primary-color);
            transform: translateX(5px);
        }

        .topic-info { flex: 1; }

        .topic-title {
            font-size: 1.1rem;
            font-weight: bold;
            color: white;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .topic-meta {
            font-size: 0.9rem;
            color: #94a3b8;
        }

        /* Etiketler (Çözüldü, Sabit vb.) */
        .tag {
            font-size: 0.75rem;
            padding: 3px 8px;
            border-radius: 5px;
            font-weight: bold;
            text-transform: uppercase;
        }

        .tag-solved { background-color: rgba(0, 210, 106, 0.2); color: var(--success-color); border: 1px solid var(--success-color); }
        .tag-bug { background-color: rgba(252, 213, 53, 0.2); color: var(--warning-color); border: 1px solid var(--warning-color); }
        .tag-sticky { background-color: rgba(108, 99, 255, 0.2); color: var(--primary-color); border: 1px solid var(--primary-color); }

        .topic-stats {
            display: flex;
            gap: 20px;
            text-align: center;
            margin-left: 20px;
        }
        .stat-box { display: flex; flex-direction: column; }
        .stat-num { font-weight: bold; font-size: 1.1rem; color: white; }
        .stat-label { font-size: 0.8rem; color: #64748b; }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #475569;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
        }
        footer{
            text-align: center;
            margin-bottom: 0%;
        }
