.header {
    width: 100%;
    padding: 0.9rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b0b0b;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: #0b0b0b;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #a00000;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-icon:hover {
    background-color: #f5f5f5;
}

.btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-login {
    background-color: #0b0b0b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background-color: #000000;
}

.btn-signup {
    background-color: #a00000;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(160, 0, 0, 0.2);
}

.btn-signup:hover {
    transform: translateY(-2px);
    background-color: #900000;
    box-shadow: 0 6px 16px rgba(160, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0b0b0b;
    z-index: 1001;
}

.mobile-auth {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #0b0b0b;
    z-index: 1100;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }

    .desktop-auth {
        display: none;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: #ffffff;
        padding: 5rem 2rem 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin: 0;
        position: static;
        transform: none;
    }

    .mobile-auth {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #eee;
    }

    .mobile-auth .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
        color: #ffffff !important;
    }
}