﻿/* 
 * 孟轩网 - 官网全新样式
 * 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.1);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --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);
}

* {
    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;
}

/* 手机端背景图片 */
@media (max-width: 768px) {
    .bg-layer img {
        content: url('../image/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 0.8s ease-out 0.1s both; }
body.page-loaded .hero-content > *:nth-child(2) { animation: fadeInUp 0.8s ease-out 0.2s both; }
body.page-loaded .hero-content > *:nth-child(3) { animation: fadeInUp 0.8s ease-out 0.3s both; }
body.page-loaded .hero-content > *:nth-child(4) { animation: fadeInUp 0.8s ease-out 0.4s both; }
body.page-loaded .hero-content > *:nth-child(5) { animation: fadeInUp 0.8s ease-out 0.5s both; }
body.page-loaded .hero-content > *:nth-child(6) { animation: fadeInUp 0.8s ease-out 0.6s both; }
body.page-loaded .hero-content > *:nth-child(7) { animation: fadeInUp 0.8s ease-out 0.7s both; }
body.page-loaded .hero-content > *:nth-child(8) { animation: fadeInUp 0.8s ease-out 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: #0a0a0f;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 102, 255, 0.3);
    border-top-color: #0066ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-top: 2px solid #00d4aa;
    border-radius: 50%;
    animation: spin 1s linear infinite reverse;
    box-shadow: inset 0 0 15px rgba(0, 212, 170, 0.3);
    z-index: 2;
}

.spinner-inner {
    position: absolute;
    width: 55px;
    height: 55px;
    border: 2px solid transparent;
    border-top: 2px solid #ff6b35;
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
    opacity: 0.8;
    z-index: 1;
}

.spinner-outer {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid transparent;
    border-top: 1px solid rgba(0, 102, 255, 0.3);
    border-bottom: 1px solid rgba(0, 212, 170, 0.3);
    border-radius: 50%;
    animation: spin 3s linear infinite;
    opacity: 0.5;
    z-index: 0;
}

/* 加载文字 */
.loader-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #0066ff 50%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: breathe 2s ease-in-out infinite;
    position: relative;
    letter-spacing: 2px;
}

.loader-text::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #0066ff, #00d4aa, transparent);
    border-radius: 2px;
    animation: slideIn 2s ease-in-out infinite;
}

/* 加载进度条 */
.loader-progress {
    width: 280px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loader-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #0066ff, #00d4aa, #ff6b35, transparent);
    animation: progress 2.5s ease-in-out infinite;
}

/* 加载状态统计 */
.loader-stats {
    display: flex;
    gap: 40px;
    margin-top: 5px;
}

.loader-stat {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.loader-stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #0066ff, #00d4aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: countUp 2s ease-in-out infinite;
}

/* 加载 glow 效果 */
.loader-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, rgba(0, 212, 170, 0.08) 30%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite, glowRotate 20s linear infinite;
    z-index: 1;
}

/* 内容浮动动画 */
@keyframes contentFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 发光旋转动画 */
@keyframes glowRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 生日模式样式 */
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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
}

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 .spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    animation: spin 0.8s linear infinite, pulse 2s ease-in-out infinite;
    position: relative;
}

body.tech-mode .spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: spin 1.2s linear infinite reverse;
}

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(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

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

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

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

/* 导航 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    margin: 0;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.site-header::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;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

[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::before {
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
}

[data-theme="dark"] .site-header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.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;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: all 0.6s;
}

.logo:hover::before {
    animation: slideIn 0.6s ease-out;
}

.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);
}

.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;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s;
}

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

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    object-fit: cover;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

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

.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-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius);
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
    border-radius: var(--radius);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    background: rgba(59, 130, 246, 0.2);
}



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

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

.theme-switch:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.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: heroEnter 1.2s ease-out;
}

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

/* Hero背景 - 简洁设计 */
.hero-bg::before {
    display: none;
}

/* 亮色模式Hero背景 */
[data-theme="light"] .hero-bg::before {
    display: none;
}

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

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

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

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

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

/* 网格线效果 - 降低透明度 */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridScroll 60s linear infinite;
}

@keyframes gridScroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}
}

.hero-vline:nth-child(5) { left: 20%; animation-delay: 1s; }
.hero-vline:nth-child(6) { left: 40%; animation-delay: 3s; }
.hero-vline:nth-child(7) { left: 60%; animation-delay: 5s; }
.hero-vline:nth-child(8) { left: 80%; animation-delay: 7s; }

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

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

.hero-ring {
    position: absolute;
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    animation: ringExpand 10s linear 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.1);
}

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

@keyframes ringExpand {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

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

/* 简洁粒子 */
.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--primary);
    animation: particleFloat 20s linear infinite;
    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; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) scale(1); opacity: 0; }
}

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

.hero-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: starTwinkle 3s 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; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 10px #fff; }
}

/* 简洁光晕 */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 102, 255, 0.12);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-glow-2 {
    width: 250px;
    height: 250px;
    background: rgba(0, 212, 170, 0.08);
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

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

.hero-glow-3 {
    animation: glowPulseCenter 6s ease-in-out infinite;
}

@keyframes glowPulseCenter {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

/* 3D旋转多边形 */
.hero-3d-shapes {
    position: absolute;
    inset: 0;
    perspective: 1000px;
    pointer-events: none;
}

.hero-3d-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 102, 255, 0.3);
    animation: rotate3d 20s linear infinite;
    transform-style: preserve-3d;
}

.hero-3d-shape::before,
.hero-3d-shape::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 212, 170, 0.3);
    animation: rotate3dReverse 15s linear infinite;
}

.hero-3d-shape:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.hero-3d-shape:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 5s;
    animation-direction: reverse;
    border-color: rgba(0, 212, 170, 0.3);
}

.hero-3d-shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 10s;
    border-color: rgba(255, 107, 53, 0.3);
}

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(180deg) rotateZ(90deg); }
}

@keyframes rotate3dReverse {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(-360deg) rotateY(-180deg); }
}

/* 全息光圈 */
.hero-hologram {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-holo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(0, 102, 255, 0.05);
    border-radius: 50%;
    animation: holoRotate 30s linear infinite;
}

.hero-holo-ring::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.8), transparent);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.hero-holo-ring:nth-child(1) {
    animation-duration: 30s;
}

.hero-holo-ring:nth-child(2) {
    width: 500px;
    height: 500px;
    animation-duration: 25s;
    animation-direction: reverse;
    border-color: rgba(0, 212, 170, 0.05);
}

.hero-holo-ring:nth-child(3) {
    width: 400px;
    height: 400px;
    animation-duration: 20s;
    border-color: rgba(255, 107, 53, 0.05);
}

@keyframes holoRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 电路板效果 */
.hero-circuit {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-circuit-line {
    position: absolute;
    background: rgba(0, 102, 255, 0.2);
}

.hero-circuit-line:nth-child(1) {
    width: 100px;
    height: 1px;
    top: 30%;
    left: 0;
    animation: circuitPulse 3s ease-in-out infinite;
}

.hero-circuit-line:nth-child(2) {
    width: 1px;
    height: 80px;
    top: 30%;
    left: 100px;
    animation: circuitPulse 3s ease-in-out infinite 0.5s;
}

.hero-circuit-line:nth-child(3) {
    width: 150px;
    height: 1px;
    top: calc(30% + 80px);
    left: 100px;
    animation: circuitPulse 3s ease-in-out infinite 1s;
}

.hero-circuit-line:nth-child(4) {
    width: 1px;
    height: 60px;
    top: calc(30% + 80px);
    left: 250px;
    animation: circuitPulse 3s ease-in-out infinite 1.5s;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; box-shadow: 0 0 10px rgba(0, 102, 255, 0.5); }
}

/* 数据流效果 */
.hero-data-flow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-data-stream {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 102, 255, 0.3) 50%,
        transparent 100%
    );
    animation: dataFlow 4s linear infinite;
}

.hero-data-stream:nth-child(1) { left: 20%; animation-delay: 0s; }
.hero-data-stream:nth-child(2) { left: 40%; animation-delay: 1s; }
.hero-data-stream:nth-child(3) { left: 60%; animation-delay: 2s; }
.hero-data-stream:nth-child(4) { left: 80%; animation-delay: 3s; }

@keyframes dataFlow {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* 脉冲点阵 */
.hero-dots {
    position: absolute;
    inset: 0;
}

.hero-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 102, 255, 0.5);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-dot:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.hero-dot:nth-child(2) { top: 35%; left: 25%; animation-delay: 0.3s; }
.hero-dot:nth-child(3) { top: 50%; left: 35%; animation-delay: 0.6s; }
.hero-dot:nth-child(4) { top: 65%; left: 45%; animation-delay: 0.9s; }
.hero-dot:nth-child(5) { top: 80%; left: 55%; animation-delay: 1.2s; }
.hero-dot:nth-child(6) { top: 25%; left: 65%; animation-delay: 0.2s; }
.hero-dot:nth-child(7) { top: 40%; left: 75%; animation-delay: 0.5s; }
.hero-dot:nth-child(8) { top: 55%; left: 85%; animation-delay: 0.8s; }
.hero-dot:nth-child(9) { top: 70%; left: 20%; animation-delay: 1.1s; }
.hero-dot:nth-child(10) { top: 85%; left: 30%; animation-delay: 1.4s; }
.hero-dot:nth-child(11) { top: 30%; left: 50%; animation-delay: 0.4s; }
.hero-dot:nth-child(12) { top: 45%; left: 60%; animation-delay: 0.7s; }
.hero-dot:nth-child(13) { top: 60%; left: 70%; animation-delay: 1s; }
.hero-dot:nth-child(14) { top: 75%; left: 80%; animation-delay: 1.3s; }
.hero-dot:nth-child(15) { top: 90%; left: 90%; animation-delay: 1.6s; }

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.3; 
        box-shadow: 0 0 0 rgba(0, 102, 255, 0);
    }
    50% { 
        transform: scale(1.5); 
        opacity: 1; 
        box-shadow: 0 0 15px rgba(0, 102, 255, 0.8);
    }
}

/* 雷达扫描效果 */
.hero-radar {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50%;
    overflow: hidden;
}

.hero-radar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 102, 255, 0.3) 50%, transparent 60%);
    transform-origin: left center;
    animation: radarScan 4s linear infinite;
}

.hero-radar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: #00d4aa;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #00d4aa;
}

@keyframes radarScan {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 波浪效果 */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 102, 255, 0.03) 25%,
        transparent 50%
    );
    animation: waveMove 10s linear infinite;
}

.hero-wave:nth-child(2) {
    animation-duration: 15s;
    animation-direction: reverse;
    opacity: 0.5;
}

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

/* 文字动画效果 */
.hero-text-animate {
    position: relative;
}

.hero-text-animate::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: textShine 3s ease-in-out infinite;
}

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

/* 打字机效果字符 */
.hero-typing {
    overflow: hidden;
    border-right: 2px solid rgba(0, 102, 255, 0.8);
    white-space: nowrap;
    animation: typing 3s steps(20) infinite, blink 0.5s step-end infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes heroEnter {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

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

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.3s both;
    margin-top: 60px;
    padding-bottom: 60px;
}

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

.hero-content > *:nth-child(1) { animation-delay: 0.3s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-content > *:nth-child(4) { animation-delay: 0.6s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }
.hero-content > *:nth-child(6) { animation-delay: 0.8s; }
.hero-content > *:nth-child(7) { animation-delay: 0.9s; }
.hero-content > *:nth-child(8) { animation-delay: 1.0s; }

/* 允许服务器监控模块突破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: 5rem;
    font-weight: 900;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #0066ff 50%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    line-height: 1.1;
    position: relative;
    animation: titleReveal 1.5s ease-out, breathe 3s ease-in-out infinite 1.5s;
    text-shadow: 0 0 80px rgba(0, 102, 255, 0.5);
}

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

/* 标题光效 */
.hero-title::before {
    content: '孟轩网';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #0066ff 50%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    filter: blur(20px);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.5s both, subtitleGlow 2s ease-in-out infinite 1.5s;
    position: relative;
    display: inline-block;
}

@keyframes subtitleGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 102, 255, 0.3); }
    50% { text-shadow: 0 0 40px rgba(0, 212, 170, 0.5); }
}

.hero-desc {
    color: var(--text-gray);
    font-size: 1.25rem;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* 英雄区域装饰元素 */
.hero-decoration {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.hero-decoration-2 {
    bottom: 20%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite reverse;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.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(0);
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.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: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.05);
}

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

[data-theme="dark"] .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.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: 24px;
    max-width: 1000px;
    margin: 0 auto 60px;
    width: 100%;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out 1s 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 iconBounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(15deg);
    }
    100% {
        transform: scale(1.2) rotate(10deg);
    }
}

@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 var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    color: var(--text-gray);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* 通用区块 */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    animation: sectionEnter 0.8s ease-out;
}

@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.5rem;
    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: titleGlow 2s ease-in-out infinite;
}

@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;
    max-width: 600px;
    margin: 0 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 fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 淡入向右 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(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.8;
    }
    50% {
        opacity: 1;
    }
}

/* 旋转动画 */
@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 particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* 进度条动画 */
@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 zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 水珠动画 */
@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('../image/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: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* 液态玻璃效果 */
.golden-partner-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* 水珠效果 */
.golden-partner-card .water-droplets {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 215, 0, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, rgba(255, 215, 0, 0.7) 0%, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.2;
    pointer-events: none;
    animation: waterDroplets 8s ease-in-out infinite;
    z-index: 2;
}

.golden-partner-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.golden-partner-card:hover::after {
    animation: slideIn 0.6s ease-out;
}

.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: 30px;
        margin: 0 auto;
        max-width: 90%;
    }
    
    .partner-avatar {
        width: 100px;
        height: 100px;
    }
    
    .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: 25px;
        max-width: 95%;
    }
    
    .partner-avatar {
        width: 80px;
        height: 80px;
    }
    
    .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: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

[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.2s;
    animation-fill-mode: both;
}

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

.service-card:nth-child(4) {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 102, 255, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* 随机水珠效果 */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(0, 212, 170, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.5;
    pointer-events: none;
    animation: waterDroplets 8s ease-in-out infinite;
}

/* 液态玻璃效果的滑动动画 */
.service-card:hover::after {
    animation: slideIn 0.6s ease-out;
}

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

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

.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.1) rotate(5deg);
    transition: all 0.4s;
}

.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::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
}

.service-card:hover .card-header::before {
    animation: slideIn 0.6s ease-out;
}

.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);
    transform: scale(1.05);
}

.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);
}

/* 轮播 */
.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(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.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;
}

[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.2s;
    animation-fill-mode: both;
}

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

.friend-card:nth-child(4) {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

.friend-card::after {
    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;
}

.friend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.7) 0%, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.3;
    pointer-events: none;
    animation: waterDroplets 8s ease-in-out infinite;
    z-index: 1;
}

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

/* 液态玻璃效果的滑动动画 */
.friend-card:hover::after {
    animation: slideIn 0.6s ease-out;
}

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

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

.friend-card:hover .f-avatar {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.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);
}

[data-theme="dark"] .f-card::before {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

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

.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::after {
    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;
}

.f-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.3;
    pointer-events: none;
    animation: waterDroplets 8s ease-in-out infinite;
}

/* 液态玻璃效果的滑动动画 */
.f-card:hover::after {
    animation: slideIn 0.6s ease-out;
}

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

.f-card:hover .f-icon {
    transform: scale(1.3) rotate(12deg);
    color: var(--primary);
    transition: var(--transition);
}

.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;
    transform: perspective(1000px) rotateY(5deg);
}

.about-image:hover {
    transform: translateY(-12px) perspective(1000px) rotateY(0deg);
    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: var(--transition);
    overflow: hidden;
    transform: perspective(1000px) rotateY(2deg);
}

[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);
}

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

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 50px;
    transform: perspective(1000px) rotateY(-2deg);
}

.timeline-content::after {
    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;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 90% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
    background-size: 100% 100%;
    opacity: 0.3;
    pointer-events: none;
    animation: waterDroplets 8s ease-in-out infinite;
}

/* 液态玻璃效果的滑动动画 */
.timeline-content:hover::after {
    animation: slideIn 0.6s ease-out;
}

.timeline-content:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px) translateX(12px) perspective(1000px) rotateY(0deg);
    border-color: var(--primary);
}

.timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateY(-8px) translateX(-12px) perspective(1000px) rotateY(0deg);
}

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

.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: 80px 0 40px;
    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 * {
    color: inherit;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
    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-top: 40px;
    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;
    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: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: fadeInUp 0.6s ease-out;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* 弹窗 */
.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.7);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.modal-content::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"] .modal-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);
}

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

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 28px 32px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.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.3s ease;
    font-weight: 600;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.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);
}