body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f3fbff;
    overflow-x: hidden;
    line-height: inherit;
    width: 100%;

}

html {
    scroll-behavior: smooth;
}


/* header */
.header {
    position: absolute;
    margin: 40px;
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    transition: all 0.4s ease;
    animation: fadeDown 1.2s ease-out forwards;

}

.social-icon {
    display: flex;
    flex-direction: row;
}

.social-icon a {
    font-size: 20px;
    margin: 5px;
    color: #fff;
}

.social-icon a:hover {
    color: #ff5a3c;
    transform: scale(1.2);
}

.logo img {
    width: 100px;
    transition: transform 0.5s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

/* HERO SECTION */
.hero-section {
    background-image: url("asset/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    border-bottom-right-radius: 20%;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
    margin-bottom: 10px;
    animation: fadeIn 1.5s ease-out;
}

.main {
    position: absolute;
    z-index: 10;
    margin-top: 7rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.supply {
    animation-delay: 1.6s;
}

.web-platform {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.logo2meta-soul {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.textmeta {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.textmeta p {
    color: #ffffffe6;
    text-align: center;
    font-family: 'Poppins';
    font-weight: 400;
    opacity: 1;
    transform: none;
    font-size: .875rem;
    line-height: 1.25rem;
}

.button-mint {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
}

.web-platform {
    animation-delay: 0.4s;
    margin-top: 16px;
}

.web-platform img {
    width: 170px;
    max-width: 100%;
    height: auto;
}

.supply img {
    width: 8rem;
    margin-bottom: 40px;
    max-width: 100%;
    height: auto;
}

.logo2meta-soul {
    animation-delay: 0.8s;
}

.logo2meta-soul img {
    width: 400px;
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.logo2meta-soul img:hover {
    transform: scale(1.05);
}

.textmeta {
    animation-delay: 1.2s;
}

.textmeta img {
    width: 550px;
    max-width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.textmeta img:hover {
    transform: scale(1.05);
}

.button-mint {
    animation-delay: 2s;
}

.button-mint img {
    width: 300px;
    max-width: 100%;
    height: auto;
}

/* ANIMATIONS */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* carousel */
.carousel-container {
    overflow: hidden;
    text-align: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.carousel {
    display: flex;
    gap: 32px;
    animation: scrollLeft 45s linear infinite;
    width: max-content;
}

.carousel img {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* why-chose */
.why-chose {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;

}

.title-why {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.title-why img {
    max-width: 100%;
    height: auto;
}

.text-why {
    display: flex;
    justify-content: center;
    margin-bottom: 0%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    max-width: 45rem;

}

.text-why p {
    font-family: 'Poppins';
    font-weight: 400;
    opacity: 1;
    transform: none;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

/* features */
.features-section {
    background-color: #f3fbff;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 64px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 85%;
    max-width: 1200px;
}

.position-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: fit-content;
    height: fit-content;

}

.position-card img {
    width: 7rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 300px;
    height: auto;
    min-height: 250px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;

}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(36, 0, 0, 0.1);
}


.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
    font-size: 18px;
    width: 10rem;
}

.feature-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* footer */
.logo-footer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    width: 60%;
    max-width: 800px;
    margin: 0 auto 20px;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.supra-logo img {
    margin-top: 20px;
    width: 150px;
    max-width: 100%;
    height: auto;
}

.crystal-logo img {
    width: 80px;
    max-width: 100%;
    height: auto;
}

.ton-logo img {
    margin-top: 20px;
    width: 150px;
    max-width: 100%;
    height: auto;
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.appear {
    opacity: 1;
    transform: translateY(0);
}


.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .header {
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 5rem;
        display: flex;
        justify-content: space-between;
    }

    .social-icon a {
        font-size: 24px;
    }

    /* Hero section */
    .hero-section {
        min-height: 100vh;
        border-bottom-right-radius: 0;
    }

    .main {
        margin-top: 15rem;
    }

    .web-platform {
        margin-bottom: 3rem;
    }

    .web-platform img {
        width: 15rem;
    }

    .logo2meta-soul img {
        width: 30rem;
        margin-bottom: 2rem;
    }

    .textmeta {
        margin-bottom: 3rem;
        max-width: 46rem;
    }

    .textmeta p {
        font-size: .990rem;
    }

    .supply img {
        width: 200px;
    }

    .button-mint img {
        width: 25rem;
    }

    /* Features grid */

    .features-section {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .features-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        place-items: center;
        padding: 40px;
        width: 90%;
    }

    .feature-card {
        padding: 30px 20px;
        min-height: 220px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    /* Footer */
    .footer {
        width: 80%;
    }

    .supra-logo img,
    .ton-logo img {
        width: 120px;
    }

    .crystal-logo img {
        width: 70px;
    }

    /* Carousel */
    .carousel {
        gap: 24px;
    }

    .carousel img {
        width: 180px;
        height: 180px;
    }
}


@media (max-width: 768px) {
    .header {
        margin: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .social-icon {
        display: flex;
        align-items: center;
    }

    .social-icon a {
        font-size: 14px;
        margin: 3px;
    }

    /* Hero section */
    .hero-section {
        min-height: 100vh;
        border-bottom-right-radius: 0;
        background-position: center top;

    }

    .main {
        margin-top: 60px;
        padding: 0 15px;
    }

    .logo2meta-soul img {
        width: 250px;
    }

    .textmeta {
        max-width: 30rem;
    }

    .textmeta p {
        font-size: .605rem;
    }

    .supply img {
        margin-bottom: 20px;
        width: 150px;
    }

    .button-mint img {
        width: 220px;
    }

    /* Carousel */
    .carousel-container {
        margin-bottom: 50px;
    }

    .carousel {

        gap: 20px;
        animation-duration: 35s;
    }

    .carousel img {
        width: 140px;
        height: 140px;
    }

    /* Why Choose */
    .title-why {
        margin-bottom: 40px;
    }

    .title-why img {
        width: 280px;
    }

    .text-why {
        margin-bottom: 2.5rem;
        ;
    }

    /* Features */
    .features-section {
        padding: 80px 0;
    }

    .features-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        width: 95%;
        gap: 20px;
        display: grid;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

    }

    .feature-card {
        padding: 25px 20px;
        min-height: 200px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
    }

    /* Footer */
    .footer {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        width: 90%;
        justify-content: center;
    }

    .supra-logo img,
    .ton-logo img {
        width: 80px;
    }

    .crystal-logo img {
        width: 50px;
    }
}


@media (max-width: 480px) {
    .header {
        margin: 15px;
        padding: 10px;

        border-radius: 10px;
    }

    .logo img {
        width: 60px;
    }

    .social-icon {
        margin-top: 0;
    }

    .social-icon a {
        font-size: 12px;
    }

    /* Hero */
    .hero-section {
        min-height: 120vh;
        padding: 0;
        border-bottom-right-radius: 0;
        background-size: cover;
        background-position: center;
        margin-bottom: 2rem;
    }

    .main {
        margin-top: 5rem;
        padding: 0 10px;
    }

    .logo2meta-soul img {
        width: 200px;
    }

    .textmeta {
        max-width: 45rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .textmeta p {
        font-size: .800rem;
    }

    .supply img {
        width: 120px;
        margin-bottom: 15px;
    }

    .button-mint img {
        width: 200px;
    }

    /* Carousel */
    .carousel-container {
        margin-bottom: 4rem;
        padding: 0 10px;
    }

    .carousel {
        gap: 15px;
        animation-duration: 25s;
    }

    .carousel img {
        width: 150px;
        height: 150px;
    }

    /* Why Choose */
    
    .why-chose {
        margin-bottom: 0%;
    }


    .title-why {
        margin-bottom: 20px;
    }

    .title-why img {
        width: 22rem;

    }

    .text-why {
        height: 3rem;
        max-width: 40rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .text-why p {
        font-size: .940rem;
    }

    /* Features */
    .features-section {
        padding: 0;
    }

    .features-container {
        grid-template-columns: 1fr;
        width: 95%;
        gap: 15px;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;


    }

    .feature-card {
        padding-top: 3rem;
        width: 15rem;
    }

    .feature-card h3 {
        font-size: 14px;
        font-family: 'poppins';
        font-weight: 400;
    }

    /* Footer */
    .footer {
        width: 100%;
        flex-direction: row;
        gap: 10px;
        padding: 20px;
    }

    .supra-logo img,
    .ton-logo img {
        width: 7rem;
    }

    .crystal-logo img {
        width: 4rem;
    }
}


@media (max-height: 500px) and (orientation: portrait) {
    .hero-section {
        min-height: 70vh;

    }

    .main {
        margin-top: 30px;
    }

    .features-section {
        padding: 40px 0;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }

    .main {
        flex-direction: column;
        margin-top: 40px;
    }

    .logo2meta-soul img {
        width: 250px;
    }

    .textmeta p {
        font-size: .675rem;
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


@media (max-width: 900px) and (orientation: landscape) {
    .header {
        margin-top: 1.8rem;
    }

    .logo img {
        width: 6rem;
    }

    .social-icon {
        margin-top: 0;
    }

    .social-icon a {
        font-size: 1.3rem;
    }

    .hero-section {
        min-height: 160vh;
        border-bottom-right-radius: 0;
        background-position: center top;
    }

    .main {
        margin-top: 6rem;
    }

    .web-platform {
        margin-bottom: 1rem;
    }

    .web-platform img {
        width: 10rem;
    }

    .logo2meta-soul {
        margin-bottom: 0rem;
    }

    .logo2meta-soul img {
        width: 15em;
    }

    .textmeta {
        max-width: 30rem;
        margin-bottom:2rem ;    
    }

    .textmeta p {
        font-size: .605rem;
    }

    .supply img {
        margin-bottom: 2rem;
        width: 150px;
    }

    .button-mint img {
        width: 220px;
    }
    
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.appear,
.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}