/* ==========================================================================
   逻辑与烟火 (Life & Logic) - Editorial Warmth & Living Light Design System
   晨昏光影、温暖烟火微尘、杂志美学排版与温润毛玻璃体系
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
    /* Color Palette - Light Mode (晨光微熹 · 暖纸与手冲琥珀) */
    --bg-primary: #FAF7F2;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-surface-elevated: #FFFFFF;
    --bg-subtle: rgba(244, 238, 230, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    
    --text-main: #24211D;
    --text-muted: #665E54;
    --text-subtle: #8C8275;
    --text-inverse: #FFFFFF;
    
    --primary: #D96B27;
    --primary-hover: #BF5616;
    --primary-light: rgba(217, 107, 39, 0.12);
    --primary-glow: rgba(217, 107, 39, 0.28);
    
    --accent-amber: #E58E26;
    --accent-blue: #365B7D;
    --accent-blue-light: rgba(54, 91, 125, 0.12);
    --accent-sage: #4E7C67;
    --accent-sage-light: rgba(78, 124, 103, 0.12);
    
    --border-light: rgba(0, 0, 0, 0.07);
    --border-medium: rgba(0, 0, 0, 0.12);
    --border-accent: rgba(217, 107, 39, 0.35);
    
    --font-serif: "Songti SC", "SimSun", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", system-ui, sans-serif;
    
    --shadow-sm: 0 4px 14px rgba(36, 33, 29, 0.05);
    --shadow-md: 0 10px 30px rgba(36, 33, 29, 0.08);
    --shadow-lg: 0 20px 50px rgba(36, 33, 29, 0.12);
    --shadow-hover: 0 22px 55px rgba(217, 107, 39, 0.18);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --max-width: 1180px;
    --header-height: 76px;
}

/* Dark Theme Variables (深夜书房 · 暖火微光与深炭墨黛) */
body[data-theme="dark"] {
    --bg-primary: #110F0D;
    --bg-surface: rgba(26, 22, 19, 0.78);
    --bg-surface-elevated: #221D18;
    --bg-subtle: rgba(32, 27, 23, 0.68);
    --bg-card-hover: rgba(40, 34, 29, 0.9);
    
    --text-main: #F7EFE6;
    --text-muted: #B6AAA0;
    --text-subtle: #82756A;
    --text-inverse: #110F0D;
    
    --primary: #FFA048;
    --primary-hover: #FFB36D;
    --primary-light: rgba(255, 160, 72, 0.18);
    --primary-glow: rgba(255, 160, 72, 0.42);
    
    --accent-amber: #F6B93B;
    --accent-blue: #78A8D6;
    --accent-blue-light: rgba(120, 168, 214, 0.18);
    --accent-sage: #7BC5AC;
    --accent-sage-light: rgba(123, 197, 172, 0.18);
    
    --border-light: rgba(255, 235, 210, 0.08);
    --border-medium: rgba(255, 160, 72, 0.18);
    --border-accent: rgba(255, 160, 72, 0.45);
    
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.75);
    --shadow-hover: 0 22px 55px rgba(255, 160, 72, 0.25);
}

/* 2. Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.75;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

/* 3. Interactive Fullscreen Particle Network Canvas */
.particle-network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.9;
}

/* Global Ambient Fluid Mesh Aurora Background */
.ambient-mesh-glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.42;
    mix-blend-mode: screen;
    pointer-events: none;
}

body[data-theme="light"] .ambient-orb {
    mix-blend-mode: multiply;
    opacity: 0.16;
}

.orb-1 {
    top: -10%;
    left: 15%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, #FF7E5F 0%, #FEB47B 50%, transparent 75%);
    animation: float-orb-1 18s ease-in-out infinite alternate;
}

.orb-2 {
    top: 35%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #667EEA 0%, #764BA2 50%, transparent 75%);
    animation: float-orb-2 22s ease-in-out infinite alternate;
}

.orb-3 {
    bottom: 5%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #D97736 0%, #FF6A00 50%, transparent 75%);
    animation: float-orb-3 16s ease-in-out infinite alternate;
}

.ambient-cursor-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.16) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .ambient-cursor-glow {
    opacity: 1;
}

/* Warm Sparks & Shockwave Generated on Click */
.warm-ember-spark,
.stardust-particle {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    animation: particle-burst 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes particle-burst {
    0% { transform: translate(0, 0) scale(1.2); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.click-shockwave {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 138, 61, 0.8);
    box-shadow: 0 0 16px rgba(255, 138, 61, 0.6);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%) scale(0);
    animation: shockwave-expand 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes shockwave-expand {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6A00, #FF8A3D, #63B3ED, #764BA2);
    background-size: 300% 300%;
    animation: gradient-shimmer 4s ease infinite;
    width: 0%;
    z-index: 1200;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--primary-glow);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.35;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 96px 0;
    position: relative;
    z-index: 2;
}

/* Shimmer Flow Text Animation */
.shimmer-text {
    background: linear-gradient(135deg, #FFA07A, #FF7B00, #FFD166, #FF6B6B, #6495ED, #FFA07A);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shimmer 6s ease-in-out infinite;
    display: inline-block;
}

.shimmer-text-brand {
    background: linear-gradient(135deg, var(--text-main), var(--primary), var(--text-main));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shimmer 8s ease infinite;
}

/* Subtitle Typing Cursor */
.typing-cursor {
    display: inline-block;
    font-weight: 700;
    color: var(--primary);
    margin-left: 2px;
    animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 3. Warm Living Glassmorphism & Card Styling */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
}

.warm-glow-card,
.neon-border-card {
    border: 1px solid rgba(255, 160, 72, 0.16);
    transition: all var(--transition-base);
}

body[data-theme="light"] .warm-glow-card,
body[data-theme="light"] .neon-border-card {
    border: 1px solid rgba(217, 107, 39, 0.12);
}

.warm-glow-card:hover,
.neon-border-card:hover {
    border-color: rgba(255, 160, 72, 0.55);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(255, 160, 72, 0.15);
}

body[data-theme="light"] .warm-glow-card:hover,
body[data-theme="light"] .neon-border-card:hover {
    border-color: rgba(217, 107, 39, 0.35);
    box-shadow: 0 16px 40px rgba(217, 107, 39, 0.12);
}

.glass-pill {
    background: rgba(255, 235, 210, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 235, 210, 0.14);
    border-radius: var(--radius-full);
}

body[data-theme="light"] .glass-pill {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-main);
}

/* Sunlight Sheen Sweep on Hover (晨光掠影) */
.sun-sheen-bar,
.laser-shine-bar {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 235, 200, 0.22), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 4;
    transition: all 0.75s ease;
}

.spotlight-card:hover .sun-sheen-bar,
.hero-main-photo-card:hover .sun-sheen-bar,
.spotlight-card:hover .laser-shine-bar,
.hero-main-photo-card:hover .laser-shine-bar {
    left: 180%;
}

/* 4. Floating Island Navbar */
.site-header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.header-floating-pill {
    pointer-events: auto;
    width: 95%;
    max-width: 1060px;
    height: 58px;
    background: rgba(16, 20, 29, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: all var(--transition-base);
}

body[data-theme="light"] .header-floating-pill {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 16px 36px rgba(35, 40, 45, 0.09);
}

.header-floating-pill:hover {
    border-color: var(--border-accent);
    box-shadow: 0 20px 48px var(--primary-glow);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo-icon {
    font-size: 1.3rem;
    animation: gentle-sparkle 3s ease-in-out infinite;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link.active {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sound Equalizer Button */
.sound-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-medium);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sound-equalizer-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.bar-line {
    width: 3px;
    background: var(--text-muted);
    border-radius: 2px;
    height: 4px;
    transition: height 0.2s ease, background 0.2s ease;
}

.sound-toggle-btn.active .bar-line {
    background: var(--primary);
    animation: eq-bounce 0.8s ease-in-out infinite alternate;
}

.sound-toggle-btn.active .b1 { animation-delay: 0.1s; height: 12px; }
.sound-toggle-btn.active .b2 { animation-delay: 0.3s; height: 14px; }
.sound-toggle-btn.active .b3 { animation-delay: 0.2s; height: 8px; }

.sound-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.sound-toggle-btn.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    transform: rotate(15deg) scale(1.08);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

body[data-theme="light"] .dark-icon { display: none; }
body[data-theme="light"] .light-icon { display: inline-block; }
body[data-theme="dark"] .light-icon { display: none; }
body[data-theme="dark"] .dark-icon { display: inline-block; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* 5. Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 72px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 22px;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.7);
    animation: pulse-ring 2s infinite;
}

.spark-icon {
    font-size: 0.9rem;
    animation: gentle-sparkle 2s infinite;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 22px;
    min-height: 40px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    padding: 18px 24px;
    flex-wrap: wrap;
}

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

.stat-num-wrap {
    display: flex;
    align-items: baseline;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.1;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

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

.stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border-medium);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #FFA048, #D96B27);
    color: #FFFFFF;
    box-shadow: 0 6px 20px var(--primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #E57A33, #C45717);
    box-shadow: 0 6px 20px rgba(217, 107, 39, 0.28);
}

.btn-glow-warm::after,
.btn-glow-laser::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(30deg);
    animation: btn-shine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btn-shine {
    0%, 20% { left: -60%; }
    50%, 100% { left: 140%; }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px var(--primary-glow);
    color: #FFFFFF;
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 24px var(--shadow-sm);
}

.btn-text {
    background: transparent;
    color: var(--text-muted);
    padding: 12px 16px;
}

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

/* 3D Tilt Hero Visual Card Stack */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.visual-photo-wrapper {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-main-photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.hero-main-photo-card:hover .hero-img {
    transform: scale(1.04);
}

.hero-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10, 13, 20, 0.88) 40%, rgba(10, 13, 20, 0.98) 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-img-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-img-meta .glass-pill {
    padding: 3px 10px;
}

.hero-quote-box {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.card-head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.warm-tag,
.neon-tag {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.btn-refresh-quote {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-refresh-quote:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.08) rotate(180deg);
}

.card-quote {
    font-family: var(--font-serif);
    font-size: 0.98rem;
    line-height: 1.65;
    color: #F7FAFC;
    margin-bottom: 12px;
    font-style: italic;
    min-height: 48px;
    transition: opacity 0.2s ease;
}

.card-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.date-badge {
    background: linear-gradient(135deg, #FF8A3D, #D97736);
    color: #FFFFFF;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 138, 61, 0.4);
}

/* Floating 3D Micro Cards */
.visual-floating-card {
    position: absolute;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    transform: translateZ(30px);
}

.floating-card-1 {
    top: -20px;
    right: -18px;
    animation: float-slow 4s ease-in-out infinite;
}

.floating-card-2 {
    bottom: -20px;
    left: -18px;
    animation: float-slow 5s ease-in-out infinite reverse;
}

.visual-floating-card:hover {
    transform: translateZ(50px) scale(1.06);
}

.thumb-img {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.floating-text strong {
    font-size: 0.88rem;
    color: var(--text-main);
}

.floating-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.badge-mini-spark {
    font-size: 1.1rem;
    margin-left: 4px;
}

/* 6. Daily Life Mood Bar & Ambient Audio Visualizer */
.life-mood-bar {
    padding: 20px 0;
}

.mood-bar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.mood-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
}

.mood-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mood-icon {
    font-size: 1.6rem;
}

.mood-detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mood-detail .label {
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.mood-detail .value {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Mini Vinyl Record Widget */
.mini-vinyl-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.mini-vinyl-record {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, #2D3748 0%, #1A202C 40%, #11141A 100%);
    border: 2px solid #4A5568;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin-vinyl 4s linear infinite;
    animation-play-state: paused;
}

.vinyl-center {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #FFFFFF;
}

.audio-visualizer-canvas {
    width: 100%;
    height: 22px;
    margin-top: 4px;
    border-radius: 4px;
}

/* 7. Section Header Shared */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 14px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* 8. Articles Section (6 Articles with 3D Tilt & Mouse Spotlight) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 32px;
}

.spotlight-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card-spotlight-glare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 138, 61, 0.22), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.spotlight-card:hover .card-spotlight-glare {
    opacity: 1;
}

.article-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.article-cover {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.article-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-cover-img {
    transform: scale(1.08);
}

.article-category {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 12px;
    z-index: 3;
    color: #FFFFFF;
}

.read-time {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.74rem;
    padding: 4px 10px;
    z-index: 3;
    color: #FFFFFF;
}

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    font-size: 0.82rem;
    color: var(--text-subtle);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.45;
    transition: color var(--transition-fast);
}

.article-card:hover .article-title {
    color: var(--primary);
}

.article-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.read-more-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-fast);
}

.article-card:hover .read-more-link .arrow {
    transform: translateX(4px);
}

.card-heart-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--text-subtle);
    transition: transform var(--transition-fast);
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.card-heart-btn:hover {
    transform: scale(1.18);
    color: #FF4757;
}

/* 9. Gallery Section (12 Curated Photo Moments) */
.gallery-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #FF7B00, #D97736);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 6px 18px var(--primary-glow);
    transform: translateY(-2px);
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 28px;
}

.moment-card {
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.moment-card.hide {
    display: none;
}

.moment-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.moment-img-wrapper {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #1A202C;
}

.moment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.moment-card:hover .moment-img {
    transform: scale(1.1);
}

.moment-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    z-index: 3;
    color: #FFFFFF;
}

.moment-zoom-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.72rem;
    padding: 4px 10px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all var(--transition-fast);
    z-index: 3;
    color: #FFFFFF;
}

.moment-card:hover .moment-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.moment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 16px 14px 16px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10, 13, 20, 0.88) 100%);
    color: #FFFFFF;
    z-index: 3;
}

.moment-overlay h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.moment-overlay span {
    font-size: 0.78rem;
    opacity: 0.85;
}

.moment-caption {
    padding: 18px 16px;
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

/* 10. Sticky Notes Wall */
.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.glass-note {
    border-radius: var(--radius-md);
    padding: 26px 22px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    backdrop-filter: blur(12px);
}

.glass-note:hover {
    transform: translateY(-8px) scale(1.02) rotate(0deg) !important;
}

.glass-note:nth-child(1) { transform: rotate(-1.5deg); }
.glass-note:nth-child(2) { transform: rotate(1deg); }
.glass-note:nth-child(3) { transform: rotate(-1deg); }
.glass-note:nth-child(4) { transform: rotate(1.5deg); }

.note-yellow { background: rgba(254, 240, 138, 0.15); color: #FEF08A; border: 1px solid rgba(254, 240, 138, 0.35); }
.note-pink   { background: rgba(251, 207, 232, 0.15); color: #FBCFE8; border: 1px solid rgba(251, 207, 232, 0.35); }
.note-green  { background: rgba(187, 247, 208, 0.15); color: #BBF7D0; border: 1px solid rgba(187, 247, 208, 0.35); }
.note-blue   { background: rgba(186, 230, 253, 0.15); color: #BAE6FD; border: 1px solid rgba(186, 230, 253, 0.35); }

body[data-theme="light"] .note-yellow { background: rgba(254, 249, 195, 0.9); color: #713F12; }
body[data-theme="light"] .note-pink   { background: rgba(252, 231, 243, 0.9); color: #831843; }
body[data-theme="light"] .note-green  { background: rgba(220, 252, 231, 0.9); color: #14532D; }
body[data-theme="light"] .note-blue   { background: rgba(224, 242, 254, 0.9); color: #0C4A6E; }

.pin {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
}

.note-time {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.85;
    margin-bottom: 10px;
}

.note-text {
    font-family: var(--font-serif);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.note-tag {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
    align-self: flex-end;
}

/* 11. Bookshelf & Lifestyle Routines */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 32px;
}

.life-card {
    padding: 30px;
}

.life-card .card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.life-card .card-head .icon {
    font-size: 1.6rem;
}

.life-card .card-head h3 {
    font-size: 1.25rem;
    color: var(--text-main);
}

.books-showcase {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.glass-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.glass-item:hover {
    transform: translateX(6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-sm);
}

.book-cover-img {
    width: 62px;
    height: 86px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: -4px 6px 14px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.glass-item:hover .book-cover-img {
    transform: rotate(-3deg) scale(1.05);
}

.book-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.book-title {
    font-family: var(--font-serif);
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-main);
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
}

.badge-reading  { background: rgba(254, 240, 138, 0.25); color: #FEF08A; }
.badge-finished { background: rgba(187, 247, 208, 0.25); color: #BBF7D0; }
.badge-done     { background: rgba(186, 230, 253, 0.25); color: #BAE6FD; }

body[data-theme="light"] .badge-reading  { background: #FEF08A; color: #854D0E; }
body[data-theme="light"] .badge-finished { background: #DCFCE7; color: #166534; }
body[data-theme="light"] .badge-done     { background: #E0F2FE; color: #075985; }

.book-author {
    font-size: 0.78rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.book-quote {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 6px;
}

.book-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF7B00, #63B3ED);
    border-radius: var(--radius-full);
}

.habit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.habit-tags li {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.habit-tags li:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.card-highlight {
    border: 1px solid var(--border-accent);
}

.credo-content {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--text-main);
    font-style: italic;
}

.credo-quote-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-style: normal;
    color: var(--primary);
    font-weight: 600;
}

.credo-line {
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

/* 12. Timeline Section */
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 36px;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), #63B3ED, transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.glow-dot {
    position: absolute;
    top: 8px;
    left: -30px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 12px var(--primary);
    animation: pulse-ring 2.5s infinite;
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-card {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.timeline-card-content {
    flex-grow: 1;
}

.timeline-card h4 {
    font-size: 1.08rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.timeline-thumb {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 13. About Section & Profile */
.about-card {
    padding: 48px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: center;
}

.about-title {
    font-size: 2.3rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.about-text .paragraph {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 16px;
}

.compliance-box {
    margin-top: 28px;
    padding: 20px 22px;
    border-left: 4px solid var(--primary);
}

.compliance-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.compliance-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.profile-card {
    text-align: center;
    padding: 36px 28px;
}

.avatar-wrapper {
    width: 108px;
    height: 108px;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #FF8A3D, #FFD166, #63B3ED);
    box-shadow: 0 0 24px var(--primary-glow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
}

.avatar-wrapper:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 0 36px var(--primary-glow);
}

.avatar-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.profile-name {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.profile-badges .badge {
    font-size: 0.75rem;
    padding: 4px 12px;
}

.profile-quote {
    font-family: var(--font-serif);
    font-size: 0.88rem;
    color: var(--primary);
    font-style: italic;
}

/* 14. Lightbox Photo Viewer Modal */
.lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    width: 100%;
    max-width: 980px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    animation: zoom-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-light);
}

.lightbox-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 12px;
    border-radius: var(--radius-full);
}

.lightbox-title-top {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
}

.lightbox-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-main);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.1);
}

.lightbox-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 360px;
}

.lightbox-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 58vh;
    width: 100%;
}

.lightbox-main-img {
    max-height: 58vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 6;
}

.lightbox-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.12);
}

.prev-btn { left: 18px; }
.next-btn { right: 18px; }

.lightbox-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--border-light);
}

.lightbox-caption-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.lightbox-meta-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 15. Article Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 10, 15, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 24px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 100%;
    max-width: 780px;
    max-height: 88vh;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    position: relative;
    padding: 40px 44px;
    animation: zoom-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-medium);
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.1);
}

.modal-article-banner-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.modal-article-content h2 {
    font-size: 1.85rem;
    margin-bottom: 12px;
    line-height: 1.35;
}

.modal-article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.85rem;
    color: var(--text-subtle);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.modal-article-content p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text-main);
    margin-bottom: 18px;
}

.modal-article-content blockquote {
    padding: 18px 22px;
    margin: 24px 0;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-main);
    font-style: italic;
}

/* 16. Footer & ICP Compliance */
.site-footer {
    background: rgba(10, 13, 19, 0.95);
    color: #F0F4F8;
    padding: 64px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .brand-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.footer-brand .brand-desc {
    font-size: 0.92rem;
    color: #A0AEC0;
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 480px;
}

.brand-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-tags span {
    font-size: 0.78rem;
    padding: 4px 12px;
    color: var(--primary);
}

.footer-links {
    display: flex;
    justify-content: space-around;
    gap: 24px;
}

.link-group h4 {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    font-size: 0.88rem;
    color: #A0AEC0;
    transition: color var(--transition-fast);
}

.link-group ul li a:hover {
    color: var(--primary);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-info p {
    font-size: 0.85rem;
    color: #A0AEC0;
}

.sub-disclaimer {
    font-size: 0.78rem;
    color: #718096;
    margin-top: 4px;
}

.icp-compliance-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.icp-item, .gongan-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #A0AEC0;
}

.icp-link {
    color: #F0F4F8;
    text-decoration: underline;
    font-weight: 500;
}

.icp-link:hover {
    color: var(--primary);
}

.gongan-link {
    color: #A0AEC0;
}

.gongan-link:hover {
    color: var(--primary);
}

/* 17. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base);
    z-index: 999;
    backdrop-filter: blur(12px);
}

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

.back-to-top:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 24px var(--primary-glow);
}

/* 18. Keyframe Animations */
@keyframes gradient-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float-orb-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes float-orb-2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-70px, -50px) scale(0.95); }
}

@keyframes float-orb-3 {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(60px, -60px) scale(1.1); }
}

@keyframes gentle-sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2) rotate(10deg); opacity: 0.85; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 138, 61, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 138, 61, 0); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes zoom-in {
    from { opacity: 0; transform: scale(0.93); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin-vinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes eq-bounce {
    0% { height: 3px; }
    100% { height: 14px; }
}

/* 19. Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-links {
        justify-content: flex-start;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 8px;
    }
    .header-floating-pill {
        border-radius: var(--radius-lg);
        height: 52px;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 66px;
        left: 16px;
        right: 16px;
        background: rgba(16, 20, 29, 0.96);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        display: none;
    }
    body[data-theme="light"] .main-nav {
        background: rgba(255, 255, 255, 0.96);
    }
    .main-nav.open {
        display: block;
    }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .articles-grid, .moments-grid, .lifestyle-grid {
        grid-template-columns: 1fr;
    }
    .about-card {
        padding: 24px;
    }
    .modal-container {
        padding: 24px 20px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ==========================================================================
   21. jQuery Dynamic Features (Custom Cursor, Toasts, Magnetic Physics)
   ========================================================================== */

/* 全局毛玻璃 Toast 弹窗 */
.toast-notification-container {
    position: fixed;
    top: 86px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-msg {
    pointer-events: auto;
    padding: 12px 22px;
    background: rgba(18, 23, 34, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 138, 61, 0.45);
    border-radius: var(--radius-md);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #F0F4F8;
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    position: relative;
    overflow: hidden;
}

body[data-theme="light"] .toast-msg {
    background: rgba(255, 255, 255, 0.95);
    color: #1D2129;
    border-color: var(--primary);
    box-shadow: 0 14px 32px rgba(29, 33, 41, 0.15);
}

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

.toast-icon {
    font-size: 1.25rem;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #FF7B00, #63B3ED);
    width: 100%;
    animation: toast-timer 3s linear forwards;
}

@keyframes toast-timer {
    from { width: 100%; }
    to { width: 0%; }
}

/* 便签纸弹性互动 */
.glass-note {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: grab;
}

.glass-note:active {
    cursor: grabbing;
}

/* ==========================================================================
   22. Next-Gen 3D WebGL Living Embers & Warm Sunlight Design
   ========================================================================== */

/* Three.js WebGL 3D 晨昏光影与温暖微尘画布 */
.webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.95;
    transition: opacity var(--transition-smooth);
}

/* 温润丝光反光层 (Warm Silk Sheen Layer) */
.warm-sheen-layer,
.holo-foil-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--holo-x, 50%) var(--holo-y, 50%), 
        rgba(255, 210, 160, 0.16) 0%, 
        rgba(255, 160, 72, 0.08) 35%, 
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 4;
}

body[data-theme="light"] .warm-sheen-layer,
body[data-theme="light"] .holo-foil-layer {
    background: radial-gradient(circle at var(--holo-x, 50%) var(--holo-y, 50%), 
        rgba(255, 230, 200, 0.4) 0%, 
        rgba(217, 107, 39, 0.08) 40%, 
        transparent 75%
    );
}

.spotlight-card:hover .warm-sheen-layer,
.hero-main-photo-card:hover .warm-sheen-layer,
.spotlight-card:hover .holo-foil-layer,
.hero-main-photo-card:hover .holo-foil-layer {
    opacity: 1;
}

/* 温暖余烬微光火花粒子 (Warm Living Ember Spark) */
.warm-ember-spark,
.supernova-spark {
    position: fixed;
    pointer-events: none;
    border-radius: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

/* 温润光晕卡片增强 */
.warm-glow-card {
    position: relative;
    border: 1px solid rgba(255, 160, 72, 0.16);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    background: var(--bg-surface);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

body[data-theme="light"] .warm-glow-card {
    border: 1px solid rgba(217, 107, 39, 0.1);
    box-shadow: 0 8px 24px rgba(36, 33, 29, 0.06);
}

.warm-glow-card:hover {
    border-color: rgba(255, 160, 72, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255, 160, 72, 0.2);
}

body[data-theme="light"] .warm-glow-card:hover {
    border-color: rgba(217, 107, 39, 0.35);
    box-shadow: 0 18px 45px rgba(217, 107, 39, 0.14);
}

/* ==========================================================================
   23. Warm Lifestyle & Living Light Atmosphere (晨昏生活美学光晕)
   ========================================================================== */

/* 晨昏与温暖烟火光晕球 */
.orb-1 {
    top: -10%;
    left: 10%;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(255, 140, 50, 0.25) 0%, rgba(217, 107, 39, 0.12) 50%, transparent 75%);
    animation: float-orb-1 20s ease-in-out infinite alternate;
}

body[data-theme="light"] .orb-1 {
    background: radial-gradient(circle, rgba(255, 180, 110, 0.28) 0%, rgba(255, 230, 200, 0.15) 50%, transparent 75%);
}

.orb-2 {
    top: 30%;
    right: -10%;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(246, 185, 59, 0.2) 0%, rgba(229, 142, 38, 0.08) 50%, transparent 75%);
    animation: float-orb-2 24s ease-in-out infinite alternate;
}

body[data-theme="light"] .orb-2 {
    background: radial-gradient(circle, rgba(255, 215, 150, 0.25) 0%, rgba(255, 240, 220, 0.12) 50%, transparent 75%);
}

.orb-3 {
    bottom: 5%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 197, 172, 0.16) 0%, rgba(78, 124, 103, 0.06) 50%, transparent 75%);
    animation: float-orb-3 18s ease-in-out infinite alternate;
}

body[data-theme="light"] .orb-3 {
    background: radial-gradient(circle, rgba(160, 215, 195, 0.2) 0%, rgba(240, 250, 245, 0.1) 50%, transparent 75%);
}

/* 暖金流光渐变字体 */
.shimmer-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFA048 30%, #FFEAA7 55%, #FF7B00 80%, #FFA048 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shimmer 7s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 12px rgba(255, 160, 72, 0.35));
}

body[data-theme="light"] .shimmer-text {
    background: linear-gradient(135deg, #24211D 0%, #D96B27 35%, #C25616 65%, #24211D 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: none;
}

.shimmer-text-brand {
    background: linear-gradient(135deg, #FFFFFF, #FFA048, #FFD166, #FFFFFF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shimmer 8s ease infinite;
}

body[data-theme="light"] .shimmer-text-brand {
    background: linear-gradient(135deg, #24211D, #D96B27, #8C4010, #24211D);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 状态徽章温润光感 */
.hero-badge,
.warm-badge {
    background: rgba(255, 160, 72, 0.12);
    border: 1px solid rgba(255, 160, 72, 0.35);
    color: var(--primary);
    box-shadow: 0 0 16px rgba(255, 160, 72, 0.18);
}

body[data-theme="light"] .hero-badge,
body[data-theme="light"] .warm-badge {
    background: rgba(217, 107, 39, 0.08);
    border: 1px solid rgba(217, 107, 39, 0.22);
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(217, 107, 39, 0.1);
}

.pulse-dot {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}



/* 点击温润金光涟漪 */
.warm-click-ripple,
.click-shockwave {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.2);
    border: 1.5px solid rgba(255, 180, 90, 0.75);
    box-shadow: 0 0 16px rgba(255, 160, 72, 0.5), 0 0 30px rgba(246, 185, 59, 0.25);
    animation: warm-ripple-expand 0.55s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 9999;
}

body[data-theme="light"] .warm-click-ripple,
body[data-theme="light"] .click-shockwave {
    border: 1.5px solid rgba(217, 107, 39, 0.6);
    box-shadow: 0 0 14px rgba(217, 107, 39, 0.3);
}

@keyframes warm-ripple-expand {
    0% {
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.4);
        opacity: 0;
    }
}
