h1,
h2,
p {
    color: #f7fff8;
}

:root {
    --primary-color: #41c44a;
    --text-color: #ffffff;
    --bg-color: #faebd7;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
}

.mid-3-description {
    color: #ffffff;
}

.text-totalsupply {
    color: #f7fff8;
}

.mid-1-teile,
.mid-2-title,
.mid-3-teile,
.mid-4-teile {
    color: #41c44a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    font-family: "Bubblegum Sans", sans-serif;
    line-height: 1.6;
}

.main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Section */
.top {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo {
    width: clamp(150px, 20vw, 200px);
    height: auto;
    margin-bottom: 2rem;
}

.main-title {
    font-size: clamp(6rem, 12vw, 8rem);
    font-weight: 800;
    font-family: "Trade Winds", system-ui;
    margin: 1rem 0;
    text-align: center;
    color: #41c44a;
}

.slogan {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    /* max-width: 90%; */
    width: 680px;
    margin: 1rem 0;
    color: #f7fff8;
}

.main-btn {
    width: 460px;
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-l,
.btn-r {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-color);
    width: clamp(200px, 45%, 220px);
    height: 60px;
    border-radius: 30px;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: "Trade Winds", system-ui;
}

.btn-l:hover,
.btn-r:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.main-bg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

.main-bg-2 {
    position: absolute;
    top: -200px;
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

/* Story Container */
.story-container {
    overflow-x: hidden;
    /* 隐藏水平溢出 */
    margin: 4rem 0;
    width: 100%;
    max-width: 1400px;
    aspect-ratio: 14/5;
    height: clamp(300px, 50vh, 500px);
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    aspect-ratio: 14/5;
    animation: slide 20s linear infinite;
    /* 自动播放动画 */
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
        /* 移动整个 wrapper 的宽度 */
    }
}

/* Mid Sections */
.mid-1,
.mid-2,
.mid-3,
.mid-4 {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.mid-1 {
    background-color: #41c44a;
    min-height: 400px;
}

.mid-1-left {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 7/8;
    margin-bottom: 2rem;
}

.mid-1-left-ing {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mid-1-right {
    color: var(--text-color);
    max-width: 700px;
    text-align: center;
}

.mid-1-teile,
.mid-2-title,
.mid-3-teile,
.mid-4-teile {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    font-family: "Trade Winds", system-ui;
    margin: 1rem 0;
}

.mid-1-description,
.mid-3-description {
    font-size: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.6;
    min-width: 75%;
}

.mid-2 {
    min-height: 600px;
}

.mid-2-content {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.mid-2-item {
    width: clamp(250px, 30%, 400px);
    height: 360px;
    /* background-color: var(--primary-color); */
    background-image: url(/images/p.png);
    background-color: #1f1f1f;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.mid-2-item .icon {
    width: clamp(60px, 15vw, 80px);
    height: auto;
}

.text {
    color: var(--text-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 1rem 0;
    text-align: center;
}

.text-d {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-color);
    font-weight: 800;
    transition: all 0.25s ease-in-out;
}

.mid-3 {
    /* background-color: #ffffff; */
    min-height: 400px;
    text-align: center;
}

.wallet-addr {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--primary-color);
    margin: 1rem 0;
    word-break: break-all;
}

.mid-4 {
    background-color: var(--primary-color);
    min-height: 500px;
}

.mid-4-inner {
    width: 90%;
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.mid-4-item {
    width: clamp(250px, 30%, 330px);
    background-color: #409746;
    border: #000000 2px solid;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease-in-out;
    color: #f7fff8;
    cursor: pointer;
}

.mid-4-item:hover {
    background-color: #f7fff8;
    color: #37783b;

    .mid-4-description {
        color: #000000;
    }
}

.mid-4-icon {
    width: clamp(120px, 20vw, 180px);
    height: clamp(120px, 20vw, 180px);
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
}

.mid-4-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mid-4-name {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-family: "Trade Winds", system-ui;
    margin-bottom: 0.5rem;
}

.mid-4-description {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-align: center;
}

/* Footer */
.foot {
    width: 100%;
    min-height: 400px;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-container {
    width: 90%;
    max-width: 1400px;
}

.roadmap {
    display: flex;
    /* flex-direction: column; */
    gap: 2rem;
}

.foot-title {
    font-size: 50px;
    /* font-size: clamp(2rem, 5vw, rem); */
    font-family: "Trade Winds", system-ui;
    margin-bottom: 1rem;
}

.roadmap-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-text {
    font-size: clamp(1.5rem, 3vw, 1.2rem);
}

.roadmap-left,
.roadmap-right {
    width: 100%;
}

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(29, 29, 29, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Responsive Design */
@media (min-width: 768px) {

    .mid-1 {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .mid-1-left,
    .mid-1-right {
        width: 45%;
        text-align: left;
    }

    .roadmap {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
    }

    .roadmap-left,
    .roadmap-right {
        width: 100%;
    }

}

@media (max-width: 768px) {

    .main-bg {
        display: none;
    }

    /* nav */
    .nav {
        height: 60px;
        padding: 0 20px;
        justify-content: flex-end;
    }

    .hamburger {
        display: block;
        color: white;
        font-size: 2.2rem;
        cursor: pointer;
        z-index: 1000;
    }

    .nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(29, 29, 29, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav ul.active {
        right: 0;
        width: 100%;
    }

    .nav ul li {
        width: 100%;
        height: 50px;
        margin: 12px 0;
        font-size: 1.8rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }

    .nav ul.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: calc(0.1s * var(--i));
    }

    .nav ul::after {
        content: "";
        position: absolute;
        top: 20px;
        right: 20px;
        color: white;
        font-size: 3rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }



    /* nav */
    .story-container {
        height: 200px;
    }

    .main-title {
        font-size: 4rem;
    }

    .slogan {
        font-size: 3.5rem;
        max-width: unset;
        width: 90%;

    }

    .mid-2-item {
        width: 100%;
        max-width: 300px;
    }

    .mid-4-item {
        width: 100%;
        max-width: 330px;
    }

    .roadmap {
        flex-wrap: wrap;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .btn-l,
    .btn-r {
        width: 100%;
        max-width: 200px;
    }

    .mid-1-teile,
    .mid-2-title,
    .mid-3-teile,
    .mid-4-teile {
        font-size: 1.8rem;
        color: #f7fff8;
    }
}

.text-totalsupply {
    font-size: 30px;
    margin: 0px 0 30px 0;
    font-family: "Bubblegum Sans", sans-serif;
}

#svg-icon {
    fill: #41c44a;
}

.foot-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.roadmap-pic {
    width: 400px;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-pic-img {
    width: 100%;
}

.mid-4-teile {
    color: white;
}

#svg-icon {
    transition: all 0.3s ease;
}

.mid-2-item:hover {
    background-color: #41c44a;

    #svg-icon {
        fill: #000000;
    }

    .text-d {
        font-size: 5rem;
    }
}

ul {
    width: 100%;
    max-width: 1440px;
    display: flex;
    justify-content: space-between;

    li {
        width: 180px;
        height: 60px;
        font-size: 24px;
        border-radius: 10px;
        margin: 0 20px;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s ease;
    }

    a {
        font-family: "Trade Winds", system-ui;
    }

    li:hover {
        cursor: pointer;
        background-color: #000000;
        color: #000;
    }
}

a {
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active {
    color: #41c44a;
}

.bottom {
    width: 100%;
    height: 120px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    padding-top: 80px;
}

.partners {
    width: 100%;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.partners-inner {
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    .partner {
        width: 200px;
        height: 60px;
        border-radius: 8px;
        background-color: #131313;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out;
    }

    .partner:hover {
        background-color: #333333;
    }
}

.x {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #bdbdbd;
    padding: 16px;
    transition: all .25s ease-in-out;
    margin: 0 20px;
}

.x:hover {
    background-color: #41c44a;
}






.container {
    max-width: 1400px;
    aspect-ratio: 14/5;
    overflow: hidden;
    width: 100%;
    /* 隐藏超出容器的部分 */
    position: relative;
    cursor: grab;
    /* 鼠标拖拽时的手型光标 */
    user-select: none;
    /* 防止选中文字或图片 */
}

.image {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    /* 防止图片本身的拖拽干扰 */
}