:root {
  --qinghua-50: #f0f7ff;
  --qinghua-100: #e0f0ff;
  --qinghua-200: #b8e0ff;
  --qinghua-300: #7cc4ff;
  --qinghua-400: #36a3ff;
  --qinghua-500: #0d82e6;
  --qinghua-600: #0068c9;
  --qinghua-700: #0054a3;
  --qinghua-800: #044687;
  --qinghua-900: #073b70;
  --cream: #faf8f5;
  --ivory: #fffef9;
  --text-primary: #2c3e50;
  --text-secondary: #666;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 25px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 45px rgba(13, 130, 230, 0.15);
  
  --bg-gradient-history: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 50%, #f0f7ff 100%);
  --bg-gradient-craft: linear-gradient(135deg, #faf5f0 0%, #f5efe6 50%, #f8f4ee 100%);
  --bg-gradient-development: linear-gradient(135deg, #f0f8ff 0%, #e6f4ff 50%, #f5fbff 100%);
  --bg-gradient-museum: linear-gradient(135deg, #fefdfb 0%, #f8f6f3 50%, #faf9f7 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans SC', sans-serif; background: var(--ivory); color: var(--text-primary); line-height: 1.6; }
body.page-history { background: var(--bg-gradient-history); }
body.page-craft { background: var(--bg-gradient-craft); }
body.page-development { background: var(--bg-gradient-development); }
body.page-museum { background: var(--bg-gradient-museum); }

.page-bg-decoration { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.page-bg-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(13, 130, 230, 0.06); }
.page-bg-circle.large { width: 500px; height: 500px; opacity: 0.5; }
.page-bg-circle.medium { width: 300px; height: 300px; opacity: 0.4; }
.page-bg-circle.small { width: 150px; height: 150px; opacity: 0.3; }
.page-bg-dot { position: absolute; width: 4px; height: 4px; background: rgba(13, 130, 230, 0.1); border-radius: 50%; }

.page-history .page-bg-circle:nth-child(1) { top: -100px; right: -50px; background: radial-gradient(circle, rgba(13, 130, 230, 0.03) 0%, transparent 70%); }
.page-history .page-bg-circle:nth-child(2) { bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(13, 130, 230, 0.02) 0%, transparent 70%); }
.page-history .page-bg-circle:nth-child(3) { top: 40%; left: 10%; background: radial-gradient(circle, rgba(13, 130, 230, 0.02) 0%, transparent 70%); }

.page-craft .page-bg-circle:nth-child(1) { top: -120px; left: -80px; background: radial-gradient(circle, rgba(200, 150, 100, 0.03) 0%, transparent 70%); border-color: rgba(200, 150, 100, 0.06); }
.page-craft .page-bg-circle:nth-child(2) { bottom: -100px; right: -60px; background: radial-gradient(circle, rgba(200, 150, 100, 0.02) 0%, transparent 70%); border-color: rgba(200, 150, 100, 0.06); }
.page-craft .page-bg-circle:nth-child(3) { top: 30%; right: 15%; background: radial-gradient(circle, rgba(200, 150, 100, 0.02) 0%, transparent 70%); border-color: rgba(200, 150, 100, 0.06); }

.page-development .page-bg-circle:nth-child(1) { top: -80px; right: -100px; background: radial-gradient(circle, rgba(13, 130, 230, 0.04) 0%, transparent 70%); }
.page-development .page-bg-circle:nth-child(2) { bottom: -120px; left: -80px; background: radial-gradient(circle, rgba(13, 130, 230, 0.02) 0%, transparent 70%); }
.page-development .page-bg-circle:nth-child(3) { top: 50%; right: 5%; background: radial-gradient(circle, rgba(13, 130, 230, 0.03) 0%, transparent 70%); }

.page-museum .page-bg-circle:nth-child(1) { top: -150px; left: -120px; background: radial-gradient(circle, rgba(100, 100, 100, 0.02) 0%, transparent 70%); border-color: rgba(100, 100, 100, 0.04); }
.page-museum .page-bg-circle:nth-child(2) { bottom: -100px; right: -80px; background: radial-gradient(circle, rgba(100, 100, 100, 0.02) 0%, transparent 70%); border-color: rgba(100, 100, 100, 0.04); }
.page-museum .page-bg-circle:nth-child(3) { top: 20%; right: 20%; background: radial-gradient(circle, rgba(100, 100, 100, 0.02) 0%, transparent 70%); border-color: rgba(100, 100, 100, 0.04); }
.font-song { font-family: 'Noto Serif SC', 'SimSun', serif; }
::selection { background: var(--qinghua-100); color: var(--qinghua-800); }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
nav.scrolled { background: rgba(255, 254, 249, 0.98); backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.nav-logo .logo-circle { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--qinghua-500), var(--qinghua-700)); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(13, 130, 230, 0.3); }
.nav-logo-text { font-family: 'Noto Serif SC'; font-size: 1.35rem; font-weight: 600; letter-spacing: 1px; }
nav.scrolled .nav-logo-text { color: var(--qinghua-800); }
nav:not(.scrolled) .nav-logo-text { color: #fff; }
.nav-links { display: none; gap: 1.5rem; }
.nav-links a { text-decoration: none; font-size: 0.95rem; font-weight: 400; padding: 8px 16px; border-radius: 8px; transition: all 0.3s ease; }
nav.scrolled .nav-links a { color: #555; }
nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.9); }
.nav-links a:hover, .nav-links a.active { background: var(--qinghua-500); color: #fff; }
.mobile-menu-btn { display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer; }
.mobile-menu-btn span { width: 26px; height: 2px; background: #fff; transition: all 0.3s ease; }
nav.scrolled .mobile-menu-btn span { background: #555; }
.mobile-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--ivory); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); padding: 1.5rem; flex-direction: column; gap: 0.5rem; }
.mobile-menu a { text-decoration: none; color: #555; padding: 12px 20px; border-radius: 8px; transition: all 0.3s ease; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--qinghua-50); color: var(--qinghua-700); }

.hero { min-height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7, 59, 112, 0.8) 0%, rgba(13, 130, 230, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 2rem; max-width: 900px; }
.hero-content .subtitle { font-size: 1rem; color: var(--qinghua-200); letter-spacing: 0.3em; margin-bottom: 1rem; text-transform: uppercase; }
.hero-content h1 { font-family: 'Noto Serif SC'; font-size: 3.5rem; font-weight: 700; color: #fff; margin-bottom: 1rem; text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3); }
.hero-content h2 { font-family: 'Noto Serif SC'; font-size: 1.75rem; color: var(--qinghua-100); font-weight: 400; margin-bottom: 2.5rem; }
.hero-content p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto 3rem; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn { padding: 16px 32px; font-size: 1rem; font-weight: 500; border: none; border-radius: 12px; cursor: pointer; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); min-height: 52px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--qinghua-500), var(--qinghua-700)); color: #fff; box-shadow: 0 8px 25px rgba(13, 130, 230, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(13, 130, 230, 0.5); }
.btn-secondary { background: rgba(255, 255, 255, 0.15); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.25); }
.btn-outline { background: transparent; color: var(--qinghua-700); border: 2px solid var(--qinghua-500); }
.btn-outline:hover { background: var(--qinghua-500); color: #fff; }
.hero-scroll { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; cursor: pointer; }
.hero-scroll svg { width: 32px; height: 32px; fill: rgba(255, 255, 255, 0.7); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

.section { padding: 6rem 2rem; }
.section-light { background: var(--ivory); }
.section-cream { background: var(--cream); }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title .label { font-size: 0.9rem; color: var(--qinghua-500); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title h2 { font-family: 'Noto Serif SC'; font-size: 2.5rem; font-weight: 600; color: var(--qinghua-800); margin-bottom: 1.5rem; }
.section-title p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(13, 130, 230, 0.08); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-image { height: 160px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-icon { width: 70px; height: 70px; border-radius: 20px; background: linear-gradient(135deg, var(--qinghua-50), var(--qinghua-100)); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.card-image + .card-icon { margin: -35px 0 1.5rem 1.5rem; position: relative; z-index: 1; box-shadow: 0 4px 15px rgba(13, 130, 230, 0.2); }
.card-icon svg { width: 36px; height: 36px; color: var(--qinghua-600); }
.card h3 { font-family: 'Noto Serif SC'; font-size: 1.35rem; font-weight: 600; color: var(--qinghua-800); margin-bottom: 1rem; padding: 0 1.5rem; }
.card p { color: var(--text-secondary); line-height: 1.7; padding: 0 1.5rem 1.5rem; }

.features { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.feature-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(13, 130, 230, 0.08); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-image { height: 180px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-icon { width: 70px; height: 70px; border-radius: 20px; background: linear-gradient(135deg, var(--qinghua-50), var(--qinghua-100)); display: flex; align-items: center; justify-content: center; margin: -35px 0 1.5rem 1.5rem; position: relative; z-index: 1; box-shadow: 0 4px 15px rgba(13, 130, 230, 0.2); }
.feature-icon svg { width: 36px; height: 36px; color: var(--qinghua-600); }
.feature-card h3 { font-family: 'Noto Serif SC'; font-size: 1.35rem; font-weight: 600; color: var(--qinghua-800); margin-bottom: 1rem; padding: 0 1.5rem; }
.feature-card p { color: var(--text-secondary); line-height: 1.7; padding: 0 1.5rem 1.5rem; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--qinghua-200), var(--qinghua-300), var(--qinghua-200)); transform: translateX(-50%); }
.timeline-item { position: relative; margin-bottom: 5rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item:nth-child(odd) .timeline-content { margin-right: calc(50% + 3rem); text-align: right; }
.timeline-item:nth-child(even) .timeline-content { margin-left: calc(50% + 3rem); }
.timeline-dot { position: absolute; left: 50%; top: 1.5rem; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--qinghua-500), var(--qinghua-700)); transform: translateX(-50%); z-index: 2; box-shadow: 0 4px 15px rgba(13, 130, 230, 0.4); }
.timeline-content { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: var(--shadow-md); transition: all 0.4s ease; cursor: pointer; }
.timeline-content:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(13, 130, 230, 0.1); }
.timeline-content img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; margin-bottom: 1.25rem; }
.timeline-year { display: inline-block; padding: 6px 16px; background: linear-gradient(135deg, var(--qinghua-50), var(--qinghua-100)); color: var(--qinghua-700); border-radius: 20px; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.75rem; }
.timeline-title { font-family: 'Noto Serif SC'; font-size: 1.3rem; font-weight: 600; color: var(--qinghua-800); margin-bottom: 0.75rem; }
.timeline-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

.craft-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.craft-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); transition: all 0.4s ease; cursor: pointer; }
.craft-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.craft-image { height: 250px; overflow: hidden; }
.craft-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.craft-card:hover .craft-image img { transform: scale(1.05); }
.craft-content { padding: 2rem; }
.craft-category { font-size: 0.85rem; color: var(--qinghua-500); margin-bottom: 0.75rem; }
.craft-title { font-family: 'Noto Serif SC'; font-size: 1.4rem; font-weight: 600; color: var(--qinghua-800); margin-bottom: 1rem; }
.craft-desc { color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.craft-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.craft-tag { padding: 6px 14px; background: var(--qinghua-50); color: var(--qinghua-700); border-radius: 12px; font-size: 0.85rem; }

.chart-section { background: #fff; border-radius: 24px; padding: 3rem; box-shadow: var(--shadow-md); }
.chart-header { text-align: center; margin-bottom: 2.5rem; }
.chart-header h3 { font-family: 'Noto Serif SC'; font-size: 1.5rem; font-weight: 600; color: var(--qinghua-800); }
.chart-container { height: 400px; }

.museum-showcase { background: linear-gradient(135deg, var(--qinghua-900), var(--qinghua-800)); border-radius: 32px; overflow: hidden; padding: 3rem 2rem; }
.museum-content { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.museum-text h2 { font-family: 'Noto Serif SC'; font-size: 2rem; font-weight: 600; color: #fff; margin-bottom: 1.5rem; }
.museum-text p { color: rgba(255, 255, 255, 0.8); line-height: 1.8; margin-bottom: 2rem; }
.museum-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.museum-feature { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); padding: 1.5rem; border-radius: 16px; text-align: center; }
.museum-feature h4 { color: #fff; font-weight: 600; margin-bottom: 0.5rem; }
.museum-feature p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.museum-image img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; }

.exhibition-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.exhibition-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.4s ease; cursor: pointer; }
.exhibition-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(13, 130, 230, 0.12); }
.exhibition-image { height: 200px; overflow: hidden; }
.exhibition-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.exhibition-card:hover .exhibition-image img { transform: scale(1.04); }
.exhibition-info { padding: 1.75rem; }
.exhibition-period { display: inline-block; padding: 5px 12px; background: var(--qinghua-50); color: var(--qinghua-700); border-radius: 12px; font-size: 0.8rem; margin-bottom: 0.75rem; }
.exhibition-title { font-family: 'Noto Serif SC'; font-size: 1.15rem; font-weight: 600; color: var(--qinghua-800); margin-bottom: 0.5rem; }
.exhibition-desc { color: var(--text-secondary); font-size: 0.9rem; }

footer { background: var(--qinghua-900); color: #fff; padding: 4rem 2rem; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }
.footer-brand .logo-circle { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; }
.footer-brand-text { font-family: 'Noto Serif SC'; font-size: 1.35rem; font-weight: 600; }
.footer-about p { color: var(--qinghua-200); line-height: 1.7; margin-bottom: 2rem; }
.footer-links h4, .footer-social h4 { font-family: 'Noto Serif SC'; font-size: 1.1rem; font-weight: 600; margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--qinghua-200); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: #fff; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.social-icons a:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.social-icons svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 3rem; padding-top: 2rem; text-align: center; color: var(--qinghua-300); font-size: 0.9rem; }

.breadcrumb { padding: 1rem 2rem; background: var(--cream); border-bottom: 1px solid rgba(13, 130, 230, 0.1); }
.breadcrumb-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.breadcrumb a { color: var(--qinghua-600); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-secondary); }

.detail-header { padding: 4rem 2rem; text-align: center; }
.detail-header h1 { font-family: 'Noto Serif SC'; font-size: 2.5rem; color: var(--qinghua-800); margin-bottom: 1rem; }
.detail-header p { color: var(--text-secondary); font-size: 1.1rem; }

.detail-content { max-width: 900px; margin: 0 auto; padding: 0 2rem 6rem; }
.detail-content img { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; margin-bottom: 2rem; }
.detail-content h2 { font-family: 'Noto Serif SC'; font-size: 1.8rem; color: var(--qinghua-800); margin: 2.5rem 0 1.5rem; }
.detail-content h3 { font-family: 'Noto Serif SC'; font-size: 1.4rem; color: var(--qinghua-700); margin: 2rem 0 1rem; }
.detail-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.detail-content ul { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.detail-content ul li { padding: 10px 0; border-bottom: 1px solid rgba(13, 130, 230, 0.1); color: var(--text-secondary); }
.detail-content ul li::before { content: '●'; color: var(--qinghua-500); margin-right: 10px; }

.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--qinghua-600); text-decoration: none; font-weight: 500; margin-top: 2rem; transition: all 0.3s ease; }
.back-link:hover { color: var(--qinghua-700); gap: 12px; }

.card-link { text-decoration: none; color: inherit; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
  .mobile-menu { display: none !important; }
  .hero-content h1 { font-size: 4.5rem; }
  .hero-content h2 { font-size: 2.25rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline-content img { height: 150px; }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .museum-content { grid-template-columns: 1fr 1fr; align-items: center; }
  .museum-image img { height: 100%; }
  .exhibition-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-content { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content h2 { font-size: 1.4rem; }
  .section-title h2 { font-size: 1.8rem; }
  .detail-header h1 { font-size: 1.8rem; }
  .timeline::before { left: 2rem; }
  .timeline-dot { left: 2rem; transform: none; }
  .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { margin-left: 4.5rem; margin-right: 0; text-align: left; }
  .museum-features { grid-template-columns: 1fr; }
  .chart-container { height: 300px; }
  .detail-content img { height: 250px; }
}