/* ============================================
   糖心vlog - 主样式文件
   Sweet Candy Theme Design System
   ============================================ */

/* CSS Variables - Design Tokens */
:root {
    /* Primary Colors - Sweet Pink Theme */
    --color-primary: #ff6b9d;
    --color-primary-light: #ff8fb3;
    --color-primary-dark: #e85a8a;
    --color-primary-glow: rgba(255, 107, 157, 0.4);
    
    /* Secondary Colors - Candy Purple */
    --color-secondary: #a855f7;
    --color-secondary-light: #c084fc;
    --color-secondary-dark: #9333ea;
    
    /* Accent Colors */
    --color-accent-coral: #ff7f6b;
    --color-accent-peach: #ffb38a;
    --color-accent-mint: #6ee7b7;
    --color-accent-sky: #7dd3fc;
    --color-accent-gold: #fbbf24;
    
    /* Background Colors */
    --bg-primary: linear-gradient(135deg, #fff5f8 0%, #fdf2f8 50%, #fef7ff 100%);
    --bg-secondary: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    
    /* Text Colors */
    --text-primary: #2d2d3a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #ffffff;
    --text-accent: var(--color-primary);
    
    /* Border & Shadow */
    --border-light: rgba(255, 107, 157, 0.2);
    --border-medium: rgba(255, 107, 157, 0.3);
    --shadow-soft: 0 4px 20px rgba(255, 107, 157, 0.15);
    --shadow-medium: 0 8px 32px rgba(255, 107, 157, 0.2);
    --shadow-strong: 0 16px 48px rgba(255, 107, 157, 0.25);
    --shadow-glow: 0 0 40px var(--color-primary-glow);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-coral) 100%);
    --gradient-cool: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent-sky) 100%);
    --gradient-candy: linear-gradient(135deg, #ff6b9d 0%, #c084fc 50%, #7dd3fc 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6b9d 0%, #ffb38a 50%, #fbbf24 100%);
    
    /* Typography */
    --font-primary: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'ZCOOL KuaiLe', 'Noto Sans SC', cursive;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container-sweet {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   Background Effects
   ============================================ */
.candy-bubbles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.candy-bubbles-bg::before,
.candy-bubbles-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float-bubble 20s ease-in-out infinite;
}

.candy-bubbles-bg::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.candy-bubbles-bg::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

@keyframes float-bubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -50px) scale(1.05); }
    50% { transform: translate(-20px, -80px) scale(0.95); }
    75% { transform: translate(40px, -30px) scale(1.02); }
}

/* ============================================
   Navigation / Header
   ============================================ */
.sweet-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
    transition: var(--transition-base);
}

.sweet-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.sweet-navbar > .container-sweet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-heart {
    font-size: 2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.05); }
}

.navbar-brand h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand h1 a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sweet-navigation {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    border-radius: var(--radius-full);
    z-index: -1;
}

.nav-item:hover,
.nav-item.active {
    color: #ffffff;
}

.nav-item:hover::before,
.nav-item.active::before {
    opacity: 1;
}

.nav-item span {
    position: relative;
    z-index: 2;
}

/* Creator avatar images - video meta section (small avatar) */
.video-meta .creator-info .creator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Creator avatar wrapper - creator spotlight section (large avatar) */
.creator-avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.creator-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 107, 157, 0.3);
}

.creator-profile .creator-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: white;
    border-radius: 50%;
    padding: 4px;
    box-shadow: var(--shadow-soft);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Featured creator special styles */
.creator-profile.featured .creator-avatar-wrap .creator-avatar-img {
    border-color: rgba(255, 255, 255, 0.4);
}

.creator-profile.featured .creator-badge {
    background: rgba(255, 255, 255, 0.9);
}

/* Author avatar */
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Video thumbnail images */
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Story images */
.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.action-btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.action-btn.login {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    background: transparent;
}

.action-btn.login:hover {
    background: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.action-btn.register {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
}

.action-btn.register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */
.sweet-main {
    padding-top: 80px;
}

.hero-sweet {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.sweet-particles {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(125, 211, 252, 0.1) 0%, transparent 40%);
}

.hero-sweet > .container-sweet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.search-sweet {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    padding: var(--space-xs);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.sweet-search-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.sweet-search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.sweet-display {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.candy-core {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-symbol {
    font-size: 5rem;
    animation: pulse-glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px var(--color-primary-glow));
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px var(--color-primary-glow)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 50px var(--color-primary-glow)); }
}

.candy-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: ring-rotate 8s linear infinite;
}

.ring-1 {
    width: 250px;
    height: 250px;
    border-color: rgba(255, 107, 157, 0.3);
    border-top-color: var(--color-primary);
}

.ring-2 {
    width: 320px;
    height: 320px;
    border-color: rgba(168, 85, 247, 0.2);
    border-right-color: var(--color-secondary);
    animation-direction: reverse;
    animation-duration: 12s;
}

.ring-3 {
    width: 380px;
    height: 380px;
    border-color: rgba(125, 211, 252, 0.15);
    border-bottom-color: var(--color-accent-sky);
    animation-duration: 16s;
}

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

/* ============================================
   Section Common Styles
   ============================================ */
section {
    padding: var(--space-3xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
}

/* ============================================
   Featured Videos Section
   ============================================ */
.featured-videos {
    background: var(--bg-secondary);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition-base);
    font-size: 3rem;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    background: rgba(0, 0, 0, 0.75);
    color: var(--text-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.video-info {
    padding: var(--space-lg);
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.creator-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.creator-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.video-stats {
    display: flex;
    gap: var(--space-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.video-tags {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tag {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 107, 157, 0.1);
    color: var(--color-primary);
}

.tag.food { background: rgba(255, 127, 107, 0.1); color: var(--color-accent-coral); }
.tag.travel { background: rgba(168, 85, 247, 0.1); color: var(--color-secondary); }
.tag.diy { background: rgba(110, 231, 183, 0.1); color: #059669; }
.tag.tutorial { background: rgba(251, 191, 36, 0.1); color: #d97706; }
.tag.japan { background: rgba(125, 211, 252, 0.1); color: #0284c7; }

/* ============================================
   Creator Spotlight Section
   ============================================ */
.creator-spotlight {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 157, 0.03) 50%, transparent 100%);
}

.creators-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}
.creators-showcase .creator-info{
    display: block;
}
.creator-profile {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    transition: var(--transition-base);
}

.creator-profile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.creator-profile.featured {
    background: var(--gradient-primary);
    border: none;
}

.creator-profile.featured * {
    color: var(--text-light);
}

/* Creator avatar wrap already defined above - use .creator-avatar-wrap and .creator-avatar-img */

.creator-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.creator-profile .creator-info .creator-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.creator-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.creator-profile.featured .creator-desc {
    color: rgba(255, 255, 255, 0.9);
}

.creator-stats {
    display: flex;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.creator-profile.featured .creator-stats {
    color: rgba(255, 255, 255, 0.8);
}

.creator-tags {
    display: flex;
    gap: var(--space-sm);
}

.creator-profile.featured .tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

/* ============================================
   Platform Features Section
   ============================================ */
.platform-features {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.feature-highlight {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 107, 157, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   Platform Stats Section
   ============================================ */
.platform-stats {
    position: relative;
    background: var(--gradient-primary);
    color: var(--text-light);
    overflow: hidden;
}

.stats-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.candy-flow {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.platform-stats .section-title {
    background: none;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content .stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    background: none;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    display: block;
}

.stat-content .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ============================================
   User Testimonials Section
   ============================================ */
.user-testimonials {
    background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 4rem;
    font-family: serif;
    color: rgba(255, 107, 157, 0.15);
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.author-info .author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-info .author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-rating {
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ============================================
   Success Stories Section
   ============================================ */
.success-stories {
    background: var(--bg-secondary);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.story-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.story-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.story-content {
    padding: var(--space-xl);
}

.story-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.story-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.story-stats {
    display: flex;
    gap: var(--space-md);
}

.story-stats .stat {
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   App Showcase Section
   ============================================ */
.app-showcase {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 157, 0.05) 100%);
}

.app-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.app-content .section-title {
    text-align: left;
}

.app-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.app-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
}

.app-feature .feature-icon {
    font-size: 1.5rem;
    margin: 0;
    animation: none;
}

.app-feature .feature-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.app-feature .feature-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.download-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.download-btn {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.download-btn.ios {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.download-btn.android {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* Phone Mockup */
.app-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0a0a12;
    border-radius: 12px;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 32px;
    overflow: hidden;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: var(--space-xl) var(--space-md) var(--space-md);
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-light);
}

.app-content-demo {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-md);
}

.demo-video {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    position: relative;
}

.demo-video::after {
    content: '▶️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.demo-features {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.demo-btn {
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ============================================
   Footer
   ============================================ */
.sweet-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    text-align: left;
    background: none;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-sweet > .container-sweet {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .sweet-display {
        width: 300px;
        height: 300px;
    }
    
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 250px; height: 250px; }
    .ring-3 { width: 290px; height: 290px; }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-sweet {
        margin: 0 auto var(--space-2xl);
    }
    
    .app-layout {
        grid-template-columns: 1fr;
    }
    
    .app-content .section-title {
        text-align: center;
    }
    
    .app-subtitle {
        text-align: center;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .sweet-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: var(--space-lg);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-medium);
    }
    
    .sweet-navigation.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-actions {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .creators-showcase {
        grid-template-columns: 1fr;
    }
    
    .creator-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .creator-stats {
        justify-content: center;
    }
    
    .creator-tags {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-section .section-title {
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container-sweet {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    
    .sweet-display {
        width: 250px;
        height: 250px;
    }
    
    .core-symbol {
        font-size: 3.5rem;
    }
    
    .ring-1 { width: 160px; height: 160px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 240px; height: 240px; }
    
    .videos-grid,
    .features-grid,
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Animation Utilities */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Selection */
::selection {
    background: var(--color-primary);
    color: var(--text-light);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ============================================
   Mobile Video Player - 贴紧导航栏下方
   ============================================ */
.mobile-video-player {
    display: none;
    position: fixed;
    top: 80px; /* 贴紧导航栏下方 */
    left: 0;
    right: 0;
    z-index: 9998;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-video-player.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.mobile-video-player.closed {
    display: none !important;
}

.video-player-container {
    position: relative;
    background: #000;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 35vh;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-loading {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    gap: 10px;
}

.video-loading.active {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.video-center-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-base);
}

.video-center-play.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.video-center-play.playing {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

.video-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.video-close-btn:hover {
    background: rgba(255, 107, 157, 0.8);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-container.show-controls .video-controls {
    opacity: 1;
}

.video-progress-wrapper {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 10px;
    cursor: pointer;
}

.video-progress-buffered {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    width: 0;
}

.video-progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0;
}

.video-progress-handle {
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-controls-bottom {
    display: flex;
    align-items: center;
    gap: 15px;
}

.video-control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.video-control-btn:hover {
    color: var(--color-primary);
}

.play-btn .pause-icon,
.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.mute-btn .mute-icon,
.mute-btn.muted .volume-icon {
    display: none;
}

.mute-btn.muted .mute-icon {
    display: block;
}

.video-time {
    color: white;
    font-size: 12px;
    font-family: monospace;
}

.video-controls-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-volume-slider {
    width: 60px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
}

.video-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .mobile-video-player {
        top: 70px; /* 移动端导航栏较小 */
    }
    
    .video-player-container {
        max-height: 30vh;
    }
    
    .video-volume-slider {
        display: none;
    }
}
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}