@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 effect */
        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;
        }

        /* Digital noise */
        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 ========== */
        .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 */
        .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;
        }

        /* Header navigation */
        .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 ========== */
        .main-content {
            margin-top: 100px; /* offset for fixed header */
            padding: 0 2rem 2rem 2rem;
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 1;
        }

        /* Cards / elements */
        .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 and sort */
        .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 {
        position: static;
    }
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .burger-menu {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }
    
    .burger-line {
        width: 25px;
        height: 2px;
        background-color: #ffffff;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: #000000;
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        padding: 80px 2rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        display: block !important;
        flex: none;
        justify-content: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .nav-links a {
        white-space: normal;
    }
    
    .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.burger-line {
    position: absolute;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    left: 0;
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 32.9%;
}

.burger-line:nth-child(3) {
    bottom: 0;
}

    .burger-menu.active .burger-line:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(3px);
        z-index: 999;
        display: none;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .spacer {
        display: none !important;
    }
    
    .main-content {
        margin-top: 80px;
        padding: 0 1rem 1rem 1rem;
    }
}
/* ========== HOME PAGE: SIDE ASSEMBLER STREAMS ========== */
.home-page-content {
    position: relative;
    z-index: 2;
}

.home-hero-logo {
    display: flex;
    justify-content: center;
}

.home-hero-logo img {
    display: block;
    height: clamp(105px, 14vw, 220px);
    max-width: 100%;
    margin-left: 10px;
}

.home-community-label {
    margin-left: 1.5rem;
    color: #666;
}

.home-asm-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-asm-side {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(150px, 18vw, 330px);
    overflow: hidden;
    opacity: 0.72;

    /* The text softly disappears toward the page content and screen edges. */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
}

.home-asm-side--left {
    left: 0;
}

.home-asm-side--right {
    right: 0;
}

.home-asm-side--left::after,
.home-asm-side--right::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.home-asm-side--left::after {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.15), transparent 42%, #000 100%);
}

.home-asm-side--right::after {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.15), transparent 42%, #000 100%);
}

.home-asm-stream {
    position: absolute;
    top: 100vh;
    width: 100%;
    margin: 0;
    padding: 0 1.6rem;
    border: 0;
    background: transparent;
    color: #b14dff;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    font-size: clamp(10px, 1vw, 15px);
    font-weight: 500;
    line-height: 2.15;
    white-space: pre;
    text-shadow:
        0 0 5px rgba(177, 77, 255, 0.95),
        0 0 14px rgba(125, 36, 255, 0.72),
        0 0 28px rgba(93, 0, 255, 0.48);
    animation: homeAsmMoveUp 210s linear infinite;
    will-change: transform;
}

.home-asm-side--left .home-asm-stream {
    left: 0;
    text-align: left;
    animation-delay: -83s;
}

.home-asm-side--right .home-asm-stream {
    right: 0;
    text-align: right;
    animation-delay: -83s;
}

@keyframes homeAsmMoveUp {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(0, calc(-100% - 100vh), 0);
    }
}

@media (max-width: 1180px) {
    .home-asm-layer {
        opacity: 0.55;
    }

    .home-asm-side {
        width: 145px;
    }

    .home-asm-stream {
        padding: 0 0.75rem;
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .home-asm-layer {
        display: none;
    }
}

@media (max-width: 768px) {
    .home-community-label {
        display: block;
        margin-top: 1rem;
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-asm-stream {
        animation: none;
        top: -20vh;
    }
}
