.pixel-nav {
    background-color: #000;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #fff; /* Pixel border effect */
    image-rendering: pixelated;
    flex-wrap: nowrap;
}

.logo {
    font-size: 2em;
    font-family: 'Press Start 2P', cursive; /* Pixel font */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff0;
    animation: pixel-glitch 0.5s infinite;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 32px;
    height: 4px;
    margin: 6px 0;
    background: #fff;
    transition: all 0.3s;
    image-rendering: pixelated;
}

.close-li {
    display: none;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 3em;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
}

.footer-content {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-top: 4px solid #fff;
    image-rendering: pixelated;
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.8em;
}

.social-links a:hover {
    color: #ff0;
    animation: pixel-glitch 0.5s infinite;
}

@keyframes pixel-glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 20px;
        border-bottom: 4px solid #fff;
        gap: 10px;
        z-index: 10;
    }

    .nav-links.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #000;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 100;
        font-size: 1em;
        padding: 40px;
        box-sizing: border-box;
    }

    .nav-links.active .close-li {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .logo {
        font-size: 1.5em;
    }

    .hamburger span {
        width: 24px;
        height: 3px;
        margin: 4px 0;
    }

    .close-btn {
        font-size: 2em;
    }

    .pixel-nav {
        padding: 10px 20px;
    }

    .footer-content {
        padding: 10px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        font-size: 0.7em;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2em;
    }

    .social-links a {
        font-size: 0.6em;
    }
}