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

body {
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(45deg, #FF6B9D, #C06C84, #6C5B7B, #355C7D);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景渐变动画 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 漂浮气泡装饰 */
body::before {
    content: "🍓 🍊 🍋 🍇 🍉 🍌 🍎 🍑 🥝 🍍";
    position: fixed;
    top: -50px;
    left: 0;
    width: 100%;
    font-size: 2rem;
    opacity: 0.2;
    animation: floatFruits 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatFruits {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Header */
header {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF69B4);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 5px solid rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 3px 3px 0px #FF1493, 6px 6px 0px #FF69B4;
    animation: logoWiggle 3s ease-in-out infinite;
}

@keyframes logoWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

nav a:hover {
    transform: scale(1.2);
    color: #FFD700;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FFE5E5, #FFF0F5, #E6E6FA);
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    text-align: center;
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.3);
    border: 5px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* 气泡动画 */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 182, 193, 0.3));
    animation: bubbleFloat 6s ease-in-out infinite;
}

.hero::before {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero::after {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.8;
    }
}

.game-icon {
    font-size: 7rem;
    margin-bottom: 1rem;
    animation: fruitBounce 2s ease-in-out infinite;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}

@keyframes fruitBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(-10deg);
    }
    50% {
        transform: translateY(-40px) rotate(0deg);
    }
    75% {
        transform: translateY(-30px) rotate(10deg);
    }
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FF1493, #FF69B4, #FFD700, #FF6347, #FF1493);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowText 3s linear infinite;
    font-weight: 900;
    text-shadow: 3px 3px 0px rgba(255, 105, 180, 0.3);
    letter-spacing: 3px;
}

@keyframes rainbowText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.subtitle {
    font-size: 1.8rem;
    color: #FF1493;
    margin-bottom: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 0px rgba(255, 215, 0, 0.3);
}

.description {
    font-size: 1.2rem;
    color: #6B4C9A;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    margin: 0.5rem;
    border: 4px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B9D, #C06C84);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.5);
    border-color: #FFD700;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 107, 157, 0.7);
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: translateY(-5px) rotate(0deg) scale(1.05); }
    25% { transform: translateY(-5px) rotate(-5deg) scale(1.05); }
    75% { transform: translateY(-5px) rotate(5deg) scale(1.05); }
}

.btn-secondary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    border-color: #FF69B4;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
}

/* Features */
.features {
    background: linear-gradient(135deg, #FFF0F5, #E6E6FA);
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    box-shadow: 0 15px 50px rgba(108, 91, 123, 0.3);
    border: 5px solid rgba(255, 182, 193, 0.5);
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #FF6B9D, #C06C84, #6C5B7B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 25px;
    background: linear-gradient(135deg, #FFB6C1, #FFC0CB, #FFD700);
    transition: all 0.3s;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.5);
}

.feature-card:nth-child(odd):hover {
    transform: translateY(-10px) rotate(-2deg);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: iconSpin 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes iconSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.1); }
}

.feature-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: #FF1493;
    font-weight: bold;
}

.feature-card p {
    color: #6B4C9A;
    font-weight: 600;
}

/* Content Pages */
.content-page {
    background: linear-gradient(135deg, #FFF0F5, #FFE5E5);
    border-radius: 30px;
    padding: 3rem 2rem;
    margin: 2rem auto;
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.3);
    border: 5px solid rgba(255, 215, 0, 0.3);
}

.content-page h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FF1493;
}

.content-page h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #FF6B9D;
}

.content-page h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #C06C84;
}

.content-page p {
    margin-bottom: 1rem;
    color: #555;
}

.content-page ul, .content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    color: #555;
}

.last-updated {
    font-style: italic;
    color: #999;
    margin-bottom: 2rem;
}

/* 游戏玩法步骤 */
.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gameplay-step {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF1493, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 20, 147, 0.4);
}

.step-icon {
    font-size: 3.5rem;
    margin: 2rem 0 1rem 0;
}

.gameplay-step h3 {
    color: #FF1493;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.gameplay-step p {
    color: #6B4C9A;
    font-size: 0.95rem;
}

/* 游戏预览 */
.game-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

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

.phone-screen {
    background: linear-gradient(135deg, #FFE5E5, #E6E6FA);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 5px solid #FFD700;
}

.game-board {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.fruit-row {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.fruit {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.fruit:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.4);
}

.game-score {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #FF6B9D, #FFD700);
    padding: 1rem;
    border-radius: 15px;
}

.score-item {
    text-align: center;
}

.score-label {
    display: block;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.score-value {
    display: block;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
}

.preview-text h3 {
    color: #FF1493;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.preview-text p {
    color: #6B4C9A;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.preview-features li {
    padding: 0.5rem 0;
    color: #6B4C9A;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 数据统计 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #FFB6C1, #FFD700);
    border-radius: 20px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.4);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF1493;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #6B4C9A;
    font-weight: bold;
}

/* 常见问题 */
.faq-list {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: linear-gradient(135deg, #FFF0F5, #FFE5E5);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateX(10px);
    border-color: #FFD700;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: #FF1493;
    font-size: 1.1rem;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #6B4C9A;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-icon {
    font-weight: 900;
    color: #FF6B9D;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🎉🎊✨🌟💫';
    position: absolute;
    top: 20%;
    left: -10%;
    font-size: 3rem;
    opacity: 0.3;
    animation: rotateSlow 20s linear infinite;
}

.cta-section::after {
    content: '🍓🍊🍋🍇🍉';
    position: absolute;
    bottom: 20%;
    right: -10%;
    font-size: 3rem;
    opacity: 0.3;
    animation: rotateSlow 20s linear infinite reverse;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-large {
    font-size: 1.5rem;
    padding: 1.5rem 4rem;
    margin: 1.5rem 0;
}

.download-info {
    margin-top: 1rem;
}

.download-info small {
    color: #6B4C9A;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #FF69B4, #FFD700);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

footer p {
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

footer a {
    color: white;
    font-weight: bold;
}

footer a:hover {
    color: #FFE5E5;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .game-icon {
        font-size: 5rem;
    }

    .logo {
        font-size: 2rem;
    }

    .gameplay-grid {
        grid-template-columns: 1fr;
    }

    .game-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fruit {
        font-size: 2rem;
        width: 45px;
        height: 45px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-large {
        font-size: 1.2rem;
        padding: 1.2rem 2.5rem;
    }

    .preview-text h3 {
        font-size: 1.5rem;
    }
}
