/* ==========================================================
   MARKET NAVIGATION BAR
========================================================== */

.market-navbar {
    width: 100%;
    background: #223552;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
}

.market-scroll {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 20px;
    box-sizing: border-box;
    scrollbar-width: none;
}

.market-scroll::-webkit-scrollbar {
    display: none;
}

.market-scroll a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    color: #e2e8f0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;

    text-decoration: none;
    white-space: nowrap;

    transition: .25s ease;
}

.market-scroll a:hover {
    color: #ffffff;
}

.live-dot {
    width: 10px;
    height: 10px;

    flex: 0 0 10px;

    background: #4ade80;
    border-radius: 50%;

    box-shadow: 0 0 8px rgba(74, 222, 128, .6);
}


/* ==========================================================
   MAIN SITE HEADER
========================================================== */

.site-header {
    position: sticky;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: rgba(11, 31, 58, .94);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 255, 255, .08);

    transition: .35s ease;
}

.site-header.scrolled {
    background: #08162B;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .18);
}


/* ==========================================================
   HEADER INNER
========================================================== */

.header-inner {
    width: 100%;

    min-height: 82px;

    padding: 0 30px;

    display: flex;

    align-items: center;

    gap: 30px;

    box-sizing: border-box;
}


/* ==========================================================
   LOGO
========================================================== */

.logo {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-shrink: 0;

    text-decoration: none;
}

.logo img {
    width: 58px;
    height: 58px;

    display: block;

    object-fit: contain;
}

.logo-text {
    color: #fff;

    font-size: 28px;

    font-weight: 800;

    letter-spacing: .5px;

    line-height: 1;

    white-space: nowrap;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.navigation {
    display: flex;

    align-items: center;

    margin-left: auto;

    min-width: 0;
}

.navigation ul {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 26px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.navigation li {
    list-style: none;

    flex-shrink: 0;
}

.navigation a {
    position: relative;

    display: inline-flex;

    align-items: center;

    min-height: 40px;

    color: #fff;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.3;

    text-decoration: none;

    white-space: nowrap;

    transition: .30s ease;
}

.navigation a:hover {
    color: #60A5FA;
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #60A5FA;

    border-radius: 2px;

    transition: .30s ease;
}

.navigation a:hover::after {
    width: 100%;
}


/* ==========================================================
   ACTIVE NAVIGATION
========================================================== */

.navigation .active {
    color: #60A5FA;
}

.navigation .active::after {
    width: 100%;
}


/* ==========================================================
   MOBILE NAVIGATION
   ALWAYS OPEN
========================================================== */

.mobile-navigation {
    display: flex;

    align-items: center;
}

.menu-toggle {
    display: none !important;
}


/* ==========================================================
   NAV SEARCH
========================================================== */

.nav-search {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.nav-search form {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 0;
}

.nav-search input {
    width: 260px;

    height: 44px;

    padding: 0 18px;

    border: none;

    outline: none;

    border-radius: 999px;

    background: #fff;

    color: #223552;

    font-size: 14px;

    box-sizing: border-box;
}

.nav-search input::placeholder {
    color: #64748b;
}

.nav-search button {
    width: 44px;
    height: 44px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: var(--secondary);

    color: #fff;

    cursor: pointer;

    transition: .25s ease;
}

.nav-search button:hover {
    transform: translateY(-1px);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .header-inner {
        padding: 0 20px;

        gap: 20px;
    }

    .logo-text {
        font-size: 24px;
    }

    .navigation ul {
        gap: 18px;
    }

    .navigation a {
        font-size: 14px;
    }

    .nav-search input {
        width: 210px;
    }

}


/* ==========================================================
   TABLET / SMALL LAPTOP
========================================================== */

@media (max-width: 900px) {

    .header-inner {
        min-height: 76px;

        padding: 10px 18px;

        flex-wrap: wrap;

        gap: 12px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 23px;
    }

    .navigation {
        order: 3;

        width: 100%;

        margin-left: 0;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .navigation::-webkit-scrollbar {
        display: none;
    }

    .navigation ul {
        width: max-content;

        justify-content: flex-start;

        gap: 24px;

        padding: 4px 0 8px;
    }

    .navigation a {
        min-height: 34px;

        font-size: 15px;
    }

    .nav-search {
        margin-left: auto;
    }

    .nav-search input {
        width: 190px;

        height: 40px;
    }

    .nav-search button {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 600px) {

    /* ------------------------------------------
       MARKET BAR
    ------------------------------------------ */

    .market-scroll {
        gap: 22px;

        padding: 11px 16px;
    }

    .market-scroll a {
        gap: 7px;

        font-size: 14px;
    }

    .live-dot {
        width: 9px;
        height: 9px;

        flex-basis: 9px;
    }


    /* ------------------------------------------
       HEADER
    ------------------------------------------ */

    .site-header {
        position: sticky;

        top: 0;

        z-index: 9999;
    }

    .header-inner {
        min-height: auto;

        padding: 12px 16px;

        display: flex;

        align-items: center;

        flex-wrap: wrap;

        gap: 10px;
    }


    /* ------------------------------------------
       LOGO
    ------------------------------------------ */

    .logo {
        gap: 9px;
    }

    .logo img {
        width: 44px;
        height: 44px;
    }

    .logo-text {
        font-size: 21px;
    }


    /* ------------------------------------------
       SEARCH
    ------------------------------------------ */

    .nav-search {
        margin-left: auto;

        gap: 7px;
    }

    .nav-search form {
        gap: 7px;
    }

    .nav-search input {
        width: 145px;

        height: 40px;

        padding: 0 14px;

        font-size: 13px;
    }

    .nav-search button {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


    /* ------------------------------------------
       MAIN NAV
    ------------------------------------------ */

    .navigation {
        order: 3;

        width: 100%;

        margin: 0;

        padding: 0;

        overflow-x: auto;

        overflow-y: hidden;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .navigation::-webkit-scrollbar {
        display: none;
    }

    .navigation ul {
        width: max-content;

        display: flex;

        align-items: center;

        gap: 28px;

        margin: 0;

        padding: 7px 4px 10px;

        list-style: none;
    }

    .navigation li {
        flex-shrink: 0;

        list-style: none;
    }

    .navigation a {
        display: inline-flex;

        align-items: center;

        justify-content: center;

        min-height: 38px;

        padding: 4px 0;

        color: #fff;

        font-size: 16px;

        font-weight: 700;

        line-height: 1.2;

        white-space: nowrap;

        text-decoration: none;
    }

    .navigation a:hover {
        color: #60A5FA;
    }

    .navigation a::after {
        bottom: 0;

        height: 2px;
    }

    .navigation .active {
        color: #60A5FA;
    }

    .navigation .active::after {
        width: 100%;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 400px) {

    .header-inner {
        padding-left: 13px;
        padding-right: 13px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 19px;
    }

    .nav-search input {
        width: 125px;

        height: 38px;
    }

    .nav-search button {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .navigation ul {
        gap: 25px;

        padding-left: 3px;
        padding-right: 3px;
    }

    .navigation a {
        font-size: 15px;

        min-height: 37px;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
========================================================== */

@media (max-width: 340px) {

    .logo-text {
        display: none;
    }

    .nav-search input {
        width: 120px;
    }

    .navigation ul {
        gap: 20px;
    }

    .navigation a {
        font-size: 15px;
    }

}