@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'MaisonNeue-ExtendedBook';
    src: url('assets/fonts/MaisonNeue-ExtendedBook.ttf') format('truetype');
}

@font-face {
    font-family: 'MaisonNeue-Light';
    src: url('assets/fonts/MaisonNeue-Light.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', sans-serif;
    color: #ffffff;
    background-color: #000000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0);  /* 初始状态稍微有点深色 */
    left: 0;
    right: 0;
}

/* 滚动时的样式 */
header.scrolled {
    background: rgba(0, 0, 0, 0.2);  /* 更深的背景色 */
    backdrop-filter: blur(3px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);  /* 更明显的阴影 */
}

.header-content {
    max-width: 1400px;  /* 限制最大宽度 */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;  /* 允许在需要时换行 */
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.3s;
    white-space: nowrap;  /* 防止文字换行 */
}

nav a:hover {
    opacity: 0.8;
}

.screener-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid #ffffff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;  /* 防止按钮文字换行 */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.screener-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    border-radius: inherit;
}

.screener-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.screener-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.screener-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);  /* 将图标转换为白色 */
}

/* 响应式调整 */
@media (max-width: 1024px) {
    nav ul {
        gap: 20px;  /* 减小间距 */
    }
    
    nav a {
        font-size: 16px;  /* 稍微减小字体 */
    }
    
    .screener-btn {
        padding: 10px 20px;  /* 减小按钮内边距 */
        font-size: 16px;
    }
}

/* Hero Section */
.hero {
    min-height: 80vh;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: bottom right;
    display: flex;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.hero-content {
    padding: 0px 40px;
    max-width: 800px;
    margin-left: calc((100vw - 1400px) / 2);
    position: relative;
    z-index: 1;
}

/* Hero 动效 */
.hero h1 {
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffc5ff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero .cta-buttons {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* 背景微动效 */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    animation: subtleFloat 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleFloat {
    0%, 100% {
        transform: scale(1.05) translate(0, 0);
    }
    50% {
        transform: scale(1.05) translate(-10px, -10px);
    }
}

/* 保持按钮样式 */
.hero .btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
}

.hero .btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero .btn:hover svg {
    transform: translateX(3px);
}

h1 {
    font-family: 'MaisonNeue-ExtendedBook', sans-serif;
    font-size: 72px;
    margin-top: 20px;
    margin-bottom: 20px;
}

h2 {
    font-family: 'MaisonNeue-ExtendedBook', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
}

p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn-gradient {
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #00FFFF, #FF00FF);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover::before {
    opacity: 1;
}

/* 添加媒体查询以处理小屏幕 */
@media (max-width: 1400px) {
    .hero-content {
        margin-left: 40px;
    }
}

/* Features 部分基础样式 */
.features {
    padding: 100px 0;
    background-image: linear-gradient(180deg, #000000 0%, #0A0A0A 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

/* 网格背景 */
.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(1000px) rotateX(45deg) scale(2);
    opacity: 0.5;
    pointer-events: none;
    transform-origin: center center;
    z-index: 1;
}

/* 添加一个额外的 div 作为 overlay */
.features-overlay {
    position: absolute;
    inset: 0;
    background-image: url('assets/images/bottom.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 2;
}

.features-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 0 40px;
}

.features-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #ffffff;
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(3px);
    text-align: center;
    box-shadow: 
        0 0 40px rgba(145, 70, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.features-content h2 {
    font-family: 'MaisonNeue-ExtendedBook', sans-serif;
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;  /* 确保标题居中 */
}

.features-content p {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 24px;
    text-align: center;  /* 确保段落居中 */
}

.features-visual {
    flex: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;  /* 添加垂直居中 */
    gap: 30px;
    padding: 20px;
}

.feature-video {
    width: 100%;
    height: auto;
    border-radius: 24px;
    background: linear-gradient(#000000, #000000) padding-box,
                linear-gradient(45deg, #FF00FF, #00FFFF) border-box;
    border: 1px solid transparent;
    object-fit: cover;
    position: relative;
}

/* 可选：添加发光效果 */
.feature-video::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    opacity: 0.2;
    filter: blur(8px);
    z-index: -1;
}

.feature-title {
    margin-top: 20px;
    width: 100%;
    max-width: 400px;  /* 调整标题图片的最大宽度 */
    height: auto;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    color: #ffffff;  /* 设置 SVG 图标颜色为白色 */
}

/* 修改 SVG 图标的颜色 */
.social-icons svg {
    fill: #ffffff;  /* 确保 SVG 图标为白色 */
}

.social-icon:hover {
    opacity: 1;
}

/* 只对图片类型的图标应用 filter */
.social-icon[src*="dextools"],
.social-icon[src*="dexscreener"] {
    filter: brightness(0) invert(1);
}

/* 修改 Twitch 按钮样式 */
.twitch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(45deg, #9146FF, #FF00FF);  /* 添加渐变色 */
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin: 20px auto 0;
    transition: all 0.3s ease;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    position: relative;  /* 为悬停效果添加定位 */
    z-index: 1;  /* 确保渐变在正确的层级 */
    overflow: hidden;  /* 控制渐变动画范围 */
}

/* 添加 Twitch 按钮悬停效果 */
.twitch-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FF00FF, #9146FF);  /* 反向渐变 */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.twitch-button:hover::before {
    opacity: 1;
}

.twitch-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.4);
}

/* Abilities Section */
.abilities {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #0A0A0A 0%, #000000 80%);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* 添加光晕效果 */
.abilities::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    left: 25%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle at center,
        rgba(255, 0, 255, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.abilities-container {
    position: relative;
    z-index: 2;
}

.abilities-header,
.abilities-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.abilities-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.abilities-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.abilities-header p {
    font-size: 20px;
    opacity: 0.8;
}

.abilities-container {
    display: flex;
    gap: 100px;  /* 增加间距 */
    padding: 0 40px;
    position: relative;
    min-height: 600px;  /* 确保有足够的高度 */
    align-items: center;  /* 垂直居中 */
}

.abilities-figure {
    flex: 1;
    position: relative;  /* 改为相对定位 */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abilities-figure img {
    width: 50%;  /* 减小图片大小 */
    height: auto;
}

/* 修改连接线容器样式 */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;  /* 将 z-index 改为 0，让它在 accordion 下面 */
}

/* 添加流动动画 */
@keyframes flowLine {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 16px 0;  /* 两倍的虚线间距 */
    }
}

/* 修改连接线样式 */
.connection-lines .line {
    stroke-dasharray: 10, 5;  /* 保持原有的虚线样式 */
    animation: flowLine 3s linear infinite;  /* 添加流动动画 */
}

/* 添加端点样式 */
.line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
}

/* 调整连接线位置以对齐 accordion items */
.line[data-target="memory"] { 
    top: calc(10% + 30px);  /* 第一条保持原位 */
    right: -30px;
}

.line[data-target="awareness"] { 
    top: calc(30% + 20px);  /* 上移 10px */
    right: -30px;
}

.line[data-target="expression"] { 
    top: calc(50% + 0px);   /* 上移 30px */
    right: -30px;
}

.line[data-target="voice"] { 
    top: calc(70% - 30px);  /* 上移 60px */
    right: -30px;
}

.line[data-target="gesture"] { 
    top: calc(90% - 70px);  /* 上移 100px */
    right: -30px;
}

/* 修改激活状态的动画 */
.accordion-item.active ~ .connection-lines .line {
    opacity: 0;  /* 默认所有线都隐藏 */
    transform: scaleX(0);  /* 默认缩放为 0 */
}

/* 只显示当前激活项的连接线 */
.accordion-item[data-feature="memory"].active ~ .connection-lines .line[data-target="memory"],
.accordion-item[data-feature="awareness"].active ~ .connection-lines .line[data-target="awareness"],
.accordion-item[data-feature="expression"].active ~ .connection-lines .line[data-target="expression"],
.accordion-item[data-feature="voice"].active ~ .connection-lines .line[data-target="voice"],
.accordion-item[data-feature="gesture"].active ~ .connection-lines .line[data-target="gesture"] {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: right;
}

.abilities-content {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.accordion-item {
    background: #080808;
    border: 1px solid #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;  /* 添加 z-index 确保在连接线上层 */
}

.accordion-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header h3 {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
}

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

.icon svg {
    stroke-width: 1.5;
    stroke: url(#base-gradient);  /* 使用新的基础渐变色 */
}

.plus {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.accordion-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-body {
    padding: 0 24px 24px;
    max-height: 200px;
}

.accordion-item.active .plus {
    transform: rotate(45deg);
}

/* 修改 accordion 激活状态的样式 */
.accordion-item.active .icon svg {
    stroke: url(#active-gradient);  /* 使用激活状态的渐变色 */
}

.accordion-item.active .accordion-header h3 {
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 添加 SVG 渐变定义 */
.abilities-content {
    position: relative;
}

/* Tokenomics Section */
.tokenomics {
    padding: 150px 0;
    background: #000000;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.tokenomics-container {
    max-width: 1000px;  /* 收窄容器宽度 */
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.tokenomics h2 {
    font-family: 'MaisonNeue-ExtendedBook', sans-serif;
    font-size: 48px;
    margin-bottom: 80px;
    text-align: center;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.token-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;  /* 添加居中对齐 */
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.detail-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;  /* 加粗一点更好看 */
}

.detail-value {
    font-size: 32px;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .token-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        padding: 30px;
    }
    
    .detail-value {
        font-size: 36px;
    }
}

/* 删除所有之前的光晕相关代码 */
.container::after,
.abilities::after,
.features::after,
.glow-effect {
    display: none;
}

/* 添加一个新的 div 专门用于光晕效果 */
.glow-effect {
    position: fixed;  /* 固定在视口中 */
    width: 700px;
    height: 700px;
    top: 1000px;  /* 调整垂直位置到 abilities section */
    background: radial-gradient(
        circle at center,
        rgba(255, 0, 255, 0.3) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

/* 确保背景色正确 */
.abilities {
    background: linear-gradient(180deg, #0A0A0A 0%, #000000 80%);
}

.tokenomics {
    background: #000000;
}

/* CTA Section */
.cta-section {
    padding: 150px 0;
    text-align: center;
    background: #000000;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-section h2 {
    font-family: 'MaisonNeue-ExtendedBook', sans-serif;
    font-size: 64px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-section .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-section .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 18px;
}

.cta-section .btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.cta-section .btn:hover svg {
    transform: translateX(3px);
}

/* Footer */
.footer {
    padding: 70px 0 40px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-logo {
    display: flex;
    gap: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 120px;  /* 增加间距 */
    margin-left: auto;  /* 将整个 links 区域推到右边 */
}

.footer-column:first-child {
    margin-left: auto;  /* 将 Navigation 列推到右边 */
}

.footer-column:last-child {
    margin-left: 120px;  /* 确保 Social 列和 Navigation 列有足够间距 */
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cta-section h2 {
        font-size: 48px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}

/* Hero Section 标题效果 */
.hero h1 {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffc5ff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 修改按钮样式 */
.hero .btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
}

.hero .btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero .btn:hover svg {
    transform: translateX(3px);
}

.feature-video-container {
    position: relative;
    width: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid #ffffff;
    border-radius: 16px;
    padding: 20px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.floating-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.floating-card p {
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

/* 添加浮动动画 */
@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-50%) translateX(5px); }
}

@keyframes float3 {
    0%, 100% { transform: translateX(-50%); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* 左侧卡片 */
.floating-card.role {
    top: 20px;
    left: -30px;
    max-width: 220px;
    animation: float1 3s ease-in-out infinite;
}

/* 右侧卡片 */
.floating-card.personality {
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    max-width: 220px;
    animation: float2 4s ease-in-out infinite;
}

/* 底部卡片 */
.floating-card.interests {
    bottom: -20px;
    left: 40%;
    transform: translateX(-50%);
    max-width: 220px;
    animation: float3 3.5s ease-in-out infinite;
}

/* 添加流动动画 */
@keyframes flowLine {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 16px 0;  /* 两倍的虚线间距 */
    }
}

.line {
    position: absolute;
    left: 55%;
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #ffffff 50%, 
        #ffffff 100%);
    background-size: 8px 1px;
    opacity: 0;
    transition: all 0.3s ease;
    animation: flowLine 0.3s linear infinite;  /* 从 0.5s 改为 0.3s */
}

/* 装饰性元素 */
.decorative-element {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* 装饰元素浮动动画 */
@keyframes floatElement1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatElement2 {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes floatElement3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

/* abilities 部分装饰 */
.element-3 {
    left: 5%;
    top: 50px;
    width: 180px;
    animation: floatElement2 6s ease-in-out infinite;
    filter: blur(1px);
    opacity: 0.9;
}

.element-1 {
    right: 3%;
    top: 100px;
    width: 240px;
    animation: floatElement1 5s ease-in-out infinite;
    opacity: 1;
}

.element-7 {
    left: 15%;
    top: 200px;
    width: 120px;
    animation: floatElement3 7s ease-in-out infinite;
    filter: blur(2px);
    opacity: 0.85;
}

/* tokenomics 部分装饰 */
.element-5 {
    left: 8%;
    top: 50%;
    width: 160px;
    animation: floatElement1 8s ease-in-out infinite;
    filter: blur(1.5px);
    opacity: 0.8;
}

.element-2 {
    right: 5%;
    top: 30%;
    width: 200px;
    animation: floatElement2 7s ease-in-out infinite;
    opacity: 0.95;
}

.element-8 {
    right: 15%;
    top: 60%;
    width: 140px;
    animation: floatElement3 6s ease-in-out infinite;
    filter: blur(1px);
    opacity: 0.9;
}

/* cta-section 部分装饰 */
.element-6 {
    left: 3%;
    bottom: 100px;
    width: 220px;
    animation: floatElement2 5s ease-in-out infinite;
    opacity: 1;
}

.element-4 {
    right: 7%;
    bottom: 50px;
    width: 150px;
    animation: floatElement1 6s ease-in-out infinite;
    filter: blur(2px);
    opacity: 0.8;
}

.element-9 {
    left: 20%;
    bottom: 150px;
    width: 130px;
    animation: floatElement3 7s ease-in-out infinite;
    filter: blur(1px);
    opacity: 0.85;
}

/* tokenomics section 的光晕效果 */
.tokenomics {
    position: relative;  /* 确保相对定位 */
}

.tokenomics::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    top: 50%;
    right: -200px;
    transform: translateY(-50%);
    background: radial-gradient(
        circle at center,
        rgba(0, 255, 255, 0.2) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    filter: blur(50px);
}

.tokenomics::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    background: radial-gradient(
        circle at center,
        rgba(255, 0, 255, 0.15) 0%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

/* 确保内容在光晕上层 */
.tokenomics-container {
    position: relative;
    z-index: 1;
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 调整滚动位置，考虑 header 高度 */
html {
    scroll-padding-top: 100px;  /* header 的高度 + 一些额外空间 */
}

/* 给链接添加过渡效果 */
nav a, .footer-column a {
    transition: color 0.3s ease;
}

/* CTA Section 背景 overlay */
.cta-section {
    position: relative;  /* 确保相对定位 */
    overflow: hidden;  /* 防止 overlay 溢出 */
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;  /* 等同于 top: 0; right: 0; bottom: 0; left: 0; */
    background-image: url('assets/images/overlay.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

/* 确保内容在 overlay 上层 */
.cta-container {
    position: relative;
    z-index: 1;
}

/* 修改动画初始状态 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;  /* 优化性能 */
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 给不支持 JS 的浏览器提供回退方案 */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 平板电脑（iPad）响应式样式 */
@media (max-width: 1024px) {
    /* Hero 部分调整 */
    h1 {
        font-size: 56px;  /* 减小标题大小 */
    }

    .hero-content {
        padding: 0 30px;
        margin-left: 30px;  /* 调整边距 */
    }

    /* Features 部分调整 */
    .features-container {
        flex-direction: column;  /* 改为垂直布局 */
        padding: 0 30px;
    }

    .features-content {
        max-width: 100%;  /* 占满宽度 */
        margin-bottom: 40px;
    }

    .feature-video-container {
        max-width: 100%;  /* 视频容器占满宽度 */
    }

    /* Abilities 部分调整 */
    .abilities-container {
        flex-direction: column;  /* 改为垂直布局 */
        padding: 0 30px;
    }

    .abilities-figure {
        margin: 40px auto;  /* 居中显示 */
        max-width: 80%;
    }

    /* Tokenomics 部分调整 */
    .token-details {
        grid-template-columns: repeat(2, 1fr);  /* 改为两列布局 */
        gap: 20px;
        padding: 0 30px;
    }

    /* 隐藏虚线和点 */
    .connection-lines {
        display: none;
    }
}

/* 手机端响应式样式 */
@media (max-width: 768px) {
    /* Header 调整 */
    .header-content {
        padding: 0 20px;
    }

    nav ul {
        display: none;  /* 在手机端隐藏导航菜单，可以后续添加汉堡菜单 */
    }

    /* Hero 部分调整 */
    h1 {
        font-size: 40px;  /* 进一步减小标题 */
    }

    .hero-content {
        padding: 0 20px;
        margin-left: 20px;
    }

    .cta-buttons {
        flex-direction: column;  /* 按钮垂直排列 */
        gap: 15px;
    }

    .btn {
        width: 100%;  /* 按钮占满宽度 */
        text-align: center;
        justify-content: center;
    }

    /* Features 部分调整 */
    .features {
        padding: 60px 0;
    }

    .features-container {
        padding: 0 20px;
    }

    /* 浮动卡片调整 */
    .floating-card {
        position: relative;  /* 改为静态位置 */
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        margin: 10px 0;
        max-width: 100% !important;
    }

    /* Abilities 部分调整 */
    .abilities-header {
        padding: 0 20px;
    }

    .abilities-figure {
        max-width: 100%;
    }

    .accordion-item {
        margin: 10px 20px;
    }

    /* Tokenomics 部分调整 */
    .token-details {
        grid-template-columns: 1fr;  /* 改为单列 */
        padding: 0 20px;
    }

    .detail-item {
        padding: 20px;
    }

    /* CTA 部分调整 */
    .cta-section {
        padding: 60px 0;
    }

    .cta-container {
        padding: 0 20px;
    }

    .cta-section h2 {
        font-size: 36px;
    }

    /* Footer 调整 */
    .footer {
        padding: 40px 0;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    /* 调整 features 标题大小 */
    .features-content h2 {
        font-size: 24px;
    }

    /* 隐藏虚线和点 */
    .connection-lines {
        display: none;
    }

    /* 修改 accordion 内容字体大小 */
    .accordion-body p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 修改按钮宽度 */
    .hero .cta-buttons,
    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero .btn,
    .cta-section .btn {
        width: auto;  /* 取消 100% 宽度 */
        min-width: 200px;  /* 设置最小宽度 */
        max-width: 80%;  /* 设置最大宽度 */
    }

    /* 修改 hero 背景图片 */
    .hero {
        background-image: url('assets/images/phone-background.png');
        background-size: cover;
        background-position: bottom center;
    }
}

/* 超小屏幕调整 */
@media (max-width: 375px) {
    h1 {
        font-size: 32px;
    }

    p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}