﻿﻿﻿﻿﻿﻿﻿﻿﻿/* 
 * 孟轩网 - 官网全新样式
 * 2024年全新升级 - 更专业、更现代
 */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --danger-light: #f87171;
    
    --bg: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --bg-card-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    
    --text: #1e293b;
    --text-secondary: #475569;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    
    --border: rgba(0, 0, 0, 0.1);
    --border-light: rgba(0, 0, 0, 0.05);
    --border-gradient: linear-gradient(90deg, var(--primary), var(--secondary));
    
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.6);
    --card-hover-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(16, 185, 129, 0.2);
    
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    --bg-opacity: 1;
    --transition: all 0.25s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.4s ease;
    
    --header-height: 70px;
    --container-max: 1200px;
}

/* 暗色模式 */
[data-theme="dark"] {
    --bg: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --bg-gradient: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    --bg-card-gradient: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-gray: #94a3b8;
    --text-light: #64748b;
    
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(16, 185, 129, 0.2);
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: transparent;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* 亮色模式特定样式 */
[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

[data-theme="light"] .hero-subtitle {
    color: var(--text-gray);
    text-shadow: none;
}

[data-theme="light"] .hero-desc {
    color: var(--text-secondary);
}

[data-theme="light"] .stat-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .friend-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 手机端背景图片 */
@media (max-width: 768px) {
    .bg-layer img {
        content: url('https://s21.ax1x.com/2025/10/14/pVqCCcQ.jpg');
    }
}

/* 亮色模式背景图片调整 */
[data-theme="light"] body {
    background-blend-mode: multiply;
}

/* 页面加载完成后添加动画类 */
body.page-loaded .hero-section {
    animation: heroEnter 1.2s ease-out;
}

body.page-loaded .hero-section::before {
    animation: heroBgEnter 1.5s ease-out, float 20s ease-in-out infinite;
}

body.page-loaded .hero-content > *:nth-child(1) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
body.page-loaded .hero-content > *:nth-child(2) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
body.page-loaded .hero-content > *:nth-child(3) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
body.page-loaded .hero-content > *:nth-child(4) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
body.page-loaded .hero-content > *:nth-child(5) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }
body.page-loaded .hero-content > *:nth-child(6) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both; }
body.page-loaded .hero-content > *:nth-child(7) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }
body.page-loaded .hero-content > *:nth-child(8) { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both; }

body.page-loaded .section {
    animation: sectionEnter 0.8s ease-out both;
}

body.page-loaded .section-header {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* 背景层 - 固定 */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9999;
    pointer-events: none;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--bg-opacity);
    transition: opacity 0.3s;
}

.bg-mask {
    display: none;
}

/* 背景装饰元素 */
.bg-decor {
    position: fixed;
    z-index: -1;
    pointer-events: none;
}

.bg-decor-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.bg-decor-2 {
    bottom: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

.bg-decor-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite;
}

/* ============================================================
   超级惊艳的加载动画系统 - 粒子聚合 + 光效脉冲 + 完美衔接
   ============================================================ */

#page-loader {
    position: fixed;
    inset: 0;
    background: #0a0f1f;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 背景渐变层 - 动态星空效果 */
.loader-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0a0f1f 0%, #0d1426 50%, #0a0f1f 100%);
    animation: bgShift 6s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

/* 网格背景 - 3D透视 */
.loader-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(96, 165, 250, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    animation: gridScroll 15s linear infinite;
    opacity: 0.6;
}

@keyframes gridScroll {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* 网格纹理 */
.loader-mesh {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(96, 165, 250, 0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    animation: meshPulse 4s ease-in-out infinite;
}

@keyframes meshPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.6; }
}

/* 粒子系统 - 华丽漂浮 */
.loader-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.loader-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(96, 165, 250, 1) 0%, rgba(139, 92, 246, 0.8) 40%, transparent 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 12px rgba(96, 165, 250, 1),
        0 0 24px rgba(139, 92, 246, 0.8),
        0 0 36px rgba(236, 72, 153, 0.4);
    animation: particleFloat 8s ease-in-out infinite;
    left: calc(var(--i, 0) * 8.33%);
}

.loader-particle:nth-child(1) { --i: 0; top: 8%; animation-duration: 5s; }
.loader-particle:nth-child(2) { --i: 1; top: 22%; animation-duration: 6s; }
.loader-particle:nth-child(3) { --i: 2; top: 38%; animation-duration: 7s; }
.loader-particle:nth-child(4) { --i: 3; top: 52%; animation-duration: 5.5s; }
.loader-particle:nth-child(5) { --i: 4; top: 68%; animation-duration: 6.5s; }
.loader-particle:nth-child(6) { --i: 5; top: 82%; animation-duration: 5s; }
.loader-particle:nth-child(7) { --i: 6; top: 12%; animation-duration: 7s; }
.loader-particle:nth-child(8) { --i: 7; top: 32%; animation-duration: 6s; }
.loader-particle:nth-child(9) { --i: 8; top: 48%; animation-duration: 5.5s; }
.loader-particle:nth-child(10) { --i: 9; top: 62%; animation-duration: 6.5s; }
.loader-particle:nth-child(11) { --i: 10; top: 78%; animation-duration: 5s; }
.loader-particle:nth-child(12) { --i: 11; top: 18%; animation-duration: 7s; }

.loader-particle:nth-child(odd) { animation-direction: reverse; }

@keyframes particleFloat {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(0.3);
        opacity: 0;
    }
    5% { opacity: 0.3; }
    15% { opacity: 1; transform: scale(1.2); }
    50% { 
        transform: translateX(calc((var(--x, 0) - 50) * 2px)) translateY(-50px) scale(1.5);
        opacity: 0.9;
    }
    85% { opacity: 0.6; transform: scale(1); }
}

/* 能量环 - 多层旋转光环 */
.loader-energy-rings {
    position: absolute;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.4), rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.35), rgba(16, 185, 129, 0.25));
    background-clip: padding-box;
    animation: energyRingPulse 3s ease-in-out infinite;
}

.energy-ring::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.15);
    animation: ringGlow 2s ease-in-out infinite;
}

.energy-ring::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

@keyframes ringGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.ring-1 {
    width: 160px;
    height: 160px;
    animation-delay: 0s;
    animation-name: energyRingPulse1;
}

.ring-2 {
    width: 220px;
    height: 220px;
    animation-delay: 0.3s;
    opacity: 0.8;
    animation-name: energyRingPulse2;
}

.ring-3 {
    width: 280px;
    height: 280px;
    animation-delay: 0.6s;
    opacity: 0.6;
    animation-name: energyRingPulse3;
}

@keyframes energyRingPulse1 {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.15) rotate(180deg); opacity: 1; }
}

@keyframes energyRingPulse2 {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
    50% { transform: scale(1.1) rotate(-180deg); opacity: 0.9; }
}

@keyframes energyRingPulse3 {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.08) rotate(180deg); opacity: 0.8; }
}

/* 核心内容 */
.loader-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 10;
}

/* 核心光球 - 超华丽效果 */
.loader-core {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.7) 0%, rgba(139, 92, 246, 0.4) 30%, rgba(236, 72, 153, 0.2) 50%, transparent 70%);
    animation: coreGlowPulse 2s ease-in-out infinite;
    filter: blur(25px);
}

@keyframes coreGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

.core-orb {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa, #8b5cf6, #a78bfa, #ec4899, #f472b6, #10b981, #3b82f6);
    background-size: 400% 400%;
    animation: orbRotate 3s linear infinite, orbPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(59, 130, 246, 1),
        0 0 80px rgba(139, 92, 246, 0.7),
        0 0 120px rgba(236, 72, 153, 0.5),
        0 0 160px rgba(16, 185, 129, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.4);
}

@keyframes orbRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.orb-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(96, 165, 250, 0.8) 40%, transparent 100%);
    animation: innerPulse 1.2s ease-in-out infinite;
}

@keyframes innerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; }
}

.orb-reflection {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 18px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    filter: blur(3px);
    animation: reflectionShimmer 2s ease-in-out infinite;
}

@keyframes reflectionShimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* 火花 - 四向飞射 */
.core-sparks {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px #fff, 0 0 30px rgba(96, 165, 250, 1), 0 0 45px rgba(139, 92, 246, 0.8);
    animation: sparkFly 1.2s ease-out infinite;
}

.spark:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.spark:nth-child(2) { top: 50%; right: 0; animation-delay: 0.3s; }
.spark:nth-child(3) { bottom: 0; left: 50%; animation-delay: 0.6s; }
.spark:nth-child(4) { top: 50%; left: 0; animation-delay: 0.9s; }

@keyframes sparkFly {
    0% { 
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    15% { 
        transform: translate(-50%, -50%) scale(2);
        opacity: 1;
    }
    100% { 
        transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px))) scale(0);
        opacity: 0;
    }
}

.spark:nth-child(1) { --dx: 0; --dy: -60px; }
.spark:nth-child(2) { --dx: 60px; --dy: 0; }
.spark:nth-child(3) { --dx: 0; --dy: 60px; }
.spark:nth-child(4) { --dx: -60px; --dy: 0; }

/* 品牌文字 - 渐变闪烁 */
.loader-brand {
    display: flex;
    gap: 12px;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 6px;
}

.brand-char {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 25%, #f472b6 50%, #34d399 75%, #60a5fa 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: charGradient 2.5s ease-in-out infinite;
    display: inline-block;
    opacity: 0;
    animation-fill-mode: forwards;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.5));
}

.brand-char:nth-child(1) { animation-delay: 0.1s; }
.brand-char:nth-child(2) { animation-delay: 0.25s; }
.brand-char:nth-child(3) { animation-delay: 0.4s; }

@keyframes charGradient {
    0% { 
        background-position: 0% 50%; 
        filter: brightness(1) drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    15% { opacity: 1; transform: translateY(0) scale(1); }
    50% { 
        background-position: 100% 50%; 
        filter: brightness(1.5) drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
    }
    100% { 
        background-position: 0% 50%; 
        filter: brightness(1) drop-shadow(0 0 20px rgba(96, 165, 250, 0.5));
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 进度条 - 超华丽光效 */
.loader-progress-wrap {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loader-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #8b5cf6, #a78bfa, #ec4899, #f472b6, #10b981, #3b82f6);
    background-size: 300% 100%;
    border-radius: 3px;
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: progressGradient 1.5s linear infinite;
    box-shadow: 
        0 0 15px rgba(59, 130, 246, 1),
        0 0 30px rgba(139, 92, 246, 0.8),
        0 0 45px rgba(236, 72, 153, 0.6),
        0 0 60px rgba(16, 185, 129, 0.4);
}

@keyframes progressGradient {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

.loader-progress-glow {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progressGlowSweep 1.5s ease-in-out infinite;
}

@keyframes progressGlowSweep {
    0% { transform: translateY(-50%) translateX(-100%); }
    50%, 100% { transform: translateY(-50%) translateX(100%); }
}

/* 进度文字 */
.loader-progress-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    letter-spacing: 4px;
    font-weight: 600;
    animation: textGlow 1.5s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { 
        color: rgba(255, 255, 255, 0.6); 
        text-shadow: none; 
    }
    50% { 
        color: rgba(255, 255, 255, 0.9); 
        text-shadow: 0 0 15px rgba(96, 165, 250, 0.8), 0 0 30px rgba(139, 92, 246, 0.5); 
    }
}

/* 底部提示 */
.loader-tip {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    animation: tipPulse 1.5s ease-in-out infinite;
}

@keyframes tipPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* 遮罩层 - 用于退出动画 */
.loader-curtain {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #0a0f1f 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

/* ============================================================
   完美退出动画 - 粒子聚合爆炸效果
   ============================================================ */

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

#page-loader.hidden .loader-content {
    animation: contentFadeOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

#page-loader.hidden .loader-particles {
    animation: particlesExplode 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

#page-loader.hidden .loader-energy-rings {
    animation: ringsExplode 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

#page-loader.hidden .loader-core {
    animation: coreExplode 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

#page-loader.hidden .loader-curtain {
    opacity: 1;
    animation: curtainExpand 0.6s ease-out forwards;
}

@keyframes contentFadeOut {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(0.8); }
}

@keyframes particlesExplode {
    0% { opacity: 1; }
    30% { opacity: 1; }
    100% { opacity: 0; transform: scale(2); filter: blur(10px); }
}

@keyframes ringsExplode {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(2); filter: blur(8px); }
}

@keyframes coreExplode {
    0% { opacity: 1; transform: scale(1); }
    30% { opacity: 1; transform: scale(1.2); filter: brightness(2); }
    100% { opacity: 0; transform: scale(0); filter: brightness(3) blur(20px); }
}

@keyframes curtainExpand {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.5; }
    100% { opacity: 1; transform: scale(1); }
}

/* 生日模式样式 */
body.birthday-mode {
    --primary: #ff6b6b;
    --primary-dark: #ee5a52;
    --secondary: #4ecdc4;
    --accent: #ffe66d;
}

body.birthday-mode #page-loader {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

body.birthday-mode .loader-content {
    color: white;
}

body.birthday-mode .loader-orb {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #ffe66d);
}

body.birthday-mode .hero-title {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.birthday-mode .site-header {
    background: rgba(255, 107, 107, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

body.birthday-mode .site-header.scrolled {
    background: rgba(255, 107, 107, 0.2);
}

body.birthday-mode .nav-link:hover,
body.birthday-mode .nav-link.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

body.birthday-mode .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

body.birthday-mode .btn-primary:hover {
    background: linear-gradient(135deg, #ee5a52, #45b7aa);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

body.birthday-mode .stat-box::before {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

body.birthday-mode .stat-value {
    color: #ff6b6b;
}

body.birthday-mode .friend-card::after {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

body.birthday-mode .f-icon {
    color: #ff6b6b;
}

body.birthday-mode .timeline::before {
    background: linear-gradient(to bottom, #ff6b6b, #4ecdc4);
}

body.birthday-mode .timeline-date {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
}

/* 春节模式样式 */
body.spring-festival-mode {
    --primary: #ff6b6b;
    --primary-dark: #ee5a52;
    --secondary: #ff8e53;
    --accent: #f9ca24;
}

body.spring-festival-mode #page-loader {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

body.spring-festival-mode .loader-content {
    color: white;
}

body.spring-festival-mode .loader-orb {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53, #f9ca24);
}

body.spring-festival-mode .hero-title {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.spring-festival-mode .site-header {
    background: rgba(255, 107, 107, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

body.spring-festival-mode .site-header.scrolled {
    background: rgba(255, 107, 107, 0.2);
}

body.spring-festival-mode .nav-link:hover,
body.spring-festival-mode .nav-link.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

body.spring-festival-mode .btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

body.spring-festival-mode .btn-primary:hover {
    background: linear-gradient(135deg, #ee5a52, #f77f31);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

body.spring-festival-mode .stat-box::before {
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
}

body.spring-festival-mode .stat-value {
    color: #ff6b6b;
}

body.spring-festival-mode .friend-card::after {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

body.spring-festival-mode .f-icon {
    color: #ff6b6b;
}

body.spring-festival-mode .timeline::before {
    background: linear-gradient(to bottom, #ff6b6b, #ff8e53);
}

body.spring-festival-mode .timeline-date {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
}

/* 情人节模式样式 */
body.valentine-mode {
    --primary: #ff6b9d;
    --primary-dark: #f6416c;
    --secondary: #c94b4b;
    --accent: #f9d423;
}

body.valentine-mode #page-loader {
    background: linear-gradient(135deg, #ff6b9d, #f6416c);
}

body.valentine-mode .loader-content {
    color: white;
}

body.valentine-mode .loader-orb {
    background: linear-gradient(135deg, #ff6b9d, #f6416c, #c94b4b);
}

body.valentine-mode .hero-title {
    background: linear-gradient(135deg, #ff6b9d, #f6416c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.valentine-mode .site-header {
    background: rgba(255, 107, 157, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 157, 0.3);
}

body.valentine-mode .site-header.scrolled {
    background: rgba(255, 107, 157, 0.2);
}

body.valentine-mode .nav-link:hover,
body.valentine-mode .nav-link.active {
    color: #ff6b9d;
    background: rgba(255, 107, 157, 0.1);
}

body.valentine-mode .btn-primary {
    background: linear-gradient(135deg, #ff6b9d, #f6416c);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

body.valentine-mode .btn-primary:hover {
    background: linear-gradient(135deg, #f6416c, #c94b4b);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.5);
}

body.valentine-mode .stat-box::before {
    background: linear-gradient(90deg, #ff6b9d, #f6416c);
}

body.valentine-mode .stat-value {
    color: #ff6b9d;
}

body.valentine-mode .friend-card::after {
    background: linear-gradient(135deg, #ff6b9d, #f6416c);
}

body.valentine-mode .f-icon {
    color: #ff6b9d;
}

body.valentine-mode .timeline::before {
    background: linear-gradient(to bottom, #ff6b9d, #f6416c);
}

body.valentine-mode .timeline-date {
    background: linear-gradient(135deg, #ff6b9d, #f6416c);
}

/* 圣诞节模式样式 */
body.christmas-mode {
    --primary: #4facfe;
    --primary-dark: #00f2fe;
    --secondary: #36d1dc;
    --accent: #5b86e5;
}

body.christmas-mode #page-loader {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

body.christmas-mode .loader-content {
    color: white;
}

body.christmas-mode .loader-orb {
    background: linear-gradient(135deg, #4facfe, #00f2fe, #36d1dc);
}

body.christmas-mode .hero-title {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.christmas-mode .site-header {
    background: rgba(79, 172, 254, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
}

body.christmas-mode .site-header.scrolled {
    background: rgba(79, 172, 254, 0.2);
}

body.christmas-mode .nav-link:hover,
body.christmas-mode .nav-link.active {
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
}

body.christmas-mode .btn-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

body.christmas-mode .btn-primary:hover {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
}

body.christmas-mode .stat-box::before {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

body.christmas-mode .stat-value {
    color: #4facfe;
}

body.christmas-mode .friend-card::after {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

body.christmas-mode .f-icon {
    color: #4facfe;
}

body.christmas-mode .timeline::before {
    background: linear-gradient(to bottom, #4facfe, #00f2fe);
}

body.christmas-mode .timeline-date {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* 中秋节模式样式 */
body.mid-autumn-mode {
    --primary: #fa709a;
    --primary-dark: #fee140;
    --secondary: #f9d423;
    --accent: #ff6b6b;
}

body.mid-autumn-mode #page-loader {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

body.mid-autumn-mode .loader-content {
    color: white;
}

body.mid-autumn-mode .loader-orb {
    background: linear-gradient(135deg, #fa709a, #fee140, #f9d423);
}

body.mid-autumn-mode .hero-title {
    background: linear-gradient(135deg, #fa709a, #fee140);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.mid-autumn-mode .site-header {
    background: rgba(250, 112, 154, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(250, 112, 154, 0.3);
}

body.mid-autumn-mode .site-header.scrolled {
    background: rgba(250, 112, 154, 0.2);
}

body.mid-autumn-mode .nav-link:hover,
body.mid-autumn-mode .nav-link.active {
    color: #fa709a;
    background: rgba(250, 112, 154, 0.1);
}

body.mid-autumn-mode .btn-primary {
    background: linear-gradient(135deg, #fa709a, #fee140);
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.4);
}

body.mid-autumn-mode .btn-primary:hover {
    background: linear-gradient(135deg, #f9d423, #ff6b6b);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.5);
}

body.mid-autumn-mode .stat-box::before {
    background: linear-gradient(90deg, #fa709a, #fee140);
}

body.mid-autumn-mode .stat-value {
    color: #fa709a;
}

body.mid-autumn-mode .friend-card::after {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

body.mid-autumn-mode .f-icon {
    color: #fa709a;
}

body.mid-autumn-mode .timeline::before {
    background: linear-gradient(to bottom, #fa709a, #fee140);
}

body.mid-autumn-mode .timeline-date {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

/* 元宵节模式样式 */
body.lantern-festival-mode {
    --primary: #ff9a9e;
    --primary-dark: #fad0c4;
    --secondary: #fecfef;
    --accent: #fecfef;
}

body.lantern-festival-mode #page-loader {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

body.lantern-festival-mode .loader-content {
    color: white;
}

body.lantern-festival-mode .loader-orb {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fecfef);
}

body.lantern-festival-mode .hero-title {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.lantern-festival-mode .site-header {
    background: rgba(255, 154, 158, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 154, 158, 0.3);
}

body.lantern-festival-mode .site-header.scrolled {
    background: rgba(255, 154, 158, 0.2);
}

body.lantern-festival-mode .nav-link:hover,
body.lantern-festival-mode .nav-link.active {
    color: #ff9a9e;
    background: rgba(255, 154, 158, 0.1);
}

body.lantern-festival-mode .btn-primary {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    box-shadow: 0 4px 12px rgba(255, 154, 158, 0.4);
}

body.lantern-festival-mode .btn-primary:hover {
    background: linear-gradient(135deg, #fad0c4, #fecfef);
    box-shadow: 0 6px 20px rgba(255, 154, 158, 0.5);
}

body.lantern-festival-mode .stat-box::before {
    background: linear-gradient(90deg, #ff9a9e, #fad0c4);
}

body.lantern-festival-mode .stat-value {
    color: #ff9a9e;
}

body.lantern-festival-mode .friend-card::after {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

body.lantern-festival-mode .f-icon {
    color: #ff9a9e;
}

body.lantern-festival-mode .timeline::before {
    background: linear-gradient(to bottom, #ff9a9e, #fad0c4);
}

body.lantern-festival-mode .timeline-date {
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
}

/* 清明节模式样式 */
body.qingming-mode {
    --primary: #4facfe;
    --primary-dark: #00f2fe;
    --secondary: #36d1dc;
    --accent: #5b86e5;
}

body.qingming-mode #page-loader {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

body.qingming-mode .loader-content {
    color: white;
}

body.qingming-mode .loader-orb {
    background: linear-gradient(135deg, #4facfe, #00f2fe, #36d1dc);
}

body.qingming-mode .hero-title {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.qingming-mode .site-header {
    background: rgba(79, 172, 254, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 172, 254, 0.3);
}

body.qingming-mode .site-header.scrolled {
    background: rgba(79, 172, 254, 0.2);
}

body.qingming-mode .nav-link:hover,
body.qingming-mode .nav-link.active {
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
}

body.qingming-mode .btn-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.4);
}

body.qingming-mode .btn-primary:hover {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.5);
}

body.qingming-mode .stat-box::before {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

body.qingming-mode .stat-value {
    color: #4facfe;
}

body.qingming-mode .friend-card::after {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

body.qingming-mode .f-icon {
    color: #4facfe;
}

body.qingming-mode .timeline::before {
    background: linear-gradient(to bottom, #4facfe, #00f2fe);
}

body.qingming-mode .timeline-date {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* 端午节模式样式 */
body.dragon-boat-mode {
    --primary: #fa709a;
    --primary-dark: #fee140;
    --secondary: #f9d423;
    --accent: #ff6b6b;
}

body.dragon-boat-mode #page-loader {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

body.dragon-boat-mode .loader-content {
    color: white;
}

body.dragon-boat-mode .loader-orb {
    background: linear-gradient(135deg, #fa709a, #fee140, #f9d423);
}

body.dragon-boat-mode .hero-title {
    background: linear-gradient(135deg, #fa709a, #fee140);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dragon-boat-mode .site-header {
    background: rgba(250, 112, 154, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(250, 112, 154, 0.3);
}

body.dragon-boat-mode .site-header.scrolled {
    background: rgba(250, 112, 154, 0.2);
}

body.dragon-boat-mode .nav-link:hover,
body.dragon-boat-mode .nav-link.active {
    color: #fa709a;
    background: rgba(250, 112, 154, 0.1);
}

body.dragon-boat-mode .btn-primary {
    background: linear-gradient(135deg, #fa709a, #fee140);
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.4);
}

body.dragon-boat-mode .btn-primary:hover {
    background: linear-gradient(135deg, #f9d423, #ff6b6b);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.5);
}

body.dragon-boat-mode .stat-box::before {
    background: linear-gradient(90deg, #fa709a, #fee140);
}

body.dragon-boat-mode .stat-value {
    color: #fa709a;
}

body.dragon-boat-mode .friend-card::after {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

body.dragon-boat-mode .f-icon {
    color: #fa709a;
}

body.dragon-boat-mode .timeline::before {
    background: linear-gradient(to bottom, #fa709a, #fee140);
}

body.dragon-boat-mode .timeline-date {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

/* 国庆节模式样式 */
body.national-day-mode {
    --primary: #ff416c;
    --primary-dark: #ff4b2b;
    --secondary: #ff6b6b;
    --accent: #ff8e53;
}

body.national-day-mode #page-loader {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

body.national-day-mode .loader-content {
    color: white;
}

body.national-day-mode .loader-orb {
    background: linear-gradient(135deg, #ff416c, #ff4b2b, #ff6b6b);
}

body.national-day-mode .hero-title {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.national-day-mode .site-header {
    background: rgba(255, 65, 108, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 65, 108, 0.3);
}

body.national-day-mode .site-header.scrolled {
    background: rgba(255, 65, 108, 0.2);
}

body.national-day-mode .nav-link:hover,
body.national-day-mode .nav-link.active {
    color: #ff416c;
    background: rgba(255, 65, 108, 0.1);
}

body.national-day-mode .btn-primary {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    box-shadow: 0 4px 12px rgba(255, 65, 108, 0.4);
}

body.national-day-mode .btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.5);
}

body.national-day-mode .stat-box::before {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
}

body.national-day-mode .stat-value {
    color: #ff416c;
}

body.national-day-mode .friend-card::after {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

body.national-day-mode .f-icon {
    color: #ff416c;
}

body.national-day-mode .timeline::before {
    background: linear-gradient(to bottom, #ff416c, #ff4b2b);
}

body.national-day-mode .timeline-date {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}

/* 科技主题样式 */
body.tech-mode {
    --primary: #00f2fe;
    --primary-dark: #4facfe;
    --secondary: #00f2fe;
    --accent: #4facfe;
}

body.tech-mode #page-loader {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}

body.tech-mode .loader-content {
    color: white;
}

body.tech-mode .loader-orb {
    background: linear-gradient(135deg, #00f2fe, #4facfe, #36d1dc);
}

body.tech-mode .hero-title {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.tech-mode .site-header {
    background: rgba(0, 242, 254, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.3);
}

body.tech-mode .site-header.scrolled {
    background: rgba(0, 242, 254, 0.2);
}

body.tech-mode .nav-link:hover,
body.tech-mode .nav-link.active {
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
}

body.tech-mode .btn-primary {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.4);
}

body.tech-mode .btn-primary:hover {
    background: linear-gradient(135deg, #36d1dc, #5b86e5);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

body.tech-mode .stat-box::before {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
}

body.tech-mode .stat-value {
    color: #00f2fe;
}

body.tech-mode .friend-card::after {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}

body.tech-mode .f-icon {
    color: #00f2fe;
}

body.tech-mode .timeline::before {
    background: linear-gradient(to bottom, #00f2fe, #4facfe);
}

body.tech-mode .timeline-date {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}


body.tech-mode .hero-title {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

body.tech-mode .site-header {
    background: rgba(0, 242, 254, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.1);
}

body.tech-mode .site-header.scrolled {
    background: rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.2);
}

body.tech-mode .nav-link:hover,
body.tech-mode .nav-link.active {
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.3);
}

body.tech-mode .btn-primary {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.4);
    position: relative;
    overflow: hidden;
}

body.tech-mode .btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: techShine 3s infinite;
}

body.tech-mode .btn-primary:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
    transform: translateY(-4px) scale(1.02);
}

body.tech-mode .stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.1);
    position: relative;
    overflow: hidden;
}

body.tech-mode .stat-box::before {
    background: linear-gradient(90deg, #00f2fe, #4facfe);
}

body.tech-mode .stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.1), transparent);
    animation: techSlide 3s infinite;
}

body.tech-mode .stat-value {
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

body.tech-mode .friend-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.1);
}

body.tech-mode .friend-card::after {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}

body.tech-mode .f-icon {
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

body.tech-mode .timeline::before {
    background: linear-gradient(to bottom, #00f2fe, #4facfe);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

body.tech-mode .timeline-date {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.4);
}

body.tech-mode .service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.1);
}

body.tech-mode .golden-partner-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 8px 32px rgba(0, 242, 254, 0.1);
}

/* 修复所有主题下的友情链接文字显示 */
body.birthday-mode .friend-card h4,
body.spring-festival-mode .friend-card h4,
body.lantern-festival-mode .friend-card h4,
body.qingming-mode .friend-card h4,
body.dragon-boat-mode .friend-card h4,
body.tech-mode .friend-card h4,
body.mid-autumn-mode .friend-card h4,
body.national-day-mode .friend-card h4 {
    color: var(--text) !important;
}

body.birthday-mode .friend-card p,
body.spring-festival-mode .friend-card p,
body.lantern-festival-mode .friend-card p,
body.qingming-mode .friend-card p,
body.dragon-boat-mode .friend-card p,
body.tech-mode .friend-card p,
body.mid-autumn-mode .friend-card p,
body.national-day-mode .friend-card p {
    color: var(--text-secondary) !important;
}

body.birthday-mode .friend-card .f-clicks,
body.spring-festival-mode .friend-card .f-clicks,
body.lantern-festival-mode .friend-card .f-clicks,
body.qingming-mode .friend-card .f-clicks,
body.dragon-boat-mode .friend-card .f-clicks,
body.tech-mode .friend-card .f-clicks,
body.mid-autumn-mode .friend-card .f-clicks,
body.national-day-mode .friend-card .f-clicks {
    color: var(--text-light) !important;
}

body.birthday-mode .friend-card:hover .f-clicks,
body.spring-festival-mode .friend-card:hover .f-clicks,
body.lantern-festival-mode .friend-card:hover .f-clicks,
body.qingming-mode .friend-card:hover .f-clicks,
body.dragon-boat-mode .friend-card:hover .f-clicks,
body.tech-mode .friend-card:hover .f-clicks,
body.mid-autumn-mode .friend-card:hover .f-clicks,
body.national-day-mode .friend-card:hover .f-clicks {
    color: var(--primary) !important;
}

/* 科技主题动画 */
@keyframes techShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

@keyframes techSlide {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-40px) rotate(8deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* 导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    height: var(--header-height);
    margin: 0;
    overflow: hidden;
}

@keyframes headerSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    60% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(59, 130, 246, 0.05);
    transform: translateY(0);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.site-header.scrolled .logo-img {
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .nav-link {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(15, 23, 42, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header .container {
    height: 100%;
    max-width: var(--container-max);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: logoFadeIn 1s ease-out 0.3s both;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    animation: logoImgRotate 0.8s ease-out 0.5s both;
}

@keyframes logoImgRotate {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.6);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoTextGradient 3s ease-in-out infinite;
}

@keyframes logoTextGradient {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    display: inline-block;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(0, 102, 255, 0.15);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--primary-light);
}

.theme-switch {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.theme-switch:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: rgba(0, 102, 255, 0.1);
}

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

.icon-moon {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 6px 10px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 首页 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
    position: relative;
    background: transparent;
    overflow: hidden;
    animation: heroPageIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes heroPageIn {
    0% { opacity: 0; filter: blur(20px) brightness(0.5); transform: scale(1.05); }
    100% { opacity: 1; filter: blur(0) brightness(1); transform: scale(1); }
}

/* 华丽背景 */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

/* Hero背景 - 华丽设计 */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
}

/* 亮色模式Hero背景 */
[data-theme="light"] .hero-bg::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
}

/* 亮色模式网格 */
[data-theme="light"] .hero-grid {
    display: block;
    opacity: 0.3;
}

/* 亮色模式光晕 */
[data-theme="light"] .hero-glow {
    display: block;
}

[data-theme="light"] .hero-glow-1 {
    display: block;
}

[data-theme="light"] .hero-glow-2 {
    display: block;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, 2%); }
}

/* 网格线效果 - 增强动画 */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* 浮动圆环 - 增强动画 */
.hero-rings {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-ring {
    position: absolute;
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.1);
}

.hero-ring:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-ring:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: 3s;
    border-color: rgba(0, 212, 170, 0.15);
}

.hero-ring:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-delay: 6s;
    border-color: rgba(255, 107, 53, 0.15);
}

/* 浮动粒子 - 增强动画 */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 华丽粒子 */
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0, 102, 255, 0.3);
    opacity: 0.4;
}

.hero-particle:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 35%; top: 75%; animation-delay: 5s; }
.hero-particle:nth-child(3) { left: 65%; top: 35%; animation-delay: 10s; }
.hero-particle:nth-child(4) { left: 85%; top: 65%; animation-delay: 15s; }

/* 闪烁星星 - 增强动画 */
.hero-stars {
    position: absolute;
    inset: 0;
}

.hero-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px rgba(255, 255, 255, 0.5);
    animation: starTwinkle 4s ease-in-out infinite;
}

.hero-star:nth-child(1) { left: 10%; top: 15%; animation-delay: 0s; }
.hero-star:nth-child(2) { left: 25%; top: 35%; animation-delay: 0.5s; }
.hero-star:nth-child(3) { left: 40%; top: 25%; animation-delay: 1s; }
.hero-star:nth-child(4) { left: 55%; top: 45%; animation-delay: 1.5s; }
.hero-star:nth-child(5) { left: 70%; top: 20%; animation-delay: 2s; }
.hero-star:nth-child(6) { left: 85%; top: 40%; animation-delay: 2.5s; }
.hero-star:nth-child(7) { left: 15%; top: 65%; animation-delay: 0.3s; }
.hero-star:nth-child(8) { left: 60%; top: 75%; animation-delay: 0.8s; }
.hero-star:nth-child(9) { left: 80%; top: 80%; animation-delay: 1.3s; }
.hero-star:nth-child(10) { left: 35%; top: 85%; animation-delay: 1.8s; }

/* 华丽光晕 */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 6s;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.8); }
}

/* 粒子雨效果 */
.hero-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.rain-drop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(96, 165, 250, 0.6), transparent);
    animation: rainFall linear infinite;
}

@keyframes rainFall {
    0% {
        transform: translateY(-100%) translateX(0);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(100vh) translateX(var(--drift, 0px));
        opacity: 0;
    }
}

/* 视差层 */
.hero-parallax-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.parallax-back {
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    transform: translateZ(-50px);
}

.parallax-mid {
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: translateZ(-25px);
}

.parallax-front {
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.03) 0%, transparent 60%);
    transform: translateZ(-10px);
}

/* 增强浮动圆环动画 */
.hero-ring {
    animation: heroRingFloat 15s ease-in-out infinite;
}

.hero-ring:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-ring:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: 3s;
    border-color: rgba(0, 212, 170, 0.15);
}

.hero-ring:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-delay: 6s;
    border-color: rgba(255, 107, 53, 0.15);
}

.hero-ring:nth-child(4) {
    width: 250px;
    height: 250px;
    top: 30%;
    left: 60%;
    animation-delay: 9s;
    border-color: rgba(139, 92, 246, 0.12);
}

@keyframes heroRingFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translate(0, -50px) rotate(180deg) scale(1);
        opacity: 0.4;
    }
    75% {
        transform: translate(-30px, -20px) rotate(270deg) scale(0.95);
        opacity: 0.6;
    }
}

/* 增强浮动粒子 */
.hero-particle {
    animation: heroParticleFloat 12s ease-in-out infinite;
}

.hero-particle:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; }
.hero-particle:nth-child(2) { left: 35%; top: 75%; animation-delay: 2s; }
.hero-particle:nth-child(3) { left: 65%; top: 35%; animation-delay: 4s; }
.hero-particle:nth-child(4) { left: 85%; top: 65%; animation-delay: 6s; }
.hero-particle:nth-child(5) { left: 50%; top: 50%; animation-delay: 8s; }
.hero-particle:nth-child(6) { left: 25%; top: 45%; animation-delay: 10s; }

@keyframes heroParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(40px, -40px) scale(1.3);
        opacity: 0.8;
    }
    50% {
        transform: translate(20px, -60px) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translate(-20px, -30px) scale(0.8);
        opacity: 0.7;
    }
}

/* 光束扫描 */
.hero-beam {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(96, 165, 250, 0.3), transparent);
    animation: beamScan 8s ease-in-out infinite;
    opacity: 0;
}

.hero-beam:nth-child(1) { left: 15%; animation-delay: 0s; }
.hero-beam:nth-child(2) { left: 50%; animation-delay: 3s; }
.hero-beam:nth-child(3) { left: 85%; animation-delay: 6s; }

@keyframes beamScan {
    0%, 100% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* 标题发光层 */
.hero-title-glow {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    filter: blur(40px);
    animation: titleGlowPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes titleGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* 打字机光标 */
.hero-title::after {
    content: '|';
    animation: cursorBlink 1s step-end infinite;
    margin-left: 4px;
    opacity: 0;
}

body.page-loaded .hero-title::after {
    opacity: 1;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 鼠标跟随光迹 */
.hero-mouse-trail {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

body.page-loaded .hero-mouse-trail {
    opacity: 1;
}

.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* 允许服务器监控模块突破hero-content的宽度限制 */
.hero-content .server-monitor {
    max-width: 100% !important;
    width: 100%;
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

/* 调整51LA统计挂件的宽度 */
#LA-DATA-WIDGET {
    max-width: 80%;
    margin: 40px auto;
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    animation: heroTitleIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

@keyframes heroTitleIn {
    0% { opacity: 0; transform: translateY(100px) scale(0.6); filter: blur(10px); }
    60% { transform: translateY(-8px) scale(1.03); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes heroFadeUp {
    0% { opacity: 0; transform: translateY(60px) scale(0.95); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 0;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 8px;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s both;
}

/* 雨云赞助广告位 */
.sponsor-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 560px;
    width: 100%;
    padding: 12px 18px;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.18);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: var(--text);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
    overflow: hidden;
}

.sponsor-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    opacity: 0.85;
}

.sponsor-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}

.sponsor-ad-tag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    color: #64748b;
    background: rgba(100, 116, 139, 0.12);
    letter-spacing: 0.5px;
}

.sponsor-icon {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.sponsor-text {
    flex: 1;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.sponsor-text strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.sponsor-cta {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    transition: transform 0.25s ease;
}

.sponsor-banner:hover .sponsor-cta {
    transform: translateX(3px);
}

/* 暗色模式适配 */
[data-theme="dark"] .sponsor-banner {
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .sponsor-ad-tag {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.15);
}

[data-theme="dark"] .sponsor-text strong {
    color: var(--primary-light);
}

/* 推广位样式 - 区别于广告，使用绿色主题 */
.sponsor-banner.sponsor-promo {
    border-color: rgba(16, 185, 129, 0.22);
}

.sponsor-banner.sponsor-promo::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

.sponsor-banner.sponsor-promo:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.38);
}

.sponsor-promo-tag {
    color: #047857;
    background: rgba(16, 185, 129, 0.14);
}

.sponsor-banner.sponsor-promo .sponsor-text strong {
    color: #047857;
}

.sponsor-banner.sponsor-promo .sponsor-cta {
    color: #059669;
}

[data-theme="dark"] .sponsor-promo-tag {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.18);
}

[data-theme="dark"] .sponsor-banner.sponsor-promo .sponsor-text strong {
    color: var(--secondary-light);
}

[data-theme="dark"] .sponsor-banner.sponsor-promo .sponsor-cta {
    color: var(--secondary-light);
}

/* 赞助商横幅容器 - 多横幅并排/堆叠 */
.sponsor-banners {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}

.sponsor-banners .sponsor-banner {
    margin-bottom: 0;
    flex: 1 1 320px;
    max-width: 560px;
    animation: none;
}

/* 金牌赞助商样式 - 金色主题 */
.sponsor-banner.sponsor-gold {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(255, 251, 235, 0.7);
}

.sponsor-banner.sponsor-gold::before {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

.sponsor-banner.sponsor-gold:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.45);
}

.sponsor-gold-tag {
    color: #b45309;
    background: rgba(245, 158, 11, 0.16);
}

.sponsor-banner.sponsor-gold .sponsor-text strong {
    color: #b45309;
}

.sponsor-banner.sponsor-gold .sponsor-cta {
    color: #d97706;
}

[data-theme="dark"] .sponsor-banner.sponsor-gold {
    background: rgba(45, 35, 20, 0.65);
    border-color: rgba(251, 191, 36, 0.3);
}

[data-theme="dark"] .sponsor-gold-tag {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.2);
}

[data-theme="dark"] .sponsor-banner.sponsor-gold .sponsor-text strong {
    color: #fcd34d;
}

[data-theme="dark"] .sponsor-banner.sponsor-gold .sponsor-cta {
    color: #fbbf24;
}

.btn {
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

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

.btn:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: var(--shadow);
    transition: all 0.1s ease;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    background: var(--accent-dark);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

[data-theme="dark"] .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 20px 48px;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-ghost {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.5);
}

/* 统计栏 */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 60px;
    width: 100%;
    padding: 20px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.stat-box {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform-origin: center;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-box:hover {
    transform: translateY(-8px) scale(1.02) rotate(1deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary);
    border-radius: var(--radius-2xl);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
    transition: var(--transition);
    display: inline-block;
}

.stat-box:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--secondary);
    animation: iconBounce 0.3s ease-out;
}

.stat-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    transition: var(--transition);
}

.stat-box:hover .stat-value {
    transform: scale(1.1);
    animation: valuePulse 0.3s ease-out;
}

.stat-name {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.stat-box:hover .stat-name {
    color: var(--text-secondary);
    transform: scale(1.05);
}

/* 卡片悬停时的额外效果 */
.stat-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.stat-box:hover::after {
    width: 300px;
    height: 300px;
}

@keyframes valuePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1.1);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.6);
}

/* 通用区块 */
.section {
    padding: 100px 0;
    position: relative;
}

@keyframes sectionEnter {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.2rem;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    animation: none;
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--border-gradient);
    border-radius: 2px;
    animation: lineGrow 1s ease-out 0.5s both;
}

@keyframes lineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 80px;
    }
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* 金牌合作商 */
.golden-partners-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

/* 感谢页面 */
.thanks-section {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.thanks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(0, 212, 170, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.thanks-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

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

.thanks-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.thanks-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.thanks-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.thanks-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thanks-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
}

.thanks-stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 8px;
}

.thanks-footer {
    font-size: 1rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .thanks-stats {
        gap: 30px;
    }
    
    .thanks-stat-value {
        font-size: 1.8rem;
    }
}

.golden-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* 🎉发射动画 */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    border-radius: 50%;
    animation: confetti-fall 3s ease-in-out forwards;
    z-index: 2;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* 淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* 缩放淡入 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 呼吸动画 */
@keyframes breathe {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 滑动动画 */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 滑出动画 */
@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* 进度条动画 */
@keyframes progress {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 网格移动动画 */
@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* 计数动画 */
@keyframes countUp {
    0% {
        opacity: 0.6;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* 水珠动画 */
@keyframes waterDroplets {
    0%, 100% {
        background-position: 0% 0%, 90% 30%, 50% 70%, 30% 80%, 70% 10%;
    }
    20% {
        background-position: 20% 10%, 80% 40%, 40% 60%, 20% 90%, 60% 20%;
    }
    40% {
        background-position: 30% 20%, 70% 50%, 30% 80%, 10% 70%, 50% 30%;
    }
    60% {
        background-position: 40% 30%, 60% 60%, 20% 90%, 0% 60%, 40% 40%;
    }
    80% {
        background-position: 50% 40%, 50% 70%, 10% 100%, 10% 50%, 30% 50%;
    }
}

.golden-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://s21.ax1x.com/2025/07/23/pVGtdOI.jpg') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.golden-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.golden-partner-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.15);
    opacity: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 顶部金色渐变条 */
.golden-partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
}

/* 水珠效果 */
.golden-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.3);
}

.partner-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.partner-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.golden-partner-card:hover .partner-avatar {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.partner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.partner-avatar:hover img {
    transform: scale(1.1);
}

.golden-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

.partner-info {
    width: 100%;
}

.partner-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #333;
}

.partner-description {
    font-size: 1rem;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.partner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.golden-partner-card:hover .partner-badge {
    transform: scale(1.05);
}

.badge-text {
    color: #8b5a00;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-arrow {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    transition: transform 0.3s ease;
    margin-top: 10px;
}

.partner-link:hover .partner-arrow {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .golden-partners-section {
        padding: 80px 0;
    }
    
    .golden-partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .golden-partner-card {
        padding: 26px;
        margin: 0 auto;
        max-width: 90%;
    }
    
    .partner-name {
        font-size: 1.3rem;
    }
    
    .partner-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .golden-partners-section {
        padding: 60px 0;
    }
    
    .golden-partner-card {
        padding: 22px;
        max-width: 95%;
    }
    
    .partner-name {
        font-size: 1.2rem;
    }
    
    .partner-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .partner-badge {
        padding: 6px 16px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
}

/* 服务项目 */
.services-section {
    background: transparent;
    padding: 120px 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    animation: fadeInUp 1s ease-out;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    animation: cardFadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-style: preserve-3d;
}

@keyframes cardFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

[data-theme="dark"] .service-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.service-card:nth-child(2) {
    animation-delay: 0.15s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.45s;
}

/* 卡片光效层 */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* 卡片边框光效 */
.service-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 300% 300%;
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGradient 4s ease infinite;
    filter: blur(8px);
}

@keyframes borderGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card:hover::after {
    opacity: 0.6;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.service-card:hover .card-title {
    color: var(--primary);
}

.service-card:hover .card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: background 0.4s;
}

.service-card:hover .card-header span {
    color: white;
    transform: scale(1.15);
    transition: all 0.3s;
}

.card-header {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    background: linear-gradient(135deg, var(--bg), var(--bg-secondary));
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.card-header span {
    transition: var(--transition);
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.card-body {
    padding: 32px;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
    color: var(--text);
    font-weight: 700;
    line-height: 1.3;
    transition: var(--transition);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    transition: var(--transition);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.clicks {
    color: var(--primary);
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card:hover .clicks {
    background: rgba(59, 130, 246, 0.2);
}

.card-meta span:last-child {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-card:hover .card-meta span:last-child {
    transform: translateX(5px);
}

/* 推荐产品特殊样式 */
.service-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.4), 0 0 40px rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    position: relative;
    z-index: 10;
    animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(231, 76, 60, 0.4), 0 0 40px rgba(231, 76, 60, 0.2);
    }
    50% {
        box-shadow: 0 25px 70px rgba(231, 76, 60, 0.5), 0 0 60px rgba(231, 76, 60, 0.3);
    }
}

.service-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(231, 76, 60, 0.5), 0 0 60px rgba(231, 76, 60, 0.3);
}

.featured-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 南孚风格产品展示 */
.hero-product-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(231, 76, 60, 0.03) 100%);
}

.parallax-container {
    position: relative;
    height: 100%;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background: transparent;
    overflow: hidden;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.04) 0%, transparent 45%);
}

.parallax-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes parallaxBgShift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(1.5%, -1.5%) scale(1.01); }
    50% { transform: translate(-1%, 1%) scale(0.99); }
    75% { transform: translate(0.5%, -0.5%) scale(1.005); }
}

.parallax-content {
    position: relative;
    z-index: 1;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    min-height: auto;
}

/* 产品视觉区 */
.product-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
}

.product-main-image {
    position: relative;
    width: 420px;
    height: 420px;
    animation: productFloat 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-20px) rotateX(2deg) rotateY(3deg); }
    50% { transform: translateY(-10px) rotateX(-1deg) rotateY(-2deg); }
    75% { transform: translateY(-15px) rotateX(1deg) rotateY(2deg); }
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 
        0 30px 60px -15px rgba(231, 76, 60, 0.4),
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(231, 76, 60, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-main-image:hover .main-product-img {
    transform: scale(1.08);
    box-shadow: 
        0 40px 80px -20px rgba(231, 76, 60, 0.5),
        0 15px 50px rgba(0, 0, 0, 0.4),
        0 0 120px rgba(231, 76, 60, 0.25);
}

.image-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.35) 0%, rgba(231, 76, 60, 0.1) 40%, transparent 70%);
    border-radius: 40px;
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
}

.image-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 40px;
    animation: innerGlow 3s ease-in-out infinite;
}

@keyframes innerGlow {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}

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

.image-frame {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    pointer-events: none;
}

/* 缩略图导航 */
.product-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.thumb-btn {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-btn:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 76, 60, 0.5);
}

.thumb-btn.active {
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
}

/* 浮动装饰元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 2.5rem;
    animation: floatElement 4s ease-in-out infinite;
}

.float-1 {
    top: 20%;
    right: -50px;
    animation-delay: 0s;
}

.float-2 {
    top: 60%;
    left: -30px;
    animation-delay: 1.5s;
}

.float-3 {
    bottom: 20%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-50px) rotate(20deg); opacity: 1; }
}

/* 产品信息区 */
.product-info {
    animation: slideInRight 1s ease-out;
    position: relative;
}

.product-info::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #a93226 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    animation: badgePulse 2.5s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    position: relative;
    overflow: hidden;
}

.product-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 6px 25px rgba(231, 76, 60, 0.5); }
}

.product-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin: 0 0 12px 0;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.product-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

.product-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0 0 35px 0;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 特性列表 */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(231, 76, 60, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(231, 76, 60, 0.15);
    animation: featureItemFadeIn 0.6s ease-out backwards;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    transform: translateY(-3px);
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes featureItemFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.feature-item span:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 2;
}

/* 行动按钮 */
.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 45px;
}

.product-actions .btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary.btn-lg {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.4);
}

.btn-primary.btn-lg:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.5);
}

.btn-outline.btn-lg {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline.btn-lg:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.2rem;
}

/* 统计数据 */
.product-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f1c40f, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* 产品亮点展示 */
.product-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 80px;
    padding: 40px 0;
}

.highlight-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 36px 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: highlightCardFadeIn 0.7s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }
.highlight-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes highlightCardFadeIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.highlight-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: linear-gradient(145deg, rgba(231, 76, 60, 0.15) 0%, rgba(231, 76, 60, 0.05) 100%);
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: 
        0 25px 50px rgba(231, 76, 60, 0.25),
        0 0 60px rgba(231, 76, 60, 0.1);
}

.highlight-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    animation: iconWrapperPulse 3s ease-in-out infinite;
}

@keyframes iconWrapperPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(231, 76, 60, 0.2); }
    50% { box-shadow: 0 0 40px rgba(231, 76, 60, 0.4); }
}

.highlight-icon {
    font-size: 3rem;
    animation: iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(2deg); }
    75% { transform: translateY(-5px) rotate(-2deg); }
}

.highlight-card h3 {
    color: var(--text);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .product-main-image {
        width: 320px;
        height: 320px;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
    
    .product-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-stats {
        justify-content: center;
    }
    
    .product-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .product-main-image {
        width: 280px;
        height: 280px;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-highlights {
        grid-template-columns: 1fr;
    }
    
    .product-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

/* 旧特色产品展示样式 - 保留用于兼容 */
.featured-section {
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 102, 255, 0.06) 0%, transparent 50%);
    animation: floatBg 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, 20px); }
    50% { transform: translate(-10px, 30px); }
    75% { transform: translate(10px, -20px); }
}

.featured-showcase {
    margin-top: 40px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(231, 76, 60, 0.3);
    box-shadow: 0 20px 60px rgba(231, 76, 60, 0.2);
    animation: featuredCardFloat 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

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

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
    animation: shineSweep 3s ease-in-out infinite;
}

@keyframes shineSweep {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.featured-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.featured-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: imgPopIn 0.6s ease-out forwards;
    opacity: 0;
}

.featured-img:nth-child(1) { animation-delay: 0.1s; }
.featured-img:nth-child(2) { animation-delay: 0.2s; }
.featured-img:nth-child(3) { animation-delay: 0.3s; }
.featured-img:nth-child(4) { animation-delay: 0.4s; }

@keyframes imgPopIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.featured-img:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(231, 76, 60, 0.3);
    z-index: 10;
}

.featured-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    animation: infoSlideIn 0.8s ease-out 0.5s both;
}

@keyframes infoSlideIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.featured-icon {
    font-size: 4rem;
    animation: iconBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(231, 76, 60, 0.3));
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.featured-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.featured-btn {
    align-self: flex-start;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3);
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(231, 76, 60, 0.3); }
    50% { box-shadow: 0 12px 32px rgba(231, 76, 60, 0.5); }
}

.featured-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.5);
}

/* 暗色模式适配 */
[data-theme="dark"] .featured-card {
    background: rgba(30, 41, 59, 0.7);
    border: 2px solid rgba(231, 76, 60, 0.25);
}

[data-theme="dark"] .featured-section::before {
    background: radial-gradient(circle at 30% 50%, rgba(231, 76, 60, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
}

/* 响应式适配 */
@media (max-width: 900px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .featured-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-img {
        height: 140px;
    }
}

@media (max-width: 600px) {
    .featured-images {
        grid-template-columns: 1fr;
    }
    
    .featured-img {
        height: 160px;
    }
    
    .featured-title {
        font-size: 1.6rem;
    }
}

/* 轮播 */
.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: white;
    border: 1px solid var(--border);
    animation: fadeInUp 1s ease-out;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 500px;
}

.slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide:hover img {
    transform: scale(1.1);
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
    opacity: 0.9;
}

.slide:hover .slide-info {
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    transform: translateY(0);
    opacity: 1;
}

.slide-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.slide-info p {
    opacity: 0.9;
    margin: 0;
    font-size: 1.15rem;
    max-width: 800px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.slider-prev { 
    left: 30px;
    animation: fadeInLeft 0.6s ease-out;
}
.slider-next { 
    right: 30px;
    animation: fadeInRight 0.6s ease-out;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 28px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.slider-dots .dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transition: var(--transition-slow);
}

.slider-dots .dot:hover::before {
    animation: slideIn 0.6s ease-out;
}

.slider-dots .dot:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 40px;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* 轮播动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* 友链 */
.friends-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.friends-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.5));
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: friendCardFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes friendCardFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-60px) rotateY(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

.friend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

[data-theme="dark"] .friend-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .friend-card::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
}

.friend-card:nth-child(2) {
    animation-delay: 0.15s;
}

.friend-card:nth-child(3) {
    animation-delay: 0.3s;
}

.friend-card:nth-child(4) {
    animation-delay: 0.45s;
}

.friend-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2), 0 0 40px rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
}

.friend-card:hover .f-info h4 {
    color: var(--primary);
    transition: all 0.3s;
}

.friend-card:hover .f-avatar {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
}

.friend-card .f-info {
    position: relative;
    z-index: 2;
}

.friend-card .card-border {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-gradient);
    border-radius: var(--radius) 0 0 var(--radius);
}

.f-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.f-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--border-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    color: white;
    transition: var(--transition);
}

.f-avatar-img {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid white;
    background: var(--border-gradient);
    display: block;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.f-info {
    flex: 1;
    min-width: 0;
}

.f-info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.f-info p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
    transition: var(--transition);
}

.f-clicks {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
    background: rgba(0,0,0,0.05);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    opacity: 0;
    transition: var(--transition);
    font-weight: 500;
}

.friend-card:hover .f-clicks {
    opacity: 1;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    transform: scale(1.05);
}

/* 关于 */
.about-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.about-content {
    animation: fadeInLeft 1s ease-out;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 28px;
    color: var(--text);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 16px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--border-gradient);
    border-radius: 2px;
}

.about-content .lead {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.about-content > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-cards {
    margin: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.f-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

[data-theme="dark"] .f-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}



.f-card:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.f-card:nth-child(3) {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.f-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.f-card:hover .f-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.f-card:hover .f-text h4 {
    color: var(--primary);
    transition: color 0.3s;
}

.f-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
    background: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.f-text h4 {
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

.f-text p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    transition: var(--transition);
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition);
    animation: fadeInRight 1s ease-out;
}

.about-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image:hover img {
    transform: scale(1.1);
}

.year-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--border-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.about-image:hover .year-badge {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

/* 时间线 */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.timeline-item:nth-child(2n) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.timeline-item:nth-child(3n) {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

.timeline-item:nth-child(4n) {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--border-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    border: 4px solid white;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item:hover .timeline-date {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    margin-right: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}



[data-theme="dark"] .timeline-content {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 50px;
}

.timeline-content:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.timeline-content:hover h4 {
    color: var(--primary);
}

.timeline-content:hover p {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.timeline-content h4 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition);
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    transition: var(--transition);
}

/* 时间线装饰元素 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.timeline-item:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    border-color: var(--secondary);
}

/* 评论区 */
.comments-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 60% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.waline-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 400px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
    overflow: hidden;
}

.waline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] .waline-container {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .waline-container::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
}

.waline-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    color: var(--text-gray);
    animation: fadeInUp 1s ease-out;
}

.spinner-small {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite, pulse 2s ease-in-out infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.waline-loading p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    animation: breathe 2s ease-in-out infinite;
}

/* 
 * 页脚样式 - 重要：颜色锁定，不随主题变化
 * 使用!important确保不会被覆盖
 */
.site-footer {
    background: var(--bg-secondary);
    color: var(--text);
    padding: 60px 0 0;
    position: relative;
    border-top: 1px solid var(--border);
}

/* 页脚背景装饰 */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    z-index: 0;
}

/* 子元素继承文字颜色（精确选择器，避免过度覆盖） */
.site-footer p,
.site-footer span,
.site-footer h3,
.site-footer h4 {
    color: inherit;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
    padding-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInLeft 1s ease-out;
}

.footer-brand .footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    border: 2px solid var(--primary);
    object-fit: cover;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.footer-brand .footer-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.6);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--text) !important;
    position: relative;
    padding-bottom: 10px;
}

.footer-brand h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.95rem;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    margin: 0;
    transition: var(--transition);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text) !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    transition: var(--transition);
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: var(--transition);
}

.footer-links h4:hover::after {
    width: 60px;
}

.footer-links a,
.footer-links span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 0;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
    color: var(--primary) !important;
}

.footer-links a:hover {
    color: #ffffff !important;
    transform: translateX(12px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6) !important;
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.footer-bottom span {
    color: var(--primary) !important; /* 统计数字用蓝色高亮 */
    font-weight: 600;
    transition: var(--transition);
}

.footer-bottom span:hover {
    color: var(--secondary) !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* 回到顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: pulseGlow 2s ease-in-out infinite;
    opacity: 0;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        transform: scale(1.8);
        opacity: 0.6;
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: fadeInUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.5),
        0 0 30px rgba(139, 92, 246, 0.3);
}

.back-to-top:active {
    transform: translateY(-4px) scale(1.05);
}

/* 弹窗 */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1;
}

[data-theme="dark"] .modal-content {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .modal-content::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
}

@keyframes modalIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8) rotateX(-15deg);
    }
    50% {
        transform: translateY(10px) scale(1.02) rotateX(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

.modal-header {
    padding: 28px 32px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    animation: headerFadeIn 0.5s ease-out 0.3s both;
}

@keyframes headerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header h3 {
    color: var(--text);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close {
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-gray);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.modal-body {
    padding: 32px;
    animation: bodyFadeIn 0.5s ease-out 0.4s both;
}

@keyframes bodyFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-box {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.notice-box p {
    color: #92400e;
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 1rem;
}

.notice-box p:last-child {
    margin-bottom: 0;
}

.notice-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
}

.notice-box a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.modal-footer {
    padding: 0 32px 32px;
    display: flex;
    justify-content: flex-end;
}

/* 强制友链头像固定大小，自动缩放 */
.f-avatar-img {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: block;
    box-sizing: border-box;
    box-shadow: var(--shadow);
}

/* =====================================================
   高级动画系统
   ===================================================== */

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

/* 滚动触发动画 */
/* ============================================================
   超级惊艳的滚动触发动画系统
   ============================================================ */

/* 基础入场动画 - 双向进出 */
.reveal {
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* 左侧入场 */
.reveal-left {
    opacity: 0;
    transform: translateX(-120px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* 右侧入场 */
.reveal-right {
    opacity: 0;
    transform: translateX(120px) scale(0.95);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* 缩放入场 */
.reveal-scale {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(8px);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* 旋转入场 */
.reveal-rotate {
    opacity: 0;
    transform: rotate(-15deg) translateY(80px) scale(0.9);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(6px);
}

.reveal-rotate.revealed {
    opacity: 1;
    transform: rotate(0deg) translateY(0) scale(1);
    filter: blur(0);
}

/* 淡入入场 */
.reveal-fade {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade.revealed {
    opacity: 1;
}

/* 弹跳入场 */
.reveal-bounce {
    opacity: 0;
    transform: translateY(120px) scale(0.9);
    transition: opacity 0.8s ease-out,
                transform 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                filter 1s ease-out;
    filter: blur(8px);
}

.reveal-bounce.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* 交错延迟系统 */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* Section进入视口光效 */
.section {
    position: relative;
}

.section.in-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: sectionGlow 2s ease-out forwards;
    opacity: 0;
}

@keyframes sectionGlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

/* Section标题下划线动画 */
.section-title {
    position: relative;
}

.section-title.animate-in::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: titleUnderline 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: left;
}

@keyframes titleUnderline {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* 涟漪效果 */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

/* 导航栏滚动变形 */
.site-header.shrink {
    height: 56px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.site-header.shrink .logo-img {
    width: 34px;
    height: 34px;
}

.site-header.shrink .logo-text {
    font-size: 1.2rem;
}

.site-header.shrink .nav-link {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.site-header.shrink .theme-switch {
    width: 36px;
    height: 36px;
}

[data-theme="dark"] .site-header.shrink {
    background: rgba(8, 13, 26, 0.96);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* 磁性悬停效果 */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 卡片光效跟随 */
.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::after {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.card-glow:hover::after {
    opacity: 1;
}

/* Hero标题打字光标 */
.hero-title::after {
    content: '|';
    display: inline;
    animation: cursorBlink 1s step-end infinite;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
    margin-left: 4px;
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero 背景动态渐变 */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(59, 130, 246, 0.05) 0%,
        transparent 30%,
        rgba(16, 185, 129, 0.05) 50%,
        transparent 70%,
        rgba(245, 158, 11, 0.05) 100%
    );
    background-size: 300% 300%;
    animation: heroGradientShift 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 数字滚动计数器样式 */
.counter-animate {
    display: inline-block;
    transition: transform 0.3s;
}

.counter-animate.counting {
    animation: counterPop 0.3s ease-out;
}

@keyframes counterPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Section 交错入场 */
.section-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-stagger.revealed > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.section-stagger.revealed > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.section-stagger.revealed > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.section-stagger.revealed > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.section-stagger.revealed > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.section-stagger.revealed > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.section-stagger.revealed > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.section-stagger.revealed > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.7s; }

/* 服务卡片增强悬停 */
.service-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 800px;
}

.service-card.tilt {
    transition: transform 0.2s ease-out, box-shadow 0.3s ease;
}

/* 友链卡片统一悬浮样式 */
.friend-card {
    transform-style: preserve-3d;
}

/* Section标题增强 */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.animate-in::after {
    width: 60px;
}

/* 滚动指示动画 */
.scroll-hint {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-hint span {
    display: inline-block;
    animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* 关于页面图片悬浮 */
.about-image {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image:hover {
    transform: translateY(-8px);
}

.about-image img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* 时间线增强 */
.timeline-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(even) {
    transform: translateX(30px);
}

.timeline-item:nth-child(even).revealed {
    transform: translateX(0);
}

/* 产品展示区增强 */
.product-showcase {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-showcase.revealed {
    opacity: 1;
    transform: translateY(0);
}

.product-highlights {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.product-highlights.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* highlight-card 交错 */
.highlight-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.highlight-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.highlight-card:nth-child(1) { transition-delay: 0.1s; }
.highlight-card:nth-child(2) { transition-delay: 0.2s; }
.highlight-card:nth-child(3) { transition-delay: 0.3s; }
.highlight-card:nth-child(4) { transition-delay: 0.4s; }

/* 标题文字渐变动画 */
.hero-title {
    background-size: 200% 200%;
    animation: titleReveal 1.5s ease-out, titleGradient 6s ease-in-out infinite 1.5s;
}

/* 按钮涟漪 */
.btn {
    overflow: hidden;
}

/* 统计数字增加光泽 */
.stat-value {
    background-size: 200% 200%;
    animation: statValueShimmer 3s ease-in-out infinite;
}

@keyframes statValueShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 进入视口时的光效 */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    transition: left 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.section.in-view::before {
    left: 0;
}

/* 页脚增强 */
.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0.5;
}

/* 轮播增强 */
.slider-wrapper {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slider-wrapper.revealed {
    opacity: 1;
    transform: scale(1);
}

/* 评论区加载增强 */
.waline-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.waline-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 平滑过渡全局 */
a, button {
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 按钮按下弹性 */
.btn:active {
    transform: translateY(1px) scale(0.97);
    transition: all 0.08s ease;
}

/* 加载动画增强 */
#page-loader {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-loader.hidden {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

/* 响应式适配动画 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate {
        opacity: 1;
        transform: none;
    }
}

/* ===== 移动端性能优化 + 布局适配（合并为一个媒体查询） ===== */
@media (max-width: 768px) {
    /* ---- 性能优化：移除filter blur动画（GPU杀手） ---- */
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate,
    .reveal-fade, .reveal-bounce, .reveal-flip, .reveal-flip-up,
    .reveal-zoom-bounce, .reveal-swing, .reveal-diagonal, .reveal-spiral,
    .reveal-skew, .reveal-chars {
        transition-property: opacity, transform !important;
        filter: none !important;
    }
    
    /* 移动端reveal方向调整（横向→纵向） */
    .reveal-left, .reveal-right {
        transform: translateY(30px);
    }
    .reveal-left.revealed, .reveal-right.revealed {
        transform: translateY(0);
    }
    
    /* 移除section装饰粒子（节省48+ DOM节点） */
    .section-particles, .section-particle {
        display: none !important;
    }
    
    /* 移除hero区域光效（大blur值+持续动画） */
    .hero-bg-glow, .core-glow, .orb-reflection,
    .hero-beam, .parallax-layer, .hero-rays {
        display: none !important;
    }
    
    /* 移除鼠标交互效果 */
    .cursor-glow {
        display: none !important;
    }
    .hero-mouse-trail {
        display: none !important;
    }
    
    /* 简化hero动画，移除blur */
    @keyframes heroPageIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }
    
    @keyframes heroTitleIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }
    
    @keyframes heroFadeUp {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }
    
    /* 简化section背景动画 */
    .services-section::after, .friends-section::after,
    .comments-section::after, .about-section::after {
        animation: none !important;
    }
    
    /* 移除标题闪光扫描 */
    .section-title-flash::before {
        animation: none !important;
    }
    
    /* 简化时间线动画 */
    .timeline-item::before {
        animation: none !important;
    }
    
    /* ---- 布局适配 ---- */
    .site-header.shrink {
        height: 50px;
    }
    .site-header.shrink .logo-img {
        width: 30px;
        height: 30px;
    }
    .scroll-progress {
        height: 2px;
    }
}

/* ============================================================
   全局滚动进度条
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    border-radius: 0 2px 2px 0;
}

/* ============================================================
   滚动触发的元素显示动画 - 双向进出
   ============================================================ */

/* 交错动画延迟 - 让子元素依次入场 */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.5s; }

.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* 交错延迟类 */
.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }
.reveal-delay-4 { transition-delay: 0.4s !important; }
.reveal-delay-5 { transition-delay: 0.5s !important; }
.reveal-delay-6 { transition-delay: 0.6s !important; }

/* Section进入视口时的光效 - 使用 ::before（已定义在6327行） */

/* Section标题下划线动画 */
.section-title.animate-in::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 12px auto 0;
    border-radius: 2px;
    animation: underlineGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes underlineGrow {
    0% { width: 0; opacity: 0; }
    100% { width: 60px; opacity: 1; }
}

/* 涟漪效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(139, 92, 246, 0.4) 50%, transparent 70%);
    transform: scale(0);
    animation: rippleExpand 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    pointer-events: none;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 1;
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
    }
    100% {
        transform: scale(4);
        opacity: 0;
        box-shadow: 0 0 50px rgba(59, 130, 246, 0);
    }
}

/* 卡片光效跟随鼠标 */
.card-glow {
    position: relative;
    overflow: hidden;
}

.card-glow::after {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.card-glow:hover::after {
    opacity: 1;
}

[data-theme="dark"] .card-glow::after {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.15) 0%, transparent 70%);
}

/* ============================================================
   鼠标跟随光晕效果
   ============================================================ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: screen;
}

[data-theme="dark"] .cursor-glow {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, transparent 70%);
}

/* ============================================================
   按钮涟漪点击效果
   ============================================================ */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: 0s;
}

/* ============================================================
   导航栏滚动收缩效果
   ============================================================ */
.site-header.shrink {
    height: 56px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.site-header.shrink .logo-img {
    width: 34px;
    height: 34px;
}

.site-header.shrink .logo-text {
    font-size: 1.2rem;
}

/* ============================================================
   Hero区域鼠标跟随光标效果
   ============================================================ */
.hero-mouse-trail {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.5s;
}

.hero-section:hover .hero-mouse-trail {
    opacity: 1;
}

/* ============================================================
   Hero区域粒子连线效果容器
   ============================================================ */
.hero-constellation {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-constellation canvas {
    width: 100%;
    height: 100%;
}

/* ============================================================
   数字滚动计数器动画
   ============================================================ */
.counter-animate {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.counter-animate.counting {
    animation: counterPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   段落文字逐字显示动画
   ============================================================ */
.text-char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotateX(-30deg);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.text-char-reveal.visible {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* ============================================================
   Section进入时的背景渐变动画
   ============================================================ */
.section-reveal-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.section:hover .section-reveal-bg {
    opacity: 1;
}

/* ============================================================
   滚动指示箭头改进
   ============================================================ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: fadeInUp 1s ease-out 1.5s both;
    cursor: pointer;
}

.scroll-indicator-text {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ============================================================
   导航链接磁性效果增强
   ============================================================ */
.nav-link-magnetic {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   卡片光追效果
   ============================================================ */
.card-glow-follow {
    position: relative;
    overflow: hidden;
}

.card-glow-follow::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.card-glow-follow:hover::before {
    opacity: 1;
}

[data-theme="dark"] .card-glow-follow::before {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
}

/* ============================================================
   Hero统计数字大号效果
   ============================================================ */
.stat-number-display {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   Hero区域动态背景 - 光束扫描
   ============================================================ */
.hero-beam {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.2), transparent);
    animation: beamScan 8s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

.hero-beam:nth-child(1) { left: 20%; animation-delay: 0s; }
.hero-beam:nth-child(2) { left: 50%; animation-delay: 3s; opacity: 0.3; }
.hero-beam:nth-child(3) { left: 80%; animation-delay: 6s; opacity: 0.4; }

@keyframes beamScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

[data-theme="light"] .hero-beam {
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.08), transparent);
}

/* ============================================================
   页面过渡遮罩
   ============================================================ */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* ============================================================
   全局视觉润色
   ============================================================ */

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary));
}

/* 文本选中 */
::selection {
    background: rgba(59, 130, 246, 0.25);
    color: var(--text);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(59, 130, 246, 0.3);
}
.back-to-top:active {
    transform: translateY(-2px);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* 减少动画（无障碍） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 产品区域亮点卡片 */
.highlight-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 24px;
    border: 1px solid var(--card-border);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}

/* 产品按钮 */
.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    color: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
}

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

/* 产品信息区文字 */
.product-info {
    color: var(--text);
}

.product-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 12px;
}

.product-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.product-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-item {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
}

/* 服务卡片增强 */
.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--card-border);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}

.service-card:hover .card-title {
    color: var(--primary);
}

/* Section 间距标准化 */
.section {
    padding: 100px 0;
    position: relative;
}

/* 光标跟随效果增强 */
.cursor-glow {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
   演示控制面板 - 方便拍视频
   ============================================================ */

.demo-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.demo-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.demo-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.demo-toggle::after {
    content: '演示';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.demo-toggle:hover::after {
    opacity: 1;
}

.demo-controls {
    position: absolute;
    top: 56px;
    right: 0;
    width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .demo-controls {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-controls.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.demo-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.demo-btn {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 6px;
    background: var(--bg-secondary);
    color: var(--text);
}

.demo-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateX(2px);
}

.demo-btn:active {
    transform: scale(0.98);
}

.demo-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.demo-btn-loader {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
}

.demo-btn-loader:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.demo-btn-hero {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
}

.demo-btn-hero:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.demo-btn-scroll {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: white;
}

.demo-btn-scroll:hover {
    background: linear-gradient(135deg, #059669, #2563eb);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.demo-divider {
    height: 1px;
    background: var(--border);
    margin: 10px 0;
}

.demo-speed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.demo-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.demo-speed-btns {
    display: flex;
    gap: 4px;
}

.demo-speed {
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.2s;
}

.demo-speed:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.demo-speed.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.demo-btn-pause {
    background: #f59e0b;
    color: white;
}

.demo-btn-pause:hover {
    background: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.demo-btn-pause.paused {
    background: #10b981;
}

.demo-btn-pause.paused:hover {
    background: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.demo-btn-fullscreen {
    background: #6366f1;
    color: white;
}

.demo-btn-fullscreen:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ============================================================
   超级丰富动画系统 - 50+种动画效果
   ============================================================ */

/* --- 新增入场动画类型 --- */

/* 翻转入场 */
.reveal-flip {
    opacity: 0;
    transform: perspective(800px) rotateY(90deg) translateX(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(6px);
}

.reveal-flip.revealed {
    opacity: 1;
    transform: perspective(800px) rotateY(0deg) translateX(0);
    filter: blur(0);
}

/* 上翻入场 */
.reveal-flip-up {
    opacity: 0;
    transform: perspective(800px) rotateX(60deg) translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(6px);
}

.reveal-flip-up.revealed {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0);
    filter: blur(0);
}

/* 弹跳缩放入场 */
.reveal-zoom-bounce {
    opacity: 0;
    transform: scale(0.3);
    transition: opacity 0.8s ease-out,
                transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.5),
                filter 0.8s ease-out;
    filter: blur(10px);
}

.reveal-zoom-bounce.revealed {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* 摇摆入场 */
.reveal-swing {
    opacity: 0;
    transform: rotate(-15deg) scale(0.9);
    transform-origin: top center;
    transition: opacity 0.8s ease-out,
                transform 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                filter 0.8s ease-out;
    filter: blur(4px);
}

.reveal-swing.revealed {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    filter: blur(0);
}

/* 滑入对角线 */
.reveal-diagonal {
    opacity: 0;
    transform: translate(-60px, -60px) scale(0.9);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.reveal-diagonal.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0);
}

/* 螺旋入场 */
.reveal-spiral {
    opacity: 0;
    transform: rotate(-180deg) scale(0.3);
    transition: opacity 1s ease-out,
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s ease-out;
    filter: blur(8px);
}

.reveal-spiral.revealed {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    filter: blur(0);
}

/* 剪切入场 */
.reveal-skew {
    opacity: 0;
    transform: skewX(15deg) translateX(80px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(4px);
}

.reveal-skew.revealed {
    opacity: 1;
    transform: skewX(0deg) translateX(0);
    filter: blur(0);
}

/* --- 文字逐字动画 --- */
.reveal-chars {
    display: inline-block;
}

.reveal-chars .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotate(15deg) scale(0.5);
    transition: opacity 0.6s ease-out,
                transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-chars.revealed .char {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

.reveal-chars.revealed .char:nth-child(1) { transition-delay: 0.05s; }
.reveal-chars.revealed .char:nth-child(2) { transition-delay: 0.1s; }
.reveal-chars.revealed .char:nth-child(3) { transition-delay: 0.15s; }
.reveal-chars.revealed .char:nth-child(4) { transition-delay: 0.2s; }
.reveal-chars.revealed .char:nth-child(5) { transition-delay: 0.25s; }
.reveal-chars.revealed .char:nth-child(6) { transition-delay: 0.3s; }
.reveal-chars.revealed .char:nth-child(7) { transition-delay: 0.35s; }
.reveal-chars.revealed .char:nth-child(8) { transition-delay: 0.4s; }
.reveal-chars.revealed .char:nth-child(9) { transition-delay: 0.45s; }
.reveal-chars.revealed .char:nth-child(10) { transition-delay: 0.5s; }

/* --- Section背景微动效（使用after避免与::before光束冲突） --- */
.services-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    animation: sectionBgShift 8s ease-in-out infinite alternate;
}

.friends-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
    animation: sectionBgShift 10s ease-in-out infinite alternate;
}

.comments-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.04) 0%, transparent 50%);
    animation: sectionBgShift 12s ease-in-out infinite alternate;
}

.about-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    animation: sectionBgShift 9s ease-in-out infinite alternate;
}

@keyframes sectionBgShift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(2%, -2%) scale(1.02); }
    100% { transform: translate(-2%, 2%) scale(1); }
}

/* --- Section装饰粒子 --- */
.section-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.section-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.15;
    animation: sectionParticleFloat var(--duration, 6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.section-particle:nth-child(odd) {
    background: var(--secondary);
}

.section-particle:nth-child(3n) {
    background: var(--accent);
    width: 3px;
    height: 3px;
}

@keyframes sectionParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, -30px) scale(1.3);
        opacity: 0.25;
    }
    50% {
        transform: translate(-10px, -60px) scale(0.8);
        opacity: 0.15;
    }
    75% {
        transform: translate(15px, -30px) scale(1.1);
        opacity: 0.2;
    }
}

/* --- 导航链接增强悬停（使用::before避免与原始::after冲突） --- */
.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-link:hover::before {
    opacity: 1;
}

/* --- 按钮增强悬停 --- */
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4),
                0 0 50px rgba(59, 130, 246, 0.15);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

.btn-outline:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.btn-outline:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

/* --- 页脚入场动画 --- */
.site-footer.revealed .footer-grid > * {
    animation: footerSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.site-footer.revealed .footer-grid > *:nth-child(1) { animation-delay: 0.1s; }
.site-footer.revealed .footer-grid > *:nth-child(2) { animation-delay: 0.2s; }
.site-footer.revealed .footer-grid > *:nth-child(3) { animation-delay: 0.3s; }
.site-footer.revealed .footer-grid > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes footerSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* --- 卡片持续脉冲光环 --- */
.card-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.card-glow:hover::before {
    opacity: 0.3;
    animation: cardGlowPulse 2s ease-in-out infinite;
}

@keyframes cardGlowPulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.35; }
}

/* --- 滚动视差装饰线 --- */
.parallax-line {
    position: absolute;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.1;
    animation: parallaxLineFloat var(--duration, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    pointer-events: none;
}

@keyframes parallaxLineFloat {
    0%, 100% { transform: translateY(0) rotate(var(--angle, 0deg)); opacity: 0.05; }
    50% { transform: translateY(-50px) rotate(var(--angle, 0deg)); opacity: 0.15; }
}

/* --- 标题闪光扫描 --- */
.section-title-flash {
    position: relative;
    overflow: hidden;
}

.section-title-flash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: titleShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes titleShine {
    0%, 80% { left: -100%; }
    100% { left: 100%; }
}

/* --- Logo悬停动画 --- */
.logo {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.logo:hover .logo-img {
    animation: logoSpin 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* --- 返回顶部弹跳 --- */
.back-to-top {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
    transition-duration: 0.1s;
}

/* --- 滚动指示器脉冲 --- */
.scroll-indicator {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(8px); }
}

/* --- 时间线节点脉冲 --- */
.timeline-item::before {
    animation: timelinePulse 2s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

/* --- 统计数字光效 --- */
.stat-value {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 产品图片：保持原始float动画，不加额外transition --- */
/* （.product-main-image 已有 productFloat 动画，额外 transition 会导致闪烁） */

/* --- 缩略图/轮播箭头：保持原始样式，不重复定义 --- */

/* --- 主题切换按钮 --- */
.theme-switch {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-switch:hover {
    transform: rotate(30deg) scale(1.1);
}

.theme-switch:active {
    transform: rotate(0deg) scale(0.9);
    transition-duration: 0.1s;
}

/* --- 移动菜单按钮 --- */
.mobile-menu-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.1);
}

/* --- 涟漪点击效果增强 --- */
.ripple {
    animation: rippleExpand 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6),
                0 0 60px rgba(139, 92, 246, 0.3);
}

/* --- 进度条增强动画 --- */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* --- 徽章悬停 --- */
.product-badge {
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-5px) rotate(3deg); }
}

/* --- 特性列表逐条入场 --- */
.feature-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-showcase:hover .feature-item:nth-child(1) { transform: translateX(5px); transition-delay: 0s; }
.product-showcase:hover .feature-item:nth-child(2) { transform: translateX(5px); transition-delay: 0.05s; }
.product-showcase:hover .feature-item:nth-child(3) { transform: translateX(5px); transition-delay: 0.1s; }
.product-showcase:hover .feature-item:nth-child(4) { transform: translateX(5px); transition-delay: 0.15s; }

/* --- 评论区加载动画 --- */
.waline-loading {
    animation: walineFloat 3s ease-in-out infinite;
}

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

/* --- 减少动画偏好 --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-rotate,
    .reveal-fade, .reveal-bounce, .reveal-flip, .reveal-flip-up,
    .reveal-zoom-bounce, .reveal-swing, .reveal-diagonal, .reveal-spiral,
    .reveal-skew, .reveal-chars {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .demo-panel {
        top: auto;
        bottom: 20px;
        right: 20px;
    }
    
    .demo-controls {
        top: auto;
        bottom: 56px;
        width: 200px;
    }
}

/* ============================================================
   去除AI化 - 精简过度装饰，保留清爽观感
   隐藏粒子雨/光束扫描/鼠标光迹/全局光晕等模板化特效
   ============================================================ */
.hero-rain,
.hero-beam,
.hero-mouse-trail,
.cursor-glow {
    display: none !important;
}

/* 弱化标题发光，避免过度绚丽 */
.hero-title-glow {
    opacity: 0.35 !important;
    animation: none !important;
}

/* 打字机光标去除，避免AI模板感 */
.hero-title::after,
body.page-loaded .hero-title::after {
    display: none !important;
}

/* 减少浮动圆环与粒子的存在感 */
.hero-ring {
    opacity: 0.4;
}

.hero-particle {
    opacity: 0.3;
}

/* 标题回归克制：弱化过强渐变光晕 */
.hero-title {
    text-shadow: none !important;
}