:root {
    --ink: #2c2c2a;
    --ink-light: #5a5a56;
    --paper: #f4efe4;
    --paper-dark: #e8dfce;
    --brand: #b8382b;
    --brand-dark: #8a251b;
    --gold: #b89356;
    --night-bg: #1f2124;
    --night-paper: #2a2d31;
    --night-text: #e5ddd0;
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", "STSong", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-sans);
    background-color: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
  }
  /* 游园进度条 */
  .garden-progress {
    position: fixed;
    top: 0; left: 0; height: 3px;
    background: var(--brand);
    width: 0%; z-index: 1001;
    transition: width 0.1s;
  }
  /* Header */
  .site-header {
    position: sticky;
    top: 0; z-index: 1000;
    background: rgba(244, 239, 228, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.5s ease, border-color 0.5s ease;
  }
  body.night .site-header {
    background: rgba(31, 33, 36, 0.95);
    border-bottom-color: rgba(255,255,255,0.1);
  }
  .header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px;
  }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
  .brand img { height: 32px; width: auto; display: block; border-radius: 4px; }
  .brand-name { font-family: var(--font-serif); font-size: 20px; font-weight: bold; letter-spacing: 2px; }
  .nav-links { display: flex; gap: 24px; align-items: center; }
  .nav-links a {
    text-decoration: none; color: var(--ink-light); font-size: 15px;
    transition: color 0.3s;
  }
  body.night .nav-links a { color: var(--night-text); }
  .nav-links a:hover { color: var(--brand); }
  .btn-download {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--brand); color: #fff !important;
    padding: 10px 20px; border-radius: 4px; text-decoration: none;
    font-weight: bold; font-size: 15px;
    transition: background 0.3s, transform 0.2s;
    min-height: 44px; min-width: 44px;
  }
  .btn-download:hover { background: var(--brand-dark); transform: translateY(-1px); }
  .btn-download svg { width: 18px; height: 18px; fill: currentColor; }

  /* Sections */
  section { padding: 80px 20px; position: relative; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-header { text-align: center; margin-bottom: 50px; }
  .section-header h2 {
    font-family: var(--font-serif); font-size: 32px; color: var(--ink);
    margin-bottom: 12px; letter-spacing: 2px;
  }
  body.night .section-header h2 { color: var(--night-text); }
  .section-header p { color: var(--ink-light); font-size: 16px; }
  body.night .section-header p { color: #a09b91; }

  /* Moon Gate Hero */
  .hero {
    min-height: 80vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 100px 20px 80px;
    background: radial-gradient(circle at 50% 50%, #fdfbf7 0%, var(--paper) 100%);
  }
  body.night .hero {
    background: radial-gradient(circle at 50% 50%, #2a2d31 0%, var(--night-bg) 100%);
  }
  .moon-gate {
    width: 320px; height: 320px;
    border-radius: 50%; border: 8px solid var(--gold);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin-bottom: 40px; position: relative;
    transition: transform 0.5s ease;
  }
  body.night .moon-gate {
    background: var(--night-paper);
    border-color: var(--brand);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }
  .moon-gate h1 {
    font-family: var(--font-serif); font-size: 34px;
    color: var(--brand); margin-bottom: 10px; letter-spacing: 4px;
    line-height: 1.2;
  }
  .moon-gate p { font-size: 15px; color: var(--ink-light); padding: 0 30px; }
  body.night .moon-gate p { color: #a09b91; }
  .hero-cta { margin-top: 10px; z-index: 2; }

  /* 框景版式 - 花窗 */
  .window-frame {
    background: #fff; padding: 20px;
    border: 15px solid var(--paper-dark); border-radius: 20px;
    position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px; margin: 0 auto;
  }
  body.night .window-frame {
    background: var(--night-paper);
    border-color: #3a3d41;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .window-frame::before, .window-frame::after {
    content: ''; position: absolute; background: var(--gold);
  }
  .window-frame::before { content: ''; position: absolute; width: 30px; height: 30px; border-radius: 50%; top: 10px; left: 10px; border: 2px solid var(--gold); background: transparent; }
  .window-frame::after { content: ''; position: absolute; width: 30px; height: 30px; border-radius: 50%; top: 10px; right: 10px; border: 2px solid var(--gold); background: transparent; }
  .window-frame img { width: 100%; border-radius: 10px; display: block; }

  /* 一科一花 (题材) */
  .flower-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  .flower-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column;
    border: 1px solid rgba(184, 147, 86, 0.3);
  }
  body.night .flower-card { background: var(--night-paper); border-color: #3a3d41; }
  .flower-card img {
    width: 100%; height: 260px; object-fit: cover; object-position: top;
    border-bottom: 2px solid var(--gold);
  }
  .flower-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
  .flower-info h3 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 8px; color: var(--brand); }
  body.night .flower-info h3 { color: var(--brand); }
  .flower-meta { font-size: 13px; color: var(--gold); margin-bottom: 12px; display: flex; gap: 10px; }
  .flower-info p { font-size: 14px; color: var(--ink-light); line-height: 1.5; }
  body.night .flower-info p { color: #a09b91; }

  /* 观看体验 */
  .experience-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
  .exp-item {
    display: flex; align-items: flex-start; gap: 20px; padding: 20px;
    background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border-left: 4px solid var(--brand);
  }
  body.night .exp-item { background: var(--night-paper); }
  .exp-item h3 { font-family: var(--font-serif); font-size: 18px; margin-bottom: 6px; min-width: 80px; }
  body.night .exp-item h3 { color: var(--night-text); }
  .exp-item p { font-size: 15px; color: var(--ink-light); }
  body.night .exp-item p { color: #a09b91; }

  /* 榜单 (花魁加冕) */
  .crowning-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    padding: 60px 20px; border-radius: 20px; color: #fff;
    box-shadow: 0 15px 35px rgba(184, 56, 43, 0.3); text-align: center;
  }
  .crowning-section h2 { color: #fff; font-family: var(--font-serif); font-size: 32px; margin-bottom: 30px; letter-spacing: 3px; }
  .crowning-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
  .crowning-item { width: 200px; position: relative; }
  .crowning-item img {
    width: 100%; height: 280px; object-fit: cover; border-radius: 8px;
    border: 3px solid var(--gold); box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
  }
  .crowning-item:hover img { transform: scale(1.03); }
  .crowning-item h3 { margin-top: 15px; font-size: 18px; font-weight: bold; color: var(--gold); }
  .crown-icon {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    font-size: 30px; text-shadow: 0 2px 5px rgba(0,0,0,0.3); z-index: 2;
    display: none;
  }
  .crowning-item:first-child .crown-icon { display: block; }

  /* 用户声音 */
  .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
  .review-card {
    background: #fff; padding: 24px; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); position: relative;
    border-top: 3px solid var(--gold);
  }
  body.night .review-card { background: var(--night-paper); }
  .review-text { font-size: 15px; color: var(--ink); font-style: italic; margin-bottom: 16px; }
  body.night .review-text { color: var(--night-text); }
  .review-user { font-size: 13px; color: var(--ink-light); text-align: right; font-weight: bold; }

  /* FAQ */
  .faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: #fff; border-radius: 8px; overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
  }
  body.night .faq-item { background: var(--night-paper); border-color: #3a3d41; }
  .faq-question {
    padding: 20px; font-weight: bold; font-size: 16px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; color: var(--ink);
  }
  body.night .faq-question { color: var(--night-text); }
  .faq-answer {
    padding: 0 20px 20px; font-size: 15px; color: var(--ink-light); display: none; line-height: 1.7;
  }
  body.night .faq-answer { color: #a09b91; }
  .faq-item.active .faq-answer { display: block; }
  .faq-item.active .faq-question { color: var(--brand); }

  /* 下载区 */
  .download-section {
    text-align: center; background: var(--paper-dark); padding: 60px 20px;
  }
  body.night .download-section { background: #25272a; }
  .download-section h2 { font-family: var(--font-serif); margin-bottom: 20px; font-size: 32px; }
  body.night .download-section h2 { color: var(--night-text); }
  .download-section p { margin-bottom: 30px; color: var(--ink-light); font-size: 16px; }
  body.night .download-section p { color: #a09b91; }
  .btn-large {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--brand); color: #fff; text-decoration: none;
    padding: 16px 40px; border-radius: 30px; font-size: 18px; font-weight: bold;
    transition: background 0.3s, transform 0.2s; box-shadow: 0 8px 20px rgba(184, 56, 43, 0.3);
  }
  .btn-large:hover { background: var(--brand-dark); transform: translateY(-2px); }
  .btn-large svg { width: 24px; height: 24px; fill: currentColor; }

  /* Footer */
  .site-footer {
    background: var(--night-bg); color: #a09b91; padding: 40px 20px;
    text-align: center; font-size: 13px;
  }
  .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
  .footer-links a { color: #a09b91; text-decoration: none; transition: color 0.3s; }
  .footer-links a:hover { color: #fff; }
  .footer-info { margin-bottom: 10px; }
  .footer-info a { color: #a09b91; text-decoration: none; }
  .footer-info a:hover { color: #fff; }
  .footer-time { color: #666; font-size: 12px; margin-top: 10px; }

  /* 移动端底部悬浮 */
  .mobile-float {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: #fff; padding: 12px 20px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999; justify-content: center;
  }
  body.night .mobile-float { background: var(--night-paper); }

  /* Images & Layout */
  .img-block { width: 100%; border-radius: 8px; margin-bottom: 20px; object-fit: cover; }

  /* Responsive */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .moon-gate { width: 260px; height: 260px; }
    .moon-gate h1 { font-size: 28px; }
    .hero { padding: 80px 20px 60px; }
    section { padding: 50px 20px; }
    .crowning-grid { gap: 15px; }
    .crowning-item { width: 140px; }
    .crowning-item img { height: 200px; }
    .exp-item { flex-direction: column; gap: 10px; }
    .mobile-float { display: flex; }
    body { padding-bottom: 70px; }
    .header-inner .btn-download span { display: none; }
  }
  @media (min-width: 769px) and (max-width: 1024px) {
    .hero { padding: 100px 30px 80px; }
  }