:root {
  --ink: #111317;
  --crow: #1b1d22;
  --rouge: #a62335;
  --gold: #c9a05c;
  --moon: #e8e3d9;
  --jade: #3d6b59;
  --text: #d1ccc2;
  --muted: #8c877d;
  --border: rgba(201, 160, 92, 0.25);
  --font-zhou: "Noto Serif SC", "Songti SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--ink); color: var(--text); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-zhou); font-weight: normal; color: var(--moon); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(17, 19, 23, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; max-width: 1400px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; }
.brand span { font-family: var(--font-zhou); font-size: 1.2rem; color: var(--gold); letter-spacing: 2px; }
.nav-links { display: none; }
.action-group { display: flex; align-items: center; gap: 16px; }
.btn-download { background: var(--rouge); color: #fff; padding: 10px 20px; border-radius: 4px; font-weight: bold; border: 1px solid var(--gold); display: flex; align-items: center; gap: 6px; font-size: 0.95rem; transition: background 0.3s; }
.btn-download:hover { background: #c92a42; }
.menu-toggle { background: none; border: none; color: var(--moon); font-size: 1.5rem; cursor: pointer; }

/* Mobile Drawer */
.mobile-drawer { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--crow); z-index: 200; padding: 60px 20px 20px; transition: right 0.3s ease; overflow-y: auto; border-left: 1px solid var(--border); }
.mobile-drawer.active { right: 0; }
.drawer-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: var(--moon); font-size: 1.5rem; cursor: pointer; }
.drawer-nav a { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1.1rem; color: var(--moon); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 20px 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; display: flex; gap: 15px; opacity: 0.15; transform: scale(1.1); animation: pan 40s linear infinite alternate; }
.hero-bg img { width: 25%; height: 100vh; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--ink) 0%, rgba(17,19,23,0.8) 50%, transparent 100%); z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 40px; }
.hero-text-group { display: flex; flex-direction: column; align-items: flex-start; }
.hero-title { writing-mode: vertical-rl; letter-spacing: 8px; font-size: 3rem; margin-bottom: 20px; color: var(--gold); text-shadow: 0 4px 10px rgba(0,0,0,0.8); }
.hero-subtitle { font-size: 1.1rem; color: var(--moon); max-width: 400px; margin-bottom: 30px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary { background: var(--rouge); color: #fff; padding: 14px 28px; border: 1px solid var(--gold); font-size: 1rem; font-family: var(--font-zhou); border-radius: 4px; transition: transform 0.2s; }
.btn-secondary { background: rgba(255,255,255,0.1); border: 1px solid var(--moon); padding: 14px 28px; font-size: 1rem; font-family: var(--font-zhou); border-radius: 4px; transition: transform 0.2s; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; max-width: 400px; }
.stat-item { background: rgba(27, 29, 34, 0.6); border: 1px solid var(--border); padding: 10px; text-align: center; border-radius: 4px; }
.stat-num { font-size: 1.2rem; color: var(--gold); font-weight: bold; margin-bottom: 4px; }
.stat-label { font-size: 0.8rem; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; margin-top: 20px; }
.main-cover { width: 200px; border-radius: 8px; border: 2px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.8); position: relative; z-index: 2; aspect-ratio: 3/4; object-fit: cover; }
.side-cover { width: 120px; border-radius: 6px; position: absolute; top: 20px; opacity: 0.8; aspect-ratio: 3/4; object-fit: cover; }
.side-cover.left { left: -40px; transform: rotate(-15deg); }
.side-cover.right { right: -40px; transform: rotate(15deg); }
.badge-cover { position: absolute; bottom: 10px; left: 10px; right: 10px; padding: 6px; background: rgba(166, 35, 53, 0.9); color: #fff; font-size: 0.8rem; text-align: center; border: 1px solid var(--gold); border-radius: 2px; }

/* Sections */
section { padding: 80px 20px; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; flex-direction: column; margin-bottom: 40px; }
.section-title { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.section-desc { color: var(--muted); font-size: 0.95rem; }

/* 02 花榜 */
.rank-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
.rank-featured { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 3/4; }
.rank-featured img { width: 100%; height: 100%; object-fit: cover; }
.rank-stamp { position: absolute; top: 20px; left: 20px; background: var(--rouge); color: var(--moon); padding: 10px 20px; font-size: 1.2rem; border: 2px solid var(--gold); letter-spacing: 4px; }
.rank-list { display: flex; flex-direction: column; gap: 15px; }
.rank-item { display: flex; align-items: center; gap: 15px; padding: 10px; background: var(--crow); border-radius: 4px; transition: transform 0.2s; }
.rank-item:hover { transform: translateX(5px); }
.rank-num { font-family: var(--font-zhou); font-size: 1.5rem; color: var(--gold); width: 30px; text-align: center; }
.rank-thumb { width: 60px; height: 80px; border-radius: 4px; object-fit: cover; }
.rank-info { flex: 1; }
.rank-title { font-size: 1rem; color: var(--moon); margin-bottom: 4px; }
.rank-tag { font-size: 0.8rem; color: var(--muted); }
.heat-bar { width: 100%; height: 4px; background: #333; margin-top: 8px; border-radius: 2px; overflow: hidden; }
.heat-fill { height: 100%; background: var(--rouge); }

/* 03 花签 */
.tag-list { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 30px; padding-bottom: 10px; }
.tag-btn { background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 8px 20px; border-radius: 20px; font-family: var(--font-zhou); cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.tag-btn.active { background: var(--gold); color: var(--ink); }
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.card { display: flex; flex-direction: column; }
.card-img-wrap { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--border); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img-wrap img { transform: scale(1.05); }
.play-icon { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.card:hover .play-icon { opacity: 1; }
.play-icon::after { content: ''; width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 25px solid var(--gold); margin-left: 10px; }
.card-info { padding: 10px 0; }
.card-title { font-size: 0.95rem; color: var(--moon); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 0.8rem; color: var(--muted); }

/* 04 今夜开席 */
.scroll-row { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--gold) var(--crow); }
.scroll-item { flex: 0 0 200px; }
.scroll-item .card-img-wrap { margin-bottom: 10px; }

/* 05 折子戏 */
.special-list { display: flex; flex-direction: column; gap: 30px; }
.special-item { display: flex; flex-direction: column; gap: 20px; background: var(--crow); border-radius: 8px; padding: 20px; border: 1px solid var(--border); }
.special-covers { display: flex; gap: 10px; }
.special-covers img { width: 30%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.special-covers img:nth-child(2) { transform: translateY(-10px); }
.special-info h3 { font-size: 1.3rem; color: var(--gold); margin-bottom: 10px; }
.special-info p { font-size: 0.9rem; color: var(--muted); }

/* 06 夜宴时刻 */
.calendar-tabs { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 20px; overflow-x: auto; }
.calendar-tab { background: none; border: none; color: var(--muted); font-size: 0.9rem; cursor: pointer; padding: 5px 10px; white-space: nowrap; }
.calendar-tab.active { color: var(--rouge); font-weight: bold; border-bottom: 2px solid var(--rouge); }
.timeline { display: flex; flex-direction: column; gap: 15px; }
.time-item { display: flex; gap: 15px; align-items: center; background: rgba(255,255,255,0.02); padding: 10px; border-radius: 6px; }
.time-item img { width: 50px; height: 66px; border-radius: 4px; object-fit: cover; }
.time-info { flex: 1; }
.time-title { color: var(--moon); font-size: 0.95rem; margin-bottom: 4px; }
.time-meta { font-size: 0.8rem; color: var(--muted); }
.time-val { color: var(--gold); font-family: var(--font-zhou); font-size: 1.1rem; }

/* 07 幕后 */
.behind-layout { display: flex; flex-direction: column; gap: 30px; }
.behind-text { font-size: 0.95rem; color: var(--text); }

/* 08 看客评 */
.review-grid { display: flex; flex-direction: column; gap: 15px; }
.review-card { background: var(--crow); padding: 15px; border-radius: 6px; border: 1px solid var(--border); }
.review-text { font-size: 0.95rem; margin-bottom: 10px; color: var(--moon); }
.review-user { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }

/* 09 入席下载 */
.download-section { background: linear-gradient(135deg, var(--crow) 0%, var(--ink) 100%); border: 1px solid var(--gold); border-radius: 8px; padding: 40px 20px; display: flex; flex-direction: column; gap: 30px; }
.dl-content { display: flex; flex-direction: column; gap: 20px; }
.dl-btns { display: flex; flex-direction: column; gap: 15px; }
.dl-btn { display: flex; justify-content: center; align-items: center; padding: 15px; border-radius: 4px; font-weight: bold; font-size: 1rem; }
.dl-ios { background: var(--moon); color: var(--ink); }
.dl-android { background: var(--rouge); color: #fff; border: 1px solid var(--gold); }
.dl-qr { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.qr-box { width: 150px; height: 150px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 0.8rem; text-align: center; padding: 10px; }

/* 10 FAQ */
details { background: var(--crow); margin-bottom: 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); }
summary { padding: 15px; cursor: pointer; color: var(--moon); font-weight: bold; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); }
details[open] summary::after { content: '-'; }
.faq-ans { padding: 0 15px 15px; font-size: 0.9rem; color: var(--muted); }

/* 11 品牌故事 */
.story-content { display: flex; flex-direction: column; gap: 20px; }
.story-text { font-size: 0.95rem; color: var(--text); line-height: 1.8; }

/* Mobile Bottom Download Bar */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--crow); padding: 10px 20px; border-top: 1px solid var(--border); z-index: 90; display: flex; justify-content: center; }
.mobile-bar .btn-download { width: 100%; justify-content: center; }

/* Footer */
.wrap-footer { border-top: 1px solid var(--border); padding: 40px 20px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.footer-inner { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.about-details { text-align: left; width: 100%; max-width: 400px; margin-top: 20px; }
.about-details summary { font-size: 0.8rem; padding: 5px 0; color: var(--muted); border: none; display: inline-block; cursor: pointer; }
.about-details summary::after { display: none; }
.about-content { font-size: 0.75rem; color: var(--muted); padding: 10px 0; line-height: 1.8; display: flex; flex-wrap: wrap; gap: 10px; }
.about-content a { display: inline-block; margin-right: 10px; text-decoration: underline; }

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; gap: 20px; }
  .nav-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.2s; }
  .nav-links a:hover, .nav-links a.active { color: var(--gold); }
  .menu-toggle { display: none; }
  .hero-title { writing-mode: horizontal-tb; font-size: 4rem; letter-spacing: 4px; }
  .hero-text-group { align-items: center; text-align: center; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 600px; }
  .main-cover { width: 280px; }
  .side-cover { width: 180px; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .rank-layout { grid-template-columns: 300px 1fr; }
  .special-item { flex-direction: row; align-items: center; }
  .special-covers { width: 50%; }
  .review-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .download-section { flex-direction: row; align-items: center; justify-content: space-between; padding: 60px; }
  .dl-content { flex: 1; }
  .dl-btns { flex-direction: row; }
  .mobile-bar { display: none; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 5rem; }
  .grid-cards { grid-template-columns: repeat(4, 1fr); }
  .hero-content { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-text-group { align-items: flex-start; text-align: left; width: 50%; }
  .hero-title { writing-mode: vertical-rl; }
  .hero-visual { width: 50%; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}