  /* ============================================
           ОБЩИЕ СТИЛИ (взяты с главной)
           ============================================ */
        * { 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 {
    /* === ФОН === */
    --bg-base:      #0a0a0a;   /* основной фон */
    --bg-elevated:  #13131a;   /* приподнятые панели */
    --bg-card:      #1a1a24;   /* карточки */
    --bg-hover:     #20202e;   /* hover-состояния */
    --bg-active:    #2a2a3a;   /* active/pressed */

    /* === АКЦЕНТ (синий) === */
    --accent:        #3fa9f5;   /* основной акцент */
    --accent-hover:  #63b7ff;   /* hover */
    --accent-active: #2d8cd6;   /* active */
    --accent-dim:    rgba(63, 169, 245, 0.15);  /* приглушённый */
    --accent-glow:   rgba(63, 169, 245, 0.4);   /* тень/свечение */

    /* === СЕМАНТИКА === */
    --success:       #2ecc71;
    --success-dim:   rgba(46, 204, 113, 0.15);
    --warning:       #ffc107;
    --warning-dim:   rgba(255, 193, 7, 0.15);
    --danger:        #e74c3c;
    --danger-dim:    rgba(231, 76, 60, 0.15);
    --info:          #3fa9f5;

    /* === ТЕКСТ === */
    --text-primary:   #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-tertiary:  rgba(255, 255, 255, 0.45);
    --text-muted:     rgba(255, 255, 255, 0.25);

    /* === ГРАНИЦЫ === */
    --border-subtle:  rgba(255, 255, 255, 0.05);
    --border-soft:    rgba(63, 169, 245, 0.15);
    --border-medium:  rgba(63, 169, 245, 0.3);
    --border-strong:  rgba(63, 169, 245, 0.5);

    /* === РАДИУСЫ (шкала) === */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-pill: 999px;

    /* === ТЕНИ === */
    --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md:  0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg:  0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 0 30px rgba(63, 169, 245, 0.2);

    /* === ОТСТУПЫ (шкала × 4px) === */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  20px;
    --space-6:  24px;
    --space-8:  32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* === ТИПОГРАФИКА === */
    --font-display: 'Orbitron', sans-serif;
    --font-body:    'Roboto', sans-serif;
    --font-mono:    'JetBrains Mono', 'Consolas', monospace;

    --text-xs:   0.75rem;   /* 12px */
    --text-sm:   0.875rem;  /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg:   1.125rem;  /* 18px */
    --text-xl:   1.25rem;   /* 20px */
    --text-2xl:  1.5rem;    /* 24px */
    --text-3xl:  1.875rem;  /* 30px */
    --text-4xl:  2.25rem;   /* 36px */
    --text-5xl:  3rem;      /* 48px */

    --leading-tight:  1.2;
    --leading-snug:   1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* === ПЕРЕХОДЫ === */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

        /* ============================================
           АНИМИРОВАННЫЙ ФОН
           ============================================ */
        .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);
        }
        .auth-btn i { font-size: 0.85rem; }
        .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;
        }
        @media (max-width: 768px) {
            .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; }
        }

        /* ============================================
           МЕНЮ ПОЛЬЗОВАТЕЛЯ
           ============================================ */
        .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: 4rem 2rem;
            position: relative;
            z-index: 1;
        }
        .container {
            max-width: 1200px; margin: 0 auto; padding: 0 20px;
            display: grid; grid-template-columns: 1fr 300px; gap: 40px;
        }
        .page-header {
            text-align: center; margin-bottom: 40px; grid-column: 1 / -1;
        }
        .page-title {
            font-family: 'Orbitron', sans-serif; font-size: 3rem;
            font-weight: 900; color: var(--cod-accent); margin-bottom: 10px;
            text-shadow: 0 0 20px rgba(63, 169, 245, 0.5);
        }
        .page-subtitle { font-size: 1.2rem; color: rgba(255, 255, 255, 0.8); }
        .admin-actions {
            margin-top: 20px; display: flex; gap: 15px;
            justify-content: center; flex-wrap: wrap;
        }
        .btn {
            padding: 10px 20px; 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);
        }
        .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); }
        .btn-sm { padding: 5px 12px; font-size: 0.7rem; }

        .news-list { display: flex; flex-direction: column; gap: 30px; }
        .news-item {
            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);
            transition: all 0.3s ease; position: relative;
        }
        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(63, 169, 245, 0.2);
            border-color: rgba(63, 169, 245, 0.4);
        }
        .news-item.featured {
            border-color: var(--cod-accent);
            background: linear-gradient(145deg, rgba(63, 169, 245, 0.1), rgba(20, 20, 30, 0.9));
        }
        .news-item.pinned { border-left: 4px solid var(--cod-accent); }
        .news-badges { position: absolute; top: 15px; right: 15px; display: flex; gap: 5px; }
        .badge {
            padding: 4px 8px; border-radius: 12px; font-size: 0.7rem;
            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); }
        .news-header {
            padding: 25px; border-bottom: 1px solid rgba(63, 169, 245, 0.1);
        }
        .news-meta {
            display: flex; align-items: center; gap: 15px;
            margin-bottom: 15px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7);
        }
        .news-date { color: var(--cod-accent); }
        .news-author { display: flex; align-items: center; gap: 8px; }
        .news-author-avatar {
            width: 24px; height: 24px; border-radius: 50%;
            background: var(--cod-accent); display: flex;
            align-items: center; justify-content: center;
            font-size: 0.8rem; font-weight: bold; color: var(--cod-black);
        }
        .news-title {
            font-family: 'Orbitron', sans-serif; font-size: 1.8rem;
            font-weight: 700; color: var(--cod-white); margin-bottom: 15px; line-height: 1.3;
        }
        .news-title a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
        .news-title a:hover { color: var(--cod-accent); }
        .news-excerpt {
            color: rgba(255, 255, 255, 0.8); line-height: 1.6; font-size: 1.1rem;
        }
        .news-content { padding: 25px; }
        .news-stats {
            display: flex; align-items: center; gap: 20px;
            margin-top: 20px; padding-top: 20px;
            border-top: 1px solid rgba(63, 169, 245, 0.1);
        }
        .news-stat {
            display: flex; align-items: center; gap: 5px;
            color: rgba(255, 255, 255, 0.7); font-size: 0.9rem;
        }
        .news-stat i { color: var(--cod-accent); }
        .news-actions {
            display: flex; align-items: center; gap: 15px;
            margin-top: 20px; flex-wrap: wrap;
        }
        .sidebar { display: flex; flex-direction: column; gap: 30px; }
        .sidebar-widget {
            background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.95));
            border-radius: 10px; padding: 25px;
            border: 1px solid rgba(63, 169, 245, 0.2);
        }
        .widget-title {
            font-family: 'Orbitron', sans-serif; font-size: 1.3rem;
            font-weight: 700; color: var(--cod-accent);
            margin-bottom: 20px; text-align: center;
        }
        .widget-list { display: flex; flex-direction: column; gap: 15px; }
        .widget-item {
            padding: 15px; background: rgba(0, 0, 0, 0.3);
            border-radius: 8px; border-left: 3px solid var(--cod-accent);
            transition: all 0.3s ease;
        }
        .widget-item:hover { background: rgba(63, 169, 245, 0.1); transform: translateX(5px); }
        .widget-item-title {
            font-weight: 600; color: var(--cod-white);
            margin-bottom: 5px; line-height: 1.3;
        }
        .widget-item-title a { color: inherit; text-decoration: none; }
        .widget-item-title a:hover { color: var(--cod-accent); }
        .widget-item-meta { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
        .tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag {
            padding: 5px 12px; background: rgba(63, 169, 245, 0.2);
            color: var(--cod-accent); border-radius: 4px; font-size: 0.8rem;
            text-decoration: none; transition: all 0.3s ease;
        }
        .tag:hover { background: var(--cod-accent); color: var(--cod-white); }
        .pagination {
            display: flex; justify-content: center; align-items: center;
            gap: 10px; margin-top: 40px; grid-column: 1 / -1;
        }
        .pagination a, .pagination span {
            padding: 10px 15px; background: rgba(30, 30, 40, 0.95);
            color: var(--cod-white); text-decoration: none;
            border-radius: 8px; border: 1px solid rgba(63, 169, 245, 0.2);
            transition: all 0.3s ease;
        }
        .pagination a:hover {
            background: var(--cod-accent); color: var(--cod-white);
            border-color: var(--cod-accent);
        }
        .pagination .current {
            background: var(--cod-accent); color: var(--cod-white);
            border-color: var(--cod-accent);
        }
        .no-news {
            text-align: center; padding: 60px 20px;
            background: linear-gradient(145deg, rgba(30, 30, 40, 0.95), rgba(20, 20, 30, 0.95));
            border-radius: 15px; border: 1px solid rgba(63, 169, 245, 0.2);
        }
        .no-news i {
            font-size: 4rem; color: rgba(63, 169, 245, 0.3);
            display: block; margin-bottom: 20px;
        }
        .no-news h3 { color: var(--cod-accent); margin-bottom: 10px; font-family: 'Orbitron', sans-serif; }
        .no-news p { color: rgba(255, 255, 255, 0.6); }

        /* ============================================
           ФУТЕР (взят с главной)
           ============================================ */
        .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;
        }
        .cod-footer::after {
            content: ''; position: absolute; top: 1px; left: 10%; right: 10%; height: 1px;
            background: linear-gradient(90deg, transparent 0%, rgba(63, 169, 245, 0.05) 50%, transparent 100%);
            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::after {
            content: ''; position: absolute; bottom: -2px; left: 0;
            width: 0; height: 1px; background: #3fa9f5; transition: width 0.3s ease;
        }
        .footer-links a:hover { color: #3fa9f5; }
        .footer-links a:hover::after { width: 100%; }
        .footer-back-to-top {
            display: flex; align-items: center; gap: 8px;
            color: #6e7681; text-decoration: none; font-size: 0.8rem;
            transition: all 0.3s ease; padding: 8px 16px;
            border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.05);
            background: rgba(255, 255, 255, 0.02);
        }
        .footer-back-to-top:hover {
            color: #3fa9f5; border-color: rgba(63, 169, 245, 0.2);
            background: rgba(63, 169, 245, 0.05); transform: translateY(-2px);
        }
        .footer-back-to-top i { font-size: 0.9rem; }

        /* ============================================
           МОДАЛЬНОЕ ОКНО АВТОРИЗАЦИИ (взято с главной)
           ============================================ */
        .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: 10px; 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: 10px; 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; }

        /* ============================================
           АДАПТИВНОСТЬ
           ============================================ */
        @media (max-width: 1200px) {
            .container { grid-template-columns: 1fr 250px; }
        }
        @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; }
            .user-menu-header { padding: 0.6rem 1rem; }
            .user-menu-avatar { width: 36px; height: 36px; font-size: 1rem; }
            .user-menu-name { font-size: 0.85rem; }
            .user-menu-item { padding: 0.6rem 1rem; font-size: 0.8rem; }
            .dropdown.active .dropdown-menu { display: block; }
            .dropdown-menu li { padding-left: 20px; }
            .container { grid-template-columns: 1fr; gap: 20px; }
            .page-title { font-size: 2rem; }
            .news-title { font-size: 1.4rem; }
            .admin-actions { flex-direction: column; align-items: center; }
            .footer-content { grid-template-columns: 1fr; }
            .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
            .auth-modal-content { padding: 1.8rem 1.5rem 1.5rem; width: 95%; }
            .auth-modal-logo i { font-size: 1.5rem; padding: 10px; }
            .auth-modal-logo span { font-size: 1.4rem; }
            .auth-tab { font-size: 0.7rem; padding: 8px 10px; }
            .auth-form-group input { font-size: 0.85rem; padding: 10px 14px; }
            .auth-form-options { flex-direction: column; align-items: flex-start; }
            .logout-modal-content { padding: 1.8rem 1.5rem 1.5rem; width: 95%; }
            .logout-modal-actions { flex-direction: column; }
            .logout-modal-btn { width: 100%; justify-content: center; }
        }
        @media (max-width: 480px) {
            .logo-img { height: 40px; }
            .logo-big { font-size: 22px; }
            .logo-small { font-size: 11px; letter-spacing: 2px; }
            .page-title { font-size: 1.5rem; }
            .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; }
        }