@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #000000;
            color: #ffffff;
            font-family: 'IBM Plex Mono', 'Courier New', monospace;
            font-size: 15px;
            line-height: 1.5;
            min-height: 100vh;
        }

        /* Эффект горизонтальных полос (scanlines) */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: repeating-linear-gradient(
                0deg,
                rgba(255, 255, 255, 0.02) 0px,
                rgba(255, 255, 255, 0.02) 2px,
                transparent 2px,
                transparent 6px
            );
            pointer-events: none;
            z-index: 999;
        }

        /* Цифровой шум */
        body::after {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJmIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjgiIG51bU9jdGF2ZXM9IjMiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjZikiIG9wYWNpdHk9IjAuMDMiLz48L3N2Zz4=');
            background-repeat: repeat;
            opacity: 0.15;
            pointer-events: none;
            z-index: 998;
        }

        /* ========== ФИКСИРОВАННАЯ ШАПКА ========== */
        .fixed-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: #000000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            z-index: 1000;
            padding: 1rem 2rem;
        }

        .header-content {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 1rem;
        }

        /* Логотип */
        .logo-area {
            display: flex;
            flex-direction: column;
        }

        .glitch-logo {
            font-size: 1.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: -1px;
            position: relative;
            color: white;
            display: inline-block;
        }

        .glitch-logo::before,
        .glitch-logo::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: black;
        }

        .glitch-logo::before {
            left: 1px;
            text-shadow: -1px 0 #ff00c1;
            animation: glitch-anim-1 3s infinite linear alternate-reverse;
        }

        .glitch-logo::after {
            left: -1px;
            text-shadow: 1px 0 #00ffff;
            animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
        }

        @keyframes glitch-anim-1 {
            0% { clip: rect(10px, 9999px, 25px, 0); }
            50% { clip: rect(2px, 9999px, 18px, 0); }
            100% { clip: rect(15px, 9999px, 30px, 0); }
        }

        @keyframes glitch-anim-2 {
            0% { clip: rect(20px, 9999px, 35px, 0); }
            50% { clip: rect(8px, 9999px, 22px, 0); }
            100% { clip: rect(12px, 9999px, 28px, 0); }
        }

        .sub-header {
            font-size: 0.65rem;
            color: #888;
            letter-spacing: 1px;
        }

        /* Навигация в шапке */
        .nav-links {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            letter-spacing: 1px;
            transition: all 0.2s ease;
            padding: 0.25rem 0;
        }

        .nav-links a:hover {
            text-shadow: -1px 0 #ff00c1, 1px 0 #00ffff;
            color: white;
        }

        .accent-line {
            width: 40px;
            height: 2px;
            background: #aa66ff;
            margin-top: 4px;
        }

        /* ========== ОСНОВНОЙ КОНТЕНТ ========== */
        .main-content {
            margin-top: 100px; /* отступ под фиксированную шапку */
            padding: 0 2rem 2rem 2rem;
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 1;
        }

        /* Карточки / элементы */
        .card {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.15);
            padding: 1.8rem;
            margin-bottom: 1.8rem;
            transition: all 0.2s;
        }

        .card:hover {
            border-color: rgba(255, 255, 255, 0.4);
        }

        .card-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            letter-spacing: -0.3px;
            border-left: 3px solid #aa66ff;
            padding-left: 1rem;
        }

        /* Поиск и сортировка */
        .search-section {
            background: rgba(255, 255, 255, 0.02);
            padding: 1.2rem;
            margin-bottom: 2rem;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .search-section input,
        .search-section select {
            background: #000000;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 0.6rem 1rem;
            color: #ffffff;
            font-family: monospace;
            font-size: 0.85rem;
            flex: 1;
        }

        .search-section input:focus,
        .search-section select:focus {
            outline: none;
            border-color: #aa66ff;
        }

        .search-section button {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.5);
            color: #ffffff;
            padding: 0.5rem 1.5rem;
            cursor: pointer;
            font-family: monospace;
            transition: 0.2s;
        }

        .search-section button:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: #aa66ff;
        }

        .exploit-item,
        .tool-item,
        .article-item {
            border-left: 2px solid #aa66ff;
            margin-bottom: 1.2rem;
            padding: 0.8rem 0 0.8rem 1rem;
            background: rgba(255, 255, 255, 0.02);
            transition: 0.2s;
        }

        .exploit-item:hover,
        .tool-item:hover,
        .article-item:hover {
            background: rgba(255, 255, 255, 0.05);
            border-left-color: #ff66cc;
        }

        .date-badge {
            font-size: 0.7rem;
            color: #aa66ff;
            font-family: monospace;
            margin-bottom: 0.3rem;
        }

        .btn-glitch {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.5);
            color: #ffffff;
            padding: 0.6rem 1.2rem;
            font-family: monospace;
            font-weight: 500;
            cursor: pointer;
            transition: 0.2s;
            text-decoration: none;
            display: inline-block;
        }

        .btn-glitch:hover {
            border-color: #aa66ff;
            text-shadow: -1px 0 #ff00c1, 1px 0 #00ffff;
        }

        footer {
            margin-top: 4rem;
            text-align: center;
            padding: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #666;
            font-size: 0.75rem;
        }

        @media (max-width: 768px) {
            .fixed-header { padding: 0.8rem 1rem; }
            .header-content { flex-direction: column; align-items: flex-start; }
            .glitch-logo { font-size: 1.2rem; }
            .nav-links { gap: 1rem; }
            .main-content { margin-top: 110px; padding: 0 1rem 1rem 1rem; }
            .card-title { font-size: 1.1rem; }
        }