:root {
  --bg-midnight: #080c14;
  --bg-panel: #111723;
  --gold-main: #d4af37;
  --gold-light: #f2dfb4;
  --rose-muted: #a87077;
  --text-moon: #e2e8f0;
  --text-dim: #94a3b8;
  --border-color: #1e293b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-midnight);
  color: var(--text-moon);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 500; color: #fff; }
h2 { font-size: 1.8rem; margin-bottom: 1.5rem; position: relative; display: inline-block; }
h2::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 2px; background: var(--gold-main); }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  background: rgba(8, 12, 20, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color); z-index: 1000;
  display: flex; align-items: center;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 600; letter-spacing: 1px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 24px; font-size: 0.95rem; }
.nav-links a { color: var(--text-dim); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold-main); }
.btn-gold {
  background: var(--gold-main); color: var(--bg-midnight); padding: 8px 20px;
  border-radius: 4px; font-weight: 600; font-size: 0.95rem; transition: background 0.3s;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  border: 1px solid var(--text-dim); padding: 8px 20px; border-radius: 4px;
  color: var(--text-moon); transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold-main); color: var(--gold-main); }

/* Hero */
.hero { padding: 140px 0 60px; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; opacity: 0.15;
  z-index: -1; pointer-events: none;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero-text h1 span { color: var(--gold-main); }
.hero-text p { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 30px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 1.4rem; color: var(--gold-light); font-weight: 600; }
.stat-label { font-size: 0.85rem; color: var(--text-dim); }
.hero-covers { flex: 1; display: flex; justify-content: flex-end; gap: 16px; }
.hero-cover { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.hero-cover:hover img { transform: scale(1.05); }
.hero-cover.main { width: 240px; aspect-ratio: 3/4; z-index: 2; }
.hero-cover.sub { width: 180px; aspect-ratio: 3/4; margin-top: 40px; margin-left: -60px; z-index: 1; }
.hero-cover.sub:last-child { margin-top: 80px; }
.badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); color: var(--gold-main); padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; }

/* Sections Common */
section { padding: 60px 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.tabs { display: flex; gap: 10px; }
.tab { padding: 4px 12px; border: 1px solid var(--border-color); border-radius: 20px; font-size: 0.85rem; color: var(--text-dim); cursor: pointer; transition: all 0.3s; }
.tab.active, .tab:hover { border-color: var(--gold-main); color: var(--gold-main); }

/* 02 榜单 */
.rank-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }
.rank-top { background: var(--bg-panel); border-radius: 8px; padding: 20px; border: 1px solid var(--border-color); }
.rank-top img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; margin-bottom: 15px; }
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item { display: flex; align-items: center; gap: 15px; background: var(--bg-panel); padding: 10px 15px; border-radius: 6px; border: 1px solid var(--border-color); }
.rank-item img { width: 50px; height: 66px; object-fit: cover; border-radius: 4px; }
.rank-item h3 { font-size: 1rem; margin-bottom: 4px; }
.rank-item p { font-size: 0.8rem; color: var(--text-dim); }
.heat-bar { height: 4px; background: #333; border-radius: 2px; margin-top: 6px; width: 100%; }
.heat-bar span { display: block; height: 100%; background: var(--gold-main); border-radius: 2px; }

/* 03 题材 */
.genres { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.genre-tag { padding: 6px 16px; background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 20px; font-size: 0.9rem; cursor: pointer; }
.genre-tag.active { background: var(--gold-main); color: var(--bg-midnight); border-color: var(--gold-main); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--bg-panel); border-radius: 8px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s; }
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 12px; }
.card-info h3 { font-size: 0.95rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info p { font-size: 0.8rem; color: var(--text-dim); }

/* 04 新剧 */
.track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track .card { flex: 0 0 200px; }

/* 05 片单 */
.playlists { display: flex; gap: 30px; overflow-x: auto; padding-bottom: 20px; }
.playlist { flex: 0 0 300px; background: var(--bg-panel); border-radius: 8px; padding: 20px; border: 1px solid var(--border-color); }
.playlist-covers { display: flex; gap: 10px; margin-bottom: 15px; }
.playlist-covers img { width: 60px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.playlist h3 { font-size: 1.1rem; margin-bottom: 8px; }
.playlist p { font-size: 0.85rem; color: var(--text-dim); }

/* 06 追更 */
.calendar-table { width: 100%; border-collapse: collapse; }
.calendar-table th, .calendar-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border-color); }
.calendar-table th { color: var(--gold-main); font-weight: 500; }
.calendar-table img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.calendar-table td.flex-td { display: flex; align-items: center; gap: 12px; }

/* 07 制作 */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.studio-stats { display: flex; gap: 30px; margin: 20px 0; }
.studio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

/* 08 口碑 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--bg-panel); padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-header img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.review-text { font-size: 0.9rem; color: var(--text-moon); margin-bottom: 10px; }

/* 09 下载 */
.download-section { background: var(--bg-panel); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.download-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.download-text h2 { margin-bottom: 10px; }
.download-text p { color: var(--text-dim); margin-bottom: 20px; }
.dl-actions { display: flex; gap: 15px; margin-bottom: 30px; }
.dl-steps { display: flex; gap: 20px; font-size: 0.85rem; color: var(--text-dim); }
.download-qr { background: #fff; padding: 15px; border-radius: 8px; text-align: center; }
.download-qr img { width: 120px; height: 120px; margin: 0 auto; }

/* 10 FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border-color); padding: 15px 0; }
summary { cursor: pointer; font-size: 1.05rem; color: var(--gold-light); outline: none; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; color: var(--text-dim); font-size: 0.95rem; }

/* 11 品牌故事 */
.story { display: flex; gap: 40px; align-items: center; }
.story-img { flex: 0 0 300px; border-radius: 8px; overflow: hidden; }
.story-text { flex: 1; }
.story-text p { margin-bottom: 15px; color: var(--text-dim); font-size: 1.05rem; line-height: 1.8; }

/* Footer */
footer { padding: 30px 0; border-top: 1px solid var(--border-color); font-size: 0.85rem; color: var(--text-dim); text-align: center; }
footer a { color: var(--text-dim); transition: color 0.3s; }
footer a:hover { color: var(--gold-main); }
.about-details { margin-top: 15px; display: inline-block; text-align: left; }
.about-details summary { cursor: pointer; font-size: 0.85rem; color: var(--text-dim); outline: none; }
.about-details summary::-webkit-details-marker { display: none; }
.about-content { margin-top: 10px; font-size: 0.8rem; line-height: 1.8; }
.about-content a { margin-right: 10px; }

/* Responsive */
.mobile-menu-btn { display: none; cursor: pointer; color: #fff; font-size: 1.5rem; }
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content { flex-direction: column; }
  .hero-covers { justify-content: center; margin-top: 40px; }
  .rank-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .studio { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .download-inner { flex-direction: column; text-align: center; }
  .story { flex-direction: column; text-align: center; }
  .story-img { width: 100%; max-width: 400px; }
}
@media (max-width: 768px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-covers { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 15px; }
  .stat-item { width: 45%; }
  .calendar-table th, .calendar-table td { padding: 8px; }
  .dl-actions { flex-direction: column; }
  .dl-actions .btn-gold, .dl-actions .btn-outline { width: 100%; text-align: center; }
}