/* ========== INFO MODAL ========== */
        .info-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75); backdrop-filter: blur(12px); z-index: 9990;
            justify-content: center; align-items: flex-start; padding: 40px 20px; overflow-y: auto;
        }
        .info-overlay.active { display: flex; }
        .info-modal {
            background: var(--primary); border: 1px solid var(--border); border-radius: var(--radius-lg);
            width: 100%; max-width: 760px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); margin: auto;
        }
        .info-modal-header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 24px 30px; border-bottom: 1px solid var(--border);
        }
        .info-modal-header h2 {
            font-family: "Montserrat", sans-serif; font-size: 20px; font-weight: 800;
            display: flex; align-items: center; gap: 10px;
        }
        .info-modal-body { padding: 30px; color: var(--text); line-height: 1.8; font-size: 15px; }
        .info-modal-body h3 {
            font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 700;
            color: var(--accent); margin: 24px 0 10px; display: flex; align-items: center; gap: 8px;
        }
        .info-modal-body h3:first-child { margin-top: 0; }
        .info-modal-body p { color: var(--text-muted); margin-bottom: 12px; }
        .info-modal-body .highlight-box {
            background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 20px; margin: 16px 0;
        }
        .info-modal-body .contact-grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px;
        }
        .info-modal-body .contact-card {
            background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 18px; display: flex; align-items: flex-start; gap: 14px;
        }
        .info-modal-body .contact-card i {
            font-size: 22px; color: var(--accent); margin-top: 2px; flex-shrink: 0;
        }
        .info-modal-body .contact-card h4 { font-family: "Montserrat",sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
        .info-modal-body .contact-card p { font-size: 13px; margin: 0; color: var(--text-muted); }
        .info-modal-body .contact-card a { color: var(--accent); text-decoration: none; font-size: 13px; }
        .info-modal-body .ads-package {
            background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 20px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center;
        }
        .info-modal-body .ads-package h4 { font-family: "Montserrat",sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
        .info-modal-body .ads-package p { font-size: 13px; color: var(--text-muted); margin: 0; }
        .info-modal-body .ads-package .price {
            font-family: "Montserrat",sans-serif; font-size: 20px; font-weight: 900;
            color: var(--accent); white-space: nowrap; margin-left: 20px;
        }
        .info-modal-body .team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
        .info-modal-body .team-card {
            background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 20px; text-align: center;
        }
        .info-modal-body .team-card .avatar {
            width: 56px; height: 56px; border-radius: 50%; background: var(--gradient-1);
            display: flex; align-items: center; justify-content: center;
            font-size: 22px; margin: 0 auto 12px; color: white;
        }
        .info-modal-body .team-card h4 { font-family: "Montserrat",sans-serif; font-size: 13px; font-weight: 700; }
        .info-modal-body .team-card p { font-size: 11px; color: var(--accent); margin: 4px 0 0; }
        @media (max-width: 600px) {
            .info-modal-body .contact-grid { grid-template-columns: 1fr; }
            .info-modal-body .team-grid { grid-template-columns: repeat(2, 1fr); }
            .info-modal-body .ads-package { flex-direction: column; align-items: flex-start; gap: 8px; }
            .info-modal-body .ads-package .price { margin-left: 0; }
        }
        :root {
            --primary: #0A1628;
            --primary-light: #132038;
            --accent: #00D4FF;
            --accent-2: #FF3D71;
            --accent-3: #FFB800;
            --text: #E8EDF5;
            --text-muted: #8892A4;
            --surface: #0F1D32;
            --surface-2: #162440;
            --surface-3: #1A2B4A;
            --border: rgba(0, 212, 255, 0.12);
            --gradient-1: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
            --gradient-2: linear-gradient(135deg, #FF3D71 0%, #FF9500 100%);
            --gradient-3: linear-gradient(135deg, #7B61FF 0%, #00D4FF 100%);
            --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
            --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
            --radius: 12px;
            --radius-lg: 20px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Noto Sans', sans-serif;
            background: var(--primary);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }

        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--primary); }
        ::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--accent); }

        /* ========== TOP BAR ========== */
        .top-bar {
            background: rgba(10, 22, 40, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            padding: 8px 0;
            font-size: 13px;
            color: var(--text-muted);
        }
        .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
        .top-bar .date-info { display: flex; align-items: center; gap: 6px; }
        .top-bar .date-info i { color: var(--accent); }
        .top-bar .social-links { display: flex; gap: 12px; }
        .top-bar .social-links a { color: var(--text-muted); transition: color 0.3s; font-size: 14px; text-decoration: none; }
        .top-bar .social-links a:hover { color: var(--accent); }

        /* ========== HEADER ========== */
        header {
            background: var(--primary);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
            transition: box-shadow 0.3s;
        }
        header.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
        .header-main { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

        .logo { display: flex; align-items: center; gap: 14px; text-decoration: none; cursor: pointer; }

        .logo-icon {
            width: 48px; height: 48px;
            border-radius: 12px;
            overflow: hidden;
            flex-shrink: 0;
            position: relative;
        }
        .logo-icon::after {
            content: '';
            position: absolute; inset: 0;
            border-radius: 12px;
            border: 1.5px solid rgba(0, 212, 255, 0);
            transition: border-color 0.4s, box-shadow 0.4s;
        }
        .logo:hover .logo-icon::after {
            border-color: var(--accent);
            box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
        }
        .logo-icon img {
            width: 100%; height: 100%;
            object-fit: cover;
            border-radius: 12px;
            transition: transform 0.4s;
        }
        .logo:hover .logo-icon img { transform: scale(1.08); }

        /* Логотип мәтін блогы */
        .logo-text-wrap { display: flex; flex-direction: column; gap: 4px; }

        .logo-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 26px;
            font-weight: 900;
            letter-spacing: -0.5px;
            line-height: 1;
            display: flex;
            align-items: center;
            gap: 0;
        }
        .logo-text .it {
            color: var(--accent);
            font-weight: 900;
            position: relative;
        }
        .logo-text .it::before {
            content: '';
            position: absolute;
            bottom: -2px; left: 0; right: 0;
            height: 2px;
            background: var(--gradient-1);
            border-radius: 2px;
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.35s ease;
        }
        .logo:hover .logo-text .it::before { transform: scaleX(1); }
        .logo-text .ak { color: var(--text); font-weight: 900; }

        /* Субтитр — tech индикатор стилі */
        .logo-subtitle {
            display: flex;
            align-items: center;
            gap: 6px;
            font-family: 'Montserrat', sans-serif;
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--text-muted);
            font-weight: 600;
        }
        .logo-subtitle .dot {
            width: 5px; height: 5px;
            border-radius: 50%;
            background: var(--accent);
            animation: logoPulse 2s ease-in-out infinite;
            flex-shrink: 0;
        }
        @keyframes logoPulse {
            0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
            50%       { opacity: 0.6; transform: scale(0.8); box-shadow: 0 0 0 4px rgba(0,212,255,0); }
        }
        /* Scan line анимациясы логотип иконкасында */
        
        @keyframes scanLine {
            0%   { top: -2px; opacity: 0; }
            10%  { opacity: 1; }
            90%  { opacity: 1; }
            100% { top: 100%; opacity: 0; }
        }

        nav { background: var(--surface); border-bottom: 1px solid var(--border); }
        .nav-links { display: flex; list-style: none; overflow-x: auto; }
        .nav-links li a {
            display: block; padding: 14px 20px; color: var(--text-muted); text-decoration: none;
            font-weight: 600; font-size: 14px; transition: all 0.3s; white-space: nowrap;
            position: relative; font-family: 'Montserrat', sans-serif;
        }
        .nav-links li a:hover, .nav-links li a.active { color: var(--accent); background: rgba(0, 212, 255, 0.05); }
        .nav-links li a.active::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
            background: var(--gradient-1); border-radius: 3px 3px 0 0;
        }

        .search-box {
            display: flex; align-items: center; background: var(--surface);
            border: 1px solid var(--border); border-radius: 50px; padding: 8px 16px; gap: 8px; min-width: 280px;
        }
        .search-box input { background: none; border: none; color: var(--text); font-size: 14px; outline: none; width: 100%; }
        .search-box input::placeholder { color: var(--text-muted); }
        .search-box i { color: var(--accent); }

        .admin-btn {
            background: var(--gradient-2); color: white; border: none; padding: 10px 20px;
            border-radius: 50px; font-weight: 700; font-size: 13px; cursor: pointer;
            font-family: 'Montserrat', sans-serif; transition: all 0.3s;
            display: flex; align-items: center; gap: 6px;
        }
        .admin-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 61, 113, 0.3); }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

        /* ========== TICKER ========== */
        .ticker { background: var(--accent-2); padding: 10px 0; overflow: hidden; position: relative; }
        .ticker-label {
            position: absolute; left: 0; top: 0; bottom: 0; background: #CC0033; color: white;
            font-weight: 800; font-family: 'Montserrat', sans-serif; font-size: 12px;
            padding: 0 20px; display: flex; align-items: center; gap: 6px; z-index: 2;
            text-transform: uppercase; letter-spacing: 1px;
        }
        .ticker-label i { animation: pulse 1s infinite; }
        @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
        .ticker-content { display: flex; animation: scroll-ticker 15s linear infinite; padding-left: 180px; }
        .ticker-content span { white-space: nowrap; padding: 0 40px; font-weight: 600; font-size: 13px; color: white; }
        @keyframes scroll-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

        /* ========== HERO ========== */
        .hero-section { padding: 30px 0; }
        .hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; min-height: 480px; }
        .hero-main {
            position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform 0.3s;
        }
        .hero-main:hover { transform: scale(1.01); }
        .hero-main img { width: 100%; height: 100%; object-fit: cover; }
        .hero-main .hero-overlay {
            position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 30px 30px;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
        }
        .category-badge {
            display: inline-block; padding: 5px 14px; border-radius: 50px; font-size: 11px;
            font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
            font-family: 'Montserrat', sans-serif;
        }
        .badge-tech { background: var(--gradient-1); color: white; }
        .badge-ai { background: var(--gradient-3); color: white; }
        .badge-startup { background: var(--gradient-2); color: white; }
        .badge-cyber { background: linear-gradient(135deg, #00E676, #00B0FF); color: #000; }
        .badge-mobile { background: linear-gradient(135deg, #FFB800, #FF6D00); color: #000; }
        .badge-gaming { background: linear-gradient(135deg, #E040FB, #7C4DFF); color: white; }
        .hero-main h2 { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 800; line-height: 1.3; color: white; margin-bottom: 10px; }
        .meta { color: rgba(255,255,255,0.6); font-size: 13px; display: flex; align-items: center; gap: 12px; }
        .meta i { font-size: 12px; }

        .hero-sidebar { display: flex; flex-direction: column; gap: 20px; }
        .hero-side-card { flex: 1; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.3s; }
        .hero-side-card:hover { transform: scale(1.02); }
        .hero-side-card img { width: 100%; height: 100%; object-fit: cover; }
        .hero-side-card .hero-overlay {
            position: absolute; bottom: 0; left: 0; right: 0; padding: 20px;
            background: linear-gradient(transparent, rgba(0,0,0,0.85));
        }
        .hero-side-card h3 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: white; line-height: 1.4; }

        /* ========== MAIN CONTENT ========== */
        .main-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; padding: 40px 0; }
        .section-header {
            display: flex; align-items: center; justify-content: space-between;
            margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--border);
        }
        .section-header h2 {
            font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800;
            display: flex; align-items: center; gap: 10px;
        }
        .section-header h2 .bar { width: 4px; height: 28px; background: var(--gradient-1); border-radius: 2px; }
        .section-header a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 14px; }

        .news-card {
            display: flex; gap: 20px; padding: 20px; background: var(--surface);
            border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 16px;
            cursor: pointer; transition: all 0.3s;
        }
        .news-card:hover { border-color: rgba(0, 212, 255, 0.3); transform: translateX(4px); box-shadow: var(--shadow-glow); }
        .news-card-img { width: 220px; min-height: 150px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
        .news-card-img img { width: 100%; height: 100%; object-fit: cover; }
        .news-card-content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
        .news-card-content h3 { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; transition: color 0.3s; }
        .news-card:hover .news-card-content h3 { color: var(--accent); }
        .news-card-content p { color: var(--text-muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .news-card-meta { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 12px; color: var(--text-muted); }
        .news-card-meta span { display: flex; align-items: center; gap: 5px; }
        .news-card-meta i { color: var(--accent); font-size: 11px; }

        /* ========== EMPTY STATE ========== */
        .empty-state {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            padding: 80px 40px; text-align: center; color: var(--text-muted);
            background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius-lg);
        }
        .empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; color: var(--accent); }
        .empty-state h3 { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
        .empty-state p { font-size: 14px; line-height: 1.6; max-width: 320px; }

        /* ========== SIDEBAR ========== */
        .sidebar-widget {
            background: var(--surface); border: 1px solid var(--border);
            border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
        }
        .sidebar-widget h3 {
            font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 800;
            margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
        }
        .sidebar-widget h3 i { color: var(--accent); }

        .trending-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.3s; }
        .trending-item:last-child { border-bottom: none; }
        .trending-item:hover { padding-left: 8px; }
        .trending-num { font-family: 'Montserrat', sans-serif; font-size: 28px; font-weight: 900; color: var(--surface-3); line-height: 1; min-width: 36px; }
        .trending-item:hover .trending-num { color: var(--accent); }
        .trending-text h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
        .trending-text .meta { font-size: 11px; color: var(--text-muted); }

        .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag {
            padding: 6px 14px; background: var(--surface-2); border: 1px solid var(--border);
            border-radius: 50px; font-size: 12px; color: var(--text-muted); cursor: pointer;
            transition: all 0.3s; font-weight: 500;
        }
        .tag:hover { background: rgba(0, 212, 255, 0.1); color: var(--accent); border-color: var(--accent); }
        .tag.active { background: rgba(0, 212, 255, 0.15); color: var(--accent); border-color: var(--accent); font-weight: 700; }
        /* ========== AUTO NEWS ========== */
        .auto-news-section { padding: 50px 0; border-top: 2px solid var(--border); }
        .auto-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .auto-news-card {
            background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
            overflow: hidden; cursor: pointer; transition: all 0.3s;
        }
        .auto-news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(0, 212, 255, 0.3); }
        .auto-news-card img { width: 100%; height: 160px; object-fit: cover; }
        .auto-news-card .card-body { padding: 16px; }
        .auto-news-card .card-body .category-badge { font-size: 10px; padding: 3px 10px; margin-bottom: 8px; }
        .auto-news-card h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
        .auto-news-card:hover h4 { color: var(--accent); }

        .load-more-btn {
            display: block; margin: 30px auto 0; padding: 14px 40px; background: var(--surface-2);
            border: 2px solid var(--border); color: var(--accent); border-radius: 50px;
            font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.3s;
        }
        .load-more-btn:hover { background: rgba(0, 212, 255, 0.1); border-color: var(--accent); }

        .category-filters { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
        .cat-filter-btn {
            padding: 8px 18px; border-radius: 50px; border: 1px solid var(--border); background: var(--surface);
            color: var(--text-muted); font-size: 13px; font-weight: 600; cursor: pointer;
            transition: all 0.3s; font-family: 'Montserrat', sans-serif;
        }
        .cat-filter-btn:hover, .cat-filter-btn.active { background: rgba(0, 212, 255, 0.1); color: var(--accent); border-color: var(--accent); }

        /* ========== ARTICLE PAGE ========== */
        .article-page { display: none; padding: 40px 0 60px; }
        .article-page.active { display: block; }
        .article-hero-img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 30px; }
        .article-content { max-width: 800px; margin: 0 auto; }
        .article-content h1 { font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
        .article-meta {
            display: flex; align-items: center; gap: 20px; color: var(--text-muted); font-size: 14px;
            margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
        }
        .article-meta span { display: flex; align-items: center; gap: 6px; }
        .article-meta i { color: var(--accent); }
        .article-body { font-size: 16px; line-height: 1.9; color: var(--text); }
        .article-body p { margin-bottom: 20px; }
        .back-btn {
            display: inline-flex; align-items: center; gap: 8px; color: var(--accent);
            text-decoration: none; font-weight: 600; margin-bottom: 24px; cursor: pointer;
            font-size: 14px; transition: gap 0.3s;
        }
        .back-btn:hover { gap: 12px; }

        /* Share Buttons */
        .share-section { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
        .share-section h4 { font-family: 'Montserrat', sans-serif; margin-bottom: 14px; font-size: 15px; }
        .share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
        .share-btn {
            display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px;
            border: none; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.3s;
            text-decoration: none; color: white; font-family: 'Montserrat', sans-serif;
        }
        .share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
        .share-telegram { background: #0088cc; }
        .share-whatsapp { background: #25d366; }
        .share-twitter { background: #000000; }
        .share-facebook { background: #1877F2; }
       
        .share-copy { background: var(--surface-3); color: var(--text); border: 1px solid var(--border); }

        /* Related News */
        .related-section { margin-top: 50px; }
        .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        .related-card {
            background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
            overflow: hidden; cursor: pointer; transition: all 0.3s;
        }
        .related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
        .related-card img { width: 100%; height: 140px; object-fit: cover; }
        .related-card .rc-body { padding: 14px; }
        .related-card h5 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; line-height: 1.4; }
        .related-card:hover h5 { color: var(--accent); }

        /* ========== BREADCRUMB ========== */
        .breadcrumb {
            display: flex; align-items: center; gap: 8px; font-size: 13px;
            color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap;
        }
        .breadcrumb a { color: var(--accent); text-decoration: none; }
        .breadcrumb a:hover { text-decoration: underline; }
        .breadcrumb span { color: var(--text-muted); }

        /* ========== FOOTER ========== */
        footer {
            background: var(--surface); border-top: 1px solid var(--border); padding: 50px 0 20px; margin-top: 40px;
        }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-about p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 16px 0; }
        .footer-social { display: flex; gap: 10px; }
        .footer-social a {
            width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
            background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%;
            color: var(--text-muted); transition: all 0.3s; text-decoration: none;
        }
        .footer-social a:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }
        footer h4 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
        footer ul { list-style: none; }
        footer ul li { margin-bottom: 10px; }
        footer ul li a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.3s; }
        footer ul li a:hover { color: var(--accent); }
        .footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

        /* ========== ADMIN PANEL ========== */
        .admin-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); z-index: 9999;
            justify-content: center; align-items: flex-start; padding: 40px 20px; overflow-y: auto;
        }
        .admin-overlay.active { display: flex; }
        .admin-panel {
            background: var(--primary); border: 1px solid var(--border); border-radius: var(--radius-lg);
            width: 100%; max-width: 900px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .admin-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 30px; border-bottom: 1px solid var(--border); }
        .admin-header h2 { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
        .admin-header h2 i { color: var(--accent); }
        .admin-close {
            width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
            background: var(--surface); color: var(--text-muted); cursor: pointer;
            display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.3s;
        }
        .admin-close:hover { border-color: var(--accent-2); color: var(--accent-2); }

        .admin-login { padding: 60px 30px; text-align: center; }
        .admin-login h3 { font-family: 'Montserrat', sans-serif; font-size: 24px; margin-bottom: 8px; }
        .admin-login p { color: var(--text-muted); margin-bottom: 30px; }
        .login-form { max-width: 360px; margin: 0 auto; }
        .form-group { margin-bottom: 16px; text-align: left; }
        .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
        .form-group input, .form-group textarea, .form-group select {
            width: 100%; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border);
            border-radius: 8px; color: var(--text); font-size: 14px; outline: none;
            transition: border-color 0.3s; font-family: 'Noto Sans', sans-serif;
        }
        .form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
        .form-group textarea { min-height: 150px; resize: vertical; }
        .btn-primary {
            width: 100%; padding: 14px; background: var(--gradient-1); border: none; border-radius: 8px;
            color: white; font-weight: 700; font-size: 15px; cursor: pointer;
            font-family: 'Montserrat', sans-serif; transition: all 0.3s;
        }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3); }

        .admin-dashboard { display: none; }
        .admin-dashboard.active { display: block; }
        .admin-tabs { display: flex; border-bottom: 1px solid var(--border); }
        .admin-tab {
            padding: 16px 24px; font-weight: 600; font-size: 14px; color: var(--text-muted);
            cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s;
            font-family: 'Montserrat', sans-serif; background: none; border-top: none; border-left: none; border-right: none;
        }
        .admin-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
        .admin-tab:hover { color: var(--text); }

        .admin-tab-content { padding: 30px; }
        .admin-tab-panel { display: none; }
        .admin-tab-panel.active { display: block; }

        .admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
        .stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; }
        .stat-card .stat-num { font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 900; color: var(--accent); }
        .stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

        .news-list-admin { max-height: 400px; overflow-y: auto; }
        .admin-news-item {
            display: flex; justify-content: space-between; align-items: center; padding: 14px 16px;
            background: var(--surface); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px;
        }
        .admin-news-item h4 { font-size: 14px; font-weight: 600; flex: 1; margin-right: 16px; }
        .admin-news-item .actions { display: flex; gap: 8px; }
        .admin-news-item .actions button {
            padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border);
            background: var(--surface-2); color: var(--text-muted); cursor: pointer; font-size: 12px; transition: all 0.3s;
        }
        .admin-news-item .actions .edit-btn:hover { border-color: var(--accent); color: var(--accent); }
        .admin-news-item .actions .delete-btn:hover { border-color: var(--accent-2); color: var(--accent-2); }

        .notification {
            position: fixed; bottom: 30px; right: 30px; padding: 16px 24px; border-radius: var(--radius);
            color: white; font-weight: 600; font-size: 14px; z-index: 99999;
            transform: translateY(100px); opacity: 0; transition: all 0.4s;
        }
        .notification.show { transform: translateY(0); opacity: 1; }
        .notification.success { background: #00C853; }
        .notification.error { background: var(--accent-2); }

        .mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

        .page-home { display: block; }
        .page-home.hidden { display: none; }
        .page-category { display: none; padding: 40px 0; }
        .page-category.active { display: block; }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; }
            .hero-sidebar { flex-direction: row; }
            .main-content { grid-template-columns: 1fr; }
            .auto-news-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
            .related-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {

            /* ── HEADER ── */
            .top-bar { display: none; }
            .header-main { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
            .logo-text { font-size: 20px !important; }
            .logo-subtitle { font-size: 7px !important; letter-spacing: 2px !important; }
            .logo-icon { width: 36px !important; height: 36px !important; }
            .mobile-toggle { display: block; }
            .search-box { order: 3; width: 100%; min-width: 0; }
            nav { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
            nav.mobile-open { max-height: 600px; }
            nav .nav-links { flex-direction: column; }
            nav .nav-links li a { padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: 15px; display: flex; align-items: center; gap: 10px; }
            nav.mobile-open .nav-links li a {
                padding: 12px 0; border-bottom: 1px solid var(--border);
                display: block; font-size: 14px;
            }

            /* ── TICKER ── */
            .ticker-content { padding-left: 120px; }
            .ticker-label { font-size: 10px; padding: 0 10px; }

            /* ── HERO ── */
            .hero-grid { grid-template-columns: 1fr; }
            .hero-sidebar { flex-direction: column; }
            .hero-main { min-height: 220px; }
            .hero-main h2 { font-size: 17px; }
            .hero-side-card { min-height: 160px; }
            .hero-side-card h3 { font-size: 13px; }

            /* ── MAIN CONTENT ── */
            .main-content { grid-template-columns: 1fr; }
            .sidebar { display: none; }  /* Sidebar телефонда жасырылады */

            /* ── NEWS CARDS ── */
            .news-card { flex-direction: column; }
            .news-card-img { width: 100%; min-height: 180px; }
            .news-card-content h3 { font-size: 15px; }
            .news-card-content p { -webkit-line-clamp: 2; }

            /* ── CATEGORY FILTER ── */
            .cat-filter { overflow-x: auto; padding-bottom: 8px; flex-wrap: nowrap; }
            .cat-filter-btn { white-space: nowrap; font-size: 12px; padding: 6px 12px; }

            /* ── AUTO NEWS ── */
            .auto-news-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
            .auto-news-card img { height: 120px; }
            .auto-news-card .card-body { padding: 10px; }
            .auto-news-card h4 { font-size: 12px; }

            /* ── ARTICLE PAGE ── */
            .article-content { padding: 0 4px; }
            .article-content h1 { font-size: 21px; }
            .article-hero-img { border-radius: 8px; }
            .article-meta { flex-wrap: wrap; gap: 8px; font-size: 12px; }
            .share-buttons { flex-direction: column; }
            .share-btn { justify-content: center; }
            .related-grid { grid-template-columns: 1fr; }
            .breadcrumb { font-size: 12px; }

            /* ── TAGS ── */
            .tag-cloud { gap: 6px; }
            .tag { font-size: 11px; padding: 5px 10px; }

            /* ── ADMIN PANEL ── */
            .admin-overlay { padding: 0; align-items: flex-start; }
            .admin-panel {
                border-radius: 0;
                min-height: 100vh;
                max-width: 100%;
            }
            .admin-header { padding: 16px; }
            .admin-header h2 { font-size: 16px; }
            .admin-tabs { overflow-x: auto; }
            .admin-tab { font-size: 11px; padding: 10px 12px; white-space: nowrap; }
            .admin-tab-content { padding: 16px; }
            .admin-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
            .admin-stats .stat-card { padding: 12px; }
            .admin-stats .stat-card h3 { font-size: 22px; }
            .admin-news-item { flex-direction: column; gap: 10px; align-items: flex-start; }
            .form-group input, .form-group textarea, .form-group select { font-size: 16px; } /* zoom алдын алу */

            /* ── INFO MODALS ── */
            .info-overlay { padding: 0; align-items: flex-start; }
            .info-modal { border-radius: 0; min-height: 100vh; }
            .info-modal-header { padding: 16px; }
            .info-modal-body { padding: 16px; }
            .info-modal-body .contact-grid { grid-template-columns: 1fr; }
            .info-modal-body .team-grid { grid-template-columns: repeat(2, 1fr); }
            .info-modal-body .ads-package { flex-direction: column; gap: 6px; }
            .info-modal-body .ads-package .price { margin-left: 0; font-size: 18px; }

            /* ── FOOTER ── */
            .footer-grid { grid-template-columns: 1fr; gap: 24px; }
            footer h4 { margin-bottom: 12px; }
            .footer-bottom { font-size: 12px; }

            /* ── SECTION HEADERS ── */
            .section-header h2 { font-size: 18px; }
        }

        /* ── Өте кішкентай телефондар (390px және төмен) ── */
        @media (max-width: 390px) {
            .logo-text { font-size: 17px !important; }
            .hero-main h2 { font-size: 15px; }
            .auto-news-grid { grid-template-columns: 1fr; }
            .article-content h1 { font-size: 18px; }
        }

        /* ========== AD BANNERS ==========
         .ad-banner {
            background: var(--surface);
            border: 1px dashed rgba(0, 212, 255, 0.2);
            border-radius: var(--radius);
            padding: 0;
            text-align: center;
            overflow: hidden;
            position: relative;
        }
        .ad-banner img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
        .ad-banner a { display: block; }
        .ad-banner-placeholder {
            padding: 30px 20px;
            color: var(--text-muted);
            font-size: 12px;
            font-family: 'Montserrat', sans-serif;
        }
        .ad-banner-placeholder i { display: block; font-size: 24px; margin-bottom: 8px; opacity: 0.3; }
        .ad-label {
            position: absolute; top: 6px; right: 8px; font-size: 9px;
            color: var(--text-muted); opacity: 0.5; font-family: 'Montserrat', sans-serif;
            letter-spacing: 1px; text-transform: uppercase;
        } 
            */


        /* ========== RICH TEXT EDITOR ========== */
        .rte-wrapper {
            border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
            transition: border-color 0.3s;
        }
        .rte-wrapper:focus-within { border-color: var(--accent); }
        .rte-toolbar {
            display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
            padding: 8px 10px; background: var(--surface-2);
            border-bottom: 1px solid var(--border);
        }
        .rte-btn {
            background: var(--surface-3); border: 1px solid var(--border);
            color: var(--text); padding: 5px 10px; border-radius: 6px;
            cursor: pointer; font-size: 13px; font-family: inherit;
            transition: all 0.2s; min-width: 32px; display: flex; align-items: center; gap: 4px;
        }
        .rte-btn:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }
        .rte-sep { width: 1px; height: 22px; background: var(--border); margin: 0 4px; }
        .rte-editor {
            min-height: 200px; padding: 14px 16px; background: var(--surface);
            color: var(--text); font-size: 15px; line-height: 1.8;
            outline: none; font-family: 'Noto Sans', sans-serif;
        }
        .rte-editor:empty:before {
            content: attr(data-placeholder); color: var(--text-muted); pointer-events: none;
        }
        .rte-editor a { color: var(--accent); text-decoration: underline; }
        .rte-editor blockquote {
            border-left: 3px solid var(--accent); margin: 12px 0; padding: 8px 16px;
            background: var(--surface-2); border-radius: 0 6px 6px 0; color: var(--text-muted);
        }
        .rte-editor pre, .rte-editor code {
            font-family: 'Courier New', monospace; background: var(--surface-3);
            border: 1px solid var(--border); border-radius: 4px; padding: 2px 6px; font-size: 13px;
        }
        .rte-editor pre { display: block; padding: 12px 14px; margin: 10px 0; overflow-x: auto; }
        .rte-link-modal {
            display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
            background: var(--primary); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 24px; z-index: 99999; width: 360px; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
        }
        .rte-link-modal.active { display: block; }
        .rte-link-modal h4 { font-family: 'Montserrat',sans-serif; margin-bottom: 14px; font-size: 15px; }
        .rte-link-modal input {
            width: 100%; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border);
            border-radius: 8px; color: var(--text); font-size: 14px; outline: none; margin-bottom: 10px;
        }
        .rte-link-modal input:focus { border-color: var(--accent); }
        .rte-link-modal .rte-modal-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; }
        .rte-link-modal .rte-modal-btns button {
            padding: 8px 18px; border-radius: 6px; border: 1px solid var(--border);
            background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 13px; transition: all 0.2s;
        }
        .rte-link-modal .rte-modal-btns .rte-confirm { background: var(--gradient-1); border: none; color: white; font-weight: 700; }
        .rte-link-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99998; }
        .rte-link-backdrop.active { display: block; }    

        /* ========== USER AUTH BUTTON ========== */
        .user-auth-btn {
            display: flex; align-items: center; gap: 8px; padding: 8px 16px;
            border-radius: 50px; border: 1px solid var(--border); background: var(--surface);
            color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer;
            transition: all 0.3s; font-family: 'Montserrat', sans-serif; white-space: nowrap;
        }
        .user-auth-btn:hover { border-color: var(--accent); color: var(--accent); }
        .user-auth-btn.logged-in { background: rgba(0,212,255,0.1); border-color: var(--accent); color: var(--accent); }
        .user-avatar {
            width: 28px; height: 28px; border-radius: 50%; background: var(--gradient-1);
            display: flex; align-items: center; justify-content: center; font-size: 12px;
            font-weight: 700; color: white; flex-shrink: 0;
        }
        .user-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,0,0,0.75); backdrop-filter: blur(12px); z-index: 9995;
            justify-content: center; align-items: center; padding: 20px;
        }
        .user-overlay.active { display: flex; }
        .user-modal {
            background: var(--primary); border: 1px solid var(--border); border-radius: var(--radius-lg);
            width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden;
        }
        .user-modal-header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 20px 24px; border-bottom: 1px solid var(--border);
        }
        .user-modal-header h3 { font-family: 'Montserrat',sans-serif; font-size: 18px; font-weight: 800; }
        .user-modal-body { padding: 24px; }
        .user-tabs { display: flex; margin-bottom: 24px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
        .user-tab {
            flex: 1; padding: 10px; text-align: center; font-size: 13px; font-weight: 700;
            cursor: pointer; background: var(--surface); color: var(--text-muted);
            transition: all 0.2s; font-family: 'Montserrat',sans-serif; border: none;
        }
        .user-tab.active { background: var(--gradient-1); color: white; }
        .user-tab-panel { display: none; }
        .user-tab-panel.active { display: block; }
        .user-profile-box { text-align: center; padding: 10px 0 20px; }
        .user-profile-box .big-avatar {
            width: 64px; height: 64px; border-radius: 50%; background: var(--gradient-1);
            display: flex; align-items: center; justify-content: center; font-size: 26px;
            font-weight: 700; color: white; margin: 0 auto 12px;
        }
        .user-profile-box h4 { font-family: 'Montserrat',sans-serif; font-size: 16px; font-weight: 700; }
        .user-profile-box p { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
        .btn-danger {
            width: 100%; padding: 12px; background: var(--gradient-2); border: none; border-radius: 8px;
            color: white; font-weight: 700; font-size: 14px; cursor: pointer;
            font-family: 'Montserrat', sans-serif; transition: all 0.3s; margin-top: 16px;
        }
        .like-btn {
            display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
            border-radius: 50px; border: 1px solid var(--border); background: var(--surface);
            color: var(--text-muted); font-size: 14px; font-weight: 600; cursor: pointer;
            transition: all 0.3s; font-family: 'Montserrat',sans-serif;
        }
        .like-btn:hover { border-color: #FF3D71; color: #FF3D71; }
        .like-btn.liked { background: rgba(255,61,113,0.12); border-color: #FF3D71; color: #FF3D71; }
        .like-btn i { font-size: 15px; transition: transform 0.2s; }
        .like-btn.liked i { transform: scale(1.2); }
        .comments-section { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
        .comments-section h4 { font-family: 'Montserrat',sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
        .comment-form { margin-bottom: 24px; }
        .comment-input {
            width: 100%; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border);
            border-radius: 8px; color: var(--text); font-size: 14px; outline: none;
            resize: vertical; min-height: 80px; font-family: 'Noto Sans',sans-serif; transition: border-color 0.3s;
        }
        .comment-input:focus { border-color: var(--accent); }
        .comment-submit {
            margin-top: 8px; padding: 10px 24px; background: var(--gradient-1); border: none;
            border-radius: 8px; color: white; font-weight: 700; font-size: 13px; cursor: pointer;
            font-family: 'Montserrat',sans-serif; transition: all 0.3s;
        }
        .comment-login-hint {
            padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
            text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 24px;
        }
        .comment-login-hint a { color: var(--accent); cursor: pointer; font-weight: 600; text-decoration: none; }
        .comment-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
        .comment-item:last-child { border-bottom: none; }
        .comment-avatar {
            width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-1);
            display: flex; align-items: center; justify-content: center; font-size: 14px;
            font-weight: 700; color: white; flex-shrink: 0;
        }
        .comment-content { flex: 1; }
        .comment-author { font-weight: 700; font-size: 13px; font-family: 'Montserrat',sans-serif; }
        .comment-date { font-size: 11px; color: var(--text-muted); margin-left: 8px; }
        .comment-text { font-size: 14px; color: var(--text-muted); margin-top: 6px; line-height: 1.6; }
        .comment-delete { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 12px; padding: 2px 6px; border-radius: 4px; transition: color 0.2s; }
        .comment-delete:hover { color: var(--accent-2); }
        .no-comments { text-align: center; padding: 30px; color: var(--text-muted); font-size: 14px; }
        .contact-form-section {
            background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 24px; margin-top: 30px;
        }
        .contact-form-section h4 { font-family: 'Montserrat',sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
        .contact-form-section textarea {
            width: 100%; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border);
            border-radius: 8px; color: var(--text); font-size: 13px; resize: vertical; min-height: 80px;
            outline: none; font-family: 'Noto Sans',sans-serif; transition: border-color 0.3s; margin-bottom: 10px;
        }
        .contact-form-section textarea:focus { border-color: var(--accent); }
        .contact-form-section button {
            padding: 10px 24px; background: var(--gradient-1); border: none; border-radius: 8px;
            color: white; font-weight: 700; font-size: 13px; cursor: pointer;
            font-family: 'Montserrat',sans-serif; transition: all 0.3s;
        }
        .message-item {
            background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
            padding: 16px; margin-bottom: 10px;
        }
        .message-item .msg-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 12px; }
        .message-item .msg-text { font-size: 14px; line-height: 1.6; }
        .message-item.unread { border-color: var(--accent); background: rgba(0,212,255,0.05); }
        .message-item .msg-new { font-size: 10px; background: var(--accent); color: var(--primary); padding: 2px 8px; border-radius: 50px; font-weight: 700; }

        .news-card-img img[src=""],
        .news-card-img img:not([src]),
        .news-card-img img {
            background: var(--surface-2);
        }
        .news-card-img img.error {
            display: none;
        }
        .news-card-img::after {
            content: '\f03e';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 32px;
            color: var(--text-muted);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0.3;
        }
        .news-card-img { position: relative; }