:root {
    /* 夜间模式 - 红灰攻击风格 */
    --primary: #ff3333;
    --primary-light: #ff5555;
    --primary-dark: #cc0000;
    --accent: #ff6b35;
    --accent-secondary: #ff0044;
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --bg-card: #141414;
    --text: #f5f5f5;
    --text-muted: #888888;
    --border: rgba(255, 51, 51, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --card-bg: rgba(20, 20, 20, 0.9);
    --nav-bg: rgba(10, 10, 10, 0.95);
    --gradient-start: #ff3333;
    --gradient-mid: #ff0044;
    --gradient-end: #cc0000;
    --glow-primary: 0 0 30px rgba(255, 51, 51, 0.6);
    --glow-soft: 0 0 60px rgba(255, 51, 51, 0.3);
    --glow-intense: 0 0 80px rgba(255, 51, 51, 0.5), 0 0 120px rgba(255, 0, 68, 0.3);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.8);
    --scan-color: rgba(255, 51, 51, 0.08);
}

.theme-light {
    /* 白天模式 - 蓝色科技感 */
    --primary: #0066ff;
    --primary-light: #3388ff;
    --primary-dark: #0044cc;
    --accent: #00aaff;
    --accent-secondary: #0055dd;
    --bg: #f0f4f8;
    --bg-alt: #ffffff;
    --bg-card: #ffffff;
    --text: #0a1628;
    --text-muted: #5a6a7a;
    --border: rgba(0, 102, 255, 0.15);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --card-bg: rgba(255, 255, 255, 0.95);
    --nav-bg: rgba(240, 244, 248, 0.95);
    --gradient-start: #0066ff;
    --gradient-mid: #0088ff;
    --gradient-end: #00aaff;
    --glow-primary: 0 0 25px rgba(0, 102, 255, 0.35);
    --glow-soft: 0 0 50px rgba(0, 102, 255, 0.2);
    --glow-intense: 0 0 60px rgba(0, 102, 255, 0.3), 0 0 100px rgba(0, 170, 255, 0.2);
    --shadow: 0 4px 20px rgba(0, 40, 80, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 40, 80, 0.15);
    --scan-color: rgba(0, 102, 255, 0.05);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景网格 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* 夜间模式 - 红色渗透光效背景 */
body:not(.theme-light)::after {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(255, 51, 51, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(255, 0, 68, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255, 51, 51, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: threat-pulse 8s ease-in-out infinite;
}

@keyframes threat-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* 白天模式 - 科技蓝光效背景 */
.theme-light::after {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 40% at 30% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 35% at 70% 70%, rgba(0, 170, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== 导航栏 ===== */
.nav-glass {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

/* 夜间导航底部红色渗透光 */
body:not(.theme-light) .nav-glass::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(255, 51, 51, 0.5);
}

.logo-container {
    width: 44px;
    height: 44px;
    position: relative;
}

/* Logo 发光效果 */
.logo-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s;
    animation: logo-threat 4s ease-in-out infinite;
}

body:not(.theme-light) .logo-container::before {
    opacity: 0.6;
}

@keyframes logo-threat {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.logo-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nav-title {
    color: var(--text);
}

body:not(.theme-light) .nav-title {
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

/* 夜间模式链接下划线发光 */
body:not(.theme-light) .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    filter: blur(6px);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

body:not(.theme-light) .nav-link:hover,
body:not(.theme-light) .nav-link.active {
    text-shadow: 0 0 15px var(--primary);
}

.nav-link.active::before,
.nav-link:hover::before,
.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link-mobile {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.nav-link-mobile:hover,
.nav-link-mobile.active {
    color: var(--text);
    background: linear-gradient(90deg, rgba(255, 51, 51, 0.1), transparent);
    border-left-color: var(--primary);
}

body:not(.theme-light) .nav-link-mobile:hover,
body:not(.theme-light) .nav-link-mobile.active {
    box-shadow: inset 4px 0 20px rgba(255, 51, 51, 0.15);
}

.theme-light .nav-link-mobile:hover,
.theme-light .nav-link-mobile.active {
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.08), transparent);
}

/* 主题切换按钮 */
.theme-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.theme-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.theme-btn .sun-icon,
.theme-btn .moon-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-light .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-light .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

body:not(.theme-light) .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

body:not(.theme-light) .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ===== Hero 区域 ===== */
.hero-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

/* 夜间模式 - 威胁感背景 */
body:not(.theme-light) .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 50% -20%, rgba(255, 51, 51, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cyber-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

body:not(.theme-light) .hero-badge {
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.2), inset 0 0 20px rgba(255, 51, 51, 0.05);
    animation: badge-threat 3s ease-in-out infinite;
}

@keyframes badge-threat {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 51, 51, 0.2); }
    50% { box-shadow: 0 0 35px rgba(255, 51, 51, 0.4); }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero-text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

body:not(.theme-light) .hero-text-gradient {
    filter: drop-shadow(0 0 40px rgba(255, 51, 51, 0.5)) drop-shadow(0 0 80px rgba(255, 0, 68, 0.3));
}

.theme-light .hero-text-gradient {
    filter: drop-shadow(0 0 30px rgba(0, 102, 255, 0.3));
}

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

.hero-text-sub {
    color: var(--text);
}

.hero-desc {
    color: var(--text-muted);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 14px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.4;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-primary:hover::after {
    opacity: 0.7;
}

body:not(.theme-light) .btn-primary:hover {
    box-shadow: 0 10px 40px rgba(255, 51, 51, 0.5);
}

.theme-light .btn-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.4);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

/* ===== 区块标题 ===== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

body:not(.theme-light) .section-title {
    text-shadow: 0 0 40px rgba(255, 51, 51, 0.3);
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(10px);
    opacity: 0.7;
}

.section-alt {
    background: var(--bg-alt);
    position: relative;
}

.content-text {
    color: var(--text-muted);
}

/* ===== 技术标签 ===== */
.tech-tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: var(--glow-primary);
}

/* ===== 统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--scan-color), transparent);
    transition: left 0.6s;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--glow-primary), var(--shadow-lg);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body:not(.theme-light) .stat-number {
    filter: drop-shadow(0 0 20px rgba(255, 51, 51, 0.4));
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== 方向卡片 ===== */
.direction-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.direction-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--card-glow, transparent), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.direction-card:hover {
    border-color: var(--card-border, var(--primary));
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-shadow, var(--glow-primary));
}

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

.direction-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.direction-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    background: inherit;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
    z-index: -1;
    transition: opacity 0.3s;
}

.direction-card:hover .direction-icon {
    transform: scale(1.1);
}

.direction-card:hover .direction-icon::after {
    opacity: 0.7;
}

.direction-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* 方向图标配色 */
.direction-icon.pwn { background: linear-gradient(135deg, #ff3333, #cc0000); }
.direction-icon.reverse { background: linear-gradient(135deg, #9333ea, #7c3aed); }
.direction-icon.web { background: linear-gradient(135deg, #0066ff, #0044cc); }
.direction-icon.crypto { background: linear-gradient(135deg, #10b981, #059669); }
.direction-icon.misc { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* 方向卡片悬停配色 */
.direction-card:has(.direction-icon.pwn) { 
    --card-glow: rgba(255, 51, 51, 0.15);
    --card-border: #ff3333;
    --card-shadow: 0 0 35px rgba(255, 51, 51, 0.35);
}
.direction-card:has(.direction-icon.reverse) { 
    --card-glow: rgba(147, 51, 234, 0.15);
    --card-border: #9333ea;
    --card-shadow: 0 0 35px rgba(147, 51, 234, 0.35);
}
.direction-card:has(.direction-icon.web) { 
    --card-glow: rgba(0, 102, 255, 0.15);
    --card-border: #0066ff;
    --card-shadow: 0 0 35px rgba(0, 102, 255, 0.35);
}
.direction-card:has(.direction-icon.crypto) { 
    --card-glow: rgba(16, 185, 129, 0.15);
    --card-border: #10b981;
    --card-shadow: 0 0 35px rgba(16, 185, 129, 0.35);
}
.direction-card:has(.direction-icon.misc) { 
    --card-glow: rgba(245, 158, 11, 0.15);
    --card-border: #f59e0b;
    --card-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
}

.direction-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.direction-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== CTA 卡片 ===== */
.cta-card {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 4rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 24px;
    filter: blur(30px);
    opacity: 0.5;
    z-index: -1;
}

.cta-title,
.cta-desc {
    color: white;
    position: relative;
    z-index: 1;
}

.cta-card .btn-primary {
    background: white;
    color: var(--primary-dark);
}

/* ===== 页脚 ===== */
.footer-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

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

body:not(.theme-light) .footer-section::before {
    box-shadow: 0 0 30px var(--primary);
}

.footer-text,
.footer-copyright {
    color: var(--text-muted);
}

.footer-copyright {
    font-size: 0.875rem;
}

/* ===== 页面标题 ===== */
.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 5s ease infinite;
}

body:not(.theme-light) .page-title {
    filter: drop-shadow(0 0 30px rgba(255, 51, 51, 0.4));
}

.page-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

/* ===== 分类标签 ===== */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--text);
    box-shadow: var(--glow-primary);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
    color: white;
}

body:not(.theme-light) .category-tab.active {
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.5);
}

/* ===== 成员卡片 ===== */
.member-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--member-glow, transparent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.member-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--scan-color), transparent);
    transition: left 0.6s;
}

.member-card:hover {
    border-color: var(--member-border, var(--primary));
    transform: translateY(-6px);
    box-shadow: var(--member-shadow, var(--glow-primary)), var(--shadow-lg);
}

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

.member-card:hover::after {
    left: 150%;
}

/* ===== 圆形头像 - 发光光圈 ===== */
.member-avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: transparent;
    transition: all 0.4s ease;
}

/* 光圈边框 */
.member-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: var(--avatar-gradient);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.85;
    transition: all 0.4s ease;
}

/* 外层发光 */
.member-avatar::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: var(--avatar-gradient);
    opacity: 0;
    filter: blur(18px);
    z-index: -1;
    transition: all 0.4s ease;
}

.member-card:hover .member-avatar::before {
    opacity: 1;
    inset: -4px;
}

.member-card:hover .member-avatar::after {
    opacity: 0.5;
    animation: avatar-bleed 2s ease-in-out infinite;
}

.member-card:hover .member-avatar {
    transform: scale(1.08);
}

@keyframes avatar-bleed {
    0%, 100% { opacity: 0.4; filter: blur(15px); transform: scale(1); }
    50% { opacity: 0.6; filter: blur(22px); transform: scale(1.05); }
}

/* 头像内层 */
.member-avatar-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-avatar-icon {
    color: var(--avatar-icon-color);
    width: 28px;
    height: 28px;
}

/* 各方向头像配色 */
.member-avatar.pwn {
    --avatar-gradient: linear-gradient(135deg, #ff3333, #ff5555, #cc0000);
    --avatar-icon-color: #ff3333;
}
.member-avatar.re {
    --avatar-gradient: linear-gradient(135deg, #9333ea, #a855f7, #7c3aed);
    --avatar-icon-color: #9333ea;
}
.member-avatar.web {
    --avatar-gradient: linear-gradient(135deg, #0066ff, #3388ff, #0044cc);
    --avatar-icon-color: #0066ff;
}
.member-avatar.crypto {
    --avatar-gradient: linear-gradient(135deg, #10b981, #34d399, #059669);
    --avatar-icon-color: #10b981;
}
.member-avatar.misc {
    --avatar-gradient: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
    --avatar-icon-color: #f59e0b;
}

/* 成员卡片方向配色 */
.member-card:has(.member-avatar.pwn) {
    --member-glow: rgba(255, 51, 51, 0.08);
    --member-border: #ff3333;
    --member-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
}
.member-card:has(.member-avatar.re) {
    --member-glow: rgba(147, 51, 234, 0.08);
    --member-border: #9333ea;
    --member-shadow: 0 0 30px rgba(147, 51, 234, 0.3);
}
.member-card:has(.member-avatar.web) {
    --member-glow: rgba(0, 102, 255, 0.08);
    --member-border: #0066ff;
    --member-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
}
.member-card:has(.member-avatar.crypto) {
    --member-glow: rgba(16, 185, 129, 0.08);
    --member-border: #10b981;
    --member-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.member-card:has(.member-avatar.misc) {
    --member-glow: rgba(245, 158, 11, 0.08);
    --member-border: #f59e0b;
    --member-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

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

.member-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
}

.member-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.25rem;
}

body:not(.theme-light) .member-category {
    text-shadow: 0 0 12px rgba(255, 51, 51, 0.5);
}

.member-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-arrow {
    color: var(--text-muted);
    transition: all 0.3s;
}

.member-card:hover .member-arrow {
    color: var(--primary);
    transform: translateX(6px);
}

body:not(.theme-light) .member-card:hover .member-arrow {
    filter: drop-shadow(0 0 10px var(--primary));
}

/* ===== 资源卡片 ===== */
.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 10px;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--text);
    box-shadow: var(--glow-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
    color: white;
}

body:not(.theme-light) .filter-btn.active {
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.5);
}

.resource-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.resource-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, var(--resource-glow, transparent), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.resource-card:hover {
    border-color: var(--resource-border, var(--primary));
    transform: translateY(-8px);
    box-shadow: var(--resource-shadow, var(--glow-primary)), var(--shadow-lg);
}

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

.resource-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.resource-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.resource-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    background: inherit;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
    transition: opacity 0.3s;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1);
}

.resource-card:hover .resource-icon::after {
    opacity: 0.65;
}

.resource-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.resource-icon.pwn { background: linear-gradient(135deg, #ff3333, #cc0000); }
.resource-icon.reverse { background: linear-gradient(135deg, #9333ea, #7c3aed); }
.resource-icon.web { background: linear-gradient(135deg, #0066ff, #0044cc); }
.resource-icon.crypto { background: linear-gradient(135deg, #10b981, #059669); }
.resource-icon.misc { background: linear-gradient(135deg, #f59e0b, #d97706); }
.resource-icon.learning { background: linear-gradient(135deg, #0891b2, #0e7490); }

/* 资源卡片方向配色 */
.resource-card:has(.resource-icon.pwn) {
    --resource-glow: rgba(255, 51, 51, 0.1);
    --resource-border: #ff3333;
    --resource-shadow: 0 0 30px rgba(255, 51, 51, 0.25);
}
.resource-card:has(.resource-icon.reverse) {
    --resource-glow: rgba(147, 51, 234, 0.1);
    --resource-border: #9333ea;
    --resource-shadow: 0 0 30px rgba(147, 51, 234, 0.25);
}
.resource-card:has(.resource-icon.web) {
    --resource-glow: rgba(0, 102, 255, 0.1);
    --resource-border: #0066ff;
    --resource-shadow: 0 0 30px rgba(0, 102, 255, 0.25);
}
.resource-card:has(.resource-icon.crypto) {
    --resource-glow: rgba(16, 185, 129, 0.1);
    --resource-border: #10b981;
    --resource-shadow: 0 0 30px rgba(16, 185, 129, 0.25);
}
.resource-card:has(.resource-icon.misc) {
    --resource-glow: rgba(245, 158, 11, 0.1);
    --resource-border: #f59e0b;
    --resource-shadow: 0 0 30px rgba(245, 158, 11, 0.25);
}
.resource-card:has(.resource-icon.learning) {
    --resource-glow: rgba(8, 145, 178, 0.1);
    --resource-border: #0891b2;
    --resource-shadow: 0 0 30px rgba(8, 145, 178, 0.25);
}

.resource-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    background: var(--scan-color);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.resource-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.resource-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    flex: 1;
    margin-bottom: 1rem;
}

.resource-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.3s;
}

.resource-card:hover .resource-link {
    gap: 0.75rem;
}

body:not(.theme-light) .resource-card:hover .resource-link {
    text-shadow: 0 0 12px var(--primary);
}

/* ===== 成就页面 ===== */
.achievement-counter {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
}

.counter-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body:not(.theme-light) .counter-number {
    filter: drop-shadow(0 0 35px rgba(255, 51, 51, 0.5));
}

.counter-label {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ===== 时间线 ===== */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    transform: translateX(-50%);
    border-radius: 2px;
}

body:not(.theme-light) .timeline-line {
    box-shadow: 0 0 25px rgba(255, 51, 51, 0.5);
}

@media (max-width: 768px) {
    .timeline-line {
        left: 24px;
    }
}

.timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item.left {
    justify-content: flex-start;
    padding-right: calc(50% + 2rem);
}

.timeline-item.right {
    justify-content: flex-end;
    padding-left: calc(50% + 2rem);
}

@media (max-width: 768px) {
    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
        padding-left: 4rem;
        padding-right: 0;
    }
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 1.5rem;
    width: 44px;
    height: 44px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    background: inherit;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

@media (max-width: 768px) {
    .timeline-dot {
        left: 24px;
    }
}

.timeline-dot svg {
    width: 20px;
    height: 20px;
    color: white;
}

.timeline-dot.gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.timeline-dot.silver { background: linear-gradient(135deg, #94a3b8, #64748b); }
.timeline-dot.bronze { background: linear-gradient(135deg, #f97316, #ea580c); }
.timeline-dot.normal { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); }

.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    padding: 1.5rem;
    max-width: 400px;
    transition: all 0.4s;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--timeline-shadow, var(--glow-primary)), var(--shadow-lg);
}

.timeline-card.gold {
    border-color: rgba(251, 191, 36, 0.4);
    --timeline-shadow: 0 0 30px rgba(251, 191, 36, 0.35);
}
.timeline-card.silver {
    border-color: rgba(148, 163, 184, 0.4);
    --timeline-shadow: 0 0 30px rgba(148, 163, 184, 0.35);
}
.timeline-card.bronze {
    border-color: rgba(249, 115, 22, 0.4);
    --timeline-shadow: 0 0 30px rgba(249, 115, 22, 0.35);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.timeline-rank {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ===== 动画 ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        padding: 2rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ===== 文本选中 ===== */
::selection {
    background: rgba(255, 51, 51, 0.3);
    color: var(--text);
}

.theme-light ::selection {
    background: rgba(0, 102, 255, 0.25);
}