.base-header {
    padding-top: 0;
}

.base-header .header-wrapper {
    background: none;
    color: var(--color-white);
}

.base-header .logo-imf img.is-normal {
    display: none;
}

.base-header .logo-imf img.is-white {
    display: block;
}

main h2 {
    font-size: 44px;
    margin-bottom: 0;
}

main h2 + .desc {
    font-size: 16px; 
    text-align: center;
    font-weight: 500;
    margin-top: 16px;
    margin-bottom: 60px;
}

main img {
    height: auto;
}

main .base-download-button .download {
    height: 48px;
    padding: 10px 40px;
    --position: 16px;
    --size: 24px 24px;
}

.top-banner {
    background: linear-gradient(180deg, #E8E7FF 0%, #F9EDFF 38.33%, #FFFFFF 100%);
    color: var(--color-white);
    padding: 0;
}

.top-banner .base-maxwidth {
    max-width: 100%;
    position: relative;
    display: flex;
    padding: 0;
}

.top-banner .content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
}

.top-banner h1 {
    font-size: 64px;
    text-align: center;
    text-shadow: 0 3.989px 3.989px rgba(0, 0, 0, 0.25);
    max-width: 1080px;
}

.top-banner .desc {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin: 12px auto 40px;
    max-width: 765px;
    text-shadow: 0 3.989px 3.989px rgba(0, 0, 0, 0.25);
}

.top-banner .banner-video {
    width: 100%;
    height: 88vh;
    object-fit: cover;
    max-height: 860px;
}

.generator-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 960px;
    border-radius: 20px;
    padding: 10px;
    position: relative;
    z-index: 0;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(20px);
}

.generator-wrapper .upload-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.generator-wrapper .upload-box,
.generator-wrapper .img-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: inherit;
}

.generator-wrapper .upload-box {
    cursor: pointer;
}

.generator-wrapper .upload-box svg {
    color: var(--color-block-drak);
    transition: color .2s;
    min-width: 56px;
}

.generator-wrapper .upload-box:hover svg {
    color: var(--color-primary);
}

.generator-wrapper .file-upload {
    opacity: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.generator-wrapper .img-operate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    opacity: 0;
    transition: opacity .2s;
}

.generator-wrapper .img-operate span {
    position: relative;
    z-index: 1;
    transition: opacity .2s;
    cursor: pointer;
}

.generator-wrapper .img-operate span:hover {
    opacity: .8;
}

.generator-wrapper .preview-img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: inherit;
}

@keyframes spin {
  from { transform: rotate(0deg); }

  to { transform: rotate(360deg); }
}

.generator-wrapper .loading-box {
    animation: spin 1s linear infinite;
    color: var(--color-primary);
    display: none;
}

.generator-wrapper .img-box,
.generator-wrapper .loading-box {
    display: none;
}

.generator-wrapper .upload-img.is-loading {
    background: #F8F8F9;
}

.generator-wrapper .upload-img.is-loading .loading-box,
.generator-wrapper .upload-img.is-uploaded .img-box {
    display: flex;
}

.generator-wrapper .upload-img.is-loading .upload-box,
.generator-wrapper .upload-img.is-loading .img-box,
.generator-wrapper .upload-img.is-uploaded .upload-box {
    display: none;
}

.generator-wrapper .upload-img.is-uploaded:hover .img-operate {
    opacity: 1;
}

.generator-wrapper .editor-box {
    display: flex;
    flex: 1;
    margin-right: 8px;
}

.generator-wrapper .editor-box .editor-textarea {
    width: 100%;
    height: 100%;
    border: none;
    font-size: 16px;
    resize: none;
    color: var(--color-block-drak);
    white-space: pre-wrap;
    max-height: 60px;
    padding-left: 8px;
    background: transparent;
}

.generator-wrapper .create-btn {
    height: 60px;
    padding: 6px 18px;
    font-size: 20px;
    color: var(--color-white);
    background: linear-gradient(102.67deg, #5CFFF5 2.47%, #685BFF 39.92%, #B124F3 90.82%);
    border-radius: 10px;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.generator-wrapper .create-btn:hover {
    opacity: .9;
}

.most-effects {
    padding: 140px 0;
}

.most-effects .effects-box {
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    position: relative;
    z-index: 0;
}

.most-effects .effects-box::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 54.09%);
    pointer-events: none;
}

.most-effects .effects-item {
    break-inside: avoid;
    max-width: 280px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.most-effects .effects-item .effects-video {
    width: 100%;
    border-radius: 12px;
}
 
.most-effects .effects-item .effects-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 8px;
    width: 170px;
    height: 40px;
    font-size: 16px;
    color: var(--color-white);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(235,236,238,.2);
    border-radius: 8px;
    transition: all .2s;
    opacity: 0;
    z-index: -1;
}

.most-effects .effects-item:hover {
    background: rgba(235,236,238,.4);
}

.most-effects .effects-item .effects-btn svg {
    min-width: 20px;
    margin-right: 6px;
}

.most-effects .effects-item:hover .effects-btn {
    opacity: 1;
    z-index: 1;
}

/* section-2 start */
.section-2 {
    padding: 140px 0;
}

.section-2 .main-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-2 .main-container h2 {
    text-align: center;
}

.section-2 .main-container p {
    font-size: 18px;
    text-align: center;
    color: #2a3048;
    margin-top: 16px;
}

.section-2 .main-container .templates-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.section-2 .main-container .templates-card .card-box {
    width: 238px;
    height: 408px;
    flex-shrink: 0;
    border: 4px solid transparent;
    border-radius: 22px;
    background: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.section-2 .main-container .templates-card .card-box:hover {
    transform: scale(1.18);
    background-color: #685bff;
}

.section-2 .main-container .templates-card .card-box.active {
    background-color: #685bff;
}

.section-2 .main-container .templates-card .card-box .template {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

.section-2 .main-container .templates-card .card-box .template .preview-img,
.section-2 .main-container .templates-card .card-box .template .preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.section-2 .main-container .templates-card .card-box .template .preview-video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
}

.section-2 .main-container .templates-card .card-box:hover .template .preview-img,
.section-2 .main-container .templates-card .card-box.active .template .preview-img {
    opacity: 0;
}

.section-2 .main-container .templates-card .card-box:hover .template .preview-video,
.section-2 .main-container .templates-card .card-box.active .template .preview-video {
    opacity: 1;
    pointer-events: auto;
}

.section-2 .main-container .templates-card .card-box .template .template-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.section-2 .main-container .templates-card .card-box:hover .template .template-name,
.section-2 .main-container .templates-card .card-box.active .template .template-name {
    display: none;
}

.section-2 .main-container .templates-card .card-box .template .shadow-box {
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    position: absolute;
    bottom: 0;
}

.section-2 .main-container .move-box .arr-btn {
    display: none;
}

.section-2 .main-container .download {
    width: 280px;
}

@media (max-width: 1024px) {
    .section-2 .main-container {
        padding: 0 16px;
        overflow: hidden;
    }

    .section-2 .main-container p {
        margin-top: 0;
        font-weight: 400;
        font-size: 12px;
    }

    .section-2 .main-container .download {
        width: auto;
    }

    .section-2 .main-container .move-box {
        width: 100%;
        position: relative;
        margin: 20px 0 55px;
    }

    .section-2 .main-container .move-box .arr-btn {
        display: block;
        width: 40px;
        height: 40px;
        position: absolute;
        z-index: 9;
        top: 50%;
        transform: translateY(-50%);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        background: rgba(235, 236, 238, 0.2);
        border-radius: 50%;
        padding-top: 7px;
        color: #fff;
        cursor: pointer;
    }

    .section-2 .main-container .move-box .arr-btn.left {
        padding-left: 10px;
        left: 8px;
    }

    .section-2 .main-container .move-box .arr-btn.left svg {
        transform: scaleX(-1);
    }

    .section-2 .main-container .move-box .arr-btn.right {
        right: 8px;
        padding-left: 13px;
    }

    .section-2 .main-container .templates-card {
        width: 100%;
        overflow-x: hidden;
        justify-content: flex-start;
        gap: 10px;
        margin: 0;
    }

    .section-2 .main-container .templates-card .card-box:hover {
        transform: none;
    }
}
/* section-2 end */


.most-articles h2 {
    margin-bottom: 0;
}

.most-articles .desc {
    margin-bottom: 80px;
}

.most-articles .articles-item {
    max-width: 320px;
    min-height: 422px;
    padding: 0;
}

.most-articles .articles-item picture {
    padding: 0 8px;
}

.most-articles .articles-item h3 {
    font-size: 24px;
    font-weight: 700;
    width: 100%;
    padding: 24px 24px 6px;
    flex: 0;
}

.most-articles .articles-item p {
    flex: 1;
    color: rgba(42, 48, 72, .8);
    font-size: 16px;
    font-weight: 500;
    padding: 0 24px 12px;
    width: 100%;
}

.guide-container {
    padding-bottom: 140px;
}

.guide-container .base-maxwidth {
    padding: 0;
}

.guide-container h2 {
    padding: 0 14px;
}

.guide-container .content {
    position: relative;
}

.guide-container .guide-box {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.guide-container .guide-item {
    max-width: 438px;
    width: 100%;
    text-align: center;
    margin: 0 12px;
    background: #F0F7FF;
    border-radius: 20px;
}

.guide-container .guide-item picture {
    overflow: hidden;
    border-radius: 20px;
}

.guide-container .guide-item img {
    width: 100%;
    border-radius: inherit;
    transition: all .2s;
    object-fit: cover;
}

.guide-container .guide-item img:hover {
    transform: scale(1.09);
}

.guide-container .guide-item h3 {
    font-size: 18px;
    padding: 20px 14px;
    margin: 0;
}

.guide-container .guide-swiper {
    margin-top: 60px;
}

.guide-container .swiper-slide {
    transform: scale(0.9);
    display: flex;
}

.guide-container .swiper-slide-active,
.guide-container .swiper-slide-duplicate-active {
    transform: scale(1);
}

.guide-container .arrow-box .arrow-btn {
    display: flex !important;
}

.guide-container .arrow-box .arrow-btn {
    top: 40%;
}

.guide-container .base-download-button {
    margin-top: 60px;
}

.reviews-container {
    background: none;
    padding: 0 0 140px;
}

.reviews-container h2 {
    margin-bottom: 0;
}

.reviews-container .reviews-item {
    background: rgba(104, 91, 255, 0.1);
    max-width: 880px;
}

.reviews-container .user-info {
    flex-direction: column;
    text-align: center;
}

.reviews-container .user-info .name {
    font-size: 21px;
    margin: 10px auto 4px;
}

.reviews-container .user-info .identity {
    font-size: 16px;
}

.reviews-container .user-info img {
    width: 70px;
    height: 70px;
    margin-right: 0;
}

.reviews-container .star-box {
    margin: 18px auto;
}

.reviews-container .star-box img {
    width: 24px;
}

.reviews-container .reviews-item .desc {
    font-size: 23px;
    font-weight: 400;
    max-width: 600px;
}

.reviews-container .base-download-button {
    margin-top: 60px;
}

.faq-container {
    padding-top: 0;
}

@media(max-width: 1100px) {
    main h2 {
        font-size: 36px;
    }

    main h2 + .desc {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    main .base-download-button .download  {
        padding: 10px 24px;
    }

    .top-banner h1 {
        font-size: 42px;
    }

    .top-banner .desc {
        font-size: 20px;
    }

    .most-explore,
    .guide-container,
    .reviews-container {
        padding-bottom: 100px;
    }

    .most-effects {
        padding: 100px 0;
    }

    .section-2 {
        padding: 100px 0;
    }

    .most-articles .desc {
        margin: 12px auto 40px;
    }

    .guide-container .guide-item  {
        margin: 0 2px;
    }

    .reviews-container .base-download-button,
    .guide-container .base-download-button {
        margin-top: 40px;
    }
}

@media(max-width: 992px) {
    main h2 {
        font-size: 20px;
    }
    
    main h2 + .desc {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .top-banner .content {
        padding: 0 14px;
    }

    .top-banner h1 {
        font-size: 32px;
    }

    .top-banner .desc {
        font-size: 14px;
        max-width: 600px;
    }

    .top-banner .banner-video {
        height: 428px;
        object-fit: cover;
    }

    .generator-wrapper {
        padding: 4px 10px;
    }

    .generator-wrapper .create-btn {
        height: 54px;
        font-size: 16px;
        padding: 6px 16px;
    }

    .most-explore,
    .guide-container,
    .reviews-container {
        padding-bottom: 60px;
    }

    .most-effects {
        padding: 60px 0;
    }

    .most-effects .effects-box {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }

    .most-effects .effects-box::before {
        height: 26%;
    }

    .most-effects .effects-box + div {
        margin-top: -65px;
        position: relative;
    }

    .most-effects .effects-item .effects-video {
        border-radius: 6px;
    }

    .most-effects .effects-item .effects-btn {
        width: 132px;
        height: 32px;
        font-size: 12px;
    }

    .most-effects .effects-item .effects-btn svg {
        min-width: 18px;
        margin-right: 4px;
        width: 18px;
        height: 18px;
    }

    .section-2 {
        padding: 60px 0;
    }

    .most-explore .desc {
        margin: 12px auto 24px;
    }

    .most-explore .explore-item {
        max-width: 200px;
        min-height: 264px;
        border-radius: 20px;
        border-radius: 16px;
        margin-right: 12px;
    }

    .most-explore .explore-item h3 {
        font-size: 16px;
        padding: 16px 16px 4px;
    }

    .most-explore .explore-item p {
        font-size: 12px;
        padding: 0 16px 6px;
    }

    .most-explore .base-download-button {
        margin-top: 30px;
    }

    .most-articles .desc {
        margin-bottom: 30px;
    }

    .guide-container .guide-item {
        margin: 0;
    }

    .guide-container .guide-item h3 {
        font-size: 16px;
        padding: 14px 12px;
        font-weight: 500;
    }

    .guide-container .guide-item picture {
        border-radius: 12px;
    }

    .reviews-container .base-download-button,
    .guide-container .base-download-button {
        margin-top: 30px;
    }

    .reviews-container .user-info .name {
        font-size: 18px;
    }

    .reviews-container .user-info .identity {
        font-size: 14px;
    }

    .reviews-container .star-box {
        margin: 12px auto;
    }

    .reviews-container .reviews-item .desc {
        font-size: 18px;
    }

}

@media(max-width: 576px) {
    .top-banner .banner-video {
        height: 697px;
        min-height: auto;
    }

    .generator-wrapper {
        padding: 14px 10px;
        flex-wrap: wrap;
    }

    .generator-wrapper .editor-box {
        flex: auto;
        margin: 0;
    }

    .generator-wrapper .create-btn {
        height: 42px;
        font-size: 14px;
        max-width: 220px;
        text-align: center;
        width: 100%;
        margin: 12px auto 0;
    }

    .most-effects .effects-box {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }

    .most-effects .effects-box::before {
        height: 16%;
    }
    
    .most-effects .effects-box + div {
        margin-top: -60px;
    }
}