```css
/* =========================================================
   黑桃视频 - 暗夜星河主题样式表
   风格：暗色系 + 紫色渐变 + 毛玻璃 + 霓虹光效
   ========================================================= */

:root {
    /* 主色板 - 暗夜星河 */
    --bg1: #0a0a18;
    --bg2: #14142a;
    --bg3: #1a1a35;
    --card: rgba(24, 24, 53, 0.85);
    --card2: rgba(28, 28, 62, 0.9);
    --nav-bg: rgba(13, 13, 32, 0.92);
    --border: rgba(139, 92, 246, 0.25);
    --border-light: rgba(139, 92, 246, 0.4);
    --text: #d0d0e8;
    --text-light: #b0b0d0;
    --title: #f0f0ff;
    --accent: #a78bfa;
    --accent2: #8b5cf6;
    --accent3: #6d28d9;
    --accent-hover: #c4b5fd;
    --pink: #ec4899;
    --cyan: #06b6d4;
    --gold: #f59e0b;
    --shadow: rgba(139, 92, 246, 0.3);
    --shadow-lg: rgba(139, 92, 246, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #4c1d95 100%);
    --gradient-hover: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

/* =========================================================
   基础重置与全局样式
   ========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景光效 - 动态粒子效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: bgPulse 8s ease-in-out infinite;
}

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

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.5);
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* =========================================================
   通用按钮组件
   ========================================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    color: #fff !important;
    background: var(--gradient-main);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* =========================================================
   顶部导航栏 - 毛玻璃效果
   ========================================================= */
.site-header {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-size: 28px;
    color: var(--title);
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none !important;
    background: linear-gradient(135deg, #a78bfa, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: none;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.5));
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a {
    color: #d0d0e8;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 4px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
    text-shadow: 0 0 15px rgba(167, 139, 250, 0.4);
}

.nav-links a.active {
    color: var(--accent2);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* =========================================================
   通用标题组件
   ========================================================= */
.section-title {
    color: var(--title);
    font-size: 32px;
    margin: 50px 0 30px;
    padding-left: 20px;
    border-left: 4px solid var(--accent2);
    font-weight: 700;
    position: relative;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), transparent);
    border-radius: 0 8px 8px 0;
    animation: slideInLeft 0.6s ease-out;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 3px;
    animation: expandWidth 0.8s ease-out;
}

.section-sub {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.8;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

/* =========================================================
   卡片网格系统
   ========================================================= */
.grid {
    display: grid;
    gap: 25px;
}

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

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

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

/* 卡片组件 - 毛玻璃效果 */
.card {
    background: var(--card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
    border-color: var(--border-light);
}

.card-img {
    overflow: hidden;
    background: var(--card2);
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover .card-img::after {
    left: 100%;
}

.card-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-img img {
    transform: scale(1.1) rotate(1deg);
}

.card-body {
    padding: 20px;
    position: relative;
}

.card-body h3 {
    color: var(--title);
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card:hover .card-body h3 {
    color: var(--accent);
}

.card-body p {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.6;
}

.card-body .meta {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-body .meta::before {
    content: '📅';
    font-size: 12px;
}

/* 标签组件 */
.tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 3px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: rgba(139, 92, 246, 0.4);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* =========================================================
   详细介绍区 - 毛玻璃面板
   ========================================================= */
.detail-section {
    background: var(--card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.detail-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent 70%);
    pointer-events: none;
    animation: floatGlow 6s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

.detail-section h2 {
    color: var(--title);
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.detail-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-main);
    border-radius: 3px;
}

.detail-section h3 {
    color: var(--title);
    font-size: 20px;
    margin: 25px 0 12px;
    padding-left: 15px;
    border-left: 3px solid var(--accent2);
    transition: all 0.3s ease;
}

.detail-section h3:hover {
    padding-left: 20px;
    border-left-color: var(--accent);
}

.detail-section p {
    color: var(--text);
    margin-bottom: 15px;
    line-height: 2;
    text-align: justify;
}

/* =========================================================
   角色卡片 - 圆形头像 + 毛玻璃
   ========================================================= */
.char-card {
    background: var(--card2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.char-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.char-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
    border-color: var(--border-light);
}

.char-card img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid var(--accent2);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 1;
}

.char-card:hover img {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent);
    box-shadow: 0 8px 25px var(--shadow);
}

.char-card h3 {
    color: var(--title);
    font-size: 18px;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.char-card .role {
    color: var(--accent);
    font-size: 14px;
    margin: 5px 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 2px 12px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 20px;
}

.char-card p {
    color: var(--text);
    font-size: 14px;
    text-align: left;
    margin-top: 12px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* =========================================================
   平台介绍区
   ========================================================= */
.platform-section {
    background: var(--card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 45px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.platform-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
    pointer-events: none;
    animation: floatGlow2 8s ease-in-out infinite;
}

@keyframes floatGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.platform-section h2 {
    color: var(--title);
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.platform-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gradient-cyan);
    border-radius: 3px;
}

.platform-section p {
    color: var(--text);
    margin-bottom: 15px;
    line-height: 2;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* =========================================================
   APP下载区域 - 渐变Banner
   ========================================================= */
.app-section {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(236, 72, 153, 0.2) 50%, 
        rgba(6, 182, 212, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px 50px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

.app-section h2 {
    color: var(--title);
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #a78bfa, #ec4899, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.app-section p {
    color: var(--text);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-group .btn {
    min-width: 150px;
}

/* =========================================================
   评论区域 - 毛玻璃卡片
   ========================================================= */
.comment-card {
    background: var(--card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 60px;
    color: rgba(139, 92, 246, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.comment-card:hover {
    transform: translateX(5px);
    border-color: var(--border-light);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
    background: rgba(24, 24, 53, 0.95);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.comment-user {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-user::before {
    content: '👤';
    font-size: 14px;
}

.comment-time {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-time::before {
    content: '🕐';
    font-size: 12px;
}

.comment-text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* =========================================================
   侧边栏组件
   ========================================================= */
.sidebar {
    background: var(--card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.sidebar:hover {
    border-color: var(--border-light);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
}

.sidebar h3 {
    color: var(--title);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent2);
    position: relative;
    font-weight: 600;
}

.sidebar h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-main);
}

.rank-list {
    list-style: none;
}

.rank-list li {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
    cursor: pointer;
}

.rank-list li:last-child {
    border-bottom: none;
}

.rank-list li:hover {
    background: rgba(139, 92, 246, 0.1);
    padding-left: 15px;
}

.rank-num {
    background: var(--accent2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.rank-num.top {
    background: var(--gradient-gold);
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

.rank-list li:hover .rank-num {
    transform: scale(1.1) rotate(10deg);
}

.rank-item {
    flex: 1;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.rank-list li:hover .rank-item {
    color: var(--accent);
}

/* 统计框 */
.stat-box {
    background: var(--card2);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* =========================================================
   底部区域
   ========================================================= */
.site-footer {
    background: var(--bg1);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--accent);
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--accent-hover);
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--border-light);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    line-height: 2.2;
}

.copyright a {
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copyright a:hover {
    background: rgba(139, 92, 246, 0.1);
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}

/* =========================================================
   滚动动画 - 元素进入视口时
   ========================================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 为各个区块添加滚动动画 */
.card, .char-card, .comment-card, .detail-section, .platform-section, .app-section, .sidebar {
    animation: fadeInUp 0.8s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
}

/* 为卡片添加交错延迟 */
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.2s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.3s; }
.card:nth-child(7) { animation-delay: 0.35s; }
.card:nth-child(8) { animation-delay: 0.4s; }
.card:nth-child(9) { animation-delay: 0.45s; }
.card:nth-child(10) { animation-delay: 0.5s; }
.card:nth-child(11) { animation-delay: 0.55s; }
.card:nth-child(12) { animation-delay: 0.6s; }

.char-card:nth-child(1) { animation-delay: 0.05s; }
.char-card:nth-child(2) { animation-delay: 0.1s; }
.char-card:nth-child(3) { animation-delay: 0.15s; }
.char-card:nth-child(4) { animation-delay: 0.2s; }
.char-card:nth-child(5) { animation-delay: 0.25s; }
.char-card:nth-child(6) { animation-delay: 0.3s; }
.char-card:nth-child(7) { animation-delay: 0.35s; }
.char-card:nth-child(8) { animation-delay: 0.4s; }

/* =========================================================
   响应式设计 - 平板
   ========================================================= */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .detail-section,
    .platform-section,
    .app-section {
        padding: 30px;
    }
}

/* =========================================================
   响应式设计 - 手机
   ========================================================= */
@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .nav-wrap {
        flex-direction: column;
        gap: 15px;
        padding: 12px 15px;
    }
    
    .nav-links {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 6px 3px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
        margin: 40px 0 20px;
    }
    
    .detail-section,
    .platform-section,
    .app-section {
        padding: 25px;
        border-radius: 12px;
    }
    
    .detail-section h2,
    .platform-section h2,
    .app-section h2 {
        font-size: 24px;
    }
    
    .detail-section h3 {
        font-size: 18px;
    }
    
    .app-section {
        padding: 40px 20px;
    }
    
    .app-section h2 {
        font-size: 26px;
    }
    
    .sidebar-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .char-card img {
        width: 100px;
        height: 100px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .footer-links {
        gap: 12px;
        padding: 0 15px;
    }
    
    .footer-links a {
        font-size: 13px;
        padding: 4px 8px;
    }
}

/* =========================================================
   响应式设计 - 小屏手机
   ========================================================= */
@media (max-width: 480px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 22px;
        padding-left: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-body h3 {
        font-size: 16px;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .detail-section,
    .platform-section {
        padding: 20px;
    }
    
    .detail-section p,
    .platform-section p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .app-section {
        padding: 30px 15px;
    }
    
    .app-section h2 {
        font-size: 24px;
    }
    
    .app-section p {
        font-size: 14px;
    }
    
    .char-card {
        padding: 20px 15px;
    }
    
    .char-card img {
        width: 90px;
        height: 90px;
    }
    
    .sidebar {
        padding: 20px;
    }
    
    .stat-num {
        font-size: 24px;
    }
    
    .copyright {
        font-size: 13px;
        padding: 0 10px;
    }
}

/* =========================================================
   暗色模式适配 - 自动切换
   ========================================================= */
@media (prefers-color-scheme: dark) {
    :root {
        --bg1: #08081a;
        --bg2: #10102a;
        --card: rgba(20, 20, 45, 0.9);
        --card2: rgba(24, 24, 55, 0.95);
        --nav-bg: rgba(8, 8, 26, 0.95);
        --text: #c8c8e0;
        --title: #e8e8ff;
    }
}

/* =========================================================
   无障碍与细节优化
   ========================================================= */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: var(--title);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent2), var(--accent3));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* 减少动画偏好设置 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 焦点样式优化 */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 打印优化 */
@media print {
    .site-header,
    .site-footer,
    .app-section,
    .btn-group {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .card,
    .detail-section,
    .platform-section,
    .comment-card,
    .sidebar {
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
```