/* ===== 全局变量与基础样式 ===== */
:root {
    --primary-color: #FF6B9D;
    --secondary-color: #C44DFF;
    --accent-color: #FFB347;
    --success-color: #4ECDC4;
    --bg-gradient-1: #FFF0F5;
    --bg-gradient-2: #F0F4FF;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 60px rgba(255, 107, 157, 0.2);
    --border-radius: 20px;
    --border-radius-lg: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary-color);
    background: rgba(255, 107, 157, 0.1);
}

.btn-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    font-weight: 600;
    animation: btnGlow 2s ease-in-out infinite;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 157, 0.3); }
    50% { box-shadow: 0 0 25px rgba(196, 77, 255, 0.5); }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EC 30%, #E8F4FD 70%, #F0E8FF 100%);
    padding: 120px 24px 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    top: -150px;
    right: -100px;
    animation: floatShape1 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #87CEEB, #9370DB);
    bottom: -100px;
    left: -100px;
    animation: floatShape2 18s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    top: 40%;
    left: 30%;
    animation: floatShape3 12s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.1); }
    66% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(40px, -40px) rotate(180deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.2); }
}

.floating-doll {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.6;
    animation: floatDoll 6s ease-in-out infinite;
}

.floating-doll-1 { top: 15%; left: 10%; animation-delay: 0s; }
.floating-doll-2 { top: 25%; right: 15%; animation-delay: 2s; }
.floating-doll-3 { bottom: 20%; left: 20%; animation-delay: 4s; }

@keyframes floatDoll {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
    position: relative;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.glitch-text::before {
    color: var(--primary-color);
    clip-path: inset(0 0 55% 0);
    animation: glitchTop 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    color: var(--success-color);
    clip-path: inset(55% 0 0 0);
    animation: glitchBottom 3s infinite linear alternate-reverse;
}

@keyframes glitchTop {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
    100% { transform: translate(0); }
}

@keyframes glitchBottom {
    0% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(-2px, -2px); }
    100% { transform: translate(0); }
}

.subtitle {
    display: block;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 500;
    color: var(--text-light);
    margin-top: 12px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 24px;
}

.hero-intro {
    font-size: 1.05rem;
    line-height: 1.9;
    background: linear-gradient(135deg, rgba(255,107,157,0.08), rgba(196,77,255,0.08));
    border-left: 4px solid var(--primary-color);
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 36px;
    animation: introFadeIn 1s ease-out 0.8s backwards;
    position: relative;
    overflow: hidden;
}

@keyframes introFadeIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-intro .tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin: 0 2px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(255,107,157,0.3);
}

.hero-intro .cyber {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 1.08em;
    text-decoration: underline wavy var(--secondary-color);
    text-underline-offset: 4px;
    animation: cyberGlow 2s ease-in-out infinite;
}

@keyframes cyberGlow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(196,77,255,0.3);
        filter: brightness(1);
    }
    50% { 
        text-shadow: 0 0 15px rgba(196,77,255,0.6), 0 0 30px rgba(255,107,157,0.3);
        filter: brightness(1.15);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.35);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.btn-bounce {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.5); }
    60% { transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 157, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 157, 0); }
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s backwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image-container {
    position: relative;
}

.hero-main-image {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 25px 80px rgba(255, 107, 157, 0.25);
}

.float-animation {
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.speech-bubble {
    position: absolute;
    top: -30px;
    right: -40px;
    background: white;
    padding: 18px 26px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    animation: bounceIn 1s ease-out 0.8s backwards;
    max-width: 200px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 30px;
    border: 12px solid transparent;
    border-top-color: white;
    border-bottom: none;
}

.speech-bubble p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.bounce-in {
    animation: bounceIn 1s ease-out;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease-out 1s backwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 10px auto 0;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes scrollArrow {
    0% { opacity: 1; transform: rotate(45deg) translateY(0); }
    100% { opacity: 0; transform: rotate(45deg) translateY(12px); }
}

/* ===== Section 通用样式 ===== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}

.wiggle-text {
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 90%, 100% { transform: rotate(0deg); }
    92%, 96% { transform: rotate(3deg); }
    94%, 98% { transform: rotate(-3deg); }
}

.emoji-decoration {
    display: inline-block;
    animation: emojiPop 2s ease-in-out infinite;
}

.emoji-decoration:last-child {
    animation-delay: 0.5s;
}

@keyframes emojiPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25) rotate(10deg); }
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 产品特色 Features ===== */
.features {
    background: linear-gradient(180deg, #FAFBFF 0%, #FFF5F8 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 38px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.7;
}

.feature-decoration {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 3rem;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-decoration {
    opacity: 0.3;
    transform: scale(1.3) rotate(15deg);
}

/* ===== 社交玩法 Social ===== */
.social-section {
    background: linear-gradient(180deg, #FFF8E7 0%, #FFF0F5 50%, #F0FFF4 100%);
}

.social-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.social-type-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 42px 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.social-type-card.special {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #FFF0F5, #FFE8F0);
}

.social-type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.social-icon {
    font-size: 4rem;
    margin-bottom: 18px;
    display: block;
    animation: socialIconBounce 2s ease-in-out infinite;
}

.social-type-card:nth-child(2) .social-icon { animation-delay: 0.3s; }

@keyframes socialIconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.social-type-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.social-type-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.65;
}

.social-hearts span {
    font-size: 1.5rem;
    display: inline-block;
    margin: 0 3px;
    animation: heartBeat 1.5s ease-in-out infinite;
}

.social-hearts span:nth-child(2) { animation-delay: 0.2s; }
.social-hearts span:nth-child(3) { animation-delay: 0.4s; }

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

.social-demo {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.demo-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.typing-text {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-right: 3px solid var(--primary-color);
    animation: typing 3s steps(15) infinite, blink 0.75s step-end infinite;
    white-space: nowrap;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50%, 90% { width: 280px; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

.friend-cards-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.friend-cards-scroll::-webkit-scrollbar {
    height: 6px;
}

.friend-cards-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.friend-cards-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.mini-card {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #FFF8F0, #FFF0F5);
    border-radius: 16px;
    padding: 18px 22px;
    min-width: 260px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.friend-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.15);
}

.friend-card .avatar {
    font-size: 2.8rem;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.friend-card .info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.friend-card .tags {
    font-size: 0.82rem;
    color: var(--text-light);
}

.status {
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.status.online {
    background: #E8F8EE;
    color: #27AE60;
}

.status.offline {
    background: #F0F0F0;
    color: #95A5A6;
}

/* ===== 趣味游戏 Games ===== */
.games-section {
    background: linear-gradient(180deg, #F0F8FF 0%, #FFF5F5 100%);
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.game-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, transparent 40%, rgba(255,107,157,0.08));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 0 25px 60px rgba(255, 107, 157, 0.2);
}

.game-card:hover::after {
    opacity: 1;
}

.game-hover {
    animation: gameFloat 5s ease-in-out infinite;
}

.game-card:nth-child(1) { animation-delay: 0s; }
.game-card:nth-child(2) { animation-delay: 1.5s; }
.game-card:nth-child(3) { animation-delay: 3s; }

@keyframes gameFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.game-visual {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.drum-game .drum {
    font-size: 4rem;
    animation: drumBeat 0.5s ease-in-out infinite;
}

.drum-game .flower {
    font-size: 2rem;
    position: absolute;
    animation: flowerPass 2s ease-in-out infinite;
}

@keyframes drumBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes flowerPass {
    0% { left: -20%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

.photo-game .camera {
    font-size: 3rem;
    animation: cameraFlash 3s ease-in-out infinite;
    z-index: 2;
}

.photo-game .dolls-group {
    display: flex;
    gap: 8px;
    font-size: 2rem;
}

.photo-game .sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkleAnim 1.5s ease-in-out infinite;
}

.sparkle-1 { top: 10%; right: 15%; animation-delay: 0s; }
.sparkle-2 { bottom: 20%; left: 10%; animation-delay: 0.7s; }

@keyframes cameraFlash {
    0%, 90%, 100% { transform: scale(1); filter: brightness(1); }
    95% { transform: scale(1.1); filter: brightness(1.5); }
}

@keyframes sparkleAnim {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

.dice-game {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.dice {
    font-size: 3rem;
    animation: diceRoll 2s ease-in-out infinite;
}

.dice-2 { animation-delay: 0.5s; }

@keyframes diceRoll {
    0%, 80% { transform: rotate(0deg) scale(1); }
    85% { transform: rotate(72deg) scale(1.1); }
    88% { transform: rotate(144deg) scale(1.1); }
    91% { transform: rotate(216deg) scale(1.1); }
    94% { transform: rotate(288deg) scale(1.1); }
    97% { transform: rotate(360deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.vs-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 8px;
    animation: vsPulse 1.5s ease-in-out infinite;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.game-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.game-card p {
    color: var(--text-light);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

/* ===== 虚拟世界 World ===== */
.world-section {
    background: linear-gradient(180deg, #F5F0FF 0%, #F0FFF8 100%);
}

.world-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.world-illustration {
    height: 350px;
    background: linear-gradient(135deg, #E8F4FD, #F0E8FF);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.building {
    position: absolute;
    font-size: 3rem;
    animation: buildingFloat 4s ease-in-out infinite;
}

.building-1 { bottom: 20px; left: 10%; font-size: 3.5rem; animation-delay: 0s; }
.building-2 { bottom: 40px; left: 30%; animation-delay: 0.5s; }
.building-3 { bottom: 15px; right: 25%; font-size: 4rem; animation-delay: 1s; }
.building-4 { bottom: 50px; right: 8%; animation-delay: 1.5s; }

@keyframes buildingFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(90deg, #D4A574, #C9976A);
    border-top: 3px dashed #fff;
}

.doll-worker {
    position: absolute;
    font-size: 1.8rem;
    animation: workerWalk 6s linear infinite;
}

.worker-1 { bottom: 35px; left: -30px; animation-duration: 5s; }
.worker-2 { bottom: 35px; left: -30px; animation-duration: 6s; animation-delay: 2s; }
.worker-3 { bottom: 35px; left: -30px; animation-duration: 7s; animation-delay: 4s; }

@keyframes workerWalk {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

.world-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--text-dark);
}

.world-list {
    list-style: none;
}

.list-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: all 0.3s ease;
    animation: listSlideIn 0.6s ease-out backwards;
}

.list-item:nth-child(1) { animation-delay: 0.1s; }
.list-item:nth-child(2) { animation-delay: 0.2s; }
.list-item:nth-child(3) { animation-delay: 0.3s; }
.list-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes listSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.list-item:hover {
    padding-left: 12px;
    background: rgba(255, 107, 157, 0.04);
    border-radius: 12px;
}

.list-item .icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF0F5, #F0E8FF);
    border-radius: 14px;
}

.list-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.list-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== APP截图 Screenshots ===== */
.screenshots-section {
    background: linear-gradient(180deg, #FFFBF0 0%, #FFF0F5 100%);
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    align-items: start;
}

.screenshot-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    text-align: center;
}

.screenshot-card.featured {
    transform: scale(1.06);
    box-shadow: 0 25px 70px rgba(255, 107, 157, 0.2);
    border: 3px solid var(--primary-color);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.screenshot-card.featured:hover {
    transform: scale(1.06) translateY(-10px);
}

.phone-frame {
    background: #1a1a2e;
    border-radius: 30px;
    padding: 10px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.phone-frame img {
    width: 100%;
    border-radius: 22px;
    display: block;
    aspect-ratio: 9/19;
    object-fit: cover;
}

.screenshot-caption h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.screenshot-caption p {
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 107, 157, 0); }
}

/* ===== 下载区域 Download ===== */
.download-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.download-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bounce-text {
    animation: titleBounce 3s ease-in-out infinite;
}

@keyframes titleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.download-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 190px;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.download-btn .btn-icon {
    font-size: 2rem;
}

.download-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-btn small {
    font-size: 0.7rem;
    color: #888;
    font-weight: 500;
}

.download-btn strong {
    font-size: 1.05rem;
    color: var(--text-dark);
}

.apple-btn:hover strong { color: #000; }
.android-btn:hover strong { color: #34A853; }

.download-note p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.mascot-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-image {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.3);
    animation: mascotWave 3s ease-in-out infinite;
}

.wave-animation {
    animation: mascotWave 2s ease-in-out infinite;
}

@keyframes mascotWave {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.02); }
}

.confetti {
    position: absolute;
    font-size: 2rem;
    animation: confettiFall 3s ease-in-out infinite;
}

.confetti-1 { top: 10%; left: 10%; animation-delay: 0s; }
.confetti-2 { top: 20%; right: 15%; animation-delay: 0.7s; }
.confetti-3 { bottom: 25%; left: 20%; animation-delay: 1.4s; }
.confetti-4 { bottom: 15%; right: 10%; animation-delay: 2.1s; }

@keyframes confettiFall {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* ===== 页脚 Footer ===== */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 16px;
}

.footer-slogan {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-4px) rotate(8deg);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.link-column h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.link-column h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 10px;
}

.link-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.93rem;
    transition: all 0.3s ease;
}

.link-column a:hover {
    color: var(--primary-color);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
}

.made-with {
    margin-top: 6px;
}

.icp-record {
    margin-top: 6px;
}

.icp-record a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.icp-record a:hover {
    color: rgba(255,255,255,0.7);
}

/* ===== 回到顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.35);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.5);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-main-image {
        width: 280px;
        height: 280px;
    }

    .speech-bubble {
        right: 50%;
        transform: translateX(50%);
        top: -50px;
    }

    .speech-bubble::after {
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
        bottom: auto;
        border-top-color: white;
        border-bottom-color: transparent;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-types {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .games-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-showcase .game-card:last-child {
        grid-column: span 2;
        max-width: 360px;
        margin: 0 auto;
    }

    .world-feature {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .world-illustration {
        height: 280px;
        margin-bottom: 32px;
    }

    .screenshots-carousel {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .screenshot-card.featured {
        transform: none;
        order: -1;
    }

    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .link-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 340px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 30px 40px;
        gap: 8px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        text-align: center;
        padding: 14px;
        border-radius: 12px;
    }

    .hamburger {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-showcase {
        grid-template-columns: 1fr;
    }

    .games-showcase .game-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .friend-cards-scroll {
        gap: 12px;
    }

    .friend-card {
        min-width: 220px;
        padding: 14px 16px;
    }

    .phone-frame {
        padding: 6px;
    }
}
