/* Landing Page Css*/

:root {
    --left-of-cards-height: 0px;
}

.main-section {
    position: relative;
}


/* #topbar {
    padding-bottom: 0!important;
} */


/* 
#topbar {
    padding-bottom: 35px !important;
} */

#topbar #topbar-content {
    padding-top: 24px;
    padding-bottom: 24px;
}

#topbar #topbar-content .brand {
    margin-right: 24px;
}

#landing-section-1 {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(201, 14, 13, 0) 0%, #630706 100%);
}

#landing-section-2 {
    min-height: 600px;
    background: linear-gradient(180deg, #630706 0%, rgba(201, 14, 13, 0.8) 100%);
}

#landing-section-3 {
    position: relative;
    z-index: 2;
    background: #02011BCC;
}

#landing-section-4 {
    position: relative;
    min-height: 100vh;
    background: #02011BCC;
}

#landing-section-4::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    right: 0;
    bottom: 0;
    width: 50%;
    background: url('/img/Page-2.svg') no-repeat;
    background-size: cover;
    z-index: -1;
}

#landing-section-5 {
    background: linear-gradient(180deg, #BC0D0C 0%, #560605 100%);
}

#landing-section-6 {
    background: var(--dark-main-bg);
}

#topbar {
    background: transparent;
}

.multi-asset-container {
    position: relative;
    overflow: hidden;
}

.video-container-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-container-2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner {
    color: white;
    width: 100%;
    max-width: 900px;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-height: 103px;
}

.divider {
    transform: translateY(50%);
    background-color: #FFFFFF;
    width: 1px;
    height: 74px;
}

.flex-equal {
    flex: 1;
    min-width: 200px;
}

#marketsAccordion .accordion-item:last-child {
    border-bottom: none!important;
}


/* .left-of-cards {
    background: #020116;
    position: sticky;
    top: 70px;
    height: fit-content;
    padding-right: 20px;
}

.left-of-cards-container {
    z-index: 9999;
} */

#landing-section-4 .special-card {
    color: var(--main-text);
    margin-bottom: 32px;
    background: #38374c;
    padding: 40px 25px 40px 25px;
    border-radius: 40px;
    border: 0.83px solid #F5F5F533;
}

.pin-spacer {
    background-color: #02011a;
}

#landing-section-4 .special-card:last-child {
    margin-bottom: 0;
}

.trader-steps {
    position: relative;
    padding-bottom: 100px;
}

.trader-steps:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 82px;
    width: 1px;
    height: calc(100% - 58px);
    background-color: var(--border-color);
    transform: translateX(-50%);
    z-index: 0;
}

.features-ul {
    padding-left: 21px;
}

.tab-btn {
    width: 89px;
    height: 45px;
    color: var(--main-text)!important;
    border: 1px solid transparent;
    border-radius: 100px!important;
}

.tab-btn:hover {
    background-color: var(--border-color)!important;
    border-color: var(--border-color)!important;
}

.tab-btn.active {
    background-color: var(--medium-accent-color)!important;
    border-color: var(--medium-accent-color)!important;
}

.available-on-block {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.available-on-block:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.available-on-block img {
    transition: transform 0.3s ease;
}

.available-on-block:hover img {
    transform: scale(0.95);
}


/* Mobile Responsive Styles */

@media (max-width: 992px) {
    /* .sticky {
        position: sticky;
        top: -20px;
    }
    .special-cards-container {
        padding-left: 2px;
        padding-right: 2px;
    }
    .special-cards-container .card {
        position: sticky;
        top: var(--left-of-cards-height);
        margin-bottom: 0!important;
    }
    .special-cards-container .card:nth-child(1) {
        z-index: 9;
    }
    .special-cards-container .card:nth-child(2) {
        z-index: 10;
    }
    .special-cards-container .card:nth-child(3) {
        z-index: 11;
    } */
    .steps-left {
        padding-right: 0;
    }
}

.video-desktop {
    display: block!important;
}

.video-desktop {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 50px);
    /* max-height: 800px; */
    overflow: hidden;
    z-index: -1;
}

.video-desktop video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .banner-content {
        flex-direction: column;
        gap: 24px;
    }
    .divider {
        display: none;
    }
    .flex-equal {
        display: flex;
        width: 100%;
        min-width: unset;
        padding: 0;
    }
    .trader-steps {
        padding-bottom: 24px;
    }
    .trader-steps:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 29px;
        top: 82px;
        width: 1px;
        height: calc(100% - 58px);
        background-color: var(--border-color);
        transform: translateX(-50%);
        z-index: 0;
    }
    .laptop-img-container {
        margin-top: 170px;
    }
    .video-desktop {
        display: none!important;
    }
    .video-mobile {
        display: block!important;
    }
    .video-mobile {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* max-height: 800px; */
        overflow: hidden;
        z-index: -1;
    }
    .video-mobile video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
    }
}

.laptop-img-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    z-index: 0;
}

.laptop-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#trigger-image {
    margin-bottom: -60px;
    transition: transform 0.1s ease-out;
}

.floating-cards-container {
    margin-top: -80px;
}

.floating-card {
    width: fit-content;
    padding: 16px;
    height: 76px;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 24px 54px 0px #00000040;
}

.floating-card {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.floating-card.fade-left {
    transform: translateX(-20px);
}

.floating-card.fade-right {
    transform: translateX(20px);
}

.floating-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.special-cards-section {
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.special-cards-section .row {
    display: flex;
    align-items: center;
    width: 100%;
}

@media (min-width: 992px) {
    .laptop-img-container {
        position: absolute;
        bottom: 0;
        right: 100px;
        width: 100%;
        max-width: 800px;
    }
    #landing-section-1 {
        min-height: 100vh;
    }
    .platforms-img {
        margin-top: -92px;
    }
}

@media (max-width: 991.98px) {
    .laptop-img-container {
        position: static;
        margin-top: 230px!important;
    }
    .floating-cards-container {
        margin-top: -130px;
    }
    #landing-section-2 {
        padding-bottom: 0!important;
    }
    .sticky-container {
        height: 365px!important;
    }
    .special-cards-section .row {
        display: flex;
        align-items: center;
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .trader-steps:not(:last-child)::before {
        left: 19px;
        top: 62px;
        height: calc(100% - 38px);
    }
    .laptop-img-container {
        margin-top: 260px!important;
    }
    .floating-cards-container {
        margin-top: -140px;
    }
}

.floating-wrapper.card1 {
    animation: floatCard1 6s ease-in-out infinite;
}

.floating-wrapper.card2 {
    animation: floatCard2 6s ease-in-out infinite;
}

.floating-wrapper.card3 {
    animation: floatCard3 6s ease-in-out infinite;
}

.floating-wrapper.card4 {
    animation: floatCard4 6s ease-in-out infinite;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 530px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient( to bottom, transparent 0%, black 15%, black 95%, transparent 100%);
    mask-image: linear-gradient( to bottom, transparent 0%, black 15%, black 95%, transparent 100%);
}