:root {
            --bg-dark: #070d19;
            --card-bg: #0f172a;
            --border: #1e293b;
            --accent-blue: #0284c7;
            --accent-cyan: #38bdf8;
            --accent-yellow: #facc15;
            --accent-green: #22c55e;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: var(--bg-dark);
            color: var(--text-main);
            line-height: 1.6;
        }
        a { color: var(--accent-cyan); text-decoration: none; }
        a:hover { text-decoration: underline; }

        /* Top Header */
        header {
            background: #060a14;
            border-bottom: 2px solid var(--accent-blue);
            padding: 14px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
        }
        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #fff;
            font-weight: 900;
            font-size: 17px;
        }
        .header-links {
            display: flex;
            gap: 14px;
            align-items: center;
        }
        .btn-top {
            background: var(--accent-blue);
            color: #fff;
            padding: 7px 14px;
            border-radius: 6px;
            font-size: 12.5px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.2s;
        }
        .btn-top:hover {
            background: #0369a1;
            text-decoration: none;
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 24px auto;
            padding: 0 16px;
        }

        /* Hero Banner */
        .forum-hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            border: 1px solid rgba(56, 189, 248, 0.2);
            border-radius: 12px;
            padding: 28px 24px;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
        }
        .forum-hero h1 {
            font-size: 26px;
            font-weight: 900;
            color: #fff;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .forum-hero p {
            color: var(--text-muted);
            font-size: 14px;
            max-width: 750px;
            margin-bottom: 18px;
        }
        .hero-stats {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }
        .stat-badge {
            background: rgba(15, 23, 42, 0.8);
            border: 1px solid #334155;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 12.5px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* Alerts */
        .alert-success {
            background: rgba(34, 197, 94, 0.15);
            border: 1px solid #22c55e;
            color: #4ade80;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 13.5px;
        }
        .alert-error {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid #ef4444;
            color: #f87171;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 13.5px;
        }

        /* Filter & Action Bar */
        .action-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px 18px;
            margin-bottom: 24px;
        }
        .filter-group {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }
        .filter-btn {
            background: #1e293b;
            color: #cbd5e1;
            padding: 7px 14px;
            border-radius: 6px;
            font-size: 12.5px;
            font-weight: 700;
            border: 1px solid transparent;
            text-decoration: none;
            transition: all 0.2s;
        }
        .filter-btn:hover, .filter-btn.active {
            background: var(--accent-blue);
            color: #fff;
            border-color: var(--accent-cyan);
            text-decoration: none;
        }
        .btn-post-ad {
            background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
            color: #fff;
            padding: 9px 18px;
            border-radius: 8px;
            font-size: 13.5px;
            font-weight: 900;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
            cursor: pointer;
            border: none;
        }
        .btn-post-ad:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(34, 197, 94, 0.5);
            text-decoration: none;
        }

        /* Forum Layout */
        .forum-layout {
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 24px;
        }
        @media (max-width: 900px) {
            .forum-layout { grid-template-columns: 1fr; }
        }

        /* Post Card */
        .post-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 16px;
            transition: transform 0.2s, border-color 0.2s;
        }
        .post-card:hover {
            border-color: rgba(56, 189, 248, 0.4);
            transform: translateY(-2px);
        }
        .post-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            flex-wrap: wrap;
            gap: 8px;
        }
        .type-badge {
            font-size: 11.5px;
            font-weight: 900;
            padding: 3px 10px;
            border-radius: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .badge-is-verin {
            background: rgba(2, 132, 199, 0.18);
            border: 1px solid #0284c7;
            color: #38bdf8;
        }
        .badge-is-ariyorum {
            background: rgba(34, 197, 94, 0.18);
            border: 1px solid #22c55e;
            color: #4ade80;
        }
        .post-title {
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        .post-title a { color: #fff; }
        .post-title a:hover { color: var(--accent-cyan); }
        .post-meta {
            display: flex;
            gap: 14px;
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 12px;
            flex-wrap: wrap;
        }
        .post-tags {
            display: flex;
            gap: 6px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }
        .ptag {
            background: #1e293b;
            color: #94a3b8;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 4px;
            border: 1px solid #334155;
        }
        .post-desc-snippet {
            color: #cbd5e1;
            font-size: 13.5px;
            margin-bottom: 14px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .post-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #1e293b;
            padding-top: 12px;
            font-size: 12.5px;
        }

        /* Sidebar Widgets */
        .widget-box {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }
        .widget-title {
            font-size: 15px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 14px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Modal Popup Form */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(3, 7, 18, 0.85);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 16px;
            overflow-y: auto;
        }
        .modal-card {
            background: #0d1527;
            border: 1.5px solid var(--accent-cyan);
            border-radius: 12px;
            width: 100%;
            max-width: 680px;
            padding: 28px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.6);
            max-height: 90vh;
            overflow-y: auto;
        }
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
        }
        .modal-close {
            background: none;
            border: none;
            color: #94a3b8;
            font-size: 24px;
            cursor: pointer;
        }
        .modal-close:hover { color: #ef4444; }

        /* Form Inputs */
        .form-row {
            margin-bottom: 14px;
        }
        .form-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        @media (max-width: 600px) {
            .form-grid-2 { grid-template-columns: 1fr; }
        }
        .form-label {
            display: block;
            font-size: 12px;
            font-weight: 700;
            color: #cbd5e1;
            margin-bottom: 5px;
        }
        .form-input, .form-select, .form-textarea {
            width: 100%;
            background: #090e17;
            border: 1px solid #334155;
            color: #fff;
            padding: 9px 12px;
            border-radius: 6px;
            font-size: 13px;
            outline: none;
            transition: border-color 0.2s;
        }
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            border-color: var(--accent-cyan);
            box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
        }

        /* Single Post View */
        .single-post-view {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 28px;
            margin-bottom: 24px;
        }
        .single-desc {
            font-size: 15px;
            line-height: 1.8;
            color: #e2e8f0;
            white-space: pre-wrap;
            margin: 20px 0;
            padding: 16px;
            background: #090e17;
            border-radius: 8px;
            border: 1px solid #1e293b;
        }
        .contact-box {
            background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(34, 197, 94, 0.15));
            border: 1.5px solid #0284c7;
            border-radius: 10px;
            padding: 18px;
            margin: 20px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 14px;
        }
        .reply-item {
            background: #090e17;
            border: 1px solid #1e293b;
            border-radius: 8px;
            padding: 14px;
            margin-bottom: 12px;
        }