/* ========================================
   资源聚合网站 - 高级玻璃态主题 v2.0
   现代化 · 高级感 · 视觉冲击力
======================================== */

/* CSS变量定义 - 全新配色系统 */
:root {
    /* 主色调 */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;
    --primary-rgb: 99, 102, 241;

    /* 渐变配色系统 */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-premium: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-aurora: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #fee140 100%);

    /* 背景色 */
    --background: #f8fafc;
    --background-alt: #f1f5f9;
    --card-bg: #ffffff;

    /* 文字色 */
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;

    /* 边框和阴影 */
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);

    /* 圆角 */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* 玻璃态变量 - 更激进的透明度 */
    --glass-bg-subtle: rgba(255, 255, 255, 0.08);
    --glass-bg-light: rgba(255, 255, 255, 0.15);
    --glass-bg-medium: rgba(255, 255, 255, 0.25);
    --glass-bg-strong: rgba(255, 255, 255, 0.4);
    --glass-bg-solid: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-glow: rgba(99, 102, 241, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
    --glass-shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.4);

    /* 模糊效果 */
    --blur-sm: blur(10px);
    --blur-md: blur(20px);
    --blur-lg: blur(30px);
    --blur-xl: blur(50px);

    /* 发光效果 */
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.5);
    --glow-accent: 0 0 20px rgba(240, 147, 251, 0.5);
    --glow-success: 0 0 20px rgba(79, 172, 254, 0.5);

    /* 动画时长 */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
}

/* 暗色模式变量 - 增强版 */
[data-theme="dark"] {
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --primary-light: #312e81;
    --primary-rgb: 129, 140, 248;

    --gradient-primary: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    --gradient-accent: linear-gradient(135deg, #f472b6 0%, #fb7185 100%);

    --background: #0f172a;
    --background-alt: #1e293b;
    --card-bg: #1e293b;

    --text: #f1f5f9;
    --text-light: #cbd5e1;
    --text-muted: #94a3b8;

    --border: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(129, 140, 248, 0.3);

    /* 暗色模式玻璃态 - 更深的透明度 */
    --glass-bg-subtle: rgba(15, 23, 42, 0.1);
    --glass-bg-light: rgba(30, 41, 59, 0.2);
    --glass-bg-medium: rgba(30, 41, 59, 0.35);
    --glass-bg-strong: rgba(30, 41, 59, 0.55);
    --glass-bg-solid: rgba(30, 41, 59, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-glow: rgba(129, 140, 248, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.6);

    --glow-primary: 0 0 25px rgba(129, 140, 248, 0.5);
    --glow-accent: 0 0 25px rgba(244, 114, 182, 0.5);
}

/* 自动跟随系统主题 */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --primary: #818cf8;
        --primary-hover: #6366f1;
        --primary-light: #312e81;
        --primary-rgb: 129, 140, 248;
        --gradient-primary: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
        --background: #0f172a;
        --background-alt: #1e293b;
        --card-bg: #1e293b;
        --text: #f1f5f9;
        --text-light: #cbd5e1;
        --text-muted: #94a3b8;
        --border: #334155;
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
        --shadow-glow: 0 0 40px rgba(129, 140, 248, 0.3);
        --glass-bg-subtle: rgba(15, 23, 42, 0.1);
        --glass-bg-light: rgba(30, 41, 59, 0.2);
        --glass-bg-medium: rgba(30, 41, 59, 0.35);
        --glass-bg-strong: rgba(30, 41, 59, 0.55);
        --glass-bg-solid: rgba(30, 41, 59, 0.9);
        --glass-border: rgba(255, 255, 255, 0.08);
        --glass-border-glow: rgba(129, 140, 248, 0.3);
        --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        --glass-shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
        --glow-primary: 0 0 25px rgba(129, 140, 248, 0.5);
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Aurora 极光背景效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(167, 139, 250, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 0% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 80%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(251, 191, 36, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
    pointer-events: none;
    z-index: -2;
    animation: auroraFlow 20s ease-in-out infinite;
}

/* 动态光斑层 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.02) 0%, transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 25%);
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
    animation: lightSpots 25s ease-in-out infinite alternate;
}

@keyframes auroraFlow {
    0%, 100% {
        opacity: 1;
        filter: hue-rotate(0deg);
    }
    25% {
        opacity: 0.9;
        filter: hue-rotate(10deg);
    }
    50% {
        opacity: 1;
        filter: hue-rotate(-5deg);
    }
    75% {
        opacity: 0.95;
        filter: hue-rotate(5deg);
    }
}

@keyframes lightSpots {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(2%, 1%) scale(1.02);
    }
    100% {
        transform: translate(-1%, 2%) scale(0.98);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   玻璃态基础工具类
======================================== */
.glass {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-light {
    background: var(--glass-bg-light);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border-light);
}

.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border: 1px solid var(--glass-border-highlight);
    box-shadow: var(--glass-shadow-hover);
}

/* 玻璃态高光边框效果 */
.glass-highlight {
    position: relative;
}

.glass-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.6) 50%,
        transparent
    );
    z-index: 1;
}

/* ========================================
   导航栏 - 高级玻璃态
======================================== */
.navbar {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滚动增强效果 */
.navbar.scrolled {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.88) 100%
    );
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        0 0 20px rgba(99, 102, 241, 0.05);
}

/* 导航栏底部渐变光带 */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.5) 20%,
        rgba(167, 139, 250, 0.6) 50%,
        rgba(236, 72, 153, 0.5) 80%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar.scrolled::after {
    opacity: 1;
}

.navbar.scrolled .container {
    height: 56px;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    transition: height 0.3s ease;
}

/* Logo样式 */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.03);
}

.logo-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-brand a:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin-left: 24px;
    flex: 1;
}

.nav-menu li a {
    color: var(--text-light);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.25s ease;
    position: relative;
}

/* 导航项下划线滑入动画 */
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #a78bfa);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu li a:hover::after {
    width: 60%;
}

.nav-menu li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-search {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.nav-search form {
    display: flex;
    align-items: center;
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius-sm);
    padding: 0;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-search form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 4px 15px rgba(99, 102, 241, 0.2);
    transform: scale(1.02);
}

.nav-search input {
    border: none;
    background: transparent;
    width: 160px;
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    height: 38px;
    transition: width 0.3s ease;
}

.nav-search form:focus-within input {
    width: 200px;
}

.nav-search input:focus {
    outline: none;
}

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

.nav-search button {
    padding: 0 16px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* 搜索按钮光泽动画 */
.nav-search button::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;
}

.nav-search button:hover::before {
    left: 100%;
}

.nav-search button:hover {
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

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

.nav-user .btn-login,
.nav-user .btn-member {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-user .btn-login {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.nav-user .btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.nav-user .btn-member {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.nav-user .btn-member::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;
}

.nav-user .btn-member:hover::before {
    left: 100%;
}

.nav-user .btn-member:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* ========================================
   主内容区
======================================== */
.main-content {
    min-height: 60vh;
    padding: 40px 0;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #FF8A5C 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.page-header p {
    opacity: 0.9;
    font-size: 15px;
}

/* 区块标题 */
.section-title {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 4px solid var(--primary);
    font-weight: 700;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.category-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* ========================================
   推荐区块
======================================== */
.featured-section {
    margin-bottom: 50px;
}

.featured-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.featured-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 卡片顶部彩虹高光 */
.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(99, 102, 241, 0.5),
        rgba(167, 139, 250, 0.5),
        rgba(236, 72, 153, 0.5),
        rgba(251, 191, 36, 0.5)
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s;
}

/* 卡片光泽扫过效果 */
.featured-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.featured-card:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 0 30px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-12px) rotateX(3deg);
}

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

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

/* ========================================
   分类区块 - 高级玻璃态
======================================== */
.category-section {
    background: transparent;
    padding: 0;
    margin-bottom: 40px;
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

/* 分类区块无需渐变边框 */
.category-section::before {
    display: none;
}

.section-footer {
    text-align: right;
    margin-top: 16px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    background-size: 200% 200%;
    color: white;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 6px 20px rgba(99, 102, 241, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.btn-more:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

/* ========================================
   内容网格
======================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* 内容卡片 - 高级玻璃态 */
.content-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.04) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

/* 卡片顶部高光 */
.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.5) 50%,
        transparent
    );
    z-index: 1;
}

/* 光泽扫过效果 */
.content-card::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.6s ease;
    z-index: 1;
    pointer-events: none;
}

.content-card:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.15),
        0 0 20px rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-10px) rotateX(2deg);
}

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

.content-card a {
    display: block;
    height: 100%;
}

.card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.content-card:hover .card-image img {
    transform: scale(1.08);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-size: 14px;
    background: var(--background);
}

.card-content {
    padding: 16px;
}

.card-content h3 {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.card-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.card-date {
    color: var(--text-muted);
    font-size: 12px;
}

/* ========================================
   会员推广区 - 超级渐变
======================================== */
.vip-section {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 1) 0%,
        rgba(118, 75, 162, 1) 50%,
        rgba(236, 72, 153, 0.9) 100%
    );
    padding: 60px 0;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

/* VIP区动态光效 */
.vip-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: vipGlow 10s ease-in-out infinite;
}

@keyframes vipGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(5%, 5%) rotate(5deg);
        opacity: 0.8;
    }
}

/* VIP区浮动粒子 */
.vip-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 60% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
        radial-gradient(2px 2px at 80% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    animation: particles 15s linear infinite;
    pointer-events: none;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.vip-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

/* VIP卡片顶部金色高光 */
.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        rgba(251, 191, 36, 0.8),
        rgba(253, 224, 71, 1),
        rgba(251, 191, 36, 0.8)
    );
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.vip-info h2 {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 700;
}

.vip-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.vip-features {
    list-style: none;
    display: flex;
    gap: 24px;
}

.vip-features li {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}

.vip-features li::before {
    content: "✓ ";
}

.vip-action {
    text-align: center;
}

.vip-price {
    margin-bottom: 16px;
}

.vip-price .label {
    display: block;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.vip-price .type {
    display: block;
    font-size: 14px;
    color: var(--text-light);
}

.vip-price .price {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
}

.btn-vip {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    animation: gradientShift 3s ease infinite;
    box-shadow:
        0 4px 15px rgba(102, 126, 234, 0.4),
        0 0 0 0 rgba(102, 126, 234, 0.4);
}

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

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

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

.btn-vip:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(102, 126, 234, 0.3),
        0 0 60px rgba(102, 126, 234, 0.2);
}

/* ========================================
   页脚
======================================== */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
    position: relative;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

/* 链接下划线滑入动画 */
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #a78bfa);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 6px;
}

/* ========================================
   详情页
======================================== */
.detail-page {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
}

.detail-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    position: relative;
}

.detail-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--primary),
        rgba(167, 139, 250, 1),
        var(--primary)
    );
}

.detail-header {
    margin-bottom: 30px;
}

.detail-header h1 {
    font-size: 32px;
    color: var(--text);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.detail-meta {
    color: var(--text-muted);
    font-size: 14px;
}

.detail-image {
    margin-bottom: 30px;
}

.detail-image img {
    border-radius: var(--radius);
}

.detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.detail-footer {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* ========================================
   隐藏内容区域
======================================== */
.hidden-content-section {
    margin: 50px 0;
}

.hidden-content-box {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px dashed var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.hidden-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.9) 0%,
        rgba(118, 75, 162, 0.9) 100%
    );
    color: white;
}

.btn-show-hidden {
    width: 100%;
    padding: 16px;
    background: var(--glass-bg-light);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s ease;
}

.btn-show-hidden:hover {
    background: var(--glass-bg-medium);
}

.btn-show-hidden .btn-arrow {
    transition: transform 0.3s;
}

.hidden-content {
    padding: 30px;
    background: var(--glass-bg-light);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border-top: 1px solid var(--glass-border);
}

/* 解锁后的隐藏内容特殊样式 */
.hidden-content-box.unlocked {
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.15) 0%,
        rgba(5, 150, 105, 0.2) 100%
    );
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.lock-icon {
    font-size: 24px;
}

.hidden-title {
    font-size: 18px;
    font-weight: 700;
}

/* 隐藏内容样式已更新到上方 */

.hidden-content-text {
    line-height: 1.8;
    color: var(--text);
    font-size: 15px;
}

.hidden-content-text a {
    color: var(--primary);
    text-decoration: none;
    word-break: break-all;
}

.hidden-content-text a:hover {
    text-decoration: underline;
}

.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background: var(--background);
    color: var(--text);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.25s ease;
}

.btn-back:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ========================================
   分页
======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    transition: all 0.25s ease;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination span.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination span.disabled {
    color: var(--text-muted);
    border-color: var(--border);
}

/* ========================================
   搜索相关
======================================== */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 15px;
}

.search-box {
    max-width: 500px;
    margin: 60px auto;
}

.search-box form {
    display: flex;
    gap: 12px;
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius);
    padding: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.search-box input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: var(--glass-bg-light);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text);
    transition: all 0.25s ease;
}

.search-box input:focus {
    outline: none;
    background: var(--glass-bg-medium);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-box button {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.search-box button:hover::before {
    left: 100%;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

/* ========================================
   错误页
======================================== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.error-content {
    text-align: center;
}

.error-content h1 {
    font-size: 100px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 800;
}

.error-content h2 {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600;
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 15px;
}

/* ========================================
   用户菜单下拉
======================================== */
.user-dropdown-wrapper {
    position: relative;
}

.user-menu-btn {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.user-menu-btn .arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.user-menu-btn.active .arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow-strong);
    display: none;
    z-index: 1000;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.user-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: var(--text);
    font-size: 14px;
    transition: all 0.2s;
}

.user-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.user-dropdown a.logout {
    color: #E74C3C;
    border-top: 1px solid var(--border);
}

.user-dropdown a.logout:hover {
    background: #FFF5F5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   通知相关
======================================== */
.nav-user-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-wrapper {
    position: relative;
}

.notification-btn {
    position: relative;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--background);
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.notification-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 18px;
    text-align: center;
    display: none;
    font-weight: 600;
    border: 2px solid var(--card-bg);
}

.notification-badge.show {
    display: block;
    animation: pulse 2s infinite;
}

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

.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    width: 360px;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow-strong);
    display: none;
    z-index: 1000;
    border: 1px solid var(--glass-border);
    border-top: 2px solid transparent;
    background-image:
        linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)),
        linear-gradient(135deg, var(--primary), rgba(167, 139, 250, 1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.notification-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.notification-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background);
    border-radius: var(--radius) var(--radius) 0 0;
}

.notification-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.notification-header .read-all {
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

.notification-header .read-all:hover {
    color: var(--primary-hover);
}

.notification-list {
    max-height: 380px;
    overflow-y: auto;
}

.notification-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
}

.notification-item:hover {
    background: var(--background);
}

.notification-item.unread {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.notification-content {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
}

.notification-empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted);
}

.notification-empty .icon {
    font-size: 42px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.notif-icon {
    margin-right: 6px;
}

/* ========================================
   移动端抽屉导航
======================================== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-drawer.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

.drawer-content {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--glass-bg-solid);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--glass-shadow-strong);
    border-right: 1px solid var(--glass-border);
}

.mobile-drawer.show .drawer-content {
    left: 0;
}

.drawer-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.drawer-section-title {
    padding: 0 20px 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.drawer-nav-list {
    list-style: none;
}

.drawer-nav-list li a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}

.drawer-nav-list li a:hover,
.drawer-nav-list li a.active {
    background: var(--primary-light);
    border-left-color: var(--primary);
    color: var(--primary);
}

.drawer-search {
    padding: 20px;
}

.drawer-search input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.drawer-search input:focus {
    border-color: var(--primary);
}

.drawer-user {
    padding: 20px;
    background: var(--primary);
    color: white;
}

.drawer-user-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.drawer-user-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.drawer-user-links a {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: white;
    transition: background 0.2s;
}

.drawer-user-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.drawer-close-overlay {
    position: absolute;
    top: 0;
    left: 280px;
    right: 0;
    bottom: 0;
}

/* ========================================
   响应式设计
======================================== */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }

    .nav-menu {
        display: flex !important;
    }

    .nav-search {
        display: flex !important;
    }

    .main-content {
        padding: 40px 0;
    }

    .card-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: nowrap;
        height: 60px;
        padding: 0 16px;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-search {
        display: none;
    }

    .nav-brand a {
        font-size: 16px;
    }

    .nav-user {
        flex: 0 0 auto;
    }

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

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

    .vip-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
        border-radius: 12px;
    }

    .vip-card::before {
        height: 2px;
    }

    .vip-info h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .vip-info p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .vip-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .vip-features span {
        font-size: 12px;
        padding: 4px 10px;
    }

    .btn-vip {
        padding: 10px 24px;
        font-size: 14px;
    }

    .vip-section {
        padding: 24px 0;
        margin: 30px 0;
    }

    .footer-links {
        justify-content: center;
    }

    .category-section {
        padding: 0;
    }

    .card-image {
        height: 120px;
    }

    .card-content {
        padding: 12px;
    }

    .card-content h3 {
        font-size: 13px;
    }

    .main-content {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

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

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .drawer-content {
        width: 260px;
        left: -260px;
    }

    .mobile-drawer.show .drawer-content {
        left: 0;
    }

    .drawer-close-overlay {
        left: 260px;
    }

    .card-image {
        height: 90px;
    }

    .card-content {
        padding: 8px 10px;
    }

    .card-content h3 {
        font-size: 13px;
        margin-bottom: 4px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    /* 隐藏标签，只显示日期，让内容更紧凑 */
    .card-meta {
        display: none;
    }

    /* 保留日期作为悬停显示 */
    .content-card:hover .card-meta {
        display: block;
        position: absolute;
        bottom: 8px;
        right: 10px;
        font-size: 10px;
        color: var(--text-muted);
        background: rgba(255, 255, 255, 0.9);
        padding: 2px 6px;
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .content-card:hover .card-date {
        opacity: 1;
    }

    /* VIP区块手机端优化 */
    .vip-section {
        padding: 16px 0;
        margin: 20px 0;
    }

    .vip-card {
        padding: 14px 12px;
        gap: 12px;
        border-radius: 10px;
    }

    .vip-card::before {
        height: 2px;
    }

    .vip-info h2 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .vip-info p {
        font-size: 11px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .vip-features {
        gap: 6px;
    }

    .vip-features span {
        font-size: 10px;
        padding: 3px 8px;
        border-radius: 10px;
    }

    .btn-vip {
        padding: 8px 18px;
        font-size: 12px;
        border-radius: 8px;
        white-space: nowrap;
    }
}

/* ========================================
   返回顶部按钮
======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

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

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--glow);
}

/* ========================================
   主题切换按钮
======================================== */
.theme-toggle {
    background: var(--glass-bg-light);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--glass-bg-medium);
    border-color: var(--primary);
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: none;
}

/* ========================================
   骨架屏加载
======================================== */
.skeleton {
    background: linear-gradient(90deg, var(--background) 25%, var(--background-alt) 50%, var(--background) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.skeleton-image {
    height: 160px;
    background: var(--background);
}

.skeleton-text {
    height: 14px;
    margin: 12px 16px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 16px;
}

.skeleton-tag {
    width: 60px;
    height: 20px;
    border-radius: 10px;
}

.skeleton-date {
    width: 80px;
    height: 14px;
}

/* ========================================
   图片加载动画
======================================== */
.card-image img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-image img.loaded {
    opacity: 1;
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* ========================================
   移动端触摸优化
======================================== */
@media (max-width: 768px) {
    .content-card a,
    .featured-card a,
    .btn-vip,
    .nav-user .btn-member {
        min-height: 44px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    /* 移动端玻璃态优化 - 减少模糊提升性能 */
    .navbar,
    .content-card,
    .featured-card,
    .category-section,
    .user-dropdown,
    .notification-dropdown {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .content-card,
    .featured-card {
        background: var(--glass-bg-strong);
    }

    .navbar {
        background: var(--glass-bg-solid);
    }
}

/* ========================================
   后台管理页面玻璃态样式
======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* 后台侧边栏 */
.admin-sidebar,
.sidebar {
    width: 250px;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);
    border-right: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid var(--glass-border-light);
}

.sidebar-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-menu {
    list-style: none;
    padding: 16px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: var(--glass-bg-medium);
    border-left-color: var(--primary);
    color: var(--primary);
}

/* 后台主内容区 */
.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    background: transparent;
}

/* 后台卡片/统计区块 */
.stat-card,
.admin-card,
.content-section {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 24px;
    position: relative;
}

.stat-card::before,
.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--glass-border-highlight) 50%,
        transparent
    );
}

/* 后台表格 */
.admin-table,
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.admin-table th,
.admin-table td,
.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border-light);
}

.admin-table th,
.data-table th {
    background: var(--glass-bg-strong);
    font-weight: 600;
    color: var(--text);
}

.admin-table tr:hover,
.data-table tr:hover {
    background: var(--glass-bg-light);
}

/* 后台表单 */
.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--glass-bg-light);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text);
    transition: all 0.25s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: var(--glass-bg-medium);
}

.admin-form button,
.btn-submit {
    padding: 12px 28px;
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.9) 0%,
        rgba(79, 70, 229, 0.9) 100%
    );
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-form button:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* ========================================
   入场动画 - 高级版
======================================== */
@keyframes premiumFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

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

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

/* 卡片入场动画 */
.content-card,
.featured-card {
    opacity: 0;
    animation: premiumFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.category-section {
    opacity: 0;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 错开动画延迟 - 更流畅 */
.content-card:nth-child(1), .featured-card:nth-child(1) { animation-delay: 0.05s; }
.content-card:nth-child(2), .featured-card:nth-child(2) { animation-delay: 0.1s; }
.content-card:nth-child(3), .featured-card:nth-child(3) { animation-delay: 0.15s; }
.content-card:nth-child(4), .featured-card:nth-child(4) { animation-delay: 0.2s; }
.content-card:nth-child(5), .featured-card:nth-child(5) { animation-delay: 0.25s; }
.content-card:nth-child(6), .featured-card:nth-child(6) { animation-delay: 0.3s; }
.content-card:nth-child(7), .featured-card:nth-child(7) { animation-delay: 0.35s; }
.content-card:nth-child(8), .featured-card:nth-child(8) { animation-delay: 0.4s; }
.content-card:nth-child(9), .featured-card:nth-child(9) { animation-delay: 0.45s; }
.content-card:nth-child(10), .featured-card:nth-child(10) { animation-delay: 0.5s; }
.content-card:nth-child(11), .featured-card:nth-child(11) { animation-delay: 0.55s; }
.content-card:nth-child(12), .featured-card:nth-child(12) { animation-delay: 0.6s; }

/* 分类区块延迟 */
.category-section:nth-of-type(1) { animation-delay: 0.1s; }
.category-section:nth-of-type(2) { animation-delay: 0.2s; }
.category-section:nth-of-type(3) { animation-delay: 0.3s; }
.category-section:nth-of-type(4) { animation-delay: 0.4s; }

/* 标题动画 */
.section-title,
.featured-title {
    opacity: 0;
    animation: slideInUp 0.5s ease forwards;
    animation-delay: 0.1s;
}

/* 按钮弹出动画 */
.btn-vip,
.btn-more {
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

/* ========================================
   登录页 - 超级渐变背景
======================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        #1a1a2e 0%,
        #16213e 25%,
        #0f3460 50%,
        #1a1a2e 75%,
        #16213e 100%
    );
    position: relative;
    overflow: hidden;
}

/* 登录页Aurora效果 */
.login-page::before {
    content: '';
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(167, 139, 250, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 90%, rgba(59, 130, 246, 0.25) 0%, transparent 50%);
    animation: loginAurora 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes loginAurora {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    33% {
        transform: translate(3%, 2%) rotate(2deg);
        filter: hue-rotate(10deg);
    }
    66% {
        transform: translate(-2%, 3%) rotate(-1deg);
        filter: hue-rotate(-5deg);
    }
}

/* 登录页光斑 */
.login-page::after {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 15% 25%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
        radial-gradient(3px 3px at 45% 55%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 75% 35%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
        radial-gradient(2px 2px at 85% 75%, rgba(255, 255, 255, 0.25) 0%, transparent 100%),
        radial-gradient(3px 3px at 25% 85%, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    animation: stars 20s linear infinite;
    pointer-events: none;
}

@keyframes stars {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.login-container {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: var(--radius-lg);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    animation: containerFloat 3s ease-in-out infinite;
}

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

/* 登录框顶部彩虹渐变 */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #667eea,
        #764ba2,
        #f093fb,
        #f5576c,
        #fee140
    );
    background-size: 200% 100%;
    animation: rainbowShift 5s linear infinite;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.login-container h1 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-container .subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
    font-size: 15px;
}

.login-container input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: white;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.login-container input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.login-container input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, 0.2),
        0 0 20px rgba(99, 102, 241, 0.15);
}

.login-container button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.login-container button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(102, 126, 234, 0.3);
}

/* ========================================
   会员中心特殊样式
======================================== */
.membership-status {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.9) 0%,
        rgba(118, 75, 162, 0.9) 100%
    );
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius);
    padding: 32px;
    color: white;
    position: relative;
    overflow: hidden;
}

.membership-status::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 8s linear infinite;
}

.package-card,
.membership-card {
    background: var(--glass-bg-medium);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius);
    border: 2px solid var(--glass-border);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.package-card:hover,
.membership-card:hover {
    background: var(--glass-bg-strong);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}

.package-card.popular,
.membership-card.featured {
    border-color: var(--primary);
}

.package-card.popular::before,
.membership-card.featured::before {
    content: '推荐';
    position: absolute;
    top: -1px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   暗色模式增强 - Aurora效果
======================================== */
[data-theme="dark"] body {
    background: var(--background);
}

[data-theme="dark"] body::before {
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(129, 140, 248, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(167, 139, 250, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 0% 50%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 80%, rgba(236, 72, 153, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(251, 191, 36, 0.18) 0%, transparent 50%);
    animation: auroraFlowDark 20s ease-in-out infinite;
}

@keyframes auroraFlowDark {
    0%, 100% {
        opacity: 1;
        filter: hue-rotate(0deg) brightness(1);
    }
    33% {
        opacity: 0.9;
        filter: hue-rotate(15deg) brightness(1.1);
    }
    66% {
        opacity: 0.95;
        filter: hue-rotate(-10deg) brightness(1.05);
    }
}

[data-theme="dark"] .navbar {
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.8) 0%,
        rgba(30, 41, 59, 0.6) 100%
    );
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .navbar.scrolled {
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(30, 41, 59, 0.9) 100%
    );
}

[data-theme="dark"] .content-card,
[data-theme="dark"] .featured-card {
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(30, 41, 59, 0.3) 100%
    );
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .content-card:hover,
[data-theme="dark"] .featured-card:hover {
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.8) 0%,
        rgba(30, 41, 59, 0.5) 100%
    );
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(129, 140, 248, 0.15);
}

[data-theme="dark"] .content-card,
[data-theme="dark"] .featured-card,
[data-theme="dark"] .category-section {
    background: transparent;
    border: none;
}

[data-theme="dark"] .content-card:hover,
[data-theme="dark"] .featured-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--primary);
}

[data-theme="dark"] .glass-bg-medium {
    background: rgba(30, 41, 59, 0.4);
}

/* ========================================
   减少动画（无障碍）
======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    body::before {
        animation: none;
    }
}
