
.header {
    position: fixed;
    top: 6px;
    width: auto;
    left: 6px; right: 6px;
    border-radius: 8px;
    height: 46px;
    z-index: 9999;
    background: #0001;
    backdrop-filter: blur(30px);
    border: 1px solid #fff2;
}

.homepage .header{
    opacity: 0; transform: scale(0.6);
    pointer-events: none;
    animation: header-ani 1.1s 2s ease forwards;
}

@keyframes header-ani{
    0% {transform: scale(0.9); opacity: 0; pointer-events: none;}
    99% {pointer-events: none;}
    100% {transform: scale(1); opacity: 1; pointer-events: all;}
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 12px;
    max-width: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--font-color-light);
    text-decoration: none;
    flex-shrink: 0;
    font-style: italic;
    transition: opacity 0.2s ease;
    padding: 0 2px;
    mask-image: linear-gradient(135deg, #fffb, #fff4);
}


.header-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.header-nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: var(--font-color-light);
    text-decoration: none;
    padding: 0 12px;
    height: 28px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    opacity: 0.7;
}

.header-nav-link.cta{background: #fff2;}


.header-nav-link:hover {background: #fff2; opacity: 1;}


.header-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
    color: var(--font-color-light);
    padding: 0 12px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0.7;
    overflow: visible;
}


.header-dropdown-btn:hover{background: #fff2; opacity: 1;}

.header-dropdown-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--font-color-light);
    transition: transform 0.3s ease;
}

.header-dropdown-btn.active svg {
    transform: rotate(180deg);
}

.header-dropdown-btn.active{background: #fff2; opacity: 1;}


.header-separator {
    width: 1px;
    height: 20px;
    margin: 0 6px;
    background: #fff2;
    border-radius: 2px;
}


.dropdown-menu {
    position: absolute;
    bottom: 6px; top: 56px;;
    left: 6px;
    right: 6px;
    background: #0001;
    border: 1px solid #fff2;
    border-radius: 8px;
    backdrop-filter: blur(30px);
    padding: 0;
    opacity: 0;
    z-index: 8000;
    
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dropdown-menu-wrapper{
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    overflow-y: hidden;
    gap: 10px;
    overflow-x: auto;
    padding: 14px;
}

.dropdown-menu.active {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu.active .dropdown-menu-wrapper{
    opacity: 1;
}

.dropdown-menu-section {
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 0;
    min-width: 120px;
    flex-grow: 1;
    background: #fff1;
    height: fit-content;
    border-radius: 6px;
}

.dropdown-menu-title {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fffb;
    line-height: 1;
    margin-bottom: 8px;
    display: flex; align-items: center;
}

.dropdown-menu-title::before{
    width: 10px;
    height: 1px;
    background: #fff2;
    margin: 0 8px;
    content: "";
}

.dropdown-menu-title::after{
    flex-grow: 1;
    height: 1px;
    background: #fff2;
    margin: 0 8px;
    content: "";
}

.dropdown-menu-link {
    font-size: 13px;
    font-weight: 400;
    list-style-type: disc;
    color: var(--font-color-light);
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    display: flex; align-items: center;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.dropdown-menu-link::before{
    width: 0;
    height: 6px;
    border-radius: 4px;
    background: #fff2;
    margin-right: 0;
    transition: all ease 0.3s;
    content: "";
    opacity: 0;
}

.dropdown-menu-link:hover{opacity: 1;}
.dropdown-menu-link:hover::before {
    width: 12px; margin-right: 8px;
    opacity: 1;
}
