header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-nav {
    min-height: 5rem;

}

header nav {
    display: flex;
    align-items: center;
}

header nav h3 a {
    font-size: 2rem;
    gap: 3rem;
}

header nav a {
    font-weight: 600;
    color: var(--text-light);
    transition: color 0.35s ease;
}

header nav a:hover {
    color: var(--primary);
}

main {
    min-height: calc(100vh - 160px);
}

footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    color: var(--bg-black);
    margin-top: 4rem;

}

#accountSidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 1.5rem;
}

#accountSidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1500;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: none;
    z-index: 998;
}

.sidebar-overlay.show {
    display: block;
}

#accountSidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: white;
    transition: right .3s ease;
    z-index: 999;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: -4px 0 12px rgba(0,0,0,.2);
}

#accountSidebar.open {
    right: 0;
}

#closeSidebar {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}