/* ============================================
   静谧花园 - 极致美丽的个人博客
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-text: #e8e6f0;
    --color-text-secondary: #9895a8;
    --color-text-muted: #6b6880;
    --color-accent: #c9a0dc;
    --color-accent-light: #e2c6f0;
    --color-accent-dark: #9b6fb8;
    --color-rose: #e8a0bf;
    --color-rose-light: #f5c6d8;
    --color-gold: #d4a574;
    --color-gold-light: #e8c9a8;
    --gradient-hero: linear-gradient(135deg, #1a1025 0%, #0d0d1a 30%, #1a0f1f 60%, #0f0f1a 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 50%, var(--color-gold) 100%);
    --gradient-card: linear-gradient(145deg, rgba(201, 160, 220, 0.08) 0%, rgba(232, 160, 191, 0.05) 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(201, 160, 220, 0.15) 0%, transparent 70%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(201, 160, 220, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-serif: 'Noto Serif SC', 'Playfair Display', 'Cormorant Garamond', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-dark) var(--color-bg-secondary);
}

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

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

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

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

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ---------- 自定义光标 ---------- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-accent-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-follower.hover {
    width: 48px;
    height: 48px;
    border-color: var(--color-rose);
    background: rgba(232, 160, 191, 0.1);
}

/* ---------- 粒子背景 ---------- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gradient-accent);
    transition: width 0.3s var(--transition-smooth);
    border-radius: 1px;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s var(--transition-smooth);
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero 区域 ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 40px 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(201, 160, 220, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 30%, rgba(232, 160, 191, 0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(212, 165, 116, 0.03) 0%, transparent 50%);
    animation: heroBgShift 20s ease-in-out infinite;
}

@keyframes heroBgShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(1%, -1%) rotate(1deg); }
    66% { transform: translate(-1%, 1%) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-accent-light);
    background: rgba(201, 160, 220, 0.06);
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 160, 220, 0.1); }
    50% { box-shadow: 0 0 40px rgba(201, 160, 220, 0.2); }
}

.hero-title {
    font-family: var(--font-serif);
    margin-bottom: 32px;
}

.title-line {
    display: block;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 0.08em;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s var(--transition-smooth) forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line.accent {
    font-size: 4.5rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.5s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 2;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: titleReveal 0.8s var(--transition-smooth) forwards;
    animation-delay: 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: titleReveal 0.8s var(--transition-smooth) forwards;
    animation-delay: 0.9s;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #0a0a0f;
    border: none;
    box-shadow: 0 4px 24px rgba(201, 160, 220, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 160, 220, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s var(--transition-smooth);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    background: rgba(201, 160, 220, 0.06);
    transform: translateY(-2px);
}

/* ---------- 滚动指示器 ---------- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(1.5); opacity: 1; }
}

/* ---------- 浮动装饰 ---------- */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 160, 220, 0.15);
    animation: floatCircle 8s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
    border-color: rgba(201, 160, 220, 0.1);
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    animation-delay: 2s;
    border-color: rgba(232, 160, 191, 0.12);
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    border-color: rgba(212, 165, 116, 0.1);
}

@keyframes floatCircle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.floating-petal {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: floatPetal 12s ease-in-out infinite;
    color: var(--color-accent-light);
}

.petal-1 { top: 15%; left: 20%; animation-delay: 0s; font-size: 2rem; }
.petal-2 { top: 25%; right: 15%; animation-delay: 3s; font-size: 1.5rem; }
.petal-3 { bottom: 30%; left: 10%; animation-delay: 6s; font-size: 1.8rem; }
.petal-4 { bottom: 20%; right: 25%; animation-delay: 9s; font-size: 1.3rem; }

@keyframes floatPetal {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-15px) translateX(-10px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-40px) translateX(5px) rotate(270deg);
        opacity: 0.5;
    }
}

/* ---------- 通用 Section ---------- */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 40px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 4px 16px;
    border: 1px solid rgba(201, 160, 220, 0.2);
    border-radius: 50px;
    background: rgba(201, 160, 220, 0.05);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.03em;
}

/* ---------- 滚动显示动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 博客卡片 ---------- */
.blog-section {
    background: var(--color-bg-secondary);
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 160, 220, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 160, 220, 0.3);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

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

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    transition: transform 0.6s var(--transition-smooth);
}

.blog-card:hover .blog-image-placeholder {
    transform: scale(1.1);
}

.img-1 { background: linear-gradient(135deg, #2d1b3d 0%, #1a1a2e 100%); }
.img-2 { background: linear-gradient(135deg, #1a2a3d 0%, #1a1a2e 100%); }
.img-3 { background: linear-gradient(135deg, #2d1a2d 0%, #1a1a2e 100%); }
.img-4 { background: linear-gradient(135deg, #3d2d1a 0%, #1a1a2e 100%); }
.img-5 { background: linear-gradient(135deg, #1a3d2d 0%, #1a1a2e 100%); }
.img-6 { background: linear-gradient(135deg, #2d1a3d 0%, #1a1a2e 100%); }

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--color-accent-light);
    letter-spacing: 0.05em;
    z-index: 2;
}

.blog-card-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.blog-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--color-accent-light);
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
    color: var(--color-accent-light);
}

.blog-more {
    text-align: center;
    margin-top: 56px;
}

/* ---------- 关于我 ---------- */
.about-section {
    background: var(--color-bg);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at bottom right, rgba(201, 160, 220, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-avatar {
    position: relative;
    width: 240px;
    height: 240px;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-card);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.avatar-placeholder:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--gradient-glow);
    z-index: 1;
    animation: avatarGlow 4s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.about-content .section-tag {
    margin-bottom: 20px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ---------- 画廊 ---------- */
.gallery-section {
    background: var(--color-bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.gallery-placeholder {
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 3rem;
    transition: all 0.5s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-placeholder p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.g-1 { background: linear-gradient(135deg, #3d2d1a 0%, #1a1a2e 100%); }
.g-2 { background: linear-gradient(135deg, #1a2d3d 0%, #1a1a2e 100%); }
.g-3 { background: linear-gradient(135deg, #2d3d1a 0%, #1a1a2e 100%); }
.g-4 { background: linear-gradient(135deg, #1a3d1a 0%, #1a1a2e 100%); }
.g-5 { background: linear-gradient(135deg, #3d1a1a 0%, #1a1a2e 100%); }
.g-6 { background: linear-gradient(135deg, #3d1a3d 0%, #1a1a2e 100%); }

/* ---------- 联系我 ---------- */
.contact-section {
    background: var(--color-bg);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(201, 160, 220, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--color-accent-light);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: all 0.4s var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    background: rgba(201, 160, 220, 0.08);
}

/* ---------- 页脚 ---------- */
.footer {
    background: #08080f;
    border-top: 1px solid var(--color-border);
    padding: 60px 40px 30px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--transition-smooth);
    cursor: none;
}

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

.back-to-top:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .hero-title .title-line {
        font-size: 3rem;
    }

    .hero-title .title-line.accent {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s var(--transition-smooth);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-title .title-line {
        font-size: 2.2rem;
    }

    .hero-title .title-line.accent {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 80px 24px;
    }

    .section-title {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .about-stats {
        gap: 32px;
    }

    .floating-circle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title .title-line {
        font-size: 1.8rem;
    }

    .hero-title .title-line.accent {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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