.root {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 80px 32px 0;
}

.container {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    max-width: var(--content-max-width);
    align-items: center;
    border-radius: var(--border-radius-lg);
    background-image: url('./assets/bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.textContent {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius-lg);
    gap: 24px;
    color: var(--color-text-primary-inverted);
    max-width: 480px;
    margin-left: 88px;
    margin-bottom: 196px;
    margin-top: 196px;
    justify-content: flex-start;
}

.hsaContainer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkIcon {
    margin-top: -2px;
    width: 20px;
    height: 20px;
}

.buttonContainer {
    display: flex;
    gap: 12px;
}

.buttonContainer a {
    width: fit-content;
}

.carouselArea {
    display: flex;
    position: absolute;
    width: 360px;
    height: 540px;
    left: 50%;
    transform: translateX(30px);
    overflow: visible;
    pointer-events: none;
}

@media (width <= 1150px) {
    .textContent {
        max-width: 319px;
        gap: 12px;
        margin-top: 222px;
        margin-bottom: 287px;
        margin-left: 32px;
    }

    .title {
        font-size: 32px;
        line-height: 110%;
        letter-spacing: -1.28px;
    }

    .description {
        font-size: 14px;
        letter-spacing: -0.28px;
    }

    .buttonContainer {
        margin-top: 4px;
    }
}

@media (width <= 868px) {
    .root {
        padding: 80px 4px 0;
    }

    .container {
        background-image: url('./assets/bgmobile.webp');
        align-items: center;
        justify-content: center;
    }

    .textContent {
        justify-content: center;
        text-align: center;
        margin: unset;
        margin-top: 221px;
        padding: 32px 24px;
        max-width: unset;
        min-width: 367px;
        width: 100%;
        background: linear-gradient(180deg, rgba(13, 12, 17, 0) 0%, #0d0c11 75%);
    }

    .titleWrapper {
        display: flex;
        justify-content: center;
    }

    .title {
        max-width: 510px;
    }

    .hsaContainer {
        justify-content: inherit;
    }

    .buttonContainer {
        justify-content: inherit;
    }

    .carouselArea {
        display: none;
    }
}
