/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #87CEEB 0%, #E8F5F7 50%, #FFF8E7 100%);
    position: relative;
    min-height: 100vh;
}

/* 确保所有元素都能显示emoji */
strong, h1, h2, h3, h4, h5, h6, p, span, div {
    font-family: inherit;
}

/* ========== 载入动画 ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #A8D8EA 0%, #D4EBF7 50%, #FFF8E7 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    position: relative;
}

/* Max 翻书容器 */
.max-reading-container {
    position: relative;
    margin-bottom: 30px;
    animation: maxBounceReading 3s ease-in-out infinite;
}

.max-reading-new {
    width: 350px;
    height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(123, 104, 238, 0.3));
    animation: bookGlow 2s ease-in-out infinite alternate;
}

@keyframes maxBounceReading {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

@keyframes bookGlow {
    from {
        filter: drop-shadow(0 25px 50px rgba(123, 104, 238, 0.3)) brightness(1);
    }
    to {
        filter: drop-shadow(0 30px 60px rgba(255, 215, 0, 0.4)) brightness(1.05);
    }
}

/* 书页容器 */
.book-pages-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1500px;
    z-index: -1;
    opacity: 0;
    animation: bookFadeIn 3s ease-in-out infinite;
}

.book-pages {
    width: 400px;
    height: auto;
    transform-style: preserve-3d;
    animation: bookFlip 3s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

@keyframes bookFadeIn {
    0%, 30% {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    70%, 100% {
        opacity: 0;
        transform: translate(-50%, -55%) scale(0.8);
    }
}

@keyframes bookFlip {
    0%, 100% {
        transform: rotateY(-5deg) rotateX(5deg);
    }
    50% {
        transform: rotateY(5deg) rotateX(-5deg);
    }
}

/* 魔法粒子效果 */
.sparkles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 50%, transparent 70%);
    border-radius: 50%;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
    left: 15%;
    top: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    right: 15%;
    top: 25%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    left: 25%;
    bottom: 25%;
    animation-delay: 1s;
}

.sparkle-4 {
    right: 20%;
    bottom: 20%;
    animation-delay: 1.5s;
}

.sparkle-5 {
    left: 50%;
    top: 10%;
    animation-delay: 2s;
}

.sparkle-6 {
    left: 50%;
    bottom: 10%;
    animation-delay: 2.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    25% {
        opacity: 1;
        transform: translateY(-30px) scale(1.2) rotate(180deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50px) scale(0.8) rotate(360deg);
    }
    75% {
        opacity: 0.3;
        transform: translateY(-30px) scale(0.6) rotate(540deg);
    }
}

/* 加载文字 */
.loading-text {
    margin-top: 50px;
}

.loading-text h2 {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50 0%, #5B9BD5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-3px);
    }
}

.loading-tagline {
    font-size: 18px;
    color: #5B9BD5;
    font-weight: 600;
    margin-bottom: 25px;
    animation: taglineFade 2s ease-in-out infinite;
}

@keyframes taglineFade {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.6;
    }
}

/* 加载点动画 */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    background: #5B9BD5;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .max-reading {
        width: 200px;
        height: 200px;
    }
    
    .book-pages {
        width: 280px;
    }
    
    .sparkles {
        width: 300px;
        height: 300px;
    }
    
    .loading-text h2 {
        font-size: 28px;
    }
    
    .loading-tagline {
        font-size: 16px;
    }
    
    .book-page {
        width: 50px;
        height: 75px;
    }
    
    .book-spine {
        height: 75px;
    }
    
    .loading-text h2 {
        font-size: 24px;
    }
    
    .loading-tagline {
        font-size: 14px;
    }
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #5B9BD5 0%, #7BB3E0 100%);
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    font-size: 40px;
}

.logo-rabbit {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    cursor: pointer;
    animation: gentle-swing 3s ease-in-out infinite;
}

.logo-rabbit:hover {
    animation: spin 0.8s ease-in-out, gentle-swing 3s ease-in-out infinite;
}

@keyframes gentle-swing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.15);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 26px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 导航栏右侧操作区 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 购买按钮 */
.buy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.buy-btn:hover {
    background: linear-gradient(135deg, #FFE44D 0%, #FFB347 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.4);
}

.buy-btn:active {
    transform: translateY(0) scale(0.98);
}

.buy-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    stroke: currentColor;
    fill: none;
}

/* 语言切换按钮 */
.language-switcher {
    margin-left: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.lang-icon {
    width: 18px;
    height: 18px;
}

#langText {
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* 主要英雄区域 */
.hero-section {
    background: linear-gradient(to bottom, #A8D8EA 0%, #D4EBF7 100%);
    padding: 60px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    top: 50%;
    right: 15%;
    transform: translate(0, -50%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: #1E5B8C;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: 24px;
    color: #2C3E50;
    font-weight: 600;
    margin-top: 15px;
}

/* 首页社交媒体按钮 */
.hero-social-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: white;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0088cc 100%);
}

.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    color: white;
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #3db2f5 0%, #1DA1F2 100%);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
    transform-style: preserve-3d;
}



@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* 故事书3D轮播区域 */
.storybook-carousel-section {
    padding: 80px 40px;
    background: linear-gradient(to bottom, #D4EBF7 0%, #E8F5F7 100%);
    position: relative;
    overflow: hidden;
}

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

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #5A5A5A;
    margin-top: -40px;
    margin-bottom: 60px;
    font-weight: 500;
}

/* 轮播容器 - 3D卡片堆叠效果 */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    perspective: 2000px;
    height: 600px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 600px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #E8F5F7 0%, #D4EBF7 100%);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* 卡片默认状态 - 堆叠在后面 */
.carousel-slide {
    transform: translate(-50%, -50%) scale(0.7) translateZ(-200px);
    opacity: 0.3;
    z-index: 1;
    filter: blur(2px);
}

/* 活跃卡片 - 居中放大 */
.carousel-slide.active {
    transform: translate(-50%, -50%) scale(1) translateZ(0) rotateY(0deg);
    opacity: 1;
    z-index: 10;
    filter: blur(0);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.5);
}

/* 活跃卡片悬停效果 */
.carousel-slide.active:hover {
    transform: translate(-50%, -50%) scale(1.05) translateZ(20px) rotateY(0deg);
    box-shadow: 0 40px 120px rgba(91, 155, 213, 0.6);
}

/* 左侧卡片 */
.carousel-slide.prev {
    transform: translate(-50%, -50%) translateX(-350px) scale(0.85) rotateY(25deg) translateZ(-100px);
    opacity: 0.6;
    z-index: 5;
    filter: blur(1px);
}

.carousel-slide.prev:hover {
    transform: translate(-50%, -50%) translateX(-350px) scale(0.9) rotateY(15deg) translateZ(-50px);
    opacity: 0.8;
}

/* 右侧卡片 */
.carousel-slide.next {
    transform: translate(-50%, -50%) translateX(350px) scale(0.85) rotateY(-25deg) translateZ(-100px);
    opacity: 0.6;
    z-index: 5;
    filter: blur(1px);
}

.carousel-slide.next:hover {
    transform: translate(-50%, -50%) translateX(350px) scale(0.9) rotateY(-15deg) translateZ(-50px);
    opacity: 0.8;
}

/* 隐藏的卡片 */
.carousel-slide.hidden {
    transform: translate(-50%, -50%) scale(0.5) translateZ(-400px);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.3s ease;
}

.carousel-slide.active:hover img {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 70%, transparent 100%);
    color: white;
    padding: 25px 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-slide.active .slide-caption {
    transform: translateY(0);
}

.slide-caption h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.slide-caption p {
    font-size: 15px;
    opacity: 0.95;
}

/* 轮播控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #1E5B8C;
    font-weight: bold;
    line-height: 1;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 轮播指示器 */
.carousel-indicators {
    text-align: center;
    margin-top: 30px;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 91, 140, 0.3);
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(30, 91, 140, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: #1E5B8C;
    width: 30px;
    border-radius: 6px;
}

/* 使命宣言 */
.mission-statement {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
    background: white;
    padding: 40px 50px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.mission-statement h3 {
    font-size: 32px;
    font-weight: 800;
    color: #1E5B8C;
    margin-bottom: 20px;
}

.mission-statement p {
    font-size: 17px;
    line-height: 1.9;
    color: #4A4A4A;
}

/* 课程区域 */
.courses-section {
    padding: 80px 40px;
    background: linear-gradient(to bottom, #E8F5F7 0%, #FFF8E7 100%);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    color: #2C3E50;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.course-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8F5F7 0%, #D4EBF7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 25px 20px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1E5B8C;
    margin-bottom: 15px;
}

.course-card p {
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.7;
}

/* 全球教育入口 CTA */
.global-cta-section {
    padding: 80px 40px;
    background: linear-gradient(to bottom, #E8F5F7 0%, #FFF8E7 100%);
}

.global-cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #4A7BA7 0%, #5B9BD5 100%);
    padding: 60px 50px;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.global-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.global-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.global-cta-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.global-cta-card h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.global-cta-card p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1E5B8C;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #FFD700;
    color: #1E5B8C;
}

/* 全球学习区域（用于global.html） */
.global-learning {
    padding: 80px 40px;
    background: linear-gradient(135deg, #4A7BA7 0%, #5B9BD5 100%);
    position: relative;
    overflow: hidden;
}

/* 下载Giggle区域 */
.download-section {
    padding: 100px 40px;
    background: linear-gradient(to bottom, #FFF8E7 0%, #FFE4E1 100%);
    position: relative;
    overflow: hidden;
}



.download-subtitle {
    text-align: center;
    font-size: 22px;
    color: #5A5A5A;
    margin-top: -40px;
    margin-bottom: 70px;
    font-weight: 600;
}

.download-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* 设备展示 */
.devices-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: center;
}

.device-mockup {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.device-screen {
    background: #1E1E1E;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.device-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    z-index: 10;
}

.iphone-mockup .device-screen {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 9 / 19.5;
}

.ipad-mockup .device-screen {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4 / 3;
    border-radius: 30px;
}

.app-preview {
    background: linear-gradient(135deg, #A8D8EA 0%, #D4EBF7 100%);
    height: 100%;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    position: relative;
}

.app-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    animation: gentle-swing 3s ease-in-out infinite;
}

.app-preview h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1E5B8C;
    margin-bottom: 8px;
}

.app-tagline {
    font-size: 14px;
    color: #5A5A5A;
    margin-bottom: 25px;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.feature-item {
    background: white;
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* iPad预览样式 */
.ipad-preview {
    flex-direction: row;
    align-items: stretch;
    padding: 25px;
    gap: 20px;
}

.preview-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.preview-mascot {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.preview-info {
    text-align: center;
}

.preview-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1E5B8C;
    margin-bottom: 5px;
}

.preview-info p {
    font-size: 12px;
    color: #5A5A5A;
    margin-bottom: 8px;
}

.rating {
    font-size: 14px;
    color: #FF6B9D;
    font-weight: 700;
}

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.content-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: scale(1.05);
}

.device-label {
    font-size: 18px;
    font-weight: 700;
    color: #1E5B8C;
    margin-top: 15px;
}

/* 下载按钮区域 */
.download-buttons {
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 32px;
    font-weight: 800;
    color: #1E5B8C;
    margin-bottom: 35px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-button img {
    height: 60px;
    width: 180px;
    display: block;
    object-fit: contain;
}

.store-button:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1);
}

.download-note {
    font-size: 16px;
    color: #4CAF50;
    font-weight: 600;
    margin-top: 20px;
}

/* 邀请注册区域 */
.invite-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(91, 155, 213, 0.15);
    border: 2px solid rgba(91, 155, 213, 0.2);
}

.invite-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.invite-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* 邀请二维码 */
.invite-qrcode {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.invite-qrcode img {
    width: 240px;
    height: 240px;
    border-radius: 10px;
    border: 3px solid #5B9BD5;
    display: block;
    margin: 0 auto;
}

.qrcode-label {
    font-size: 16px;
    font-weight: 600;
    color: #5B9BD5;
    margin-top: 15px;
}

/* 邀请信息 */
.invite-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.invite-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.invite-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 12px;
}

.invite-value-container {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.invite-value-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    color: #2c3e50;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.invite-value-input:focus {
    outline: none;
    border-color: #5B9BD5;
    background: white;
}

.invite-code-input {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    color: #e74c3c;
}

/* 复制按钮 */
.copy-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #5B9BD5 0%, #4a8bc2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #4a8bc2 0%, #3a7ab0 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 155, 213, 0.4);
}

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

/* 邀请提示 */
.invite-hint {
    font-size: 15px;
    color: #7f8c8d;
    text-align: center;
    margin-top: 10px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}









/* 响应式设计 */
@media (max-width: 1024px) {
    .devices-showcase {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .ipad-preview {
        flex-direction: column;
    }
    
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* 平板端邀请区域 */
    .invite-content {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    
    .invite-qrcode img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .download-section {
        padding: 60px 20px;
    }
    
    .download-subtitle {
        font-size: 18px;
    }
    
    .devices-showcase {
        gap: 40px;
    }
    
    .iphone-mockup .device-screen {
        max-width: 280px;
    }
    
    .ipad-mockup .device-screen {
        max-width: 100%;
    }
    
    .download-buttons {
        padding: 35px 25px;
    }
    
    .download-title {
        font-size: 24px;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .store-button img {
        height: 50px;
        width: 150px;
        object-fit: contain;
    }
    
    /* 邀请区域响应式 */
    .invite-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .invite-title {
        font-size: 24px;
    }
    
    .invite-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .invite-qrcode img {
        width: 200px;
        height: 200px;
    }
    
    .invite-value-container {
        flex-direction: column;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .invite-value-input {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .invite-code-input {
        font-size: 18px;
    }
}


.global-learning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.global-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.global-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 60px;
    text-align: center;
}

/* 互动慈善地图区域 */
.charity-map-section {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.charity-map-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
}

.charity-map-subtitle {
    text-align: center;
    font-size: 18px;
    color: #34495e;
    margin-bottom: 40px;
    font-weight: 600;
}

.interactive-map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.world-map-bg {
    width: 100%;
    display: block;
}

/* 地图标记点 */
.map-marker {
    position: absolute;
    cursor: pointer;
    z-index: 10;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #e74c3c;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(231, 76, 60, 0.4);
    animation: markerPulse 2s ease-out infinite;
    transition: all 0.3s ease;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.map-marker:hover .marker-dot {
    transform: scale(1.3);
    background: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.8);
}

/* 标记提示框 */
.marker-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 20;
    font-family: 'Nunito', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
}

.marker-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

.map-marker:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

.marker-tooltip strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    font-family: 'Nunito', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
}

.marker-tooltip p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

/* 慈善统计数据 */
.charity-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.charity-stat-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.charity-stat-item:hover {
    transform: translateY(-5px);
}

.charity-stat-item .stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.charity-stat-item .stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 10px;
}

.charity-stat-item .stat-label {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

/* 最新捐赠数据区域 */
.donation-data-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.donation-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
}

.donation-subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-weight: 600;
}

.donation-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.donation-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.donation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(91, 155, 213, 0.3);
    border-color: #5B9BD5;
}

.donation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E8F5F7 0%, #D4EBF7 100%);
    border-radius: 50%;
    padding: 15px;
}

.crypto-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.total-icon {
    font-size: 48px;
    background: linear-gradient(135deg, #FFD54F 0%, #FFC107 100%);
    padding: 0;
}

.donation-amount {
    margin-bottom: 15px;
}

.crypto-amount {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
}

.usd-equivalent {
    font-size: 16px;
    color: #27ae60;
    font-weight: 600;
}

.total-amount {
    font-size: 36px;
    font-weight: 900;
    color: #e74c3c;
    margin-bottom: 5px;
}

.total-label {
    font-size: 18px;
    color: #7f8c8d;
    font-weight: 600;
}

.donation-label {
    font-size: 16px;
    color: #7f8c8d;
    font-weight: 600;
}

.total-card {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFE4E1 100%);
    border: 2px solid #FFC107;
}

.total-card:hover {
    border-color: #FF9800;
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.3);
}

.donation-note {
    text-align: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #E8F5F7 0%, #D4EBF7 100%);
    border-radius: 15px;
    border-left: 5px solid #5B9BD5;
}

.donation-note p {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    line-height: 1.8;
}

/* 全球儿童学习场景 */
.global-children-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.children-content {
    color: white;
}

.children-content h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.children-content > p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.global-features {
    list-style: none;
    padding: 0;
}

.global-features li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.global-features li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.global-features strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.global-features p {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

.children-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.children-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 慈善活动详情列表 */
.charity-activities-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.charity-activities-section h3 {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: #FF6B9D;
    margin-bottom: 20px;
}

.charity-intro {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* 慈善活动时间线 */
.charity-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.charity-activity-card {
    display: flex;
    gap: 25px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    border-left: 5px solid #FF6B9D;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.charity-activity-card:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.25);
    border-left-color: #e74c3c;
}

.activity-flag {
    font-size: 48px;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF5E1 0%, #FFE4E1 100%);
    border-radius: 15px;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    line-height: 1;
}

.activity-content {
    flex: 1;
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.activity-header h4 {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.activity-badge {
    padding: 6px 15px;
    background: linear-gradient(135deg, #FF6B9D, #FFA07A);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.activity-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.activity-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.activity-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.activity-images img:hover {
    transform: scale(1.05);
}

.activity-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #5B9BD5, #4a8bc2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.activity-link:hover {
    background: linear-gradient(135deg, #4a8bc2, #3a7ab0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 155, 213, 0.4);
}

.activity-note {
    font-size: 14px;
    color: #95a5a6;
    font-style: italic;
    margin-top: 10px;
}

.charity-cta {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #FF6B9D, #FFA07A);
    border-radius: 20px;
    color: white;
}

.charity-cta p {
    font-size: 20px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.8;
}

.charity-cta p:first-child {
    font-size: 24px;
    font-weight: 800;
}

/* 全球时间线 */
.global-timeline {
    max-width: 1000px;
    margin: 0 auto;
    color: white;
}

.global-timeline h3 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: flex-start;
    padding-left: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 0;
    padding-right: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #5B9BD5;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 400px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.timeline-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

/* ========== 关于Max代币区域 ========== */
.max-token-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.max-token-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(91, 155, 213, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.token-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Max吉祥物展示 */
.token-mascot {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 100px;
}

.mascot-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    position: relative;
    z-index: 2;
    animation: mascotFloat 3s ease-in-out infinite;
}

@keyframes mascotFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* 代币信息 */
.token-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.token-intro {
    margin-bottom: 40px;
}

.token-intro h3 {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

.token-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #34495e;
}

/* 代币特性卡片 */
.token-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.feature-card .feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #34495e;
    line-height: 1.6;
}

/* 代币详情 */
.token-details {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.token-details h3 {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 25px;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item label {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

.detail-item span {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.contract-address {
    display: flex;
    gap: 10px;
    align-items: center;
}

.address-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    background: white;
    color: #2c3e50;
}

.copy-btn-small {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

/* 代币分配/税收 */
.token-distribution {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.token-distribution h3 {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 25px;
}

/* 税收信息卡片 */
.tax-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tax-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.tax-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.tax-label {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.tax-rate {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.distribution-chart {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.distribution-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.distribution-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.distribution-bar {
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 100%;
}

.distribution-label {
    color: white;
    font-size: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.distribution-desc {
    text-align: center;
}

.distribution-desc strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.distribution-desc p {
    font-size: 13px;
    color: #7f8c8d;
    line-height: 1.5;
}

/* 社交媒体链接 */
.social-links {
    margin-bottom: 40px;
    text-align: center;
}

.social-links h3 {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-button.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: white;
}

.social-button.telegram:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
}

.social-button.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    color: white;
}

.social-button.twitter:hover {
    background: linear-gradient(135deg, #2eb0ff 0%, #1a9bef 100%);
}

/* CTA按钮 */
.token-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.cta-button {
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.secondary-button {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.secondary-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

/* 免责声明 */
.token-disclaimer {
    padding: 20px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    border-radius: 10px;
    margin-top: 20px;
}

.token-disclaimer p {
    font-size: 14px;
    color: #856404;
    margin: 0;
    line-height: 1.6;
}

/* 响应式 - Max代币区域 */
@media (max-width: 1024px) {
    .token-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .token-mascot {
        position: relative;
        top: 0;
    }
    
    .mascot-image {
        width: 220px;
        height: 220px;
    }
    
    .mascot-glow {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .max-token-section {
        padding: 60px 20px;
    }
    
    .token-info {
        padding: 30px 20px;
    }
    
    .token-features {
        grid-template-columns: 1fr;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    /* 移动端也保持两列布局 */
    
    .token-cta {
        flex-direction: column;
    }
    
    .cta-button {
        text-align: center;
        width: 100%;
    }
    
    .mascot-image {
        width: 180px;
        height: 180px;
    }
    
    .tax-info {
        grid-template-columns: 1fr;
    }
    
    .tax-rate {
        font-size: 36px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-link {
        justify-content: center;
        width: 100%;
    }
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2C5F8D 0%, #1E4A6F 100%);
    padding: 30px 40px;
    color: white;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-link svg {
    width: 20px;
    height: 20px;
}

/* Max图标系统 */
.max-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
    object-fit: contain;
}

.max-icon-lg {
    width: 48px;
    height: 48px;
}

.max-icon-sm {
    width: 24px;
    height: 24px;
}

.max-icon-xs {
    width: 20px;
    height: 20px;
}

/* 标题中的图标 */
h3 .max-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

h2 .max-icon {
    width: 36px;
    height: 36px;
    margin-right: 12px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-slide {
        max-width: 90%;
        height: 400px;
    }
    
    .carousel-wrapper {
        height: 450px;
    }
}

/* 导航文本显示控制 */
.nav-short {
    display: none;
}

.nav-full {
    display: inline;
}

/* 移动端导航优化 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .logo-rabbit {
        width: 50px;
        height: 50px;
    }
    
    .logo-name {
        font-size: 20px;
    }
    
    .logo-subtitle {
        font-size: 12px;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    /* 在平板尺寸显示完整文本 */
    .nav-short {
        display: none;
    }
    
    .nav-full {
        display: inline;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .buy-btn {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }
    
    .buy-icon {
        width: 16px;
        height: 16px;
    }
    
    .language-switcher {
        margin-left: 0;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* 小屏幕移动端进一步优化 */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-rabbit {
        width: 40px;
        height: 40px;
    }
    
    .logo-name {
        font-size: 16px;
    }
    
    .logo-subtitle {
        display: none; /* 在很小的屏幕上隐藏副标题 */
    }
    
    .nav-menu {
        gap: 6px;
        flex-wrap: nowrap; /* 不换行 */
        justify-content: flex-end;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-menu a {
        font-size: 11px;
        padding: 5px 8px;
        white-space: nowrap;
    }
    
    /* 在小屏幕显示短文本 */
    .nav-full {
        display: none;
    }
    
    .nav-short {
        display: inline;
    }
    
    .nav-actions {
        gap: 6px;
    }
    
    .buy-btn {
        padding: 6px 10px;
        font-size: 11px;
        gap: 4px;
    }
    
    .buy-btn span {
        display: none; /* 在小屏幕隐藏文字 */
    }
    
    .buy-icon {
        width: 16px;
        height: 16px;
        margin: 0; /* 只显示图标时移除间距 */
    }
    
    .language-switcher {
        margin-left: 0;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }
    
    .lang-btn .lang-icon {
        width: 14px;
        height: 14px;
    }
    
    /* 税收分配在小屏幕上调整 */
    .distribution-chart {
        gap: 15px;
    }
    
    .distribution-item {
        padding: 15px;
    }
    
    .distribution-bar {
        height: 60px;
    }
    
    .distribution-label {
        font-size: 18px;
    }
    
    .distribution-desc strong {
        font-size: 15px;
    }
    
    .distribution-desc p {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-social-buttons {
        gap: 12px;
        margin-top: 25px;
    }
    
    .social-btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-slide {
        max-width: 95%;
        height: 280px;
    }
    
    .carousel-wrapper {
        height: 320px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .mission-statement {
        padding: 30px 25px;
    }
    
    .mission-statement h3 {
        font-size: 24px;
    }
    
    .mission-statement p {
        font-size: 15px;
    }
    
    /* 慈善地图响应式 */
    .charity-map-section {
        padding: 30px 20px;
        margin-bottom: 50px;
    }
    
    .charity-map-title {
        font-size: 32px;
    }
    
    .charity-map-subtitle {
        font-size: 16px;
    }
    
    .charity-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .charity-stat-item {
        padding: 25px;
    }
    
    .marker-tooltip {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .marker-tooltip strong {
        font-size: 14px;
    }
    
    /* 捐赠数据响应式 */
    .donation-data-section {
        padding: 40px 20px;
        margin: 50px 15px;
    }
    
    .donation-title {
        font-size: 32px;
    }
    
    .donation-subtitle {
        font-size: 16px;
    }
    
    .donation-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .donation-card {
        padding: 30px 20px;
    }
    
    .donation-icon {
        width: 70px;
        height: 70px;
    }
    
    .crypto-amount {
        font-size: 24px;
    }
    
    .usd-equivalent {
        font-size: 14px;
    }
    
    .total-amount {
        font-size: 32px;
    }
    
    .donation-note {
        padding: 20px;
    }
    
    .donation-note p {
        font-size: 14px;
    }
    
    .global-children-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    /* 慈善活动列表响应式 */
    .charity-activities-section {
        padding: 40px 20px;
        margin: 50px 15px;
    }
    
    .charity-activities-section h3 {
        font-size: 32px;
    }
    
    .charity-intro {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .charity-activity-card {
        flex-direction: column;
        padding: 25px;
        gap: 20px;
    }
    
    .activity-flag {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
    
    .activity-header h4 {
        font-size: 20px;
    }
    
    .activity-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .activity-description {
        font-size: 15px;
    }
    
    .activity-images {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .activity-images img {
        height: 180px;
    }
    
    .charity-cta p:first-child {
        font-size: 20px;
    }
    
    .charity-cta p {
        font-size: 16px;
    }
    
    .charity-caption h4 {
        font-size: 18px;
    }
    
    .charity-caption p {
        font-size: 14px;
    }
    
    .charity-cta p {
        font-size: 18px;
    }
    
    .charity-cta p:first-child {
        font-size: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* 全球CTA卡片响应式 */
    .global-cta-card {
        padding: 40px 30px;
    }
    
    .global-cta-icon {
        font-size: 60px;
    }
    
    .global-cta-card h2 {
        font-size: 28px;
    }
    
    .global-cta-card p {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
}
