body,
.site-header,
.home-page,
.site-footer,
.currency-page,
.profit-page,
.pip-page,
button,
input,
select,
textarea {
    font-family: Montserrat, Arial, sans-serif !important;
}

body {
    padding-top: 62px;
}

.whatsapp-float {
    display: none !important;
}

.public-contact-float {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 28px;
    display: grid;
    width: 58px;
    height: 58px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #ff4521;
    color: #fff;
    box-shadow: 0 7px 16px rgba(16, 24, 40, .28);
    cursor: pointer;
    font-size: 26px;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.public-contact-float:hover,
.public-contact-float:focus-visible {
    background: #ff8057;
    box-shadow: 0 10px 22px #ff452166;
    outline: none;
    transform: translateY(-3px);
}

.public-contact-float img {
    display: block;
    width: 29px;
    height: 29px;
    object-fit: contain;
}

@media (max-width: 560px) {
    .public-contact-float {
        right: 16px;
        bottom: 18px;
        width: 54px;
        height: 54px;
        font-size: 24px;
    }
}

.footer-contact .footer-contact__hours {
    display: block !important;
    grid-column: 1 / -1;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(0, 0, 0, .92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    backdrop-filter: blur(12px);
}

.header-account-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.header-actions .start-trading-button {
    display: inline-flex;
    align-items: center;
    min-height:32px;
    justify-content: center;
    padding: 6px 19px;
    border: 1px solid #ff4521;
    border-radius: 6px;
    background: #ff4521;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
    margin-left: 10px;
}

.header-actions .start-trading-button:hover,
.header-actions .start-trading-button:focus-visible {
    border-color: #ff8057;
    background: #ff8057;
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

.header-actions .language-picker { flex: 0 0 auto; }
.header-actions .language-picker__toggle { border-radius: 50%; transition: background-color .18s ease; }
.header-actions .language-picker__toggle:hover,
.header-actions .language-picker.is-open .language-picker__toggle { background: rgba(49, 97, 227, .14); }
.header-actions .language-picker__toggle:hover .language-globe,
.header-actions .language-picker.is-open .language-globe { stroke: #ff4521 !important; }
.header-actions .header-divider { display: block; height: 22px; margin: 0 -4px; border-left-color: rgba(255, 255, 255, .24); }

.header-account-action {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    color: #ffffff;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.header-account-action:hover,
.header-account-action:focus-visible {
    border-color: #1674ff;
    background: rgba(22, 116, 255, .14);
    color: #fff;
    outline: none;
    transform: translateY(-2px);
}

.header-account-action--logout:hover,
.header-account-action--logout:focus-visible {
    border-color: #ff5d6c;
    background: rgba(255, 93, 108, .12);
    color: #ff8994;
}

.hero__art {
    background-image: url('../img/web/bg_index002.png');
    /* Tâm của hai nhân vật nằm hơi lệch trái trong file gốc. */
    background-position: calc(50% + 42px) top;
    background-repeat: no-repeat;
    background-size: auto 500px;
}

.home-page > .hero {
    width: 100%;
    height: calc(100svh - 62px);
    min-height: 570px;
    max-width: 1180px;
    max-height: 656px;
}

.hero__content {
    translate: 0 30px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.hero__action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 18px;
    border: 0px solid #ff4521;
    border-radius: 6px;
    color: #f5f7fb;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hero__action i {
    font-size: 13px;
}

.hero__action--primary {
    min-width: 224px;
    background: #0967f5;
    box-shadow: 0 0 18px rgba(0, 102, 255, .4);
}

.hero__action--secondary {
    min-width: 194px;
    background: #1c202b;
}

.hero__action--primary:hover,
.hero__action--primary:focus-visible {
    border-color: #3b8cff;
    background: #1678ff;
    box-shadow: 0 0 24px rgba(0, 102, 255, .58);
}

.hero__action--secondary:hover,
.hero__action--secondary:focus-visible {
    background: rgba(8, 103, 255, .14);
    border: 1px solid #ff4521;
    box-shadow: 0 0 18px rgba(0, 102, 255, .2);
}

.hero__action:hover,
.hero__action:focus-visible {
    color: #fff;
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .hero__actions {
        gap: 8px;
    }

    .hero__action {
        min-width: 0;
        padding-inline: 14px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .hero__actions {
        flex-direction: column;
    }

    .hero__action {
        width: min(100%, 260px);
    }
}

/*.scroll-down {
    animation: scroll-down-float 1.6s ease-in-out infinite;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}*/

.scroll-down:hover,
.scroll-down:focus-visible {
    animation-play-state: paused;
    border-color: #ff4521;
    background-color: rgba(49, 97, 227, .12);
    color: #fff;
    box-shadow: 0 0 22px rgba(49, 97, 227, .42);
    transform: translateY(-3px) scale(1.05);
    outline: 0;
}

.scroll-down:active {
    animation-play-state: paused;
    box-shadow: 0 0 12px rgba(49, 97, 227, .35);
    transform: translateY(0) scale(.94);
    transition-duration: .12s;
}

.scroll-down__icon {
    position: relative;
    z-index: 1;
    display: block;
    font-size: clamp(24px, 18px, 28px);
    line-height: 1;
    transform-origin: center;
    animation: scroll-down-icon-zoom 1.6s ease-in-out infinite;
    will-change: transform;
}

.scroll-down:hover > .scroll-down__icon,
.scroll-down:focus-visible > .scroll-down__icon {
    animation-play-state: paused;
    transform: scale(1.1);
}

.scroll-down::before {
    position: absolute;
    inset: -5px;
    z-index: 0;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 5px 2px rgba(22, 116, 255, .22);
    border: 1px solid #cccccc;
    content: "";
    opacity: .72;
    pointer-events: none;
    -webkit-mask: none;
    mask: none;
    animation: scroll-down-border-zoom 1.6s ease-in-out infinite;
    transform-origin: center;
    transition: inset .3s ease, opacity .3s ease, filter .3s ease;
}

.scroll-down {
    display: grid;
    place-items: center;
    isolation: isolate;
}

.scroll-down:hover::before,
.scroll-down:focus-visible::before {
    inset: -7px;
    animation-play-state: paused;
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 0 12px 5px rgba(22, 116, 255, .58);
    filter: none;
}

@keyframes scroll-down-border-spin {
    to {
        transform: rotate(1turn);
    }
}

@keyframes scroll-down-border-zoom {
    0%, 100% {
        transform: scale(1);
        opacity: .58;
        box-shadow: 0 0 4px 2px rgba(22, 116, 255, .2);
        filter: none;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
        box-shadow: 0 0 16px 7px rgba(22, 116, 255, .62);
        filter: none;
    }
}

@keyframes scroll-down-float {
    0%, 25%, 60%, 100% {
        transform: translateY(0);
    }

    42% {
        transform: translateY(-11px);
    }

    72% {
        transform: translateY(-5px);
    }
}

@keyframes scroll-down-icon-zoom {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
    .scroll-down,
    .scroll-down::before,
    .scroll-down__icon {
        animation: none;
    }
}

/* Keep the complete first slide inside short 13–14 inch laptop viewports. */
@media (min-width: 761px) and (max-height: 800px) {
    .home-page > .hero {
        height: calc(100dvh - 62px);
        min-height: 460px;
    }

    .hero__art {
        background-size: auto min(500px, 68dvh);
    }

    .hero__content {
        margin-top: clamp(125px, 24dvh, 175px);
    }

    .hero__benefits b {
        font-size: 11px;
        line-height: 1.25;
    }

    .hero__benefits small {
        font-size: 9px;
        line-height: 1.25;
    }

    .scroll-down {
        bottom: 12px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

.language-picker {
    position: relative;
    color: #b9bdc5;
}

.language-picker__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ff4521;
    font-size: 17px;
    cursor: pointer;
}

.language-globe {
    display: block;
    width: 18px;
    height: 18px;
    background: transparent;
    fill: none;
    stroke: #cccccc !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.language-picker__toggle .language-globe {
    flex: 0 0 auto;
    margin: 0;
}

.language-picker__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: 130px;
    padding: 6px;
    border: 1px solid #263244;
    border-radius: 7px;
    background: #0b1018;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
}

.language-picker.is-open .language-picker__menu {
    display: grid;
}

.language-picker__menu button {
    border: 0;
    border-radius: 5px;
    padding: 9px 10px;
    background: transparent;
    color: #d5d8de;
    font: 500 12px Montserrat, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
}

    .language-picker__menu button:hover,
    .language-picker__menu button.is-active {
        background: #10284b;
        color: #fff;
    }

@media (min-width: 761px) {
    .rebate-footer__bottom > * { align-self: center; min-width: 0; }
    .rebate-footer__bottom > :first-child { text-align: left; }
    .rebate-footer__bottom > :nth-child(2) { text-align: center; }
    .rebate-footer__bottom > :nth-child(2) nav { justify-content: center; }
    .rebate-footer__bottom > :last-child { justify-content: flex-end; text-align: right; }
    .rebate-footer__bottom .rebate-footer__brand p { margin: 12px 0 0; }
}

@media (max-width: 760px) {
    .home-page {
        padding-top: 62px;
    }

    .home-page > .hero {
        height: calc(100svh - 62px);
        min-height: 670px;
    }

    .hero__art {
        background-position: calc(50% + 36px) top;
        background-size: auto 430px;
        animation: hero-art-mobile-zoom 7s ease-in-out infinite alternate;
    }
}

@keyframes hero-art-mobile-zoom {
    from {
        background-size: auto 430px;
    }

    to {
        background-size: auto 462px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__art {
        animation: none;
    }
}

/* Keep Home cards in sync with the .bg_select cards from /About. */
.action-grid > .action-card.bg_select {
    min-height: 158px;
    padding: 5%;
    border: 1px solid rgba(204, 204, 204, .25);
    border-radius: 10px;
    background-color: transparent;
    background-image: linear-gradient(to top, rgba(47, 51, 61, 0), #2f333d);
    color: #ccc;
    font-weight: 300;
    text-align: left;
}

.action-grid > .action-card.bg_select::before {
    display: none;
}

    .action-grid > .action-card.bg_select:hover,
    .action-grid > .action-card.bg_select:focus-visible {
        border-color: rgba(204, 204, 204, .25);
        background: #0b203e;
        box-shadow: 0 6px 20px 3px rgba(49, 97, 227, 00);
    }

    .action-grid > .action-card.bg_select.is-active {
        border-color: rgba(204, 204, 204, .25);
        background: #0b203e;
        box-shadow: 0 6px 20px 3px rgba(49, 97, 227, 00);
    }

.action-grid:has(> .action-card.bg_select:hover) > .action-card.bg_select.is-active:not(:hover) {
    border-color: rgba(204, 204, 204, .25);
    background-image: linear-gradient(to top, rgba(47, 51, 61, 0), #2f333d);
    box-shadow: none;
    transform: none;
}

@media (max-width: 760px) {
    .action-grid > .action-card.bg_select {
        min-height: 120px !important;
        padding: 15px !important;
        background: none;
    }
}

.faq-list > a {
    align-items: center;
    min-height: 36px;
    font-size: 11px;
    line-height: 1.35;
}

.action-section > h2 {
    display: block;
    min-height: 92px;
    margin: 0 0 24px;
    padding: 14px 16px 0;
    color: #f7f9ff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: clamp(15px, 1.4vw, 23px);
    font-weight: 400;
    line-height: 1.02;
    text-align: center;
    letter-spacing: -.03em;
    text-shadow: 0 2px 12px rgba(255, 255, 255, .08);
}


#actions {
    scroll-margin-top: 120px;
}

.banmuon_lamgi {
    background-image: url(../img/web/bg_about03.png);
    background-size: cover;
    padding-bottom: 5px;
}

.action-section > h2 span {
    display: block;
    padding: 0;
    background: #ff4521;
    background-clip: text;
    color: transparent;
    font-size: clamp(20px, 35px, 30px);
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -.055em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(18, 121, 255, .48));
}

@media (max-width: 760px) {
    .action-section > h2 {
        font-size: 24px;
    }
        .action-section > h2 span {
        font-size: 28px;
        line-height: .92;
    }

    .action-section > h2 {
        min-height: 88px;
        margin-bottom: 18px;
        padding: 14px 12px 0;
        font-size: 22px;
        line-height: 1.05;
    }

        .action-section > h2::after {
            margin-top: 8px;
            background-size: calc(25% - 62.5px) 1px;
            font-size: 9px;
            line-height: 17px;
        }

    .action-grid > .action-card::after {
        display: none !important;
    }

    .action-grid > .action-card p {
        margin: 12px 0 0 !important;
        padding: 0px !important;
        padding-left: 0px;
        font-size: 12px;
        line-height: 1.5;
    }

    .action-grid > .action-card {
        min-height: 130px !important;
        padding: 15px !important;
    }

        .action-grid > .action-card h3::after {
            height: 2px !important;
        }
}

.faq-list > a span {
    display: inline-grid;
    height: 20px;
    margin-left: 8px;
    place-items: center;
    line-height: 11px;
    font-size: 11px;
}

.faq-list .home-faq-item {
    position: relative;
    min-width: 0;
    border: 1px solid #1b2d42;
    border-radius: 7px;
    background: #0a1422;
    color: #cad1db;
    text-decoration: none;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

    .faq-list .home-faq-item:hover {
        border-color: #ff4521;
        background: #0d1b2e;
        box-shadow: 0 8px 20px rgba(49, 97, 227, .16);
        transform: translateY(-2px);
    }

        .faq-list .home-faq-item:hover summary {
            color: #cccccc;
        }

.faq-list .home-faq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

    .faq-list .home-faq-item > span {
        min-width: 0;
    }

    .faq-list .home-faq-item > i {
        flex: 0 0 auto;
        margin-left: 10px;
        color: #cccccc;
        font-size: 11px;
        transition: color .22s ease, transform .22s ease;
    }

    .faq-list .home-faq-item:hover > i {
        color: #1c202b;
        transform: translateX(4px);
    }

    .faq-list .home-faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-list .home-faq-item summary span {
        display: inline-grid;
        flex: 0 0 20px;
        height: 20px;
        margin-left: 8px;
        place-items: center;
        color: #7e8b9e;
        font-size: 16px;
        line-height: 1;
        transition: color .22s ease, transform .22s ease;
    }

    .faq-list .home-faq-item:hover summary span {
        color: #4f86ff;
        transform: scale(1.15);
    }

    .faq-list .home-faq-item summary span::before {
        content: "+";
    }

    .faq-list .home-faq-item[open] summary span::before {
        content: "−";
    }

    .faq-list .home-faq-item[open] {
        border-color: #24548c;
        grid-column: 1 / -1;
    }

.home-faq-answer {
    padding: 11px 12px 13px;
    border-top: 1px solid #1b2d42;
    color: #aeb8c7;
    font-size: 12px;
    line-height: 1.6;
}

    .home-faq-answer p {
        margin: 0 0 7px;
    }

        .home-faq-answer p:last-child {
            margin-bottom: 0;
        }

.partner-menu {
    position: relative;
}

.partner-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}

.header-menu a {
    position: relative;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease;
}

.header-menu a::after {
    position: absolute;
    right: 0;
    bottom: -19px;
    left: 0;
    height: 2px;
    background: #ff4521;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .18s ease;
}

.header-menu a:hover,
.header-menu a:focus-visible,
.header-menu a.is-active {
    color: #ff4521;
}

.header-login-link {
    transition: color .18s ease;
}

.header-login-link:hover,
.header-login-link:focus-visible,
.mobile-auth-actions__login:hover,
.mobile-auth-actions__login:focus-visible {
    color: #ff4521;
}

.header-menu a:hover::after,
.header-menu a:focus-visible::after,
.header-menu a.is-active::after {
    transform: scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-auth-actions {
    display: none;
}

.mobile-drawer-menu {
    display: none;
}

.mobile-drawer-header {
    display: none;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s, opacity .2s;
}

.partner-navigation__arrow {
    display: grid!important;
    width: 27px;
    height: 24px;
    place-items: center;
    color: #f33;
    font-size: 13px;
}

.partner-switch {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.partner-navigation > .partner-menu > .partner-switch span {
    position: relative;
    display: inline-block;
    color: #fff;
    transition: color .18s ease;
}

.partner-navigation > .partner-menu > .partner-switch span::after {
    position: absolute;
    right: 0;
    bottom: -19px;
    left: 0;
    height: 2px;
    background: #ff4521;
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .18s ease;
}

.partner-navigation > .partner-menu:hover > .partner-switch span,
.partner-navigation > .partner-menu:focus-within > .partner-switch span,
.partner-navigation > .partner-menu.is-open > .partner-switch span,
.partner-navigation > .partner-menu.has-active-item > .partner-switch span {
    color: #ff4521;
}

.partner-navigation > .partner-menu:hover > .partner-switch span::after,
.partner-navigation > .partner-menu:focus-within > .partner-switch span::after,
.partner-navigation > .partner-menu.is-open > .partner-switch span::after,
.partner-navigation > .partner-menu.has-active-item > .partner-switch span::after {
    transform: scaleX(1);
}

.partner-mega-menu {
    position: fixed;
    top: 62px;
    left: 50%;
    z-index: 1001;
    display: none;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 30px;
    width: min(900px, calc(100vw - 32px));
    padding: 25px 28px;
    border: 1px solid #1a2b42;
    border-radius: 10px;
    background: rgba(5, 10, 17, .98);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .72);
    pointer-events: auto;
    transform: translateX(-50%);
}

.partner-menu:hover .partner-mega-menu,
.partner-menu:focus-within .partner-mega-menu,
.partner-menu.is-open .partner-mega-menu,
.partner-mega-menu:hover {
    display: grid;
    pointer-events: auto;
}

.site-header:has(.partner-menu:hover),
.site-header:has(.partner-menu:focus-within),
.site-header:has(.partner-menu.is-open),
.site-header:has(.partner-mega-menu:hover) {
    z-index: 10000;
}

.site-header:has(.partner-menu:hover) .partner-mega-menu,
.site-header:has(.partner-menu:focus-within) .partner-mega-menu,
.site-header:has(.partner-menu.is-open) .partner-mega-menu,
.site-header:has(.partner-mega-menu:hover) .partner-mega-menu {
    z-index: 10001;
}

.partner-mega-menu::before {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
}

.partner-mega-menu > div {
    min-width: 0;
}

.partner-mega-menu a {
    display: block;
    margin-bottom: 11px;
    color: #aeb7c5;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s, transform .2s;
}

    .partner-mega-menu a:hover {
        color: #ff4521;
        transform: translateX(3px);
    }

    .partner-mega-menu a.is-active,
    .partner-mega-menu a.is-active:hover {
        color: #ff4521;
    }

    .partner-mega-menu a.is-active {
        font-weight: inherit;
    }

.partner-mega-menu .mega-heading {
    margin-bottom: 16px;
    color: #ff4521;
    font-size: 13px;
    font-weight: 700;
}

    .partner-mega-menu .mega-heading i {
        margin-left: 6px;
        font-size: 10px;
    }

.partner-mega-menu--bg {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    width: min(1050px, calc(100vw - 32px));
}

@media (max-width: 800px) {
    .header-menu {
        display: none;
    }
    .footer-contact {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
    }

        .footer-contact h3 {
            grid-column: 1 / -1;
        }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .site-header__inner {
        grid-template-columns: 1fr auto auto;
        gap: 8px;
    }

    .site-header .header-actions {
        display: flex;
        order: 2;
        min-width: 0;
        font-size: 15px;
        font-weight: 500;
    }

    .mobile-menu-toggle {
        display: block;
        order: 3;
    }

    .mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .partner-navigation {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1300;
        display: block;
        width: 100vw;
        height: var(--mobile-menu-height, 100dvh);
        max-height: var(--mobile-menu-height, 100dvh);
        padding: 0;
        background: #000000;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .65);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        pointer-events: none;
        transform: translateX(-100%);
        transition: transform .28s ease, visibility 0s linear .28s;
        visibility: hidden;
    }

    .mobile-menu-open .partner-navigation {
        pointer-events: auto;
        transform: translateX(0);
        transition: transform .28s ease;
        visibility: visible;
    }

    .mobile-drawer-header {
        display: flex;
        flex: 0 0 62px;
        height: 62px;
        align-items: center;
        justify-content: space-between;
        width: min(1180px, calc(100% - 0px));
        margin: 0 auto;
        margin-bottom:35px;
    }

    .mobile-drawer-brand {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-drawer-brand img {
        display: block;
        width: auto;
        height: 36px;
    }

    .mobile-drawer-header__actions {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .mobile-drawer-header__divider {
        height: 22px;
        margin: 0 -4px;
        border-left: 1px solid rgba(255, 255, 255, .24);
    }

    .mobile-drawer-start-trading {
        display: inline-flex;
        min-height: 32px;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        padding: 6px 19px;
        border: 1px solid #ff4521;
        border-radius: 6px;
        background: #ff4521;
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        text-decoration: none;
    }

    .mobile-drawer-close {
        display: grid;
        width: 38px;
        height: 38px;
        padding: 8px;
        place-items: center;
        position: relative;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        cursor: pointer;
    }

    .mobile-drawer-close span {
        position: absolute;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
    }

    .mobile-drawer-close span:first-child {
        transform: rotate(45deg);
    }

    .mobile-drawer-close span:last-child {
        transform: rotate(-45deg);
    }

    .mobile-menu-open .site-header {
        z-index: 1200;
    }

    .mobile-auth-actions {
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        margin-top: 20px;
    }

    .mobile-auth-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        justify-self: start;
        min-height: 28px;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: #fff;
        background: transparent;
        font: inherit;
        font-size: 17px;
        font-weight: 500;
        text-decoration: none;
    }

    .mobile-auth-actions__arrow {
        display: grid;
        place-items: center;
        color: #f04453;
        cursor: pointer;
        font-size: 15px;
    }

    .partner-navigation > .partner-menu,
    .partner-navigation > .partner-navigation__arrow {
        display: none !important;
    }

    .mobile-drawer-menu {
        display: flex;
        height: 100%;
        min-height: 0;
        flex-direction: column;
        width: min(calc(100% - 40px), 420px);
        margin: 0 auto;
    }

    .mobile-drawer-menu__brands {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 32px;
        row-gap: 0px;
        margin-bottom: 0;
    }

    .mobile-drawer-menu__brand-arrow {
        display: grid;
        place-items: center;
        color: #f04453;
        font-size: 15px;
        cursor: pointer;
        transition: transform .2s ease;
    }

    .mobile-drawer-menu__brands button.is-expanded + .mobile-drawer-menu__brand-arrow {
        transform: rotate(180deg);
    }

    .mobile-drawer-menu__group {
        grid-column: 1 / -1;
        margin-top: 0;
        padding-left:20px;
    }

    .mobile-drawer-menu__brands button {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 28px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font: inherit;
        font-size: 18px;
        font-weight: 500;
        cursor: pointer;
    }

    .mobile-drawer-menu__brands button .fa-chevron-down {
        display: none;
    }

    .mobile-drawer-menu__brands button.is-active {
        border-color: transparent;
        background: transparent;
        color: #ff4521;
    }

    .mobile-drawer-menu__brands button.is-active .fa-chevron-down {
        display: none;
    }

   

    .mobile-drawer-menu summary {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0;
        color: #fff;
        cursor: pointer;
        font-size: 18px;
        font-weight: 500;
        list-style: none;
    }

    .mobile-drawer-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-drawer-menu summary .fa-chevron-down {
        color: #ff4521;
        font-size: 15px;
        transition: transform .2s ease;
    }

    .mobile-drawer-menu details[open] > summary .fa-chevron-down {
        transform: rotate(180deg);
    }

    .mobile-drawer-menu details[open] > summary,
    .mobile-drawer-menu details.has-active-item > summary,
    .mobile-drawer-menu__links a.is-active {
        background: transparent;
        color: #ff4521;
    }

    .mobile-drawer-menu details[open] > summary {
        padding-right: 0px;
        padding-left: 0px;
    }

    .mobile-drawer-menu details[open] > summary .fa-chevron-down,
    .mobile-drawer-menu details.has-active-item > summary .fa-chevron-down {
        color: #ff4521;
    }

    .mobile-drawer-menu__links {
        display: grid;
        gap: 3px;
        padding: 0 0 12px 14px;
    }

    .mobile-drawer-menu__links a,
    .mobile-drawer-menu__links button {
        padding: 6px 0;
        border: 0;
        background: transparent;
        color: #fff;
        font: inherit;
        font-size: 18px;
        text-align: left;
        text-decoration: none;
    }

    .mobile-drawer-menu__links a:hover,
    .mobile-drawer-menu__links button:hover,
    .mobile-drawer-menu__links button.is-active {
        color: #ff4521;
    }

    .mobile-drawer-menu__links.mobile-primary-links {
        grid-column: 1 / -1;
        gap: 18px;
        margin-top: 18px;
        padding: 0;
    }

    .mobile-drawer-menu__links.mobile-primary-links a {
        display: inline-flex;
        min-height: 28px;
        align-items: center;
        padding: 0;
        font-size: 18px;
        font-weight: 500;
    }

    .mobile-drawer-menu__language {
        position: absolute;
        right: 0;
        bottom: 8%;
        left: 0;
        z-index: 20;
        min-height: 88px;
        margin: 0;
        padding: 18px max(16px, calc((100vw - 420px) / 2));
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .partner-navigation.has-scrollable-menu .mobile-drawer-menu__language {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        z-index: 3;
        order: 3;
        margin: 24px 0 0;
        padding: 18px 0;
    }

    .partner-navigation.has-scrollable-menu .mobile-drawer-menu {
        height: auto;
        min-height: 100%;
        padding-bottom: 28px;
        box-sizing: border-box;
    }

    .partner-navigation.has-scrollable-menu .mobile-auth-actions {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        z-index: 3;
        order: 2;
        margin: 14px 0 0;
    }

    .mobile-auth-actions {
        position: absolute;
        right: max(20px, calc((100vw - 420px) / 2));
        bottom: calc(7% + 106px);
        left: max(20px, calc((100vw - 420px) / 2));
        z-index: 21;
        order: 2;
        margin: 0;
    }

    .public-contact-float {
        bottom: 10%;
    }

    .mobile-drawer-menu__language summary {
        display: inline-flex;
        min-height: 34px;
        justify-content: flex-start;
        gap: 0;
    }

        .mobile-drawer-menu__language summary span {
            display: inline-flex;
            min-height: 30px;
            align-items: center;
            padding: 0 16px;
            background: #ff4521;
            color: #fff;
            font-size: 13px;
            border-top-right-radius: 7px;
            border-bottom-right-radius: 7px;
        }

        .mobile-drawer-menu__language summary > .fa-globe {
            display: grid;
            width: 32px;
            min-height: 30px;
            place-items: center;
            background: #1c202b;
            color: #ff4521;
            font-size: 16px;
            border-top-left-radius: 7px;
            border-bottom-left-radius: 7px;
        }

    .mobile-drawer-menu__language summary > .fa-chevron-down {
        display: none;
    }

    .mobile-drawer-menu__language[open] .mobile-drawer-menu__links {
        position: absolute;
        z-index: 21;
        bottom: calc(86% + 8px);
        left: max(16px, calc((100vw - 420px) / 2));
        min-width: 150px;
        padding: 8px 12px;
        border: 1px solid #23324a;
        background: #0b1421;
    }

    .mobile-drawer-menu__language[open] {
        z-index: 30;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }

        .site-footer__grid > .footer-brand,
        .site-footer__grid > .footer-contact,
        .site-footer__grid > .footer-cta {
            grid-column: 1 / -1;
        }

        .site-footer__grid > nav {
            grid-column: auto;
            min-width: 0;
        }
}

/* Cards copied from About/noidung_aboutusindex02 into the Home action grid. */
.action-grid > .row {
    display: contents;
}

    .action-grid > .row > [class*="col-"] {
        display: flex;
        min-width: 0;
    }

.action-grid .bg_select {
    position: relative;
    width: 100%;
    min-height: 160px;
    padding: 18px 16px;
    border: 1px solid #4c515a;
    border-radius: 10px;
    background: linear-gradient(145deg, #30333a, #17191d);
    color: #fff;
    overflow: hidden;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.action-grid .action-card-link {
    padding-right: 56px;
    cursor: pointer;
}

.action-grid > a {
    position: relative;
    padding-right: 56px;
}

/* CKEditor-safe card structure: article > h3/a + p/a. */
.action-grid > .action-card::after {
    display: none !important;
}

.action-grid > .action-card .action-card__arrow {
    position: absolute;
    right: 18px;
    top: 22px;
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #00000000;
    color: #ff4521;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    transition: color .2s ease, transform .2s ease;
}

.action-grid > .action-card:hover .action-card__arrow,
.action-grid > .action-card:focus-visible .action-card__arrow,
.action-grid > .action-card.is-active .action-card__arrow {
    color: #168cff;
    transform: translateX(3px);
}

.action-grid > .action-card {
    position: relative;
    display: flex;
    min-height: 158px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 22px;
    background-image: linear-gradient(to top, #2F333D00, #2F333D);
    border: 0px solid #cccccc10;
    border-radius: 18px;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    transition: border-color .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease;
}


    .action-grid > .action-card:hover,
    .action-grid > .action-card:focus-visible {
        border-color: #ff4521;
        background: radial-gradient(circle at 20% 10%, rgba(21, 103, 255, .32), transparent 50%), linear-gradient(145deg, rgba(13, 45, 104, .98), rgba(7, 17, 34, .98));
        box-shadow: 0 0 0 1px rgba(22, 128, 255, .18), 0 12px 34px rgba(0, 93, 255, .26), inset 0 0 34px rgba(15, 92, 234, .12);
        transform: translateY(-3px);
    }

    /* JS rotates the highlighted action card every three seconds. */
    .action-grid > .action-card.is-active {
        border-color: #ff4521;
        background: radial-gradient(circle at 20% 10%, rgba(21, 103, 255, .38), transparent 52%), linear-gradient(145deg, rgba(13, 45, 104, .98), rgba(7, 17, 34, .98));
        box-shadow: 0 0 0 1px rgba(22, 128, 255, .22), 0 12px 36px rgba(0, 93, 255, .32), inset 0 0 38px rgba(15, 92, 234, .14);
        transform: translateY(-3px);
    }

        .action-grid > .action-card.is-active::before {
            border-color: #ff4521;
            box-shadow: 0 0 24px rgba(0, 111, 255, .28), inset 0 0 22px rgba(0, 111, 255, .14);
            color: #37a0ff;
        }

        .action-grid > .action-card.is-active::after {
            border-color: #ff4521;
            background: #0b3269;
            color: #fff;
            opacity: 1;
            transform: translate(0, 0) scale(1);
        }

.action-grid:has(> .action-card:hover) > .action-card.is-active:not(:hover) {
    background: linear-gradient(145deg, #30333a, #17191d);
    box-shadow: none;
    transform: none;
}

    .action-grid:has(> .action-card:hover) > .action-card.is-active:not(:hover)::after {
        border-color: #384558;
        background: rgba(9, 18, 30, .55);
        color: #69a7ff;
        opacity: 0;
        transform: translate(-4px, 4px) scale(.9);
    }

.action-grid > .action-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    padding-top: 15px;
    padding-bottom: 15px;
}

    .action-grid > .action-card h3::after {
        display: block;
        width: 62px;
        height: 4px;
        margin-top: 8px;
        background: #4d4d4d;
        content: "";
    }

.action-grid > .action-card p {
    margin: 12px 0 0;
    padding: 0;
    color: #aeb9cb;
    font-size: 10.5px;
    line-height: 1.55;
}

.action-grid > .action-card a {
    color: #cccccc;
    text-decoration: none;
}

.action-grid .action-card-link::after,
.action-grid > a::after,
.action-grid > .action-card::after {
    position: absolute;
    top: 15px;
    right: 15px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #69a7ff;
    content: "→";
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translate(-4px, 4px) scale(.9);
    transition: border-color .2s, background .2s, color .2s, opacity .2s, transform .2s;
}

.action-grid .action-card-link:hover::after,
.action-grid .action-card-link:focus-visible::after,
.action-grid > a:hover::after,
.action-grid > a:focus-visible::after,
.action-grid > .action-card:hover::after,
.action-grid > .action-card:focus-visible::after {
    border-color: #0b3269;
    background: #0b3269;
    color: #fff;
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.action-grid .action-card-link:focus-visible {
    outline: 2px solid #ff4521;
    outline-offset: 3px;
}

.action-grid .bg_select:hover {
    border-color: #4c515a;
    background: linear-gradient(145deg, rgba(49, 97, 227, .24), rgba(20, 29, 48, .96));
    box-shadow: 0 8px 25px rgba(22, 116, 255, .18);
    transform: translateY(-3px);
}

.action-grid > a:hover {
    border-color: #4c515a;
    background: linear-gradient(145deg, rgba(49, 97, 227, .24), rgba(20, 29, 48, .96));
}

.action-grid .title2_aboutusindex02 {
    position: relative;
    margin: 0 0 17px;
    padding-bottom: 11px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

    .action-grid .title2_aboutusindex02::before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 86px;
        border-bottom: 4px solid #666;
        content: "";
    }

    .action-grid .title2_aboutusindex02 img {
        float: right;
        width: auto;
        height: 25px;
    }

.action-grid .noidung2_aboutusindex02 {
    padding: 12px;
    background: rgba(0, 0, 0, .2);
    color: #f1f3f7;
    font-size: 15px;
    line-height: 1.5;
}

    .action-grid .noidung2_aboutusindex02 p {
        margin: 0;
    }

@media (min-width: 761px) {
}

@media (max-width: 760px) {
    .action-grid > .row > [class*="col-"] {
        grid-column: 1 / -1;
    }
}

/* Home action cards: wide three-column layout matching the visual reference. */
.action-grid {
    width: min(1180px, calc(100vw - 64px));
    margin-right: auto;
    margin-left: auto;
    gap: 20px 22px;
}

.action-section {
    width: 100%;
}


.action-grid > .action-card::after {
    bottom: auto;
    right: 18px;
    top: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    opacity: 1;
    transform: none;
}

.action-grid > .action-card.is-active::after,
.action-grid > .action-card:hover::after,
.action-grid > .action-card:focus-visible::after {
    border-color: #ff4521;
    border-radius: 10px;
    background: linear-gradient(145deg, #168cff, #075ed7);
    color: #fff;
    opacity: 1;
    transform: none;
}

@media (min-width: 761px) and (max-width: 1280px) {
    .action-grid > .action-card {
        min-height: 158px;
        padding: 22px 50px 22px 102px;
    }

        .action-grid > .action-card::before {
            left: 20px;
            width: 58px;
            height: 58px;
            border-radius: 15px;
            font-size: 26px;
        }

        .action-grid > .action-card:nth-child(5)::before {
            font-size: 17px;
        }

        .action-grid > .action-card h3 {
            font-size: 15px;
        }

            .action-grid > .action-card h3::after {
                width: 58px;
                margin-top: 7px;
            }

        .action-grid > .action-card p {
            margin-top: 11px;
            font-size: 10.5px;
            line-height: 1.55;
        }

        .action-grid > .action-card::after {
            right: 16px;
            bottom: 18px;
            width: 30px;
            height: 30px;
            font-size: 15px;
        }
}

@media (max-width: 760px) {
    .action-grid {
        width: min(100% - 32px, 520px);
        gap: 16px;
    }

        .action-grid > .action-card {
            min-height: 110px !important;
            padding: 22px 54px 22px 104px !important;
            border-radius: 14px;
        }

            .action-grid > .action-card::before {
                left: 18px;
                width: 58px;
                height: 58px;
                border-radius: 15px;
                font-size: 30px;
            }

            .action-grid > .action-card:nth-child(5)::before {
                font-size: 15px;
            }

            .action-grid > .action-card h3 {
                font-size: 12px;
            }
            .action-grid > .action-card h3 {
                padding-bottom: 0px;
            }

               
}
.home-contact-open{overflow:hidden}.home-contact-backdrop{position:fixed;z-index:1900;inset:0;background:rgba(3,10,24,.72);backdrop-filter:blur(5px)}.home-contact-modal{position:fixed;z-index:1910;top:50%;left:50%;width:min(520px,calc(100% - 28px));transform:translate(-50%,-50%)}.home-contact-modal[hidden],.home-contact-backdrop[hidden]{display:none}.home-contact-modal__inner{position:relative;padding:30px;border:1px solid rgba(49,97,227,.2);border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(5,18,48,.35)}.home-contact-modal__close{position:absolute;top:14px;right:14px;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:50%;background:#f0f3f9;color:#4e5b70;font-size:18px;cursor:pointer}.home-contact-modal__close:hover{background:#e2e8f5;color:#193b91}.home-contact-modal__eyebrow{color:#ff4521;font-size:11px;font-weight:800;letter-spacing:.14em}.home-contact-modal h2{margin:8px 45px 8px 0;color:#14213a;font-size:28px}.home-contact-modal__inner>p{margin:0 0 22px;color:#667085;font-size:13px;line-height:1.6}.home-contact-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-contact-options>a{display:grid;min-width:0;padding:14px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #e1e7f0;border-radius:12px;background:#f9fbff;color:#18243b;text-decoration:none;transition:.2s ease}.home-contact-options>a:hover{border-color:#8ba5ec;background:#edf3ff;color:#193b91;transform:translateY(-2px)}.home-contact-options>a>i:first-child{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#ff4521;color:#fff;font-size:18px}.home-contact-options>a>i:last-child{color:#8190a7;font-size:11px}.home-contact-options span{min-width:0}.home-contact-options b,.home-contact-options small{display:block}.home-contact-options b{font-size:13px}.home-contact-options small{margin-top:3px;overflow:hidden;color:#778399;font-size:10px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:560px){.home-contact-modal__inner{padding:25px 18px 20px}.home-contact-options{grid-template-columns:1fr}.home-contact-modal h2{font-size:24px}}
.home-contact-form .contact-input,.home-contact-form .contact-textarea{display:block;width:100%;margin:0 0 10px;padding:6px 13px;border:1px solid #d9dee7;border-radius:9px;background:#fff;color:#14213a;font:inherit;font-size:13px;outline:none}.home-contact-form .contact-textarea{min-height:95px;resize:vertical}.home-contact-form .contact-input:focus,.home-contact-form .contact-textarea:focus{border-color:#ff4521;box-shadow:0 0 0 3px rgba(49,97,227,.13)}.home-contact-form .contact-submit{width:100%;padding:12px 15px;border:0;border-radius:9px;background:#ff4521;color:#fff;font-size:13px;font-weight:750;cursor:pointer}.home-contact-form .contact-submit:hover{background:#ff4521}.home-contact-form .contact-submit:disabled{cursor:wait;opacity:.65}.home-contact-status{min-height:18px;margin:0 0 8px;font-size:11px}.home-contact-status.is-error{color:#c62828}.home-contact-status.is-success{color:#16833d}
.home-contact-modal{width:min(620px,calc(100% - 28px))}.home-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-contact-form .contact-input,.home-contact-form .contact-textarea{min-width:0;margin:0}.home-contact-form #public_contact_subject,.home-contact-form .contact-textarea,.home-contact-form .home-contact-status,.home-contact-form .contact-submit{grid-column:1/-1}.home-contact-form .contact-textarea{min-height:82px}.home-contact-form .home-contact-status{margin:0}.home-contact-form .contact-submit{margin-top:-2px}@media(max-width:560px){.home-contact-form{grid-template-columns:1fr}.home-contact-form #public_contact_subject,.home-contact-form .contact-textarea,.home-contact-form .home-contact-status,.home-contact-form .contact-submit{grid-column:auto}}
.home-contact-subject-row{display:block;grid-column:1/-1}.home-contact-subject-row.has-registration{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px}.home-contact-subject-row #public_contact_subject,.home-contact-subject-row .contact-input{width:100%;min-width:0;grid-column:auto}.home-contact-registration-select{height:auto;cursor:pointer}.home-contact-registration-select:invalid,.home-contact-registration-select:has(option[value=""]:checked){color:#757575}@media(max-width:560px){.home-contact-subject-row.has-registration{grid-template-columns:1fr}.home-contact-subject-row #public_contact_subject,.home-contact-subject-row .home-contact-registration-select{grid-column:1}}

/* Phone footer: navigation comes first, then branding and the remaining content. */
@media (max-width: 800px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .site-footer__grid > nav,
    .site-footer__grid > .footer-contact {
        grid-column: auto;
        order: 1;
        min-width: 0;
    }

    .site-footer__grid > .footer-brand {
        grid-column: 1 / -1;
        order: 3;
    }

    .site-footer__grid > .footer-cta {
        grid-column: 1 / -1;
        order: 2;
    }

    .site-footer__grid .footer-contact {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
    }

    .site-footer__grid .footer-contact h3 {
        grid-column: 1 / -1;
    }

    .site-footer__grid .footer-contact p {
        grid-column: auto !important;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .site-footer__grid .footer-contact .footer-contact__hours {
        grid-column: auto !important;
    }

}

/* Open the contact form above the floating contact button. */
.home-contact-modal.is-float-triggered {
    top: auto;
    right: 24px;
    bottom: 100px;
    left: auto;
    max-height: calc(100dvh - 122px);
    overflow-y: auto;
    transform: none;
    border-radius: 20px;
}

.home-contact-backdrop {
    background: rgba(3, 10, 24, .16);
    backdrop-filter: none;
}

@media (max-width: 800px) {
    .site-header .header-actions .language-picker,
    .site-header .header-actions .header-divider,
    .site-header .header-actions .header-login-link {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-header .header-actions {
        gap: 7px;
        font-size: 12px;
    }

    .site-header .header-actions .start-trading-button {
        min-height: 34px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }

    .mobile-drawer-start-trading {
        min-height: 34px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }

    .site-header .header-actions .language-picker__toggle {
        width: 27px;
        height: 27px;
    }
}
.partner-switch span {
    font-weight: 500;
    color: #ffffff;
}

@media (min-width: 561px) and (max-width: 1399px) {
    .home-contact-modal,
    .home-contact-modal.is-float-triggered {
        width: min(350px, calc(100% - 32px));
    }

    .home-contact-modal__inner {
        padding: 14px;
        border-radius: 15px;
    }

    .home-contact-modal h2 {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .home-contact-modal__inner > p {
        margin-bottom: 11px;
        font-size: 12px;
    }

    .home-contact-form {
        gap: 6px;
    }

    .home-contact-form .contact-input,
    .home-contact-form .contact-textarea {
        padding: 7px 10px;
    }

    .home-contact-form .contact-textarea {
        min-height: 52px;
    }

    .home-contact-form .contact-submit {
        padding: 9px 12px;
    }
}



@media (max-width: 560px) {
    .home-contact-modal.is-float-triggered {
        right: 14px;
        bottom: 84px;
        max-height: calc(100dvh - 102px);
    }
}

/* Premium Rebate-style public footer. */
.site-footer { border: 0; padding: 0; background: #17252a; color: #9ba7bb; }
.rebate-footer { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 16px 0 34px; }
.rebate-footer__telegram { padding: 0 0 24px; border-bottom: 1px solid rgba(222, 207, 157, .22); text-align: center; }.rebate-footer__telegram h2 { margin: 0; color: #aab5c8; font-size: 24px; font-weight: 400; }.rebate-footer__telegram p { margin: 8px 0 13px; color: #a9a1a0; font-size: 13px; }.rebate-footer__telegram a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 31px; border-radius: 12px; background: #ff4521; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.rebate-footer__partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; padding: 33px 38px; border-bottom: 1px solid rgba(222, 207, 157, .22); }.rebate-footer__partners > p { margin: 0; color: #aeb6c5; font-size: 13px; line-height: 1.7; text-align: center; }.rebate-footer__premium { display: flex; align-items: center; }.rebate-footer__premium img { display: block; width: min(100%, 204px); height: auto; }.rebate-footer__fbs { display: flex; align-items: center; justify-content: center; }.rebate-footer__fbs img { display: block; width: min(100%, 132px); height: auto; object-fit: contain; }
.rebate-footer__bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 24px; padding-top: 26px; }.rebate-footer__brand .rebate-footer__fbs { justify-content: flex-start; }.rebate-footer__brand p { margin: 12px 0 0; color: #aeb6c5; line-height: 1.7; }.rebate-footer__bottom > .rebate-footer__social { justify-content: flex-end; }.rebate-footer__bottom p { margin: 0 0 23px; font-size: 13px; }.rebate-footer__bottom nav { display: flex; gap: 28px; }.rebate-footer__bottom nav a { color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
    .rebate-footer__bottom nav a:hover {
        color: #ff4521;
    }
.rebate-footer__telegram a:hover {
    background: #ff8057;
}.rebate-footer__social {
        display: flex;
        align-items: center;
        gap: 20px;
    }.rebate-footer__social a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #ff4521; border-radius: 50%; color: #ff4521; font-size: 18px; text-decoration: none; }.rebate-footer__risk { margin: 21px 0 0; color: #5f6c7d; font-size: 13px; line-height: 1.7; }

.rebate-footer__premium img,
.rebate-footer__fbs img {
    transition: transform .3s ease, filter .3s ease;
}

.rebate-footer__premium:hover img,
.rebate-footer__fbs:hover img {
    filter: brightness(1.08);
    transform: scale(1.06);
}

.rebate-footer__telegram a,
.rebate-footer__bottom nav a,
.rebate-footer__social a,
.rebate-footer__social a i {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.rebate-footer__telegram a:hover {
    box-shadow: 0 8px 18px rgba(255, 69, 33, .28);
    transform: translateY(-2px);
}

.rebate-footer__social a:hover,
.rebate-footer__social a:focus-visible {
    border-color: #ff4521;
    background: #ff4521;
    color: #fff;
    box-shadow: 0 7px 15px rgba(255, 69, 33, .24);
    outline: none;
    transform: translateY(-3px);
}

.rebate-footer__social a:hover i,
.rebate-footer__social a:focus-visible i {
    transform: scale(1.12);
}

@media (prefers-reduced-motion: reduce) {
    .rebate-footer__premium img,
    .rebate-footer__fbs img,
    .rebate-footer__telegram a,
    .rebate-footer__bottom nav a,
    .rebate-footer__social a,
    .rebate-footer__social a i {
        transition: none;
    }
}
@media (max-width: 760px) { .rebate-footer { width: min(100% - 32px, 1000px); }.rebate-footer__partners { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px 18px; padding: 28px 0; }.rebate-footer__partners > .rebate-footer__fbs { grid-column: 1; grid-row: 1 / span 2; }.rebate-footer__partners > p { grid-column: 2; text-align: left; }.rebate-footer__partners > p:nth-of-type(1) { grid-row: 1; }.rebate-footer__partners > p:nth-of-type(2) { grid-row: 2; }.rebate-footer__premium, .rebate-footer__fbs { justify-content: center; }.rebate-footer__bottom { display: block; }.rebate-footer__social { margin-top: 24px; justify-content: center; gap: 11px; }.rebate-footer__bottom nav { justify-content: center; }.rebate-footer__bottom p { text-align: center; }.rebate-footer__risk { text-align: center; } }

@media (max-width: 760px) {
    .rebate-footer__brand {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
        align-items: center;
        gap: 18px;
        margin-bottom: 24px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(222, 207, 157, .22);
    }
    .rebate-footer__fbs img{
        margin-left:15px;
    }
    .rebate-footer__brand .rebate-footer__fbs {
        justify-content: flex-start;
    }
    .rebate-footer__bottom .rebate-footer__brand p { margin: 0; text-align: left; }
    .rebate-footer__bottom > .rebate-footer__social { justify-content: center; }
}

/* Expandable contact shortcuts. */
.contact-launcher { position: fixed; right: 24px; bottom: 28px; z-index: 1200; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact-launcher .public-contact-float { position: static; width: 72px; height: 72px; background: #ff4521; color: #061e16; font-size: 34px; box-shadow: none; }
.contact-launcher .public-contact-float:hover { background: #d9bd8a; }
.contact-launcher__links { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 6px; margin: -6px; max-height: calc(100dvh - 140px); overflow-y: auto; scrollbar-width: none; }
.contact-launcher__links[hidden] { display: none; }
.contact-launcher__item { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; font-size: 25px; text-decoration: none; cursor: pointer; transition: transform .18s ease; }
.contact-launcher__item:hover { transform: scale(1.08); color: #fff; }
.contact-launcher__item:focus-visible, .contact-launcher .public-contact-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.contact-launcher__telegram { background: #24aade; }
.contact-launcher__messenger { background: #4895ff; }
.contact-launcher__message { background: #79bd08; font-size: 23px; }
.contact-launcher__telegram:hover, .contact-launcher__message:hover { background: #d9bd8a; }
@media (max-width: 560px) {
    .contact-launcher { right: 16px; bottom: 18px; gap: 14px; }
    .contact-launcher .public-contact-float { width: 64px; height: 64px; font-size: 30px; }
    .contact-launcher__links { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-launcher button, .contact-launcher a { transition: none; }
}
.contact-launcher__links:not([hidden]) { animation: contact-launcher-reveal .22s ease-out; }
@keyframes contact-launcher-reveal {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .contact-launcher__links:not([hidden]) { animation: none; }
}
