﻿/* === ПЕРЕМЕННЫЕ И ТЕМЫ === */
        :root {
            --bg-main: #111827;
            --bg-card: #1f2937;
            --bg-card-hover: #374151;
            --bg-header: #111827;
            --border-color: #374151;
            --text-main: #f3f4f6;
            --text-muted: #9ca3af;
            --accent-gold: #ffb703;
            --accent-purple: #9d4edd;
            --accent-blue: #3a86ef;
            --accent-green: #2ec4b6;
            --accent-red: #e63946;
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        }

        /* Светлая тема */
        body.theme-light {
            --bg-main: #f0f2f5;
            --bg-card: #ffffff;
            --bg-card-hover: #f8f9fa;
            --bg-header: #ffffff;
            --border-color: #e4e6eb;
            --text-main: #1c1e21;
            --text-muted: #65676b;
        }

        body.theme-light .logo-text, 
        body.theme-light .banner-title, 
        body.theme-light .news-item-title, 
        body.theme-light .stat-row span,
        body.theme-light .partners-title,
        body.theme-light .partner-info .p-name,
        body.theme-light .sec-title,
        body.theme-light .listing-title,
        body.theme-light .srv-box-title,
        body.theme-light .server-name {
            color: #1c1e21 !important;
        }

        /* Новогодняя тема */
        body.theme-newyear {
            --bg-main: #0a1118;
            --bg-card: #111d28;
            --bg-card-hover: #182837;
            --bg-header: #0d1721;
            --border-color: #1e3042;
            --text-main: #e1e6ed;
            --text-muted: #829ab1;
            --accent-gold: #56ccf2;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-main);
            font-family: var(--font-family);
            font-size: 13px;
            line-height: 1.5;
            background-image: 
                radial-gradient(circle at 50% 0%, rgba(255, 183, 3, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(58, 134, 239, 0.05) 0%, transparent 40%);
            background-attachment: fixed;
            transition: background-color 0.3s, color 0.3s;
            position: relative;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        /* СНЕГ И ГАРЛЯНДА */
        #snow-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            pointer-events: none;
            z-index: 9999;
            display: none;
        }

        body.theme-newyear #snow-canvas {
            display: block;
        }

        .ny-decor { display: none; }
        body.theme-newyear .ny-decor { display: inline-block; }

        .garland {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 6px;
            background: repeating-linear-gradient(90deg, #ff0000 0 10px, #00ff00 10px 20px, #ffff00 20px 30px, #00ffff 30px 40px);
            box-shadow: 0 0 10px #fff;
            z-index: 1001;
            animation: blink 1s infinite alternate;
        }

        body.theme-newyear .garland { display: block; }

        @keyframes blink {
            0% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* HEADER */
        header {
            background: var(--bg-header);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
            height: 60px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 18px;
            letter-spacing: 0.5px;
            color: var(--text-main);
            position: relative;
            flex-shrink: 0;
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--accent-gold), #e67e22);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #111;
            box-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
            position: relative;
        }

        .logo-text span { color: var(--accent-gold); }

        .logo-subtitle {
            font-size: 9px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            display: block;
            margin-top: -3px;
        }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: 2px;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px 10px;
            color: var(--text-muted);
            font-size: 10.5px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            border-radius: 6px;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .nav-item i {
            font-size: 14px;
            margin-bottom: 3px;
            color: #a0aec0;
        }

        .nav-item:hover, .nav-item.active {
            color: var(--text-main);
            background: rgba(255, 255, 255, 0.05);
        }

        .nav-item:hover i, .nav-item.active i { color: var(--accent-gold); }

        .header-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .theme-toggle-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            color: var(--accent-gold);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .theme-toggle-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-1px);
        }

        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            padding: 5px 10px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
            font-size: 12px;
        }

        .lang-switcher:hover {
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.08);
        }

        .flag-icon {
            width: 18px;
            height: 12px;
            border-radius: 2px;
            object-fit: cover;
        }

        .user-cabinet-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            background: rgba(255, 183, 3, 0.1);
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
        }

        .user-cabinet-btn:hover {
            background: var(--accent-gold);
            color: #111;
            box-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
            transform: translateY(-1px);
        }

        .mobile-toggle-btn {
            display: none;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            font-size: 16px;
            cursor: pointer;
            width: 34px;
            height: 34px;
            border-radius: 6px;
            align-items: center;
            justify-content: center;
        }

        .mobile-cabinet-btn {
            display: none;
            width: 100%;
            background: linear-gradient(135deg, var(--accent-gold), #e67e22);
            color: #111;
            font-weight: 800;
            padding: 12px;
            border-radius: 6px;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            text-transform: uppercase;
            margin-bottom: 15px;
            box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
        }

        /* MAIN CONTAINER */
        .main-container {
            max-width: 1280px;
            margin: 20px auto;
            padding: 0 16px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* БЕСКОНЕЧНЫЙ СЛАЙДЕР ПАРТНЕРОВ */
        .top-partners-bar {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .partners-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-main);
            white-space: nowrap;
            padding-right: 15px;
            border-right: 1px solid var(--border-color);
            z-index: 2;
        }

        .partners-title i { color: var(--accent-gold); }

        .partners-slider-container {
            overflow: hidden;
            width: 100%;
            display: flex;
            position: relative;
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
        }

        .partners-track {
            display: flex;
            align-items: center;
            gap: 15px;
            white-space: nowrap;
            animation: marquee 20s linear infinite;
            will-change: transform;
        }

        .partners-track:hover { animation-play-state: paused; }

        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .partner-item {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--border-color);
            padding: 8px 14px;
            border-radius: 6px;
            text-decoration: none;
            transition: all 0.2s;
            width: 200px;
            flex-shrink: 0;
        }

        .partner-item:hover {
            border-color: rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.06);
        }

        .partner-badge {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 11px;
            color: #fff;
            flex-shrink: 0;
        }

        .partner-badge.gs { background: linear-gradient(135deg, #2b5876, #4e4376); }
        .partner-badge.top { background: linear-gradient(135deg, #ff416c, #ff4b2b); }
        .partner-badge.boost { background: linear-gradient(135deg, #7F00FF, #E100FF); }
        .partner-badge.fine { background: linear-gradient(135deg, #11998e, #38ef7d); }

        .partner-info .p-name { font-weight: 700; font-size: 12px; color: var(--text-main); }
        .partner-info .p-desc { font-size: 10px; color: var(--text-muted); }

        /* БАННЕР */
        .banner-wrapper {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .banner-slider {
            position: relative;
            width: 100%;
            height: 150px;
            border-radius: 12px 12px 0 0;
            overflow: hidden;
            border: 1px solid rgba(255, 183, 3, 0.2);
            border-bottom: none;
        }

        .main-banner {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.5s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 35px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        }

        .main-banner.active {
            opacity: 1;
            visibility: visible;
        }

        .banner-1 {
            background: linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(31, 41, 55, 0.8) 50%, rgba(17, 24, 39, 0.95) 100%),
                        url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1200&q=80') center/cover;
        }

        .banner-2 {
            background: linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(55, 31, 41, 0.8) 50%, rgba(17, 24, 39, 0.95) 100%),
                        url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1200&q=80') center/cover;
        }

        .banner-content { z-index: 2; }

        .banner-tag {
            background: var(--accent-gold);
            color: #111;
            font-weight: 900;
            font-size: 10px;
            padding: 2px 8px;
            border-radius: 4px;
            text-transform: uppercase;
            display: inline-block;
            margin-bottom: 6px;
        }

        .banner-title {
            font-size: 22px;
            font-weight: 900;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.8);
        }

        .banner-title span { color: var(--accent-gold); }

        .banner-sub {
            font-size: 11px;
            color: #d1d5db;
            margin-top: 4px;
            display: flex;
            gap: 15px;
        }

        .banner-sub span i { color: var(--accent-gold); margin-right: 4px; }

        .banner-btn {
            background: linear-gradient(135deg, var(--accent-gold), #e67e22);
            color: #111;
            font-weight: 800;
            padding: 10px 22px;
            border-radius: 6px;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
            z-index: 2;
        }

        .banner-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(255, 183, 3, 0.6);
        }

        .banner-footer-bar {
            background: var(--bg-header);
            border: 1px solid rgba(255, 183, 3, 0.2);
            border-top: 1px solid var(--border-color);
            border-radius: 0 0 12px 12px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }

        .btn-sponsor-left {
            background: rgba(58, 134, 239, 0.1);
            border: 1px solid var(--accent-blue);
            color: var(--accent-blue);
            font-size: 11px;
            font-weight: 700;
            padding: 5px 14px;
            border-radius: 20px;
            white-space: nowrap;
            transition: all 0.2s;
        }

        .btn-sponsor-left:hover { background: var(--accent-blue); color: #fff; }

        .btn-add-banner-right {
            background: rgba(46, 196, 182, 0.1);
            border: 1px solid var(--accent-green);
            color: var(--accent-green);
            font-size: 11px;
            font-weight: 700;
            padding: 5px 14px;
            border-radius: 20px;
            white-space: nowrap;
            transition: all 0.2s;
        }

        .btn-add-banner-right:hover { background: var(--accent-green); color: #111; }

        .gradient-line-container {
            flex-grow: 1;
            height: 4px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 2px;
            overflow: hidden;
            position: relative;
        }

        .gradient-line-fill {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #9d4edd, #3a86ef, #2ec4b6);
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(58, 134, 239, 0.5);
            animation: fillGradient 5s linear infinite;
        }

        @keyframes fillGradient {
            0% { width: 0%; }
            100% { width: 100%; }
        }

        /* GRID LAYOUT */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 20px;
        }

        /* === РАЗДЕЛ "ЛИСТИНГ СЕРВЕРОВ" === */
        .listing-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .listing-title {
            font-size: 24px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .listing-subtitle {
            font-size: 12px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .listing-time-badge {
            background: rgba(46, 196, 182, 0.1);
            border: 1px solid var(--accent-green);
            color: var(--accent-green);
            font-weight: 700;
            font-size: 11px;
            padding: 6px 12px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* Карточки Листинга */
        .listing-cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

        .lst-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            transition: all 0.2s ease;
        }

        .lst-card:hover {
            border-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .lst-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .lst-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .lst-icon.green { background: rgba(46, 196, 182, 0.15); color: var(--accent-green); }
        .lst-icon.gold { background: rgba(255, 183, 3, 0.15); color: var(--accent-gold); }
        .lst-icon.purple { background: rgba(157, 78, 221, 0.15); color: var(--accent-purple); }
        .lst-icon.blue { background: rgba(58, 134, 239, 0.15); color: var(--accent-blue); }

        .lst-title {
            font-size: 13px;
            font-weight: 800;
            text-transform: uppercase;
            color: var(--text-main);
            line-height: 1.2;
        }

        .lst-sub {
            font-size: 10px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .lst-meta {
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .lst-row {
            display: flex;
            justify-content: space-between;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .lst-row span:first-child { color: var(--text-muted); }
        .lst-row span:last-child { color: var(--text-main); font-weight: 800; }

        .progress-bar-bg {
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 2px;
        }

        .progress-bar-fill {
            height: 100%;
            border-radius: 2px;
        }

        .progress-bar-fill.red { background: var(--accent-red); }
        .progress-bar-fill.green { background: var(--accent-green); }

        .lst-btn {
            margin-top: 14px;
            width: 100%;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            font-size: 11px;
            font-weight: 700;
            padding: 8px;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.2s;
        }

        .lst-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.3);
        }

        /* Разделы купленных серверов */
        .paid-services-wrapper {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .srv-category-box {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 18px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .srv-box-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 12px;
            margin-bottom: 12px;
        }

        .srv-box-title {
            font-size: 15px;
            font-weight: 800;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .srv-box-count {
            background: rgba(255, 183, 3, 0.15);
            color: var(--accent-gold);
            font-size: 11px;
            font-weight: 800;
            padding: 2px 8px;
            border-radius: 12px;
        }

        /* Список серверов */
        .servers-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .server-item-row {
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            transition: all 0.2s;
        }

        .server-item-row:hover {
            background: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .server-rank {
            font-weight: 900;
            font-size: 13px;
            color: var(--accent-gold);
            width: 25px;
            flex-shrink: 0;
        }

        .server-info-main {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .server-name {
            font-weight: 800;
            font-size: 12px;
            color: var(--text-main);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .server-ip-map {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 10.5px;
            color: var(--text-muted);
        }

        .server-ip-map span.ip {
            color: var(--accent-blue);
            font-family: monospace;
            font-weight: 600;
        }

        .server-paid-info {
            text-align: right;
            flex-shrink: 0;
        }

        .paid-until-label {
            font-size: 9px;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        .paid-until-date {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-main);
        }

        .server-online-badge {
            background: rgba(46, 196, 182, 0.1);
            color: var(--accent-green);
            border: 1px solid rgba(46, 196, 182, 0.3);
            font-weight: 800;
            font-size: 11px;
            padding: 4px 10px;
            border-radius: 6px;
            flex-shrink: 0;
        }

        .server-circles-badge {
            background: rgba(157, 78, 221, 0.15);
            color: var(--accent-purple);
            border: 1px solid rgba(157, 78, 221, 0.3);
            font-weight: 800;
            font-size: 11px;
            padding: 4px 10px;
            border-radius: 6px;
            flex-shrink: 0;
        }

        /* Выделение цветом для серверов */
        .colored-server-item {
            border: 1px solid rgba(255, 183, 3, 0.4);
            background: rgba(255, 183, 3, 0.05);
        }

        /* ПАГИНАЦИЯ */
        .pagination-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 15px;
            padding: 10px;
        }

        .page-link {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 6px;
            color: var(--text-main);
            font-weight: 700;
            font-size: 12px;
            transition: all 0.2s;
        }

        .page-link:hover, .page-link.active {
            background: var(--accent-gold);
            color: #111;
            border-color: var(--accent-gold);
        }

        .page-link.disabled {
            opacity: 0.4;
            pointer-events: none;
        }

        /* SPONSORS */
        .sponsors-section { margin-top: 10px; margin-bottom: 10px; }

        .sponsor-banner-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: border-color 0.2s;
        }

        .sponsor-banner-card:hover { border-color: rgba(255, 255, 255, 0.15); }

        .sponsor-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }

        .sponsor-logo-img {
            max-width: 100%;
            height: auto;
            max-height: 50px;
            display: block;
        }

        .sponsor-text {
            font-size: 20px;
            font-weight: 900;
            color: var(--text-main);
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        /* SIDEBAR COMPONENTS */
        .sidebar { display: flex; flex-direction: column; gap: 20px; }

        .sidebar-widget {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 16px;
        }

        .widget-title {
            font-size: 12px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--text-main);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 8px;
        }

        .sidebar-visual-banner {
            position: relative;
            min-height: 380px;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(0, 210, 255, 0.3);
            background: linear-gradient(135deg, #09121d 0%, #03080f 100%),
                        url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=600&q=80') center/cover;
            background-blend-mode: overlay;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 210, 255, 0.15);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .sidebar-visual-banner:hover {
            border-color: rgba(0, 210, 255, 0.6);
            box-shadow: 0 12px 40px rgba(0, 210, 255, 0.25);
        }

        .banner-glow {
            position: absolute;
            top: -50px; left: -50px;
            width: 150px; height: 150px;
            background: #00d2ff;
            filter: blur(80px);
            opacity: 0.4;
            pointer-events: none;
        }

        .banner-badge {
            align-self: center;
            background: rgba(0, 210, 255, 0.15);
            border: 1px solid #00d2ff;
            color: #00d2ff;
            font-size: 10px;
            font-weight: 800;
            padding: 4px 12px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
            backdrop-filter: blur(5px);
            box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
        }

        .banner-hero-icon {
            font-size: 48px;
            color: #00d2ff;
            margin: 15px 0;
            text-shadow: 0 0 20px rgba(0, 210, 255, 0.6);
            animation: pulseIcon 3s ease-in-out infinite alternate;
        }

        @keyframes pulseIcon {
            0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(0,210,255,0.4)); }
            100% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(0,210,255,0.8)); }
        }

        .banner-body { z-index: 2; margin-bottom: 10px; }

        .banner-main-title {
            font-size: 20px;
            font-weight: 900;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.2;
            margin-bottom: 8px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.9);
        }

        .banner-main-title span { color: #00d2ff; }
        .banner-desc { font-size: 11px; color: #a0aec0; line-height: 1.4; }

        .banner-action-btn {
            background: linear-gradient(135deg, #00d2ff, #3a86ef);
            color: #fff;
            font-weight: 800;
            padding: 12px;
            border-radius: 8px;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            z-index: 2;
        }

        .banner-action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
            color: #fff;
        }

        /* News Widget */
        .news-list { display: flex; flex-direction: column; gap: 12px; }
        .news-item { border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 10px; }
        .news-item:last-child { border-bottom: none; padding-bottom: 0; }
        .news-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
        .news-item-title { font-weight: 700; color: var(--text-main); font-size: 11px; }
        .news-date { font-size: 9px; color: var(--text-muted); }
        .news-desc { font-size: 10px; color: var(--text-muted); }

        /* Stats Widget */
        .stats-list { display: flex; flex-direction: column; gap: 8px; }
        .stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            font-size: 11px;
            border-bottom: 1px solid rgba(255,255,255,0.03);
        }
        .stat-row:last-child { border: none; }
        .stat-row label { color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
        .stat-row label i { color: var(--accent-gold); width: 14px; }
        .stat-row span { font-weight: 700; color: var(--text-main); }

        /* FOOTER */
        footer {
            background: var(--bg-header);
            border-top: 1px solid var(--border-color);
            margin-top: 40px;
            padding: 35px 0;
            font-size: 12px;
            color: var(--text-muted);
        }

        .footer-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .footer-links { display: flex; gap: 15px; flex-wrap: wrap; }
        .footer-links a {
            font-size: 11.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            color: var(--text-muted);
            transition: color 0.2s;
        }
        .footer-links a:hover { color: var(--accent-gold); }

        .social-links { display: flex; gap: 12px; }
        .social-icon {
            width: 38px;
            height: 38px;
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-main);
            font-size: 18px;
            transition: all 0.2s;
        }
        .social-icon:hover {
            background: var(--accent-gold);
            color: #111;
            border-color: var(--accent-gold);
            transform: translateY(-2px);
        }

        /* === АДАПТИВНОСТЬ (МОБИЛЬНАЯ ВЕРСИЯ) === */
        @media (max-width: 1100px) {
            .nav-item { padding: 8px 6px; font-size: 9.5px; }
            .listing-cards-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 992px) {
            .content-grid { grid-template-columns: 1fr; }
            .user-cabinet-btn, .lang-switcher { display: none; }
            .mobile-toggle-btn { display: flex; }

            .nav-menu {
                display: none;
                position: fixed;
                top: 60px; right: 0;
                width: 280px;
                height: calc(100vh - 60px);
                background: var(--bg-card);
                flex-direction: column;
                padding: 20px;
                border-left: 1px solid var(--border-color);
                box-shadow: -10px 0 20px rgba(0,0,0,0.5);
                z-index: 9999;
                overflow-y: auto;
            }

            .nav-menu.active { display: flex; }
            .mobile-cabinet-btn { display: flex; }

            .nav-item {
                width: 100%;
                padding: 12px 15px;
                flex-direction: row;
                justify-content: flex-start;
                gap: 12px;
                font-size: 12px;
                border-radius: 6px;
                margin-bottom: 4px;
            }

            .nav-item i { margin-bottom: 0; width: 20px; text-align: center; }

            .sidebar { margin-top: 15px; }

            .sidebar-visual-banner { min-height: 250px; }

            .footer-container {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

            .footer-links { justify-content: center; }
            .banner-slider { height: 180px; }
            .banner-title { font-size: 16px; }

            .main-banner {
                padding: 0 15px;
                flex-direction: column;
                justify-content: center;
                text-align: center;
                gap: 10px;
            }

            .banner-sub { justify-content: center; flex-wrap: wrap; }
        }

        @media (max-width: 640px) {
            .listing-cards-grid { grid-template-columns: 1fr; }
            .server-item-row { flex-direction: column; align-items: flex-start; gap: 8px; }
            .server-paid-info { text-align: left; }
            .server-rank { display: none; }
        }
