/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4ff00;
    --secondary-color: #ffed4e;
    --accent-color: #000000;
    --dark-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --gradient-1: linear-gradient(135deg, #d4ff00 0%, #ffed4e 100%);
    --gradient-2: linear-gradient(135deg, #ffed4e 0%, #d4ff00 100%);
    --gradient-3: linear-gradient(135deg, #d4ff00 0%, #ffd700 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 背景蝴蝶动画 */
.butterflies-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-butterfly {
    position: absolute;
    font-size: 30px;
    animation: float-across 20s infinite linear;
    opacity: 0.6;
    filter: drop-shadow(0 0 10px rgba(212, 255, 0, 0.5));
}

@keyframes float-across {
    0% {
        transform: translate(-100px, 0) rotate(0deg);
    }
    25% {
        transform: translate(25vw, -20vh) rotate(90deg);
    }
    50% {
        transform: translate(50vw, 10vh) rotate(180deg);
    }
    75% {
        transform: translate(75vw, -10vh) rotate(270deg);
    }
    100% {
        transform: translate(calc(100vw + 100px), 0) rotate(360deg);
    }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-image {
    width: 40px;
    height: 40px;
    animation: wing-flap 2s infinite ease-in-out;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 8px;
}

.logo-image:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-emoji {
    font-size: 2rem;
    animation: wing-flap 2s infinite ease-in-out;
    cursor: pointer;
}

@keyframes wing-flap {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(-5deg); }
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 1rem;
    background: rgba(212, 255, 0, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.lang-switch:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.05);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-text {
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    overflow: hidden;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 255, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

/* 主蝴蝶动画 */
.hero-butterfly {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.main-butterfly-image {
    width: 220px;
    height: 220px;
    animation: butterfly-hover 3s infinite ease-in-out, butterfly-glow 2s infinite alternate;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

@keyframes butterfly-hover {
    0%, 100% {
        transform: translateY(0) rotate(-3deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(2deg) scale(1.05);
    }
    50% {
        transform: translateY(-40px) rotate(-2deg) scale(1.08);
    }
    75% {
        transform: translateY(-20px) rotate(3deg) scale(1.05);
    }
}

@keyframes butterfly-glow {
    0% {
        box-shadow: 0 20px 60px rgba(212, 255, 0, 0.6);
        filter: drop-shadow(0 0 20px rgba(212, 255, 0, 0.5));
    }
    100% {
        box-shadow: 0 30px 80px rgba(212, 255, 0, 0.9);
        filter: drop-shadow(0 0 40px rgba(212, 255, 0, 0.8));
    }
}

.main-butterfly-image:hover {
    transform: scale(1.2) rotate(15deg) translateY(-10px) !important;
    animation-play-state: paused;
    box-shadow: 0 40px 100px rgba(212, 255, 0, 1);
}

/* Hero Text */
.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s infinite alternate;
}

.title-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: normal;
}

@keyframes gradient-shift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(30deg);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #d4ff00 0%, #ffed4e 100%);
    color: #000000;
    box-shadow: 0 10px 30px rgba(212, 255, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 255, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* 通用 Section 样式 */
section {
    position: relative;
    padding: 100px 20px;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: rgba(30, 41, 59, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(15, 23, 42, 0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(212, 255, 0, 0.2);
    transition: all 0.3s;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(212, 255, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: icon-float 3s infinite ease-in-out;
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Tokenomics Section */
.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tokenomics-chart {
    display: flex;
    justify-content: center;
}

.pie-chart {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #d4ff00 0deg 180deg,
        #ffed4e 180deg 288deg,
        #ffd700 288deg 360deg
    );
    animation: pie-rotate 20s infinite linear;
    box-shadow: 0 0 60px rgba(212, 255, 0, 0.4);
}

@keyframes pie-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.tokenomics-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.token-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.token-color {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.color-1 {
    background: linear-gradient(135deg, #d4ff00 0%, #ffed4e 100%);
}

.color-2 {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.color-3 {
    background: linear-gradient(135deg, #ffd700 0%, #d4ff00 100%);
}

.token-icon {
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-feature {
    background: rgba(212, 255, 0, 0.1);
    border: 2px solid rgba(212, 255, 0, 0.4);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.token-mechanism {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d4ff00;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(212, 255, 0, 0.5);
}

.token-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.token-percent {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.token-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Roadmap Section */
.roadmap {
    background: rgba(30, 41, 59, 0.5);
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    opacity: 0.5;
    transition: all 0.3s;
}

.timeline-item.completed,
.timeline-item.active {
    opacity: 1;
}

.timeline-item:hover {
    opacity: 1;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(212, 255, 0, 0.5);
}

.timeline-item.active .timeline-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(212, 255, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(212, 255, 0, 0.8);
    }
}

.timeline-content {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 255, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timeline-content li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '🦋';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Community Section */
.community {
    text-align: center;
}

.community-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(212, 255, 0, 0.3);
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(212, 255, 0, 0.4);
}

.social-icon {
    font-size: 1.5rem;
}

.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 3rem 20px;
    text-align: center;
    border-top: 2px solid rgba(212, 255, 0, 0.2);
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    animation: none;
}

.footer-logo .logo-image:hover {
    animation: wing-flap 1s ease-in-out;
}

.footer-logo .logo-emoji {
    animation: none;
}

.footer-logo .logo-emoji:hover {
    animation: wing-flap 1s ease-in-out;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-disclaimer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(236, 72, 153, 0.1);
    border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-menu li {
        display: none;
    }
    
    .nav-menu li:last-child {
        display: block;
    }
    
    .lang-switch {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .title-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .tokenomics-content {
        grid-template-columns: 1fr;
    }

    .pie-chart {
        width: 250px;
        height: 250px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 80%;
        justify-content: center;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

