/* ============================================
   Aurora Gradient Blog System
   极光渐变风格博客系统 - 前台样式
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+SC:wght@300;400;500;600;700;900&display=swap');

:root {
    /* ============================================
       Dark Midnight Theme - 暗夜极光深色系
       主色：深邃靛蓝 → 皇家紫 → 暗夜青
       辅色：翡翠绿 → 琥珀金 → 钢铁灰
       背景：纯黑 → 深空蓝 → 石墨灰
       ============================================ */

    /* 极光色板 - 深色系 */
    --aurora-1: #3730a3;      /* 深靛蓝 Indigo-800 */
    --aurora-2: #6d28d9;      /* 深紫 Violet-700 */
    --aurora-3: #7c3aed;      /* 亮紫 Violet-600 */
    --aurora-4: #0e7490;      /* 暗青 Cyan-700 */
    --aurora-5: #115e59;      /* 深绿 Teal-700 */
    --aurora-cyan: #0891b2;   /* 青色 Cyan-600 */
    --aurora-blue: #1d4ed8;   /* 蓝色 Blue-600 */
    --aurora-green: #059669;  /* 绿色 Emerald-600 */
    
    /* 新增：浅色调（用于文字渐变、高亮等） */
    --aurora-light-blue: #67e8f9;   /* 亮青 Cyan-200 */
    --aurora-light-purple: #c4b5fd; /* 浅紫 Violet-200 */
    --aurora-light-cyan: #a5f3fc;   /* 浅青 Cyan-100 */
    
    /* 主色调系统 */
    --primary: var(--aurora-1);
    --primary-dark: #312e81;
    --primary-light: #4338ca;
    --secondary: var(--aurora-5);
    --accent: var(--aurora-cyan);
    
    /* 背景层次 - 深色系 */
    --bg-primary: #020617;           /* 极致黑 Slate-950 */
    --bg-secondary: rgba(15, 23, 42, 0.9);  /* 深空蓝 Slate-900 */
    --bg-card: rgba(30, 41, 59, 0.7);       /* 石墨灰 Slate-800 */
    --bg-glass: rgba(255, 255, 255, 0.03);  /* 微弱白 */
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    
    /* 文字颜色 - 高对比度 */
    --text-primary: #f8fafc;        /* 近乎白 Slate-50 */
    --text-secondary: #94a3b8;     /* 浅灰 Slate-400 */
    --text-muted: #64748b;         /* 中灰 Slate-500 */
    
    /* 边框与玻璃效果 */
    --border-glass: rgba(148, 163, 184, 0.1);   /* 灰色边框 */
    --border-glass-strong: rgba(148, 163, 184, 0.2);
    
    /* 阴影系统 - 深色调 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 40px rgba(55, 48, 163, 0.35);      /* 深靛蓝发光 */
    --shadow-glow-pink: 0 0 40px rgba(14, 116, 144, 0.3);   /* 暗青发光 */
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--aurora-1), var(--aurora-4));
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { opacity: 0.8; }

::selection {
    background: rgba(99, 102, 241, 0.35);
    color: white;
}

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

a {
    word-break: break-word;
    overflow-wrap: break-word;
}

p, li, td, th, span, div {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Prevent Flicker - 初始隐藏动画元素，等CSS加载完成后再显示 */
@media (prefers-reduced-motion: no-preference) {
    .aurora-orb,
    .hero-gradient-layer,
    .aurora-bg::before,
    .aurora-bg::after {
        animation-play-state: paused;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    body.loaded .aurora-orb,
    body.loaded .hero-gradient-layer,
    body.loaded .aurora-bg::before,
    body.loaded .aurora-bg::after {
        animation-play-state: running;
        opacity: 1;
    }
}

/* ============================================
   Aurora Background Effect
   ============================================ */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-bg::before,
.aurora-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: auroraFloat 12s ease-in-out infinite alternate;
}

.aurora-bg::before {
    background: radial-gradient(circle, var(--aurora-1) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.aurora-bg::after {
    background: radial-gradient(circle, var(--aurora-4) 0%, var(--aurora-5) 70%);
    top: -150px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.1); }
    66% { transform: translate(-30px, 80px) scale(0.95); }
    100% { transform: translate(40px, -20px) scale(1.05); }
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: auroraFloat 12s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

.aurora-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--aurora-cyan) 0%, transparent 70%);
    filter: blur(130px);
    opacity: 0.15;
    bottom: -250px;
    left: 20%;
    animation-delay: -3s;
}

.aurora-orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--aurora-3) 0%, transparent 70%);
    filter: blur(110px);
    opacity: 0.13;
    top: 40%;
    right: -150px;
    animation-delay: -8s;
}

.aurora-orb-3 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--aurora-2) 0%, transparent 70%);
    filter: blur(140px);
    opacity: 0.12;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -10s;
}

.aurora-noise {
    position: absolute;
    inset: 0;
    background-image: url('/public/assets/images/noise.png');
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.aurora-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.035) 1px, transparent 1px);
    background-size: 65px 65px;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Navigation - 极光毛玻璃导航栏
   ============================================ */
.aurora-navbar {
    background: rgba(10, 10, 26, 0.75) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.9rem 0;
    transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
    z-index: 1050;
    transform: translateZ(0);
    will-change: padding, background-color;
}

.aurora-navbar.scrolled {
    padding: 0.55rem 0;
    background: rgba(10, 10, 26, 0.92) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--border-glass-strong);
}

.aurora-brand {
    font-weight: 800 !important;
    font-size: 1.4rem !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
    text-decoration: none !important;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-4));
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: white;
    animation: brandPulse 3s ease-in-out infinite;
}

@keyframes brandPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.5); }
}

.aurora-brand span:not(.brand-icon) {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--aurora-light-blue, #93c5fd) 50%, var(--aurora-4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aurora-navbar .navbar-toggler {
    border: 1px solid var(--border-glass-strong);
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
}

.aurora-navbar .navbar-toggler-icon {
    filter: brightness(0) invert(1) opacity(0.75);
}

.aurora-navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.55rem 1.1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.aurora-navbar .nav-link i {
    font-size: 0.88rem;
}

.aurora-navbar .nav-link:hover,
.aurora-navbar .nav-link.active {
    color: var(--text-primary) !important;
    background: var(--bg-glass-hover) !important;
}

.aurora-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-1), var(--aurora-4));
    border-radius: 2px;
    animation: navLineGlow 2s ease-in-out infinite alternate;
}

@keyframes navLineGlow {
    0% { box-shadow: 0 0 5px rgba(99, 102, 241, 0.5); }
    100% { box-shadow: 0 0 12px rgba(217, 70, 239, 0.6); }
}

.nav-auth-btn {
    padding: 0.5rem 1rem !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-sm) !important;
    margin-left: 0.3rem;
}

.nav-auth-btn:hover {
    border-color: var(--aurora-1) !important;
    background: rgba(99, 102, 241, 0.1) !important;
}

.register-btn {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15)) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.user-dropdown {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem !important;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-4));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
}

.aurora-dropdown {
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass-strong) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-xl), var(--shadow-glow) !important;
    padding: 0.5rem !important;
    min-width: 200px;
    animation: dropdownSlide 0.25s ease;
}

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

.aurora-dropdown .dropdown-item {
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.aurora-dropdown .dropdown-item:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--text-primary);
}

.aurora-dropdown .dropdown-divider {
    border-top-color: var(--border-glass);
    margin: 0.3rem 0;
}

/* Search */
.aurora-search {
    position: relative;
}

.aurora-search .form-control {
    background: var(--bg-glass) !important;
    border: 1px solid var(--border-glass) !important;
    border-right: none !important;
    border-radius: 9999px 0 0 9999px !important;
    padding: 0.5rem 1rem 0.5rem 1.2rem !important;
    color: var(--text-primary) !important;
    font-size: 0.88rem;
    width: 200px;
    transition: var(--transition);
}

.aurora-search .form-control::placeholder {
    color: var(--text-muted);
}

.aurora-search .form-control:focus {
    outline: none;
    width: 260px;
    border-color: var(--aurora-1) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
    background: rgba(15, 15, 35, 0.8) !important;
}

.btn-search-glow {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2)) !important;
    border: 1px solid transparent !important;
    border-radius: 0 9999px 9999px 0 !important;
    color: white !important;
    padding: 0.5rem 0.9rem !important;
    transition: var(--transition);
}

.btn-search-glow:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.45);
    transform: scaleX(1.02);
}

/* ============================================
   Hero Section - 极光英雄区
   ============================================ */
.hero-section {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(90px + 3rem) 2rem 3rem;
    margin-top: 0;
    margin-bottom: 2rem;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============================================
   Hero Gradient Layers - 多层径向渐变叠加
   ============================================ */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: gradientFloat 12s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-gradient-layer.layer-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, var(--aurora-1), transparent 70%);
    animation-delay: 0s;
}

.hero-gradient-layer.layer-2 {
    width: 500px;
    height: 500px;
    top: -5%;
    right: -10%;
    background: radial-gradient(circle, var(--aurora-3), transparent 70%);
    animation-delay: -4s;
}

.hero-gradient-layer.layer-3 {
    width: 700px;
    height: 700px;
    bottom: -20%;
    left: 30%;
    background: radial-gradient(circle, var(--aurora-4), var(--aurora-5) 70%);
    animation-delay: -8s;
}

.hero-gradient-layer.layer-4 {
    width: 450px;
    height: 450px;
    top: 40%;
    left: 60%;
    background: radial-gradient(circle, var(--aurora-cyan), transparent 70%);
    animation-delay: -2s;
    opacity: 0.1;
}

@keyframes gradientFloat {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(20px, 20px) scale(1.02); }
    100% { transform: translate(-10px, -10px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass-strong);
    border-radius: 9999px;
    font-size: 0.82rem;
    color: var(--aurora-light-blue, #93c5fd);
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--aurora-green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--aurora-1) 0%, var(--aurora-3) 40%, var(--aurora-4) 70%, var(--aurora-5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Floating particles in hero */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--aurora-1);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) { left: 15%; top: 30%; animation-delay: 0s; background: var(--aurora-1); }
.hero-particle:nth-child(2) { left: 75%; top: 20%; animation-delay: 1s; background: var(--aurora-4); }
.hero-particle:nth-child(3) { left: 45%; top: 70%; animation-delay: 2s; background: var(--aurora-cyan); }
.hero-particle:nth-child(4) { left: 85%; top: 60%; animation-delay: 3s; background: var(--aurora-3); }
.hero-particle:nth-child(5) { left: 25%; top: 80%; animation-delay: 4s; background: var(--aurora-5); }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.8; transform: translateY(-20px) scale(1); }
    80% { opacity: 0.4; transform: translateY(-60px) scale(0.8); }
    100% { opacity: 0; transform: translateY(-80px) scale(0); }
}

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

/* Scroll Reveal Animation */
.reveal-element.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================
   Stats Section - 数据统计
   ============================================ */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aurora-1), var(--aurora-4), var(--aurora-5));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-strong);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 25px rgba(99,102,241,0.08);
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--aurora-light-blue, #93c5fd));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    font-weight: 500;
}

.stat-icon {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Main Content Area
   ============================================ */
.main-content {
    max-width: 1200px;
    padding-top: calc(80px + 2rem);
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
}

.section-title i {
    color: var(--aurora-1);
}

/* ============================================
   Article Cards - 极光玻璃态卡片
   ============================================ */
.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 0;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(99, 102, 241, 0.4) 50%,
        rgba(168, 85, 247, 0.4) 60%,
        rgba(236, 72, 153, 0.3) 70%,
        transparent 80%
    );
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glass-strong);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(99,102,241,0.12);
}

.article-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

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

.article-card-body {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
}

.article-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.article-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.article-card-title a:hover {
    background: linear-gradient(135deg, var(--aurora-light-blue, #93c5fd), var(--aurora-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.article-meta a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.article-meta a:hover {
    color: var(--aurora-1);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--aurora-light-blue, #93c5fd);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-read-more:hover {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    color: white;
    border-color: transparent;
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-read-more::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    transform: scale(0.8);
}

.btn-read-more:hover::after {
    opacity: 0.45;
    transform: scale(1);
}

.btn-read-more i {
    transition: var(--transition);
}

.btn-read-more:hover i {
    transform: translateX(3px);
}

/* Card category tag */
.card-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    font-size: 0.76rem;
    color: var(--aurora-light-blue, #93c5fd);
    font-weight: 500;
}

/* ============================================
   Sidebar Cards
   ============================================ */
.sidebar .sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.sidebar .sidebar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(99, 102, 241, 0.35) 50%,
        rgba(168, 85, 247, 0.35) 60%,
        rgba(236, 72, 153, 0.25) 70%,
        transparent 80%
    );
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.sidebar .sidebar-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glass-strong);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 25px rgba(99,102,241,0.08);
}

.sidebar .sidebar-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

.sidebar-card-header {
    padding: 1.15rem 1.4rem 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.sidebar-card-header i {
    color: var(--aurora-1);
    font-size: 1rem;
}

.sidebar-card-body {
    padding: 0.85rem 1.4rem 1.25rem;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 0.2rem;
}

.sidebar-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.7rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
}

.sidebar-list li a:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 9999px;
    background: var(--bg-glass);
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
}

/* Tags Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.85rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 9999px;
    color: var(--aurora-light-blue, #93c5fd);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag-item:hover {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

/* ============================================
   Pagination
   ============================================ */
.pagination-wrapper {
    margin-top: 2.5rem;
}

.pagination {
    gap: 0.4rem;
    justify-content: center;
}

.pagination .page-link {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.55rem 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

.pagination .page-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--aurora-1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   Footer - 极光页脚
   ============================================ */
.aurora-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0) 0%, rgba(10, 10, 26, 0.95) 15%) !important;
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0 2rem !important;
    margin-top: 3rem;
    overflow: hidden;
}

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

.footer-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

.footer-brand {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary), var(--aurora-light-blue, #93c5fd));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 360px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-links h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-links ul li a:hover {
    color: var(--aurora-light-blue, #93c5fd);
    transform: translateX(4px);
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted) !important;
    font-size: 0.84rem;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

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

.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5), 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.back-to-top::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-3));
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(0.8);
}

.back-to-top:hover::after {
    opacity: 0.5;
    transform: scale(1.1);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95) !important;
    transition-duration: 0.1s !important;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3) !important;
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-weight: 500;
    backdrop-filter: blur(12px);
    animation: alertSlideIn 0.3s ease;
}

.alert-success { 
    background: rgba(16, 185, 129, 0.1); 
    color: #34d399; 
    border-color: rgba(16, 185, 129, 0.2);
}
.alert-danger { 
    background: rgba(239, 68, 68, 0.1); 
    color: #f87171; 
    border-color: rgba(239, 68, 68, 0.2);
}
.alert-info { 
    background: rgba(59, 130, 246, 0.1); 
    color: #60a5fa; 
    border-color: rgba(59, 130, 246, 0.2);
}

.alert .btn-close {
    filter: brightness(0) invert(1) opacity(0.6);
}

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

/* ============================================
   Toast Notifications - 极光通知
   ============================================ */
.toast-notification {
    background: rgba(20, 20, 45, 0.95);
    color: var(--text-primary);
    padding: 0.85rem 1.35rem;
    border-radius: var(--radius-md);
    margin-bottom: 0;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
    max-width: 360px;
    word-break: break-word;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(99, 102, 241, 0.15);
    pointer-events: auto;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification i {
    flex-shrink: 0;
    font-size: 1.1rem;
}

.toast-success {
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(52, 211, 153, 0.15);
}

.toast-success i {
    color: #34d399;
}

.toast-error {
    border-color: rgba(248, 113, 113, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(248, 113, 113, 0.15);
}

.toast-error i {
    color: #f87171;
}

.toast-warning {
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(251, 191, 36, 0.15);
}

.toast-warning i {
    color: #fbbf24;
}

.toast-info {
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(96, 165, 250, 0.15);
}

.toast-info i {
    color: #60a5fa;
}

/* ============================================
   Share Page
   ============================================ */
.share-page-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

.share-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 520px;
    margin: auto;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.share-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--aurora-1), var(--aurora-3), var(--aurora-4), var(--aurora-5));
}

.share-card h3 {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.extract-code-input {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-align: center;
    font-weight: 700;
    border: 2px solid var(--border-glass-strong);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--bg-glass);
    color: var(--text-primary);
}

.extract-code-input:focus {
    border-color: var(--aurora-1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

.extract-code-input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   Article Detail Page
   ============================================ */
.article-detail {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.article-detail h1 {
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.article-content {
    font-size: 1.075rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.article-content h2,
.article-content h3 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   404 Page
   ============================================ */
.display-1 {
    font-weight: 900;
    font-size: 7rem;
    background: linear-gradient(135deg, var(--aurora-1) 0%, var(--aurora-3) 33%, var(--aurora-4) 66%, var(--aurora-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    background-size: 200% auto;
    animation: gradientShift 4s ease-in-out infinite alternate;
}

/* ============================================
   Responsive Design - 全设备适配
   ============================================ */

@media (max-width: 1199.98px) {
    .main-content { max-width: 960px; }
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .section-title { font-size: 1.25rem; }
    .hero-section { padding: 3.5rem 2rem 3rem; }
    .article-card-body { padding: 1.4rem; }
    .stats-section { gap: 1rem; }
}

@media (max-width: 991.98px) {
    body { padding-top: 68px; }

    .aurora-navbar {
        background: rgba(10, 10, 26, 0.96) !important;
        backdrop-filter: blur(8px) saturate(120%);
        -webkit-backdrop-filter: blur(8px) saturate(120%);
        transition: background 0.2s ease, padding 0.2s ease;
        transform: translateZ(0);
    }

    .aurora-navbar.scrolled {
        background: rgba(10, 10, 26, 0.985) !important;
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
        padding: 0.5rem 0 !important;
    }

    .aurora-navbar .navbar-collapse {
        background: rgba(10, 10, 26, 0.97);
        border-radius: var(--radius-lg);
        padding: 1rem;
        margin-top: 0.6rem;
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--border-glass-strong);
    }

    .aurora-navbar .nav-link {
        padding: 0.6rem 0.8rem !important;
    }

    .main-content { padding: 1.5rem 1rem; }

    .hero-section { min-height: 340px; padding: calc(80px + 2rem) 1.5rem 2.5rem; margin-top: 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }

    .article-detail { padding: 1.5rem; }
    .article-detail h1 { font-size: 1.5rem; }

    .share-card { padding: 2rem 1.5rem; }
    .extract-code-input { font-size: 1.15rem; }

    .display-1 { font-size: 4.5rem; }

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

    .main-content > .row > [class*="col-"],
    .main-content > .row > .content-area,
    .main-content > .row > aside {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .sidebar { margin-top: 2rem; order: 2; }
    .content-area { order: 1; }

    .btn, .nav-link, .tag-item, .action-btn { min-height: 44px; min-width: 44px; }

    .section-title { font-size: 1.18rem; }
    .pagination-wrapper { margin-top: 2.25rem; }

    /* 平板端性能优化 */
    .aurora-orb,
    .aurora-bg::before,
    .aurora-bg::after {
        animation-duration: 20s !important;
        filter: blur(100px) !important;
    }

    .brand-icon {
        animation-duration: 6s !important;
    }
}

@media (max-width: 767.98px) {
    :root {
        --radius-md: 0.625rem;
        --radius-lg: 0.875rem;
    }

    body {
        font-size: 16px;
        padding-top: 64px;
    }

    /* 移动端导航栏 - 恢复毛玻璃效果 */
    .aurora-navbar {
        background: rgba(10, 10, 26, 0.85) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: background 0.15s ease, box-shadow 0.15s ease;
        will-change: auto;
    }

    .aurora-navbar.scrolled {
        background: rgba(10, 10, 26, 1) !important;
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
        padding: 0.45rem 0 !important;
    }

    /* 移动端动画优化 - 减慢但不禁用 */
    .aurora-orb,
    .hero-gradient-layer,
    .aurora-bg::before,
    .aurora-bg::after {
        animation-duration: 18s !important;
        filter: blur(90px) !important;
    }

    .aurora-brand { font-size: 1.15rem !important; }
    .brand-icon { width: 30px; height: 30px; font-size: 0.85rem; }
    
    .main-content { padding: 1.25rem 0.75rem; }
    
    .hero-section {
        min-height: 320px;
        padding: calc(80px + 2rem) 1.25rem 2.5rem;
        margin-top: 0;
        border-radius: var(--radius-lg);
        margin-bottom: 1.5rem;
    }

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; margin-bottom: 1.5rem; }
    .hero-badge { font-size: 0.75rem; }

    .article-card { margin-bottom: 1.1rem; }
    .article-card-body { padding: 1.25rem; }
    .article-card-title { font-size: 1.2rem; }
    .article-meta { font-size: 0.85rem; gap: 0.6rem; }

    .btn-read-more { padding: 0.5rem 1.1rem; font-size: 0.9rem; }
    
    .sidebar { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; z-index: 1050; background: var(--bg-primary); padding: 1rem; overflow-y: auto; transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -4px 0 24px rgba(0,0,0,0.3); }
    .sidebar.open { right: 0; }
    .sidebar-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1040; }
    .sidebar-overlay.active { display: block; }
    .sidebar .sidebar-card { margin-bottom: 1rem; }
    .sidebar-card-header { padding: 1rem 1.125rem 0.7rem; font-size: 0.95rem; }
    .sidebar-card-body { padding: 0.6rem 1.125rem 1rem; }
    .sidebar-list li a { padding: 0.42rem 0.55rem; font-size: 0.9rem; }
    
    .btn, .nav-link, .tag-item, .action-btn, .comment-reply-btn { min-height: 44px; min-width: 44px; }
    .tag-item { display: inline-flex; align-items: center; padding: 0.35rem 0.7rem; }
    .comment-reply-btn { padding: 0.4rem 0.6rem; }
    
    .article-detail { padding: 1.25rem; border-radius: var(--radius-md); }
    .article-detail h1 { font-size: 1.65rem; margin-bottom: 1rem; }
    .article-content { font-size: 1.05rem; line-height: 1.8; }
    .article-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    
    .share-page-container { padding: 1rem 0.5rem; min-height: auto; }
    .share-card { padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); }
    .share-card h3 { font-size: 1.2rem; }
    .extract-code-input { font-size: 1.1rem; letter-spacing: 0.2em; padding: 0.75rem; }
    
    .display-1 { font-size: 3.5rem; }
    
    .pagination .page-link { padding: 0.4rem 0.7rem; font-size: 0.84rem; }
    
    .aurora-footer { padding: 2rem 0 1.5rem !important; }
    .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
    
    .stats-section { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .stat-card { padding: 1rem 0.75rem; }
    .stat-number { font-size: 1.5rem; }
    
    .aurora-search .form-control { width: 140px; }
    .aurora-search .form-control:focus { width: 180px; }

    .toast-notification {
        max-width: 260px;
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
    }

    .table-responsive { -webkit-overflow-scrolling: touch; }
    .table-responsive table { font-size: 0.82rem; }

    .tag-cloud { gap: 0.42rem; }
    .section-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
    .pagination-wrapper { margin-top: 2rem; }

    .pagination .page-link { padding: 0.5rem 0.85rem; font-size: 0.9rem; }

    /* 移动端动画优化 - 减慢但不禁用 */
    .aurora-bg,
    .aurora-bg::before,
    .aurora-bg::after,
    .aurora-orb,
    .aurora-orb-1,
    .aurora-orb-2,
    .aurora-orb-3,
    .hero-grid,
    .hero-gradient-layer,
    .hero-particle {
        animation: unset !important;
        display: unset !important;
    }

    .brand-icon {
        animation-duration: 4s !important;
        box-shadow: 0 4px 16px rgba(55, 48, 163, 0.25);
    }

    .aurora-navbar .nav-link.active::after {
        animation: navLineGlow 2s ease-in-out infinite !important;
        box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
    }

    .hero-title .gradient-text {
        animation: gradientShift 4s ease-in-out infinite !important;
        background-size: 200% auto !important;
    }

    .hero-badge .badge-dot {
        animation: dotPulse 2s ease-in-out infinite !important;
    }

    .article-card:hover,
    .sidebar-card:hover,
    .btn-read-more:hover {
        transform: translateY(-2px) !important;
        box-shadow: var(--shadow-lg) !important;
    }

    * {
        will-change: auto !important;
    }

    .aurora-navbar,
    .aurora-dropdown,
    .article-card,
    .sidebar-card,
    .tag-item {
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    /* 认证页面移动端样式 */
    .auth-container {
        min-height: calc(100vh - 64px);
        padding: 2.25rem 1.25rem;
    }

    .auth-container::before,
    .auth-container::after {
        animation-duration: 18s !important;
        filter: blur(90px) !important;
        opacity: 0.08 !important;
    }

    .auth-card {
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        background: rgba(20, 20, 45, 0.75);
        padding: 2.25rem 1.75rem;
        border-radius: var(--radius-xl);
    }

    .auth-card::before {
        display: unset !important;
    }

    .aurora-form-control {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .btn-aurora-primary {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .input-group-readonly .aurora-form-control {
        padding-left: 2.5rem;
    }

    .mb-3, .mb-4 {
        margin-bottom: 1.25rem !important;
    }
}

@media (max-width: 479.98px) {
    body { font-size: 15px; }

    .aurora-brand { font-size: 1.1rem !important; }

    .hero-section {
        min-height: auto;
        padding: calc(80px + 1.8rem) 1rem 2rem;
        margin-top: 0;
    }

    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }

    .article-card-title { font-size: 1.1rem; }
    .article-meta { font-size: 0.8rem; }

    .display-1 { font-size: 3rem; }

    .extract-code-input { font-size: 1.05rem; letter-spacing: 0.18em; }

    .stat-number { font-size: 1.4rem; }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .tag-cloud { gap: 0.38rem; }
    .section-title { font-size: 1.15rem; margin-bottom: 1.25rem; }
    .pagination-wrapper { margin-top: 1.75rem; }

    .main-content { padding: 1rem 0.5rem; }
    .hero-section { padding: 2rem 0.85rem 1.5rem; min-height: auto; }
    .article-card-body { padding: 1rem; }
    .article-detail { padding: 1rem; border-radius: var(--radius-sm); }

    /* 认证页面小屏优化 */
    .auth-container {
        padding: 0.4rem 0.35rem;
        min-height: 100dvh;
    }
    
    .auth-container::before,
    .auth-container::after {
        display: none !important;
    }
    
    .auth-card {
        padding: 0.7rem 0.6rem;
        border-radius: var(--radius-md);
    }
    
    .aurora-label {
        font-size: 0.78rem;
        margin-bottom: 0.15rem;
    }
    
    .aurora-form-control {
        padding: 0.5rem 0.6rem;
        font-size: 16px;
        border-radius: var(--radius-sm);
        min-height: 38px;
    }
    
    .btn-aurora-primary {
        padding: 0.5rem 0.7rem;
        font-size: 16px;
        min-height: 38px;
    }
    
    .mb-3, .mb-4 {
        margin-bottom: 0.5rem !important;
    }
    
    .alert-aurora {
        padding: 0.35rem 0.6rem;
        font-size: 0.78rem;
    }
    
    .auth-footer {
        font-size: 0.78rem;
        margin-top: 0.55rem;
        padding-top: 0.55rem;
    }
    
    .auth-footer a {
        padding: 0.5rem;
    }
    
    /* 禁用所有动画 */
    .auth-card {
        animation: none !important;
    }
    
    .alert-aurora {
        animation: none !important;
    }
}

@media (max-width: 359.98px) {
    .auth-card {
        padding: 0.6rem 0.5rem;
    }
    
    .aurora-label {
        font-size: 0.72rem;
        margin-bottom: 0.12rem;
    }
    
    .aurora-form-control {
        padding: 0.45rem 0.55rem;
        font-size: 15px;
        min-height: 36px;
    }
    
    .btn-aurora-primary {
        padding: 0.45rem 0.65rem;
        font-size: 15px;
        min-height: 36px;
    }
    
    .mb-3, .mb-4 {
        margin-bottom: 0.4rem !important;
    }
    
    .alert-aurora {
        font-size: 0.72rem;
        padding: 0.3rem 0.55rem;
    }
    
    .auth-footer {
        font-size: 0.72rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .auth-container {
        padding: 1rem;
        min-height: auto;
    }
    
    .auth-card {
        padding: 1.25rem 1.5rem;
    }
    
    .mb-3, .mb-4 {
        margin-bottom: 0.75rem !important;
    }
    
    .aurora-form-control {
        min-height: 40px;
        padding: 0.5rem 0.85rem;
    }
    
    .btn-aurora-primary {
        min-height: 40px;
        padding: 0.5rem 1rem;
    }
    
    .auth-footer {
        margin-top: 1rem;
        padding-top: 1rem;
    }
}

img.lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}
img.lazy-loaded {
    opacity: 1;
}

.skeleton-card {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
    min-height: 200px;
}
.skeleton-line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    margin-bottom: 12px;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.long { width: 90%; }
.skeleton-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.05) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}
.btn-loading .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-right: 0.4rem;
}

@media print {
    .aurora-bg, .aurora-navbar, .aurora-footer, .back-to-top, .sidebar { display: none !important; }
    body { padding-top: 0 !important; background: white; color: black; }
    .article-card, .article-detail { background: white; box-shadow: none; border: 1px solid #ddd; backdrop-filter: none; }
    .article-card-title a, .article-card-title a:hover { color: black; -webkit-text-fill-color: black; }
}

/* ============================================
   Accessibility - 无障碍支持
   ============================================ */

/* 为有前庭功能障碍的用户减少动画 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* 静态显示背景效果，但移除动态 */
    .aurora-orb,
    .hero-gradient-layer {
        animation: none !important;
        filter: blur(60px);
    }

    .aurora-bg::before,
    .aurora-bg::after {
        animation: none !important;
    }

    @keyframes brandPulse {
        0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.4); }
    }

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

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --border-glass: rgba(255, 255, 255, 0.2);
        --border-glass-strong: rgba(255, 255, 255, 0.35);
        --text-secondary: #cbd5e1;
    }

    .article-card,
    .sidebar .sidebar-card {
        border-width: 2px;
    }
}

/* ============================================
   Auth Page - Aurora Style
   认证页面极光风格样式
   ============================================ */

.auth-container {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    overflow: hidden;
}

.auth-container::before,
.auth-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.auth-container::before {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--aurora-1) 0%, transparent 70%);
    top: -150px;
    left: -100px;
    animation: auroraFloat 15s ease-in-out infinite alternate;
}

.auth-container::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--aurora-4) 0%, var(--aurora-5) 70%);
    bottom: -120px;
    right: -80px;
    animation: auroraFloat 15s ease-in-out infinite alternate;
    animation-delay: -7s;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: rgba(20, 20, 45, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(99,102,241,0.15) 50%, rgba(168,85,247,0.15) 60%, transparent 70%);
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.auth-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s linear infinite;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-4));
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.aurora-form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.aurora-form-control::placeholder {
    color: var(--text-muted);
}

.aurora-form-control:focus {
    border-color: var(--aurora-1);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15), 0 4px 16px rgba(99, 102, 241, 0.1);
}

.aurora-form-control:disabled,
.aurora-form-control[readonly] {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-aurora-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-4));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 44px;
    position: relative;
    overflow: hidden;
}

.btn-aurora-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-aurora-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35), 0 0 30px rgba(168, 85, 247, 0.2);
    filter: brightness(1.1);
}

.btn-aurora-primary:hover::before {
    opacity: 1;
}

.btn-aurora-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.aurora-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}

.aurora-label i {
    margin-right: 0.35rem;
    color: var(--aurora-1);
}

.alert-aurora {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border-left: 4px solid;
    animation: fadeInUp 0.4s ease;
    font-size: 0.9rem;
}

.alert-aurora-success {
    background: rgba(16, 185, 129, 0.08);
    border-left-color: var(--aurora-green);
    color: #6ee7b7;
}

.alert-aurora-error {
    background: rgba(244, 63, 94, 0.08);
    border-left-color: #f43f5e;
    color: #fda4af;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--aurora-light-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    color: var(--aurora-4);
    text-shadow: 0 0 10px rgba(217, 70, 239, 0.4);
}

/* ============================================
   Auth Page - 响应式适配
   认证页面响应式断点样式
   ============================================ */

/* 大屏桌面 ≥1200px */
@media (min-width: 1200px) {
    .auth-container {
        padding: 4rem 3rem;
    }
    
    .auth-card {
        max-width: 500px;
        padding: 3rem 2.5rem;
    }
}

/* 平板/小桌面 ≤1199.98px */
@media (max-width: 1199.98px) {
    .auth-card {
        max-width: 450px;
    }
}

/* ============================================
   减少动画偏好支持 - 认证页面
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .auth-container::before,
    .auth-container::after {
        animation: none !important;
    }
    
    .auth-card {
        animation: none !important;
    }
    
    .auth-card::before {
        display: none !important;
    }
    
    .alert-aurora {
        animation: none !important;
    }
    
    .btn-aurora-primary {
        transition: background 0.2s ease, color 0.2s ease;
    }
    
    .btn-aurora-primary:hover {
        transform: none !important;
    }
    
    .aurora-form-control {
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
}
