/* Header Container */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    height: 72px;
    background: #030A11;
    border: 1px solid #2B2B2F;
    backdrop-filter: blur(12px);
    border-radius: 16px;
    flex: none;
    order: 0;
    flex-grow: 0;
    width: 1300px;
    margin-bottom: 10px;
    margin: auto;
}

.header .container-main {
    width: 100%;
    margin: 0 auto;
}


/* Navigation List */

.nav-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 120px;
    height: 56px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Logo Section */
.logo-container {
    align-items: center;
    width: 215px;
    height: 40px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

/* Menu Items Container */
.menu-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 14px;
    width: 531px;
    height: 26px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* Individual Menu Item */
.menu-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    gap: 10px;
    height: 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-item span {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(252, 252, 255, 0.8) 0%, rgba(252, 252, 255, 0.48) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-item.highlight span {
    font-weight: 600;
    color: #36D4E3;
    -webkit-text-fill-color: #36D4E3;
    background: none;
}

/* Action Buttons Container */
.actions-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8.01px;
    width: 213.01px;
    height: 38px;
    flex: none;
    order: 2;
    flex-grow: 0;
}

.btn {
    gap: 2px !important;
}

.btn:active {
    transform: scale(0.98);
}

.btn-menu {
    display: none;
}

.mobile-overlay,
.mobile-sidebar {
    display: none;
}

/* Register Button */
.btn-register {
    width: 100px;
    background: rgba(252, 252, 255, 0.06);
    border: 1px solid rgba(240, 237, 254, 0.1);
    color: #C5C4C8;
}

.btn-register:hover {
    background: rgba(252, 252, 255, 0.1);
}

/* Get a Bid Button */
.btn-bid {
    width: 105px;
    background: linear-gradient(180deg, #FF744D 0%, #D94D26 100%);
    border: 1px solid #FF744D;
    color: #FFF3F0;
}

.btn-bid:hover {
    filter: brightness(1.1);
}

/* Icon Styles */
.icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon svg {
    width: 100%;
    height: 100%;
}

/* Mobile-specific header layout */
@media (max-width: 1024px) {
    .header {
        width: auto;
        padding: 12px 16px;
    }

    .header .container-main {
        width: 100%;
        padding: 0;
    }

    .nav-list {
        gap: 12px;
        justify-content: space-between;
        align-items: center;
    }

    .logo-container {
        width: 150px;
        height: auto;
    }

    .menu-container {
        display: none;
    }

    .actions-container {
        gap: 8px;
        width: auto;
    }

    .btn {
        min-width: 0;
        padding: 10px 12px;
    }

    .btn-register,
    .btn-bid {
        width: auto;
    }

    .btn-register span,
    .btn-bid span {
        white-space: nowrap;
    }

    .btn-menu {
        display: flex;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(240, 237, 254, 0.1);
        border-radius: 14px;
        color: #FFFFFF;
        justify-content: center;
        align-items: center;
    }

    .btn-menu .icon {
        width: 20px;
        height: 20px;
    }

    .mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease;
        z-index: 980;
        pointer-events: none;
    }

    .mobile-overlay.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(360px, 90vw);
        max-width: 360px;
        background: #0A0E16;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
        transform: translateX(110%);
        transition: transform 0.3s ease;
        z-index: 990;
        opacity: 0.98;
        overflow-y: auto;
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .mobile-sidebar.open {
        transform: translateX(0);
    }

    .mobile-sidebar__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }

    .mobile-sidebar__title {
        color: #FFFFFF;
        font-family: 'Open Sans', sans-serif;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.24px;
    }

    .mobile-sidebar__close {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        cursor: pointer;
    }

    .mobile-sidebar__close svg {
        width: 18px;
        height: 18px;
    }

    .mobile-sidebar__body {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .mobile-sidebar__item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 18px 18px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        color: #FFFFFF;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .mobile-sidebar__item:hover {
        background: rgba(255, 255, 255, 0.07);
        transform: translateX(1px);
    }

    .mobile-sidebar__item span {
        font-family: 'Open Sans', sans-serif;
        font-weight: 500;
        font-size: 15px;
        line-height: 22px;
        color: #FFFFFF;
    }

    .sidebar-item__icon {
        display: inline-flex;
        width: 18px;
        height: 18px;
        align-items: center;
        justify-content: center;
        color: #36D4E3;
    }

    .sidebar-item__icon svg {
        width: 100%;
        height: 100%;
    }
}


@media (min-width: 768px) {
    button#mobileMenuToggle{
        display: none;
    }
}