/* ============================================
   Fab Academy 2026 - Apple-Inspired Design
   Clean, minimal, and sophisticated
   ============================================ */

/* CSS Variables - Apple Style */
:root {
    /* Colors */
    --color-text-primary: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-link: #0071e3;
    --color-link-hover: #0077ed;
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-bg-tertiary: #fbfbfd;
    --color-border: #d2d2d7;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --klein-blue: #002FA7;
    --klein-blue-light: #0071e3;
    --klein-blue-lighter: #0077ed;
    
    /* Status colors */
    --status-complete: #34c759;
    --status-progress: #ff9500;
    --status-pending: #8e8e93;
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-size-xl: 56px;
    --font-size-lg: 48px;
    --font-size-md: 32px;
    --font-size-base: 17px;
    --font-size-sm: 14px;
    --font-size-xs: 12px;
    --line-height-tight: 1.0834933333;
    --line-height-base: 1.4705882353;
    --line-height-relaxed: 1.5;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;
    --spacing-2xl: 80px;
    --spacing-3xl: 100px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 18px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    
    /* Shadows - Apple Style Unified */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-section: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* 科技感网格背景 */
body::before {
    display: none;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

/* 极光背景效果 */
body::after {
    display: none;
}

@keyframes auroraFlow {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    25% {
        opacity: 0.3;
        transform: translateY(-20px) scale(1.05);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-10px) scale(0.95);
    }
    75% {
        opacity: 0.4;
        transform: translateY(-15px) scale(1.02);
    }
}

html[data-theme="dark"] body::after {
    display: none;
}

@keyframes auroraFlowDark {
    0%, 100% {
        opacity: 0.2;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.35;
        transform: translateY(-30px) scale(1.1) rotate(2deg);
    }
    50% {
        opacity: 0.25;
        transform: translateY(-20px) scale(0.9) rotate(-1deg);
    }
    75% {
        opacity: 0.3;
        transform: translateY(-25px) scale(1.05) rotate(1deg);
    }
}

html[data-theme="dark"] body::before {
    display: none;
}

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

.main-content {
    background: var(--color-bg-primary);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

html:not([data-theme="dark"]) body,
html:not([data-theme="dark"]) .weeks-section,
html:not([data-theme="dark"]) .main-content,
html:not([data-theme="dark"]) .page-header,
html:not([data-theme="dark"]) section {
    background: #ffffff;
}

html[data-theme="dark"] .main-content {
    background: #1b1b1b;
}

html[data-theme="dark"] body {
    background: #1b1b1b;
}

html:not([data-theme="dark"]) .week-card {
    background: var(--color-bg-secondary);
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-link-hover);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Emoji and Icon Styling for better readability */
.content-block h2,
.content-block h3,
.content-block h4 {
    line-height: 1.4;
}
.content-block h2 emoji,
.content-block h3 emoji,
.content-block h4 emoji {
    display: inline-block;
    font-style: normal;
    margin-right: 8px;
    font-size: 1em;
    vertical-align: middle;
    filter: none;
}

/* ============================================
   Navigation - Apple Style
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    /* Apple风格统一阴影 + 科技感发光 */
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 113, 227, 0.05);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 113, 227, 0.3) 20%, 
        rgba(0, 113, 227, 0.5) 50%, 
        rgba(0, 113, 227, 0.3) 80%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::after {
    opacity: 1;
}
html[data-theme="dark"] .navbar {
    background: rgba(27, 27, 27, 0.85);
    border-bottom-color: rgba(135, 206, 235, 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.5);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

html[data-theme="dark"] .navbar::before {
    background: var(--color-accent);
}

html[data-theme="dark"] .navbar::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(135, 206, 235, 0.2) 20%, 
        rgba(135, 206, 235, 0.4) 50%, 
        rgba(135, 206, 235, 0.2) 80%, 
        transparent 100%);
}

.nav-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-left: -51px; /* 往左移动约3个字符的距离 */
}

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

.logo-text {
    font-size: 18px; /* 从21px缩小到18px */
    letter-spacing: -0.01em;
}

.logo-year {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    position: relative;
    color: var(--color-text-primary);
    font-size: 12px;
    font-weight: 400;
    padding: 12px 0;
    opacity: 0.8;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-accent), 
        rgba(0, 113, 227, 0.5));
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 113, 227, 0.4);
}

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

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

html[data-theme="dark"] .nav-link::after {
    background: linear-gradient(90deg, 
        rgba(135, 206, 235, 0.8), 
        rgba(135, 206, 235, 0.4));
}

/* Dropdown */
.dropdown {
    position: relative;
}

/* Apple风格全宽度多列下拉菜单 */
.dropdown-content {
    position: fixed;
    top: 44px; /* 导航栏高度 */
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-bg-primary);
    padding: var(--spacing-2xl);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    display: flex;
    gap: var(--spacing-3xl);
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
    z-index: 999;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

html[data-theme="dark"] .dropdown-content {
    background: var(--color-bg-secondary);
    border-top-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* 下拉菜单列 */
.dropdown-column {
    flex: 1;
    min-width: 0;
}

/* 下拉菜单标题 */
.dropdown-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
}

html[data-theme="dark"] .dropdown-title {
    color: var(--color-text-secondary);
}

/* 下拉菜单主要链接（加粗，更大） */
.dropdown-link-main {
    display: block;
    padding: var(--spacing-xs) 0;
    color: var(--color-text-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.47059;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.dropdown-link-main:hover {
    color: var(--color-text-primary);
    opacity: 0.8;
}

html[data-theme="dark"] .dropdown-link-main {
    color: var(--color-text-primary);
}

html[data-theme="dark"] .dropdown-link-main:hover {
    opacity: 0.7;
}

/* 兼容旧的下拉菜单链接样式（如果没有使用dropdown-link-main类） */
.dropdown-content > a:not(.dropdown-link-main) {
    display: block;
    padding: var(--spacing-xs) 0;
    color: var(--color-text-primary);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.47059;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.dropdown-content > a:not(.dropdown-link-main):hover {
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 18px;
    height: 1px;
    background: var(--color-text-primary);
    transition: var(--transition-normal);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: calc(100vh - 44px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--color-bg-primary);
    padding: var(--spacing-xl) var(--spacing-md);
    margin-top: 44px;
    overflow: visible;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
    z-index: 1;
}

html[data-theme="dark"] .hero {
    background: #1b1b1b;
    border-bottom: none;
    box-shadow: none;
}

.hero .fluorescent-particles {
    display: none;
}

.fluorescent-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.8) 0%, rgba(135, 206, 235, 0.4) 50%, transparent 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.6), 0 0 20px rgba(135, 206, 235, 0.4);
    animation: floatParticle 15s ease-in-out infinite;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -50px) scale(1.2);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -100px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, -70px) scale(1.1);
        opacity: 0.7;
    }
}

/* 科技感扫描线效果 - 增强版 */
.hero .scan-line {
    display: none;
}

@keyframes scanLine {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh - 44px));
        opacity: 0;
    }
}

@keyframes kleinBlueFlow {
    0%,100% { opacity: 0.6; }
    25% { opacity: 0.8; }
    50% { opacity: 0.5; }
    75% { opacity: 0.7; }
}

/* Hero 区域 - 克莱因蓝色动态渐变背景，环绕边缘 */
.hero::before {
    display: none;
}

.hero-content,
.page-header > *,
.week-detail-header > * {
    position: relative;
    z-index: 5;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}


html[data-theme="dark"] .hero::before {
    display: none;
}

@keyframes auroraHeroFlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 1.1;
        transform: scale(1.05) rotate(1deg);
    }
    50% {
        opacity: 0.95;
        transform: scale(0.98) rotate(-0.5deg);
    }
    75% {
        opacity: 1.05;
        transform: scale(1.02) rotate(0.5deg);
    }
}


.hero-title {
    margin-bottom: var(--spacing-sm); /* 从spacing-md减少到spacing-sm */
}

.title-line {
    display: block;
    font-size: 21px;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-xs); /* 从spacing-sm减少到spacing-xs */
}

.title-highlight {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.015em;
    line-height: var(--line-height-tight);
    position: relative;
    text-shadow: 0 0 20px rgba(0, 113, 227, 0.1);
    transition: text-shadow 0.3s ease;
}

.title-highlight:hover {
    text-shadow: 0 0 30px rgba(0, 113, 227, 0.2), 0 0 60px rgba(0, 113, 227, 0.1);
}

html[data-theme="dark"] .title-highlight {
    text-shadow: none;
}

html[data-theme="dark"] .title-highlight:hover {
    text-shadow: none;
}

.hero-subtitle {
    font-size: 21px;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md); /* 从spacing-xl减少到spacing-md */
    font-weight: 400;
    line-height: var(--line-height-base);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons - Apple Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-family: inherit;
    font-size: var(--font-size-base);
    font-weight: 400;
    border-radius: 980px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2), 0 0 20px rgba(0, 113, 227, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-bg-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3), 0 0 30px rgba(0, 113, 227, 0.2);
}

html[data-theme="dark"] .btn-primary {
    color: #1b1b1b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: var(--color-accent);
}

html[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: var(--color-accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: var(--font-size-base);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: var(--color-bg-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

html:not([data-theme="dark"]) .btn-secondary:hover {
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

html[data-theme="dark"] .btn-secondary:hover {
    color: #1b1b1b;
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

.btn-outline:hover {
    border-color: var(--color-accent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 1px solid var(--color-text-secondary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--color-text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

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

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}
html[data-theme="dark"] section {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding: 4px 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.section-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.section-tag:hover::before {
    opacity: 0.6;
}

html[data-theme="dark"] .section-tag::before {
    border-color: rgba(135, 206, 235, 0.5);
}

html[data-theme="dark"] .section-tag:hover::before {
    opacity: 0.6;
}

.section-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.015em;
    line-height: var(--line-height-tight);
}

/* About Preview Cards */
.about-preview {
    background: var(--color-bg-secondary);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}
html[data-theme="dark"] .about-preview {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.about-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .about-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .about-card:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


.card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    background: rgba(0, 113, 227, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent);
    transition: all var(--transition-normal);
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.about-card:hover .card-icon {
    background: rgba(0, 113, 227, 0.15);
    transform: scale(1.05);
}

.about-card h3 {
    color: var(--color-text-primary);
    font-size: 21px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.about-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
}

/* Weekly Preview */
.weekly-preview {
    background: var(--color-bg-primary);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}
html[data-theme="dark"] .weekly-preview {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.work-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.work-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}

.work-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .work-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .work-card:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.work-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--color-text-secondary);
    position: relative;
}

html[data-theme="dark"] .work-number {
    text-shadow: none;
}

.work-card h3 {
    color: var(--color-text-primary);
    font-size: 21px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.work-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    line-height: var(--line-height-base);
}

.work-link {
    color: var(--color-accent);
    font-size: var(--font-size-base);
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease;
}

.work-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        var(--color-accent), 
        transparent);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
}

.work-link:hover::after {
    width: 100%;
}

.work-link:hover {
    color: var(--color-accent-hover);
    text-shadow: 0 0 8px rgba(0, 113, 227, 0.2);
}

html[data-theme="dark"] .work-link::after {
    background: linear-gradient(90deg, 
        rgba(135, 206, 235, 0.8), 
        transparent);
}

html[data-theme="dark"] .work-link:hover {
    text-shadow: none;
}

.view-all {
    text-align: center;
}

/* Final Preview */
.final-preview {
    background: var(--color-bg-secondary);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}
html[data-theme="dark"] .final-preview {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.final-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.final-text .section-tag {
    text-align: left;
}

.final-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.final-text p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.final-visual {
    display: flex;
    justify-content: center;
}

.project-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--color-bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .project-placeholder {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.placeholder-inner {
    text-align: center;
    color: var(--color-text-secondary);
}

.loading-dots {
    display: flex;
    gap: var(--spacing-xs);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: loadingPulse 1.5s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    padding-top: calc(44px + var(--spacing-lg));
    padding-bottom: var(--spacing-lg);
    background: var(--color-bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(60vh - 22px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}

html[data-theme="dark"] .page-header {
    border-bottom: none;
    box-shadow: none;
}

/* 页面头部 - 克莱因蓝色动态渐变背景，环绕边缘 */
.page-header::before {
    display: none;
}


html[data-theme="dark"] .page-header {
    border-bottom: none;
    box-shadow: none;
}

html[data-theme="dark"] .page-header::before {
    display: none;
}

.about-section > .page-header::before {
    top: calc(-44px - var(--spacing-lg));
}


.page-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding: 4px 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.page-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    transition: opacity 0.3s ease;
    border-radius: 4px;
}

.page-tag:hover::before {
    opacity: 0.6;
}

html[data-theme="dark"] .page-tag::before {
    border-color: rgba(135, 206, 235, 0.5);
}

html[data-theme="dark"] .page-tag:hover::before {
    opacity: 0.6;
}

.page-title {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1.1;
}
html[data-theme="dark"] .page-title {
    color: #f5f5f7;
}

.page-subtitle {
    color: var(--color-text-secondary);
    font-size: 21px;
    line-height: var(--line-height-base);
    margin-top: var(--spacing-xs);
}
html[data-theme="dark"] .page-subtitle {
    color: #d1d1d6;
}

/* ============================================
   Weeks Grid (Daily Work)
   ============================================ */
.weeks-section {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
    background: var(--color-bg-primary);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}
html[data-theme="dark"] .weeks-section {
    border-top-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.week-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
    will-change: transform;
    /* 统一阴影 - 浅色和深色都有层次 */
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.week-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .week-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .week-card:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.week-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
html[data-theme="dark"] .week-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.week-number {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-accent);
    position: relative;
}

html[data-theme="dark"] .week-number {
    text-shadow: none;
}

.week-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-complete {
    background: rgba(52, 199, 89, 0.1);
    color: var(--status-complete);
}

.status-progress {
    background: rgba(255, 149, 0, 0.1);
    color: var(--status-progress);
}

.status-pending {
    background: rgba(142, 142, 147, 0.1);
    color: var(--status-pending);
}

.week-content {
    padding: var(--spacing-md);
    flex: 1;
}

.week-content h3 {
    color: var(--color-text-primary);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.week-content p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-base);
}

.week-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--color-bg-primary);
    color: var(--color-text-secondary);
    border-radius: 12px;
}

.week-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-primary);
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    font-weight: 400;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
html[data-theme="dark"] .week-link {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.week-link:hover {
    color: var(--color-accent-hover);
    background: var(--color-bg-secondary);
}

html[data-theme="dark"] .week-link:hover {
    background: var(--color-bg-tertiary);
}

.week-link svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.week-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Final Project Page
   ============================================ */
.project-section {
    padding: var(--spacing-xl) 0 var(--spacing-3xl);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-section);
}
html[data-theme="dark"] .project-section {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.project-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.overview-content h2 {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.015em;
}

.overview-content p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.project-hero-image .image-placeholder {
    aspect-ratio: 16/10;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    gap: var(--spacing-sm);
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.detail-card {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .detail-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .detail-card:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.detail-icon {
    width: 48px;
    height: 48px;
    background: var(--color-bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.detail-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.detail-card h3 {
    color: var(--color-text-primary);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.detail-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
}

/* Timeline */
.project-timeline {
    margin-bottom: var(--spacing-3xl);
}

.project-timeline h2 {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    text-align: center;
    letter-spacing: -0.015em;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 30px);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .timeline-content {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.timeline-content h4 {
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-base);
}

/* Gallery */
.project-gallery {
    margin-bottom: var(--spacing-3xl);
}

.project-gallery h2 {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.015em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.gallery-item {
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: var(--shadow-card);
}

.gallery-placeholder:hover {
    background: var(--color-bg-tertiary);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .gallery-placeholder {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .gallery-placeholder:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Files */
.project-files h2 {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.015em;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
}

.file-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}

.file-card:hover {
    background: var(--color-bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .file-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .file-card:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.file-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.file-card span {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    text-align: center;
}

/* ============================================
   About Me Page - 分层设计：标题下沉，内容浮起
   ============================================ */
.about-section {
    padding: 0;
    position: relative;
    overflow: visible;
    min-height: 100vh;
}
/* About 页面背景层 - 标题区域下沉 */
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40vh;
    pointer-events: none;
    z-index: 0;
    /* 浅色：云母炫彩背景 */
    background: 
        linear-gradient(to bottom, 
            rgba(255, 248, 250, 0.25) 0%,
            rgba(248, 250, 255, 0.2) 50%,
            transparent 100%
        ),
        radial-gradient(ellipse 800px 600px at 50% 20%, rgba(255, 250, 248, 0.3) 0%, transparent 60%);
    opacity: 0.9;
}
html[data-theme="dark"] .about-section::before {
    background: transparent;
    display: none;
}
/* About页面标题下沉一层 */
.about-section > .page-header {
    position: relative;
    z-index: 1;
    margin-bottom: calc(var(--spacing-xl) + 20px);
    padding-top: calc(44px + var(--spacing-lg));
    padding-bottom: var(--spacing-lg);
    min-height: calc(60vh - 22px);
    justify-content: center;
}

/* 确保about-section内的container与导航栏对齐 */
.about-section > .page-header > .container,
.about-section > .container,
.about-section .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 10;
}
.about-section .about-hero,
.about-section .about-details,
.about-section .contact-section {
    background: var(--color-bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    transform: translateY(-12px);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
html[data-theme="dark"] .about-section .about-hero,
html[data-theme="dark"] .about-section .about-details,
html[data-theme="dark"] .about-section .contact-section {
    background: #2a2a2a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
}
.about-section .about-hero:hover,
.about-section .about-details:hover,
.about-section .contact-section:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-xl);
}
html[data-theme="dark"] .about-section .about-hero:hover,
html[data-theme="dark"] .about-section .about-details:hover,
html[data-theme="dark"] .about-section .contact-section:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.image-frame {
    width: 240px;
    height: 240px;
    margin: 0 auto;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--color-text-secondary);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--color-border);
}

.about-intro h2 {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.015em;
}

.about-intro .highlight {
    color: var(--color-accent);
}

.intro-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--color-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--color-bg-tertiary);
    transform: scale(1.05);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.social-link img.wechat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: hue-rotate(210deg) saturate(1.3) brightness(0.85);
}

.about-details {
    margin-bottom: var(--spacing-3xl);
}

.detail-section {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .detail-section {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.detail-section h3 {
    color: var(--color-text-primary);
    font-size: 21px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.detail-section p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-sm);
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: var(--color-bg-primary);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}

.skill-item:hover {
    background: var(--color-bg-tertiary);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .skill-item {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .skill-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
}

.skill-icon {
    width: 44px;
    height: 44px;
    background: var(--color-bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-accent);
}

.skill-item span {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    text-align: center;
}

.lab-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-sm);
}

.lab-card {
    background: var(--color-bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .lab-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .lab-card:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lab-card h4 {
    color: var(--color-accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.lab-card p {
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
}

.contact-section {
    text-align: center;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .contact-section {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.contact-section h3 {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.015em;
}

.contact-section p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--spacing-xl) 0;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05);
}
html[data-theme="dark"] .footer {
    border-top-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.footer-logo .logo-text {
    font-size: 17px;
    font-weight: 600;
}

.footer-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 12px;
}

/* ============================================
   Week Detail Pages
   ============================================ */
.week-detail-header {
    padding-top: calc(44px + var(--spacing-xl));
    padding-bottom: var(--spacing-2xl);
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    border-bottom: none;
}

html[data-theme="dark"] .week-detail-header {
    border-bottom: none;
    box-shadow: none;
}

/* Week 详情页头部 - 冰川蓝色动态渐变背景，环绕边缘 */
.week-detail-header::before {
    display: none;
}
html[data-theme="dark"] .week-detail-header::before {
    display: none;
}

html[data-theme="dark"] .week-detail-header {
    background: #1b1b1b;
    border-bottom: none;
    box-shadow: none;
    position: relative;
}

html[data-theme="dark"] .week-detail-header::after {
    display: none;
}

@keyframes headerGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}


.week-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.week-nav a {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-accent);
    font-size: var(--font-size-sm);
}

.week-nav svg {
    width: 16px;
    height: 16px;
}

.week-title-block {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.week-number-large {
    font-size: 80px;
    font-weight: 700;
    color: var(--color-text-secondary);
    line-height: 1;
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
    letter-spacing: -0.03em;
}
html[data-theme="dark"] .week-number-large {
    color: rgba(245, 245, 247, 0.25);
    opacity: 1;
    text-shadow: none;
}

.week-detail-content {
    padding: 0 0 var(--spacing-3xl);
    background: var(--color-bg-primary);
}
html[data-theme="dark"] .week-detail-content {
    background: #1b1b1b;
}

.content-block {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
html[data-theme="dark"] .content-block {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .content-block:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.content-block h2 {
    color: var(--color-text-primary);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.015em;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-accent), 
        transparent);
    transition: width 0.5s ease;
}

.content-block h2:hover::after {
    width: 60px;
}

html[data-theme="dark"] .content-block h2::after {
    background: linear-gradient(90deg, 
        rgba(135, 206, 235, 0.8), 
        transparent);
}
.content-block h2::before {
    content: '';
    display: none;
}
.content-block h2:has-text {
    display: flex;
    align-items: center;
}
html[data-theme="dark"] .content-block h2 {
    color: #f5f5f7;
}

.content-block h3 {
    color: var(--color-text-primary);
    font-size: 21px;
    font-weight: 600;
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.content-block h3 emoji,
.content-block h2 emoji {
    font-style: normal;
    font-size: 1.1em;
    line-height: 1;
    margin-right: 4px;
}
html[data-theme="dark"] .content-block h3 {
    color: #f5f5f7;
}

.content-block h4 {
    color: var(--color-text-primary);
    font-size: 17px;
    font-weight: 600;
    margin: var(--spacing-md) 0 var(--spacing-xs);
    letter-spacing: -0.005em;
    display: flex;
    align-items: center;
    gap: 8px;
}
html[data-theme="dark"] .content-block h4 {
    color: #d1d1d6;
}

.content-block p {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-md);
}
html[data-theme="dark"] .content-block p {
    color: #d1d1d6;
}

.content-block ul,
.content-block ol {
    color: var(--color-text-secondary);
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.content-block li {
    margin-bottom: var(--spacing-xs);
    line-height: var(--line-height-base);
}

.content-block code {
    background: var(--color-bg-primary);
    color: var(--color-accent);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', Monaco, Menlo, monospace;
    font-size: 14px;
}

.content-block pre {
    background: var(--color-bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    overflow-x: auto;
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .content-block pre {
    background: #2f2f2f;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.content-block pre code {
    background: transparent;
    padding: 0;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.gallery-img {
    aspect-ratio: 16/10;
    background: var(--color-bg-primary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-normal);
}
.gallery-img:hover {
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .gallery-img {
    background: #2f2f2f;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .gallery-img:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assignment-checklist {
    background: var(--color-bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}
html[data-theme="dark"] .assignment-checklist {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    color: var(--color-text-secondary);
}

.checklist-item svg {
    width: 20px;
    height: 20px;
    color: var(--status-complete);
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 0 3px rgba(52, 199, 89, 0.4));
    transition: filter 0.3s ease;
}

.checklist-item:hover svg {
    filter: drop-shadow(0 0 6px rgba(52, 199, 89, 0.6));
}

html[data-theme="dark"] .checklist-item svg {
    filter: none;
}

html[data-theme="dark"] .checklist-item:hover svg {
    filter: none;
}

.week-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--color-border);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    max-width: 45%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
}

.pagination-link:hover {
    background: var(--color-bg-tertiary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
html[data-theme="dark"] .pagination-link {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .pagination-link:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pagination-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.pagination-text {
    display: flex;
    flex-direction: column;
}

.pagination-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.pagination-title {
    color: var(--color-text-primary);
    font-weight: 400;
    font-size: var(--font-size-sm);
}

.pagination-link.next {
    flex-direction: row-reverse;
    text-align: right;
    margin-left: auto;
}

.pagination-link.prev {
    text-align: left;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1068px) {
    .container {
        max-width: 1200px;
    }
    
    .nav-container {
        max-width: 692px;
    }
}

@media (max-width: 734px) {
    :root {
        --font-size-xl: 40px;
        --font-size-lg: 32px;
        --font-size-md: 24px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        position: fixed;
        top: 44px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 44px);
        flex-direction: column;
        background: var(--color-bg-primary);
        padding: var(--spacing-lg);
        gap: 0;
        transition: var(--transition-normal);
        border-top: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-link {
        display: block;
        padding: 16px 0;
        font-size: var(--font-size-base);
    }
    
    /* 移动设备上下拉菜单样式调整 */
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        padding: var(--spacing-md) 0;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        flex-direction: column;
        gap: var(--spacing-lg);
        max-width: 100%;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: flex;
    }
    
    .dropdown-column {
        width: 100%;
    }
    
    .dropdown-title {
        font-size: 10px;
        margin-bottom: var(--spacing-sm);
    }
    
    .dropdown-link-main {
        font-size: 15px;
        padding: var(--spacing-xs) 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 500px;
        padding: var(--spacing-sm) 0;
    }
    
    .final-content,
    .project-overview,
    .about-hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .timeline::before {
        left: 16px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 40px;
    }
    
    .timeline-marker {
        left: 16px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .weeks-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
}

/* Selection */
::selection {
    background: rgba(0, 113, 227, 0.2);
    color: var(--color-text-primary);
}

/* Remove particle animations */
.hero-particles,
.particle {
    display: none;
}

/* Progress bar */
.scroll-progress {
    position: fixed;
    top: 44px;
    left: 0;
    height: 2px;
    background: var(--color-accent);
    z-index: 9998;
    transition: width 0.1s;
}

/* ============================================
   Theme Toggle - Light (Pearl) / Dark (Aurora)
   ============================================ */

/* Theme toggle button - top left */
.theme-toggle {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.theme-toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--color-text-primary);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }

/* Dark theme variables (global + week detail page vars) - use html so theme applies on all pages before paint */
html[data-theme="dark"],
html[data-theme="dark"] body {
    --color-text-primary: #f5f5f7;
    --color-text-secondary: #d1d1d6;
    --color-link: #87CEEB;
    --color-link-hover: #6BB6D6;
    --color-bg-primary: #1b1b1b;
    /* 背景层次：从最暗到最亮，保持 Eerie black 基调 */
    --color-bg-primary: #1b1b1b;        /* 主背景 - Eerie black */
    --color-bg-secondary: #222222;     /* 导航栏/次要背景 - 稍亮 */
    --color-bg-tertiary: #2a2a2a;       /* 卡片背景 - 更亮 */
    --color-bg-quaternary: #333333;     /* 悬停/激活状态 - 最亮 */
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-light: rgba(255, 255, 255, 0.18);
    --color-accent: #87CEEB;
    --color-accent-hover: #6BB6D6;
    --status-complete: #34c759;
    --status-progress: #ff9500;
    --status-pending: #8e8e93;
    --bg-primary: #1b1b1b;
    --bg-secondary: #222222;
    --bg-card: #2a2a2a;
    --bg-card-hover: #333333;
    --bg-tertiary: #2a2a2a;
    --bg-quaternary: #333333;
    --text-primary: #f5f5f7;
    --text-secondary: #d1d1d6;
    --text-muted: #a1a1a6;
    --klein-blue-light: #87CEEB;
}
html[data-theme="dark"] .theme-toggle {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .theme-toggle:hover {
    background: #333333;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] .theme-toggle svg { color: #f5f5f7; }

/* 取消所有背景动效 - 纯色背景 */
body {
    position: relative;
    overflow-x: hidden;
}

/* Dark navbar & hero */
html[data-theme="dark"] .dropdown-content {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
html[data-theme="dark"] .nav-menu {
    background: #222222;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
