  /* ============================================
           БАЗОВЫЕ СТИЛИ
           ============================================ */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Roboto', sans-serif;
            background: #0a0a0a;
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            padding-top: 90px;
        }

        html { scroll-behavior: smooth; }

        :root {
            --cod-black: #0a0a0a;
            --cod-dark: #1a1a2e;
            --cod-gray: #2d2d3a;
            --cod-accent: #3fa9f5;
            --cod-accent-dark: #2d8cd6;
            --cod-accent-light: #63b7ff;
            --cod-white: #ffffff;
            --cod-red: #e74c3c;
            --cod-green: #2ecc71;
        }
        
        .comment-meta-block { flex: 1; min-width: 0; }

        .comment-delete-btn {
          margin-left: auto;
          background: transparent;
          border: 1px solid rgba(231, 76, 60, 0.2);
          color: rgba(231, 76, 60, 0.6);
          width: 32px;
          height: 32px;
          border-radius: 6px;
          cursor: pointer;
          transition: all 0.25s ease;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 0.85rem;
          flex-shrink: 0;
        }
          
        .comment-delete-btn:hover {
          background: rgba(231, 76, 60, 0.15);
          border-color: rgba(231, 76, 60, 0.5);
          color: #ff6b6b;
          transform: translateY(-1px);
        }
        
        .comment-delete-btn:disabled {
          opacity: 0.5;
          cursor: not-allowed;
          transform: none;
        }

        /* ============================================
           АНИМИРОВАННЫЙ ФОН
           ============================================ */
        .animated-bg {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            z-index: -3; overflow: hidden; background: #0a0a0a;
        }
        .bg-grid {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-image:
                linear-gradient(rgba(63, 169, 245, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(63, 169, 245, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            animation: gridPulse 8s ease-in-out infinite;
        }
        @keyframes gridPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }

        .particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
        .particle {
            position: absolute; border-radius: 50%;
            background: radial-gradient(circle, rgba(63, 169, 245, 0.4), transparent 70%);
            animation: floatParticle linear infinite; opacity: 0;
        }
        .particle:nth-child(1) { width: 150px; height: 150px; left: 10%; top: 20%; animation-duration: 25s; animation-delay: 0s; background: radial-gradient(circle, rgba(63, 169, 245, 0.2), transparent 70%); }
        .particle:nth-child(2) { width: 80px; height: 80px; left: 70%; top: 60%; animation-duration: 20s; animation-delay: 3s; background: radial-gradient(circle, rgba(63, 169, 245, 0.3), transparent 70%); }
        .particle:nth-child(3) { width: 200px; height: 200px; left: 50%; top: 30%; animation-duration: 30s; animation-delay: 5s; background: radial-gradient(circle, rgba(63, 169, 245, 0.15), transparent 70%); }
        .particle:nth-child(4) { width: 60px; height: 60px; left: 20%; top: 70%; animation-duration: 18s; animation-delay: 2s; background: radial-gradient(circle, rgba(63, 169, 245, 0.35), transparent 70%); }
        .particle:nth-child(5) { width: 120px; height: 120px; left: 85%; top: 15%; animation-duration: 22s; animation-delay: 7s; background: radial-gradient(circle, rgba(63, 169, 245, 0.2), transparent 70%); }
        .particle:nth-child(6) { width: 100px; height: 100px; left: 35%; top: 85%; animation-duration: 28s; animation-delay: 4s; background: radial-gradient(circle, rgba(63, 169, 245, 0.25), transparent 70%); }
        .particle:nth-child(7) { width: 180px; height: 180px; left: 5%; top: 50%; animation-duration: 26s; animation-delay: 6s; background: radial-gradient(circle, rgba(63, 169, 245, 0.12), transparent 70%); }
        .particle:nth-child(8) { width: 70px; height: 70px; left: 60%; top: 5%; animation-duration: 16s; animation-delay: 1s; background: radial-gradient(circle, rgba(63, 169, 245, 0.3), transparent 70%); }
        @keyframes floatParticle {
            0% { transform: translate(0, 0) scale(1); opacity: 0; }
            10% { opacity: 0.6; }
            90% { opacity: 0.6; }
            100% { transform: translate(100px, -200px) scale(1.5); opacity: 0; }
        }

        .tracers { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
        .tracer {
            position: absolute; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(63, 169, 245, 0.5), transparent);
            animation: tracerMove linear infinite; opacity: 0;
        }
        .tracer:nth-child(1) { width: 300px; top: 15%; left: -300px; animation-duration: 8s; animation-delay: 0s; }
        .tracer:nth-child(2) { width: 250px; top: 35%; left: -250px; animation-duration: 10s; animation-delay: 2s; height: 2px; background: linear-gradient(90deg, transparent, rgba(63, 169, 245, 0.3), transparent); }
        .tracer:nth-child(3) { width: 350px; top: 55%; left: -350px; animation-duration: 7s; animation-delay: 4s; }
        .tracer:nth-child(4) { width: 200px; top: 75%; left: -200px; animation-duration: 12s; animation-delay: 1s; height: 2px; background: linear-gradient(90deg, transparent, rgba(63, 169, 245, 0.4), transparent); }
        .tracer:nth-child(5) { width: 280px; top: 90%; left: -280px; animation-duration: 9s; animation-delay: 6s; }
        .tracer:nth-child(6) { width: 220px; top: 5%; left: -220px; animation-duration: 11s; animation-delay: 3s; height: 2px; background: linear-gradient(90deg, transparent, rgba(63, 169, 245, 0.35), transparent); }
        @keyframes tracerMove {
            0% { transform: translateX(0) scaleX(1); opacity: 0; }
            10% { opacity: 0.8; }
            90% { opacity: 0.8; }
            100% { transform: translateX(120vw) scaleX(1.5); opacity: 0; }
        }

        .stars { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
        .star {
            position: absolute; width: 2px; height: 2px;
            background: #ffffff; border-radius: 50%;
            animation: twinkle ease-in-out infinite;
        }
        .star:nth-child(1) { left: 5%; top: 10%; animation-duration: 3s; animation-delay: 0s; }
        .star:nth-child(2) { left: 15%; top: 25%; animation-duration: 4s; animation-delay: 1s; width: 3px; height: 3px; }
        .star:nth-child(3) { left: 25%; top: 5%; animation-duration: 2.5s; animation-delay: 0.5s; }
        .star:nth-child(4) { left: 35%; top: 40%; animation-duration: 3.5s; animation-delay: 2s; }
        .star:nth-child(5) { left: 45%; top: 15%; animation-duration: 4.5s; animation-delay: 0.3s; width: 3px; height: 3px; }
        .star:nth-child(6) { left: 55%; top: 60%; animation-duration: 3s; animation-delay: 1.5s; }
        .star:nth-child(7) { left: 65%; top: 8%; animation-duration: 5s; animation-delay: 0.7s; }
        .star:nth-child(8) { left: 75%; top: 45%; animation-duration: 2.8s; animation-delay: 2.5s; width: 3px; height: 3px; }
        .star:nth-child(9) { left: 85%; top: 20%; animation-duration: 3.2s; animation-delay: 1.2s; }
        .star:nth-child(10) { left: 92%; top: 70%; animation-duration: 4.2s; animation-delay: 0.8s; }
        .star:nth-child(11) { left: 8%; top: 80%; animation-duration: 3.8s; animation-delay: 1.8s; }
        .star:nth-child(12) { left: 48%; top: 90%; animation-duration: 2.2s; animation-delay: 0.2s; }
        .star:nth-child(13) { left: 78%; top: 85%; animation-duration: 3.6s; animation-delay: 2.2s; width: 3px; height: 3px; }
        .star:nth-child(14) { left: 20%; top: 55%; animation-duration: 4.8s; animation-delay: 1.6s; }
        .star:nth-child(15) { left: 60%; top: 35%; animation-duration: 2.6s; animation-delay: 0.9s; }
        @keyframes twinkle {
            0%, 100% { opacity: 0.2; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.5); }
        }

        .bg-noise {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            opacity: 0.03;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
            background-repeat: repeat; background-size: 256px 256px;
            animation: noiseAnimation 0.5s steps(2) infinite; pointer-events: none;
        }
        @keyframes noiseAnimation {
            0% { transform: translate(0, 0); }
            10% { transform: translate(-5%, -5%); }
            20% { transform: translate(5%, 5%); }
            30% { transform: translate(-10%, 0); }
            40% { transform: translate(10%, -5%); }
            50% { transform: translate(-5%, 10%); }
            60% { transform: translate(5%, -10%); }
            70% { transform: translate(-10%, 5%); }
            80% { transform: translate(10%, 0); }
            90% { transform: translate(0, -5%); }
            100% { transform: translate(0, 0); }
        }

        .bg-gradient-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background:
                radial-gradient(ellipse at 20% 50%, rgba(63, 169, 245, 0.05) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(63, 169, 245, 0.03) 0%, transparent 60%),
                linear-gradient(180deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.6) 20%, rgba(10, 10, 10, 0.4) 40%, rgba(10, 10, 10, 0.3) 60%, rgba(10, 10, 10, 0.4) 80%, rgba(10, 10, 10, 0.85) 100%);
            pointer-events: none; z-index: 1;
        }

        .light-rays { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 0; }
        .light-ray {
            position: absolute; width: 1px; height: 100%;
            background: linear-gradient(180deg, transparent 0%, rgba(63, 169, 245, 0.05) 30%, rgba(63, 169, 245, 0.15) 50%, rgba(63, 169, 245, 0.05) 70%, transparent 100%);
            animation: rayPulse ease-in-out infinite;
        }
        .light-ray:nth-child(1) { left: 10%; animation-duration: 4s; animation-delay: 0s; }
        .light-ray:nth-child(2) { left: 25%; animation-duration: 5s; animation-delay: 1s; }
        .light-ray:nth-child(3) { left: 40%; animation-duration: 3.5s; animation-delay: 0.5s; }
        .light-ray:nth-child(4) { left: 55%; animation-duration: 4.5s; animation-delay: 2s; }
        .light-ray:nth-child(5) { left: 70%; animation-duration: 3s; animation-delay: 0.3s; }
        .light-ray:nth-child(6) { left: 85%; animation-duration: 5.5s; animation-delay: 1.5s; }
        @keyframes rayPulse {
            0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
            50% { opacity: 1; transform: scaleY(1.2); }
        }

        /* ============================================
           ХЕДЕР
           ============================================ */
        .cod-header {
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(63, 169, 245, 0.2);
            position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
            transition: all 0.3s ease; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        .cod-header::before {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(63, 169, 245, 0.3) 20%, rgba(63, 169, 245, 0.15) 50%, rgba(63, 169, 245, 0.3) 80%, transparent 100%);
        }
        .cod-nav .nav-container {
            display: flex; align-items: center; justify-content: space-between;
            padding: 0.5rem 2rem 0.5rem 0.5rem; max-width: 100%; margin: 0;
        }
        .logo { display: flex; align-items: center; gap: 15px; text-decoration: none; margin-left: 0; padding: 0; }
        .logo-img { height: 65px; width: auto; display: block; }
        .logo-text { display: flex; flex-direction: column; line-height: 1; }
        .logo-big {
            color: #3fa9f5; font-family: 'Orbitron', sans-serif; font-weight: 900;
            font-size: 38px; letter-spacing: 1px; text-transform: uppercase;
            text-shadow: 0 0 30px rgba(63, 169, 245, 0.2);
        }
        .logo-small {
            color: rgba(255, 255, 255, 0.7); font-family: 'Orbitron', sans-serif;
            font-weight: 300; font-size: 16px; letter-spacing: 4px;
            text-transform: uppercase; margin-top: -5px;
        }
        .nav-menu {
            display: flex; list-style: none; gap: 2rem;
            align-items: center; flex-wrap: wrap; margin-left: auto;
        }
        .nav-link {
            color: #ffffff; text-decoration: none; font-weight: 500; font-size: 0.95rem;
            transition: all 0.3s ease; position: relative; text-transform: uppercase;
            letter-spacing: 0.5px; white-space: nowrap;
        }
        .nav-link:hover, .nav-link.active { color: #3fa9f5; text-shadow: 0 0 20px rgba(63, 169, 245, 0.3); }
        .nav-link.active::after {
            content: ''; position: absolute; bottom: -8px; left: 0;
            width: 100%; height: 2px; background: #3fa9f5;
            box-shadow: 0 0 15px rgba(63, 169, 245, 0.5);
        }
        .language-switcher { display: flex; align-items: center; margin-left: 2rem; }
        .lang-btn {
            background: rgba(0, 0, 0, 0.3); color: rgba(255, 255, 255, 0.8);
            padding: 0.4rem 0.8rem; border: 1px solid rgba(63, 169, 245, 0.4);
            border-radius: 3px; text-decoration: none; font-weight: 500;
            transition: all 0.3s ease; display: flex; align-items: center;
            gap: 5px; font-size: 0.8rem; min-height: 32px;
            backdrop-filter: blur(10px); cursor: pointer;
        }
        .lang-btn.active {
            background: rgba(63, 169, 245, 0.3); color: rgba(63, 169, 245, 0.9);
            border-color: rgba(63, 169, 245, 0.6);
        }
        .lang-btn:hover {
            background: rgba(63, 169, 245, 0.2); color: rgba(63, 169, 245, 0.9);
            transform: translateY(-1px); border-color: rgba(63, 169, 245, 0.6);
        }
        .lang-separator { color: rgba(255, 255, 255, 0.3); margin: 0 0.3rem; font-size: 0.9rem; }

        .nav-actions { display: flex; align-items: center; gap: 1rem; }
        .auth-btn {
            background: rgba(0, 0, 0, 0.3); color: rgba(255, 255, 255, 0.9);
            padding: 0.6rem 1.2rem; border: 1px solid rgba(63, 169, 245, 0.4);
            border-radius: 8px; text-decoration: none; font-weight: 500;
            transition: all 0.3s ease; display: flex; align-items: center;
            gap: 8px; font-size: 0.9rem; min-height: 36px;
            backdrop-filter: blur(10px); cursor: pointer;
        }
        .auth-btn:hover {
            background: rgba(63, 169, 245, 0.2); color: rgba(63, 169, 245, 0.9);
            transform: translateY(-1px); border-color: rgba(63, 169, 245, 0.6);
        }
        .auth-btn.login {
            background: rgba(63, 169, 245, 0.3); color: rgba(0, 0, 0, 0.9);
            font-weight: 600; border-color: rgba(63, 169, 245, 0.5); border-radius: 8px;
        }
        .auth-btn.login:hover {
            background: rgba(63, 169, 245, 0.15); color: #3fa9f5;
            border-color: rgba(63, 169, 245, 0.7);
        }
        .burger-menu { display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1001; }
        .burger-line { width: 30px; height: 3px; background: #3fa9f5; transition: all 0.3s ease; border-radius: 3px; }
        .burger-menu.active .burger-line:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
        .burger-menu.active .burger-line:nth-child(2) { opacity: 0; }
        .burger-menu.active .burger-line:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }
        .mobile-menu-overlay {
            display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.8); z-index: 999; backdrop-filter: blur(5px);
        }
        .mobile-menu-overlay.active { display: block; }

        /* Выпадающее меню */
        .dropdown { position: relative; }
        .dropdown-toggle { display: flex; align-items: center; gap: 6px; cursor: pointer; }
        .dropdown-toggle i { font-size: 0.7rem; transition: transform 0.3s ease; }
        .dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }
        .dropdown-menu {
            position: absolute; top: calc(100% + 15px); left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: rgba(15, 15, 25, 0.98);
            backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(63, 169, 245, 0.2); border-radius: 12px;
            padding: 0.5rem 0; min-width: 520px;
            opacity: 0; visibility: hidden;
            transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 1000;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(63, 169, 245, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            overflow: hidden;
        }
        .dropdown-menu::before {
            content: ''; position: absolute; top: -8px; left: 50%;
            transform: translateX(-50%) rotate(45deg); width: 16px; height: 16px;
            background: rgba(15, 15, 25, 0.98);
            border-left: 1px solid rgba(63, 169, 245, 0.2);
            border-top: 1px solid rgba(63, 169, 245, 0.2);
            border-radius: 3px 0 0 0; backdrop-filter: blur(20px);
        }
        .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
        .dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 0.3rem; }
        .dropdown-group { padding: 0.2rem; }
        .dropdown-group-title {
            font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1.5px;
            color: rgba(63, 169, 245, 0.4); padding: 0.5rem 0.8rem 0.3rem;
            font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            margin-bottom: 0.2rem;
        }
        .dropdown-menu a {
            display: flex; align-items: center; gap: 10px;
            padding: 0.6rem 0.8rem; color: rgba(255, 255, 255, 0.8);
            text-decoration: none; font-size: 0.82rem; border-radius: 6px;
            transition: all 0.25s ease; position: relative; font-weight: 400; border: none;
        }
        .dropdown-menu a .link-icon {
            width: 24px; height: 24px; display: flex; align-items: center;
            justify-content: center; font-size: 0.85rem;
            color: rgba(63, 169, 245, 0.5); transition: all 0.3s ease; flex-shrink: 0;
        }
        .dropdown-menu a .link-text { flex: 1; }
        .dropdown-menu a .link-badge {
            font-size: 0.55rem; padding: 1px 6px; border-radius: 4px;
            background: rgba(63, 169, 245, 0.15); color: rgba(63, 169, 245, 0.6);
            font-weight: 600; letter-spacing: 0.5px;
        }
        .dropdown-menu a:hover {
            background: rgba(63, 169, 245, 0.08); color: #3fa9f5;
            transform: translateX(4px);
        }
        .dropdown-menu a:hover .link-icon { color: #3fa9f5; transform: scale(1.1); }
        .dropdown-menu a:hover .link-badge { background: rgba(63, 169, 245, 0.2); color: #3fa9f5; }

        /* Меню пользователя */
        .user-menu-wrapper { position: relative; display: inline-block; }
        .user-menu-btn {
            display: flex; align-items: center; gap: 10px;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(63, 169, 245, 0.2);
            border-radius: 30px; padding: 5px 16px 5px 5px;
            color: rgba(255, 255, 255, 0.9); cursor: pointer;
            transition: all 0.3s ease; font-family: 'Roboto', sans-serif;
            font-size: 0.9rem; font-weight: 500; min-height: 42px;
            backdrop-filter: blur(10px);
        }
        .user-menu-btn:hover {
            border-color: rgba(63, 169, 245, 0.5);
            background: rgba(63, 169, 245, 0.08); transform: translateY(-1px);
        }
        .user-menu-btn .user-avatar-mini {
            width: 32px; height: 32px; border-radius: 50%;
            overflow: hidden; flex-shrink: 0;
            background: linear-gradient(135deg, #3fa9f5, #2d8cd6);
            display: flex; align-items: center; justify-content: center;
            color: #000; font-weight: bold; font-size: 0.9rem;
        }
        .user-menu-btn .user-avatar-mini img { width: 100%; height: 100%; object-fit: cover; }
        .user-menu-btn .user-name-display {
            max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .user-menu-btn .user-menu-arrow {
            font-size: 0.7rem; color: rgba(255, 255, 255, 0.3);
            transition: transform 0.3s ease;
        }
        .user-menu-btn.active .user-menu-arrow { transform: rotate(180deg); }
        .user-menu-dropdown {
            position: absolute; top: calc(100% + 10px); right: 0;
            min-width: 260px; background: rgba(15, 15, 25, 0.98);
            backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(63, 169, 245, 0.15); border-radius: 12px;
            padding: 0.5rem 0;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(63, 169, 245, 0.03);
            opacity: 0; visibility: hidden;
            transform: translateY(10px) scale(0.96);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
            z-index: 1000; overflow: hidden;
        }
        .user-menu-dropdown::before {
            content: ''; position: absolute; top: -6px; right: 20px;
            width: 12px; height: 12px; background: rgba(15, 15, 25, 0.98);
            border-left: 1px solid rgba(63, 169, 245, 0.15);
            border-top: 1px solid rgba(63, 169, 245, 0.15);
            transform: rotate(45deg); border-radius: 2px 0 0 0;
        }
        .user-menu-dropdown.active {
            opacity: 1; visibility: visible; transform: translateY(0) scale(1);
        }
        .user-menu-header {
            display: flex; align-items: center; gap: 12px;
            padding: 0.8rem 1.2rem 0.8rem;
        }
        .user-menu-avatar {
            width: 44px; height: 44px; border-radius: 50%;
            overflow: hidden; background: linear-gradient(135deg, #3fa9f5, #2d8cd6);
            flex-shrink: 0; display: flex; align-items: center;
            justify-content: center; color: #000; font-weight: bold; font-size: 1.2rem;
        }
        .user-menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
        .user-menu-info { flex: 1; min-width: 0; }
        .user-menu-name {
            font-weight: 600; color: #fff; font-size: 0.95rem;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .user-menu-role {
            font-size: 0.7rem; color: rgba(255, 255, 255, 0.3);
            text-transform: uppercase; letter-spacing: 0.5px;
        }
        .user-menu-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(63, 169, 245, 0.15), transparent);
            margin: 0.2rem 1rem;
        }
        .user-menu-item {
            display: flex; align-items: center; gap: 12px;
            padding: 0.7rem 1.2rem; color: rgba(255, 255, 255, 0.7);
            text-decoration: none; transition: all 0.25s ease;
            font-size: 0.85rem; border-left: 2px solid transparent; cursor: pointer;
        }
        .user-menu-item:hover {
            background: rgba(63, 169, 245, 0.06);
            color: #3fa9f5; border-left-color: #3fa9f5;
        }
        .user-menu-item i:first-child {
            width: 20px; text-align: center; font-size: 0.9rem;
            color: rgba(63, 169, 245, 0.4); transition: color 0.3s ease;
        }
        .user-menu-item:hover i:first-child { color: #3fa9f5; }
        .user-menu-item .user-menu-item-arrow {
            margin-left: auto; font-size: 0.7rem; opacity: 0;
            transform: translateX(-5px); transition: all 0.3s ease; color: #3fa9f5;
        }
        .user-menu-item:hover .user-menu-item-arrow { opacity: 1; transform: translateX(0); }
        .user-menu-logout:hover {
            background: rgba(231, 76, 60, 0.06);
            color: #ff6b6b; border-left-color: #e74c3c;
        }
        .user-menu-logout:hover i:first-child { color: #e74c3c; }

        /* ============================================
           ОСНОВНОЙ КОНТЕНТ
           ============================================ */
        .main-content {
            min-height: 100vh;
            padding: 3rem 2rem 4rem;
            position: relative;
            z-index: 1;
        }
        .container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

        .breadcrumbs {
            margin-bottom: 30px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.5);
        }
        .breadcrumbs a {
            color: var(--cod-accent);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .breadcrumbs a:hover { color: var(--cod-accent-light); text-decoration: underline; }

        .btn {
            padding: 12px 24px;
            border: none; border-radius: 8px;
            font-weight: 600; text-decoration: none;
            display: inline-flex; align-items: center; gap: 8px;
            transition: all 0.3s ease; cursor: pointer;
            font-size: 0.9rem; font-family: 'Orbitron', sans-serif;
        }
        .btn-primary {
            background: linear-gradient(45deg, var(--cod-accent), var(--cod-accent-dark));
            color: var(--cod-white);
        }
        .btn-primary:hover {
            background: linear-gradient(45deg, var(--cod-accent-light), var(--cod-accent));
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(63, 169, 245, 0.3);
        }
        .btn-success {
            background: rgba(46, 204, 113, 0.2);
            color: var(--cod-green);
            border: 1px solid rgba(46, 204, 113, 0.3);
        }
        .btn-success:hover { background: rgba(46, 204, 113, 0.3); transform: translateY(-2px); }
        .btn-danger {
            background: rgba(231, 76, 60, 0.2);
            color: var(--cod-red);
            border: 1px solid rgba(231, 76, 60, 0.3);
        }
        .btn-danger:hover { background: rgba(231, 76, 60, 0.3); transform: translateY(-2px); }

        /* Статья */
        .article {
            background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.95));
            border-radius: 10px; overflow: hidden;
            border: 1px solid rgba(63, 169, 245, 0.2);
            margin-bottom: 40px; position: relative;
        }
        .article-badges {
            position: absolute; top: 20px; right: 20px;
            display: flex; gap: 8px;
        }
        .badge {
            padding: 6px 12px; border-radius: 10px;
            font-size: 0.8rem; font-weight: 600;
            text-transform: uppercase;
        }
        .badge-featured { background: var(--cod-accent); color: var(--cod-white); }
        .badge-pinned { background: var(--cod-red); color: var(--cod-white); }

        .article-header {
            padding: 40px;
            border-bottom: 1px solid rgba(63, 169, 245, 0.1);
        }
        .article-meta {
            display: flex; align-items: center; gap: 20px;
            margin-bottom: 20px; font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            flex-wrap: wrap;
        }
        .article-date { color: var(--cod-accent); }
.article-author { display: flex; align-items: center; gap: 10px; }

/* ============================================
   ПРОГРЕСС-БАР ЧТЕНИЯ
   ============================================ */
.reading-progress-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10000;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.1);
}

.reading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3fa9f5 0%, #63b7ff 50%, #3fa9f5 100%);
    background-size: 200% 100%;
    box-shadow:
        0 0 10px rgba(63, 169, 245, 0.8),
        0 0 20px rgba(63, 169, 245, 0.4);
    transition: width 0.1s linear;
    animation: progressGlow 2s linear infinite;
    border-radius: 0 3px 3px 0;
    position: relative;
}

.reading-progress::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #63b7ff;
    border-radius: 50%;
    box-shadow:
        0 0 10px #3fa9f5,
        0 0 20px rgba(63, 169, 245, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reading-progress.active::after {
    opacity: 1;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes progressGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes dotPulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.4); }
}

/* ============================================
   ВРЕМЯ ЧТЕНИЯ
   ============================================ */
.article-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    padding: 4px 10px;
    background: rgba(63, 169, 245, 0.06);
    border: 1px solid rgba(63, 169, 245, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: help;
}

.article-reading-time i {
    color: var(--cod-accent);
    font-size: 0.85rem;
}

.article-reading-time:hover {
    background: rgba(63, 169, 245, 0.12);
    border-color: rgba(63, 169, 245, 0.3);
    color: #fff;
}

@media print {
    .reading-progress-wrapper { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reading-progress,
    .reading-progress::after {
        animation: none !important;
        transition: width 0.1s linear !important;
    }
}

/* Кнопка «Наверх» */
.back-to-top-progress {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(63, 169, 245, 0.9), rgba(45, 140, 214, 0.9));
    border: 1px solid rgba(63, 169, 245, 0.5);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 9999;
    box-shadow:
        0 10px 30px rgba(63, 169, 245, 0.4),
        0 0 20px rgba(63, 169, 245, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-progress.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-progress:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(63, 169, 245, 0.6),
        0 0 30px rgba(63, 169, 245, 0.4);
}

@media (max-width: 768px) {
    .back-to-top-progress {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}
        .article-author-avatar {
            width: 32px; height: 32px; border-radius: 50%;
            background: var(--cod-accent);
            display: flex; align-items: center; justify-content: center;
            font-size: 0.9rem; font-weight: bold; color: var(--cod-black);
        }
        .article-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 2.5rem; font-weight: 900;
            color: var(--cod-white); margin-bottom: 20px;
            line-height: 1.2;
        }
        .article-stats {
            display: flex; align-items: center; gap: 30px;
            margin-top: 20px; padding-top: 20px;
            border-top: 1px solid rgba(63, 169, 245, 0.1);
            flex-wrap: wrap;
        }
        .article-stat {
            display: flex; align-items: center; gap: 8px;
            color: rgba(255, 255, 255, 0.7); font-size: 0.9rem;
        }
        .article-stat i { color: var(--cod-accent); }

        .article-content {
            padding: 40px; font-size: 1.1rem; line-height: 1.8;
            color: rgba(255, 255, 255, 0.9);
        }
        .article-content p { margin-bottom: 20px; }
        .article-content h1, .article-content h2, .article-content h3 {
            font-family: 'Orbitron', sans-serif;
            color: var(--cod-accent);
            margin: 30px 0 15px 0;
        }
        .article-content h1 { font-size: 2rem; }
        .article-content h2 { font-size: 1.6rem; }
        .article-content h3 { font-size: 1.3rem; }
        .article-content ul, .article-content ol { margin: 20px 0; padding-left: 30px; }
        .article-content li { margin-bottom: 10px; }
        .article-content blockquote {
            border-left: 4px solid var(--cod-accent);
            padding-left: 20px; margin: 20px 0;
            font-style: italic; color: rgba(255, 255, 255, 0.8);
        }
        .article-content img {
            max-width: 100%; height: auto;
            border-radius: 10px; margin: 20px 0;
            border: 1px solid rgba(63, 169, 245, 0.2);
        }
        .article-content a { color: var(--cod-accent); }

        .article-actions {
            padding: 30px 40px;
            border-top: 1px solid rgba(63, 169, 245, 0.1);
            display: flex; flex-wrap: wrap; gap: 15px;
        }

        /* Комментарии */
        .comments-section {
            background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.95));
            border-radius: 10px; padding: 40px;
            border: 1px solid rgba(63, 169, 245, 0.2);
            margin-bottom: 40px;
        }
        .comments-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.8rem; font-weight: 700;
            color: var(--cod-accent); margin-bottom: 30px;
            display: flex; align-items: center; gap: 10px;
        }
        .comment-form {
            margin-bottom: 40px; padding: 30px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            border: 1px solid rgba(63, 169, 245, 0.1);
        }
        .comment-form textarea {
            width: 100%; min-height: 120px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(63, 169, 245, 0.3);
            border-radius: 8px; padding: 15px;
            color: var(--cod-white); font-size: 1rem;
            resize: vertical; margin-bottom: 15px;
            font-family: 'Roboto', sans-serif;
            transition: all 0.3s ease;
        }
        .comment-form textarea:focus {
            outline: none;
            border-color: var(--cod-accent);
            box-shadow: 0 0 15px rgba(63, 169, 245, 0.2);
        }
        .comment-form textarea::placeholder { color: rgba(255, 255, 255, 0.5); }

        .comment {
            margin-bottom: 30px; padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            border-left: 3px solid var(--cod-accent);
            transition: all 0.3s ease;
        }
        .comment:hover { background: rgba(0, 0, 0, 0.3); }
        .comment-header {
            display: flex; align-items: center; gap: 15px;
            margin-bottom: 15px;
        }
        .comment-author-avatar {
            width: 40px; height: 40px; border-radius: 50%;
            background: var(--cod-accent);
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem; font-weight: bold; color: var(--cod-black);
            flex-shrink: 0;
        }
        .comment-author {
            font-weight: 600;
            color: var(--cod-white);
        }
        .comment-date {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
        }
        .comment-content {
            margin-bottom: 15px; line-height: 1.6;
            color: rgba(255, 255, 255, 0.85);
        }

        .no-comments {
            text-align: center; padding: 40px;
            color: rgba(255, 255, 255, 0.7);
        }
        .no-comments i {
            font-size: 2rem; color: var(--cod-accent);
            display: block; margin-bottom: 15px;
        }
        .login-to-comment {
            text-align: center; padding: 30px;
            color: rgba(255, 255, 255, 0.7);
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            border: 1px dashed rgba(63, 169, 245, 0.3);
        }
        .login-to-comment a {
            color: var(--cod-accent);
            text-decoration: none;
            font-weight: 600;
        }
        .login-to-comment a:hover { text-decoration: underline; }

        /* Похожие новости */
        .related-news {
            background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.95));
            border-radius: 15px; padding: 40px;
            border: 1px solid rgba(63, 169, 245, 0.2);
        }
        .related-title {
            font-family: 'Orbitron', sans-serif;
            font-size: 1.8rem; font-weight: 700;
            color: var(--cod-accent); margin-bottom: 30px;
            text-align: center;
        }
        .related-list {
            display: flex; flex-direction: column; gap: 20px;
        }
        .related-item {
            padding: 20px; background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
            border-left: 3px solid var(--cod-accent);
            transition: all 0.3s ease;
        }
        .related-item:hover {
            background: rgba(63, 169, 245, 0.1);
            transform: translateX(5px);
        }
        .related-item-title {
            font-weight: 600; color: var(--cod-white);
            margin-bottom: 8px; line-height: 1.3;
        }
        .related-item-title a {
            color: inherit; text-decoration: none;
            transition: color 0.3s ease;
        }
        .related-item-title a:hover { color: var(--cod-accent); }
        .related-item-meta {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.6);
        }

        /* ============================================
           МОДАЛЬНОЕ ОКНО АВТОРИЗАЦИИ
           ============================================ */
        .auth-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10001; align-items: center; justify-content: center; }
        .auth-modal.active { display: flex; }
        .auth-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); }
        .auth-modal-content { position: relative; background: linear-gradient(145deg, rgba(20,20,35,0.98), rgba(10,10,20,0.99)); border: 1px solid rgba(63,169,245,0.2); border-radius: 12px; padding: 2.5rem 2.5rem 2rem; max-width: 440px; width: 92%; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.8); z-index: 1; }
        .auth-modal-content::-webkit-scrollbar { width: 4px; }
        .auth-modal-content::-webkit-scrollbar-thumb { background: rgba(63,169,245,0.3); border-radius: 2px; }
        .auth-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: rgba(255,255,255,0.3); font-size: 1.8rem; cursor: pointer; transition: all 0.3s ease; }
        .auth-modal-close:hover { color: #fff; transform: rotate(90deg); }
        .auth-modal-logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 1.8rem; }
        .auth-modal-logo i { font-size: 2rem; color: #3fa9f5; background: rgba(63,169,245,0.1); padding: 12px; border-radius: 50%; border: 1px solid rgba(63,169,245,0.2); }
        .auth-modal-logo span { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; font-weight: 900; color: #3fa9f5; }
        .auth-tabs { display: flex; gap: 0; margin-bottom: 1.8rem; background: rgba(0,0,0,0.3); border-radius: 10px; padding: 4px; border: 1px solid rgba(255,255,255,0.03); }
        .auth-tab { flex: 1; padding: 10px 16px; background: none; border: none; border-radius: 8px; color: rgba(255,255,255,0.4); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: 'Orbitron', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
        .auth-tab:hover { color: rgba(255,255,255,0.7); }
        .auth-tab.active { background: rgba(63,169,245,0.15); color: #3fa9f5; }
        .auth-form-container { display: none; }
        .auth-form-container.active { display: block; }
        .auth-form-group { margin-bottom: 1.2rem; }
        .auth-form-group label { display: block; color: rgba(255,255,255,0.5); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; font-family: 'Orbitron', sans-serif; }
        .auth-form-group label i { color: rgba(63,169,245,0.4); margin-right: 6px; }
        .auth-form-group input { width: 100%; padding: 12px 16px; background: rgba(0,0,0,0.4); border: 1px solid rgba(63,169,245,0.1); border-radius: 8px; color: #fff; font-size: 0.95rem; transition: all 0.3s ease; font-family: 'Roboto', sans-serif; }
        .auth-form-group input:focus { outline: none; border-color: rgba(63,169,245,0.4); }
        .auth-form-group input::placeholder { color: rgba(255,255,255,0.2); }
        .auth-password-wrapper { position: relative; }
        .auth-password-wrapper input { padding-right: 44px; }
        .auth-password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255,255,255,0.3); cursor: pointer; transition: color 0.3s ease; font-size: 0.95rem; padding: 4px; }
        .auth-password-toggle:hover { color: #3fa9f5; }
        .auth-form-options { display: flex; justify-content: space-between; align-items: center; margin: 1.2rem 0 1.5rem; flex-wrap: wrap; gap: 0.5rem; }
        .auth-checkbox { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.85rem; cursor: pointer; }
        .auth-checkbox input { display: none; }
        .auth-checkmark { width: 18px; height: 18px; background: rgba(0,0,0,0.4); border: 1px solid rgba(63,169,245,0.15); border-radius: 4px; position: relative; transition: all 0.3s ease; flex-shrink: 0; }
        .auth-checkbox input:checked + .auth-checkmark { background: #3fa9f5; border-color: #3fa9f5; }
        .auth-checkbox input:checked + .auth-checkmark::after { content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
        .auth-forgot { color: rgba(255,255,255,0.3); font-size: 0.8rem; text-decoration: none; transition: color 0.3s ease; }
        .auth-forgot:hover { color: #3fa9f5; }
        .auth-submit-btn { width: 100%; padding: 14px; background: linear-gradient(135deg, rgba(63,169,245,0.15), rgba(45,140,214,0.05)); border: 1px solid rgba(63,169,245,0.25); border-radius: 8px; color: #fff; font-family: 'Orbitron', sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .auth-submit-btn:hover { background: rgba(63,169,245,0.2); border-color: rgba(63,169,245,0.4); transform: translateY(-2px); }
        .auth-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
        .auth-error { margin-top: 1rem; padding: 12px 16px; background: rgba(231,76,60,0.08); border: 1px solid rgba(231,76,60,0.2); border-radius: 8px; color: #ff6b6b; font-size: 0.85rem; display: none; align-items: center; gap: 10px; }
        .auth-error.show { display: flex; }
        .auth-error i { color: #e74c3c; }
        .auth-back-btn { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 6px; font-family: 'Roboto', sans-serif; }
        .auth-back-btn:hover { color: #3fa9f5; background: rgba(63,169,245,0.05); }

        /* Логаут */
        .logout-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10002; display: none; align-items: center; justify-content: center; }
        .logout-modal.active { display: flex; }
        .logout-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(10px); }
        .logout-modal-content { position: relative; background: linear-gradient(145deg, rgba(20,20,35,0.98), rgba(10,10,20,0.99)); border: 1px solid rgba(63,169,245,0.2); border-radius: 12px; padding: 2.5rem 2.5rem 2rem; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.8); z-index: 1; }
        .logout-modal-icon { font-size: 3rem; margin-bottom: 1rem; color: #e74c3c; opacity: 0.7; }
        .logout-modal-title { color: #fff; margin-bottom: 0.5rem; font-family: 'Orbitron', sans-serif; font-size: 1.5rem; }
        .logout-modal-text { color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; font-size: 0.95rem; }
        .logout-modal-actions { display: flex; gap: 1rem; justify-content: center; }
        .logout-modal-btn { padding: 10px 30px; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; font-size: 0.9rem; font-weight: 500; font-family: 'Roboto', sans-serif; }
        .logout-modal-cancel { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }
        .logout-modal-cancel:hover { background: rgba(255,255,255,0.1); }
        .logout-modal-confirm { background: rgba(231,76,60,0.15); border: 1px solid rgba(231,76,60,0.3); color: #ff6b6b; display: inline-flex; align-items: center; gap: 8px; }
        .logout-modal-confirm:hover { background: rgba(231,76,60,0.25); transform: translateY(-2px); }
        .logout-modal-confirm:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

        .reaction-btn:hover { color: var(--cod-accent) !important; }
        .reaction-btn.active { color: #ff4757 !important; }
        .reaction-btn.active i { animation: heartPop 0.3s ease; }
        @keyframes heartPop {
        0% { transform: scale(1); }
        50% { transform: scale(1.3); }
        100% { transform: scale(1); }
        }

        /* ============================================
           ФУТЕР
           ============================================ */
        .cod-footer {
            background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, #0a0a0a 100%);
            color: #c9d1d9; border-top: 1px solid rgba(63, 169, 245, 0.15);
            position: relative; z-index: 4; padding: 0; margin-top: 0;
        }
        .cod-footer::before {
            content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
            background: linear-gradient(90deg, transparent 0%, rgba(63, 169, 245, 0.1) 15%, rgba(63, 169, 245, 0.4) 30%, rgba(63, 169, 245, 0.6) 50%, rgba(63, 169, 245, 0.4) 70%, rgba(63, 169, 245, 0.1) 85%, transparent 100%);
            box-shadow: 0 0 40px rgba(63, 169, 245, 0.15), 0 0 80px rgba(63, 169, 245, 0.05);
            z-index: 1;
        }
        .footer-container {
            max-width: 1400px; margin: 0 auto;
            padding: 4rem 2rem 2rem; position: relative; z-index: 2;
        }
        .footer-content {
            display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem; margin-bottom: 3rem; padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .footer-section h4 {
            font-family: 'Orbitron', sans-serif;
            color: rgba(63, 169, 245, 0.7); margin-bottom: 1.5rem;
            font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
            letter-spacing: 2px; position: relative; padding-bottom: 0.8rem;
        }
        .footer-section h4::after {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 30px; height: 2px;
            background: linear-gradient(90deg, rgba(63, 169, 245, 0.6), transparent);
        }
        .footer-logo {
            display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem;
            font-family: 'Orbitron', sans-serif; font-weight: 900;
            font-size: 1.5rem; color: #3fa9f5;
            text-shadow: 0 0 30px rgba(63, 169, 245, 0.15);
        }
        .footer-logo img { filter: drop-shadow(0 0 10px rgba(63, 169, 245, 0.2)); }
        .footer-section p { color: #8b949e; line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.9rem; }
        .footer-section ul { list-style: none; }
        .footer-section ul li { margin-bottom: 0.6rem; }
        .footer-section ul li a {
            color: #8b949e; text-decoration: none;
            transition: all 0.3s ease; display: block;
            padding: 0.2rem 0; font-size: 0.85rem;
            position: relative; padding-left: 0;
        }
        .footer-section ul li a::before {
            content: '›'; position: absolute; left: -12px;
            opacity: 0; transition: all 0.3s ease; color: #3fa9f5;
        }
        .footer-section ul li a:hover { color: #3fa9f5; padding-left: 16px; }
        .footer-section ul li a:hover::before { opacity: 1; left: 0; }
        .social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
        .social-links a {
            display: flex; align-items: center; justify-content: center;
            width: 40px; height: 40px; background: rgba(255, 255, 255, 0.04);
            color: #8b949e; border-radius: 8px; font-size: 1.1rem;
            transition: all 0.3s ease; text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }
        .social-links a:hover {
            background: rgba(63, 169, 245, 0.15); color: #3fa9f5;
            transform: translateY(-3px); border-color: rgba(63, 169, 245, 0.3);
            box-shadow: 0 8px 25px rgba(63, 169, 245, 0.15);
        }
        .footer-bottom {
            display: flex; justify-content: space-between;
            align-items: center; padding-top: 1.5rem;
            flex-wrap: wrap; gap: 1rem;
        }
        .footer-legal { color: #6e7681; font-size: 0.75rem; }
        .footer-legal p { margin-bottom: 0.3rem; }
        .footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
        .footer-links a {
            color: #6e7681; text-decoration: none; font-size: 0.75rem;
            transition: color 0.3s ease; position: relative;
        }
        .footer-links a:hover { color: #3fa9f5; }

        /* ============================================
           АДАПТИВНОСТЬ
           ============================================ */
        @media (max-width: 1024px) {
            .dropdown-grid { grid-template-columns: 1fr; }
            .dropdown-menu { min-width: 280px; }
        }
        @media (max-width: 768px) {
            .cod-nav .nav-container { padding: 0.5rem 1rem; }
            .logo-img { height: 50px; }
            .logo-big { font-size: 28px; }
            .logo-small { font-size: 14px; letter-spacing: 3px; }
            .burger-menu { display: flex; }
            .nav-menu {
                position: fixed; top: 0; right: -100%; width: 80%;
                max-width: 350px; height: 100vh;
                background: rgba(10, 10, 10, 0.98);
                flex-direction: column; padding: 100px 20px 20px;
                gap: 0; transition: right 0.3s ease; z-index: 1000;
                overflow-y: auto;
            }
            .nav-menu.active { right: 0; }
            .nav-menu li { width: 100%; }
            .nav-menu a {
                display: block; padding: 15px 20px;
                border-bottom: 1px solid rgba(63, 169, 245, 0.1);
                font-size: 1rem;
            }
            .nav-actions { flex-direction: row !important; padding: 0 !important; width: auto !important; }
            .auth-btn { padding: 0.4rem 0.8rem; font-size: 0.75rem; min-height: 32px; }
            .auth-btn.login { padding: 0.4rem 0.8rem; font-size: 0.75rem; }
            .user-menu-btn .user-name-display { max-width: 80px; font-size: 0.8rem; }
            .user-menu-btn { padding: 4px 12px 4px 4px; min-height: 36px; gap: 6px; }
            .user-menu-btn .user-avatar-mini { width: 28px; height: 28px; }
            .user-menu-dropdown { min-width: 220px; right: -10px; }
            .user-menu-dropdown::before { right: 16px; }

            .dropdown-menu {
                position: static; top: 0; left: 0; transform: none;
                opacity: 1; visibility: visible; display: none;
                border: none; border-radius: 0; padding: 0;
                background: rgba(0, 0, 0, 0.3); backdrop-filter: none;
                box-shadow: none; min-width: 100%; margin-top: 0;
            }
            .dropdown-menu::before { display: none; }
            .dropdown.active .dropdown-menu { display: block; }
            .dropdown-menu a {
                padding: 0.8rem 1.2rem; border-radius: 0;
                border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            }
            .dropdown-menu a:hover { transform: none; background: rgba(63, 169, 245, 0.05); }
            .dropdown-grid { grid-template-columns: 1fr; padding: 0; }
            .dropdown-group { padding: 0; }
            .dropdown-group-title { padding: 0.5rem 1.2rem; font-size: 0.65rem; }

            .article-title { font-size: 1.8rem; }
            .article-header,
            .article-content,
            .article-actions,
            .comments-section,
            .related-news { padding: 20px; }
            .article-actions { flex-direction: column; align-items: stretch; }
            .article-meta { gap: 12px; }

            .footer-content { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
        }
        @media (max-width: 480px) {
            .logo-img { height: 40px; }
            .logo-big { font-size: 22px; }
            .logo-small { font-size: 11px; letter-spacing: 2px; }
            .article-title { font-size: 1.4rem; }
            .comments-title,
            .related-title { font-size: 1.4rem; }

            .user-menu-btn .user-name-display { display: none; }
            .user-menu-btn { padding: 4px; border-radius: 50%; min-height: 36px; width: 36px; justify-content: center; }
            .user-menu-btn .user-menu-arrow { display: none; }
            .user-menu-dropdown { min-width: 200px; right: -5px; }
            .user-menu-dropdown::before { right: 12px; }
        }