/* ===== 变量与基础 ===== */
:root {
    --bg-primary: #0a1612;
    --bg-secondary: #0f211b;
    --bg-card: rgba(20, 40, 35, 0.6);
    --text-primary: #e8f0ed;
    --text-secondary: #a0b8b0;
    --text-muted: #6b857d;
    --accent-green: #4ade80;
    --accent-green-dark: #22c55e;
    --accent-amber: #fbbf24;
    --accent-teal: #2dd4bf;
    --accent-pink: #f472b6;
    --accent-purple: #a78bfa;
    --border-color: rgba(74, 222, 128, 0.15);
    --border-hover: rgba(74, 222, 128, 0.4);
    --glow-green: rgba(74, 222, 128, 0.3);
    --glow-amber: rgba(251, 191, 36, 0.2);
    --glow-purple: rgba(167, 139, 250, 0.2);
    --font-serif: 'Noto Serif SC', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* 粒子画布 */
#garden-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(10, 22, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 18px;
}

.logo-icon {
    font-size: 24px;
    animation: sway 3s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.logo-text {
    font-family: var(--font-serif);
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-teal));
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 40px;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent-green), var(--accent-teal), var(--accent-amber), var(--accent-green));
    animation: rotate 8s linear infinite;
    opacity: 0.6;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.avatar-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a30, #0f2520);
    border: 3px solid var(--bg-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    font-family: var(--font-serif);
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.avatar-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-green), transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.title-line {
    display: block;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.title-name {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-teal) 50%, var(--accent-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    min-height: 32px;
}

.typewriter {
    font-family: var(--font-serif);
}

.cursor {
    color: var(--accent-green);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.tag {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.tag:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--glow-green);
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.scroll-arrow {
    font-size: 20px;
    color: var(--accent-green);
}

/* 漂浮装饰 */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    font-size: 28px;
    opacity: 0.3;
    animation: floatLeaf 15s ease-in-out infinite;
}

.leaf-1 { top: 15%; left: 10%; animation-delay: 0s; font-size: 32px; }
.leaf-2 { top: 25%; right: 15%; animation-delay: -3s; font-size: 24px; }
.leaf-3 { bottom: 30%; left: 20%; animation-delay: -6s; font-size: 20px; }
.leaf-4 { bottom: 20%; right: 10%; animation-delay: -9s; font-size: 28px; }

@keyframes floatLeaf {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.3; }
    25% { transform: translate(20px, -30px) rotate(10deg); opacity: 0.5; }
    50% { transform: translate(-10px, -50px) rotate(-5deg); opacity: 0.4; }
    75% { transform: translate(30px, -20px) rotate(15deg); opacity: 0.3; }
}

/* ===== 通用 Section ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-teal));
    border-radius: 2px;
}

.title-underline.center {
    margin: 0 auto;
}

.section-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

.highlight-text {
    color: var(--accent-amber);
    font-weight: 500;
}

/* ===== 关于我 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text .lead {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text strong {
    color: var(--accent-green);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.about-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal), var(--accent-amber));
    border-radius: var(--radius-lg);
    opacity: 0.3;
    z-index: 0;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.card-content {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-radius: calc(var(--radius-lg) - 2px);
    padding: 32px;
    margin: 2px;
}

.card-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.identity-list {
    list-style: none;
}

.identity-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}

.identity-list li:last-child {
    border-bottom: none;
}

.identity-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.identity-list div {
    display: flex;
    flex-direction: column;
}

.identity-label {
    font-size: 12px;
    color: var(--text-muted);
}

.identity-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== 音乐人 ===== */
.music-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.music-artist {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.artist-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 24px var(--glow-amber);
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-detail h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 4px;
}

.artist-detail p {
    color: var(--text-secondary);
    font-size: 14px;
}

.music-bio {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.voice-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-sm);
    margin: 24px 0;
}

.voice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.voice-note strong {
    display: block;
    color: var(--accent-amber);
    margin-bottom: 4px;
    font-size: 14px;
}

.voice-note p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.platform-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 12px;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.platform-btn:hover {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--glow-amber);
}

.platform-icon {
    font-size: 24px;
}

/* 音乐播放器 */
.music-player {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.player-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
}

.player-count {
    font-size: 13px;
    color: var(--text-muted);
}

.track-list {
    max-height: 380px;
    overflow-y: auto;
}

.track-list::-webkit-scrollbar {
    width: 4px;
}

.track-list::-webkit-scrollbar-track {
    background: transparent;
}

.track-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(74, 222, 128, 0.05);
}

.track-item:hover {
    background: rgba(74, 222, 128, 0.05);
}

.track-item.active {
    background: rgba(74, 222, 128, 0.1);
}

.track-item.active .track-name {
    color: var(--accent-green);
}

.track-number {
    width: 28px;
    font-size: 13px;
    color: var(--text-muted);
    font-family: monospace;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.track-duration {
    font-size: 13px;
    color: var(--text-muted);
    font-family: monospace;
}

.play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--accent-green);
    color: var(--bg-primary);
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition);
}

.track-item:hover .play-btn,
.track-item.active .play-btn {
    opacity: 1;
}

.track-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.track-empty p {
    font-size: 14px;
    line-height: 1.8;
}

.player-bar {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border-color);
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-teal));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.time-current,
.time-total {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
    min-width: 35px;
}

.time-total {
    text-align: right;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.control-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.control-btn.play-main {
    width: 52px;
    height: 52px;
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    font-size: 18px;
    box-shadow: 0 4px 16px var(--glow-green);
}

.control-btn.play-main:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px var(--glow-green);
}

/* ===== MV / 视频专区 ===== */
.mv-section,
.video-section {
    background: linear-gradient(180deg, transparent, rgba(15, 33, 27, 0.5), transparent);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.video-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-icon {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform var(--transition);
    z-index: 1;
}

.video-card:hover .play-icon {
    transform: scale(1.15);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    font-family: monospace;
    z-index: 1;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 500;
}

.video-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.video-gradient-1 { background: linear-gradient(135deg, #fbbf2433, #f472b655); }
.video-gradient-2 { background: linear-gradient(135deg, #4ade8033, #2dd4bf55); }
.video-gradient-3 { background: linear-gradient(135deg, #60a5fa33, #a78bfa55); }
.video-gradient-4 { background: linear-gradient(135deg, #f472b633, #fbbf2455); }
.video-gradient-5 { background: linear-gradient(135deg, #2dd4bf33, #4ade8055); }
.video-gradient-6 { background: linear-gradient(135deg, #a78bfa33, #60a5fa55); }

/* 视频弹窗 */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

#modalVideo {
    width: 100%;
    border-radius: var(--radius-md);
    background: #000;
}

.modal-title {
    margin-top: 16px;
    text-align: center;
    color: white;
    font-family: var(--font-serif);
    font-size: 18px;
}

/* ===== 影像画廊 ===== */
.gallery-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-photo img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 18, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .photo-overlay {
    opacity: 1;
}

.photo-caption {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.gallery-icon {
    font-size: 40px;
    opacity: 0.8;
}

.gallery-caption {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.gradient-1 { background: linear-gradient(135deg, #1a3a30, #2d5a4a); }
.gradient-2 { background: linear-gradient(135deg, #3a2a1a, #5a4020); }
.gradient-3 { background: linear-gradient(135deg, #1a2a3a, #2a405a); }
.gradient-4 { background: linear-gradient(135deg, #3a1a2a, #5a2a40); }
.gradient-5 { background: linear-gradient(135deg, #2a3a1a, #405a2a); }
.gradient-6 { background: linear-gradient(135deg, #2a1a3a, #402a5a); }

/* ===== 数字人档案 ===== */
.digital-human {
    background: linear-gradient(180deg, transparent, rgba(20, 30, 45, 0.4), transparent);
}

.dh-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.dh-intro p {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 2;
    color: var(--text-secondary);
}

.dh-intro strong {
    color: var(--accent-purple);
    font-size: 19px;
}

.dh-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.dh-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.dh-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
    box-shadow: 0 16px 40px var(--glow-purple);
}

.dh-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(167, 139, 250, 0.05);
}

.dh-icon {
    font-size: 32px;
}

.dh-card-header h3 {
    flex: 1;
    font-family: var(--font-serif);
    font-size: 18px;
}

.dh-badge {
    padding: 4px 10px;
    background: rgba(167, 139, 250, 0.15);
    color: var(--accent-purple);
    font-size: 11px;
    font-weight: 500;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.dh-card-body {
    padding: 20px 24px 24px;
}

.dh-list {
    list-style: none;
    margin-bottom: 16px;
}

.dh-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(167, 139, 250, 0.08);
    font-size: 14px;
}

.dh-list li:last-child {
    border-bottom: none;
}

.dh-label {
    color: var(--text-muted);
}

.dh-value {
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
}

.dh-hint {
    padding: 12px 16px;
    background: rgba(167, 139, 250, 0.08);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 给 AI 的信 */
.dh-letter {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.letter-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 24px;
}

.dh-letter h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    text-align: center;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.letter-content {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    position: relative;
}

.letter-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink), var(--accent-amber));
    border-radius: var(--radius-lg);
    opacity: 0.2;
    z-index: -1;
    animation: letterGlow 4s ease-in-out infinite;
}

@keyframes letterGlow {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.3; }
}

.letter-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 2;
    font-size: 15px;
}

.letter-signature {
    text-align: right;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted) !important;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
    line-height: 1.8 !important;
}

/* ===== 页脚 ===== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    background: rgba(10, 22, 18, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-dh-note {
    color: var(--accent-purple) !important;
    font-size: 13px !important;
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition);
}

.social-icon:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px var(--glow-green);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-gardener {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-green) !important;
    opacity: 0.7;
}

/* ===== 回到顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px var(--glow-green);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--glow-green);
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .about-grid,
    .music-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dh-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 18, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .platform-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

    .letter-content {
        padding: 28px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero-avatar {
        width: 120px;
        height: 120px;
    }

    .hero-tags {
        gap: 8px;
    }

    .tag {
        padding: 6px 14px;
        font-size: 13px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 28px;
    }

    .platform-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .platform-btn {
        padding: 12px 8px;
        font-size: 11px;
    }

    .platform-icon {
        font-size: 20px;
    }

    .dh-list li {
        flex-direction: column;
        gap: 4px;
    }

    .dh-value {
        text-align: left;
    }
}
