:root {
  --paper: #F7F0E3;
  --cinnabar: #B7342B;
  --cinnabar-dark: #7C1D18;
  --ink: #241E1C;
  --gold: #B9924B;
  --bamboo: #5B7A63;
  --line: rgba(183, 52, 43, 0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: "Songti SC", "Source Han Serif SC", serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 240, 227, 0.95);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s, background 0.3s;
  padding: 16px 0;
}
header.scrolled { padding: 8px 0; background: rgba(247, 240, 227, 0.98); border-bottom: 1px solid var(--gold); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; color: var(--cinnabar-dark); }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 20px; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--cinnabar); }
.search-box {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; background: #fff;
}
.search-box input { border: none; outline: none; background: transparent; width: 120px; font-size: 14px; }
.btn-main {
  background: var(--cinnabar); color: #fff; padding: 8px 20px; border-radius: 4px; font-weight: 700; display: inline-block;
  border: 1px solid var(--cinnabar); transition: background 0.3s;
}
.btn-main:hover { background: var(--cinnabar-dark); }

/* Hero */
.hero {
  position: relative; background: var(--cinnabar-dark); color: #fff; padding: 140px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: radial-gradient(circle at 70% 30%, rgba(185, 146, 75, 0.2), transparent 50%),
              linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.hero-text h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; color: #F7F0E3; }
.hero-text h1 span { color: var(--gold); }
.hero-sub { font-size: 18px; margin-bottom: 30px; color: rgba(255,255,255,0.85); }
.stats-row { display: flex; gap: 30px; margin-bottom: 40px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 32px; font-weight: 900; font-family: "Songti SC", serif; color: var(--gold); }
.stat-label { font-size: 14px; opacity: 0.8; }
.hero-btns { display: flex; gap: 24px; }
.btn-gate {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; height: 64px;
  background: #5b2c16; border: 2px solid var(--gold); border-radius: 4px;
  color: var(--paper); font-size: 20px; font-weight: 700; letter-spacing: 2px;
  position: relative; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.btn-gate::after {
  content: ""; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid rgba(185, 146, 75, 0.4); pointer-events: none;
}
.hero-card-area { position: relative; display: flex; justify-content: center; }
.main-feature-card {
  background: var(--paper); color: var(--ink); border-radius: 8px; overflow: hidden;
  width: 320px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border: 4px solid var(--gold);
}
.main-feature-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.feature-info { padding: 15px; }
.tag-free { background: var(--cinnabar); color: #fff; padding: 2px 8px; border-radius: 2px; font-size: 12px; margin-right: 8px; }

/* Sections */
section { padding: 80px 0; scroll-margin-top: 80px; }
.section-header { text-align: center; margin-bottom: 50px; position: relative; }
.section-header h2 { font-size: 36px; color: var(--cinnabar-dark); display: inline-block; position: relative; }
.section-header h2::before {
  content: attr(data-tag); position: absolute; left: -40px; top: 50%; transform: translateY(-50%) rotate(-5deg);
  background: var(--cinnabar); color: #fff; font-size: 14px; padding: 2px 4px; writing-mode: vertical-rl; border-radius: 2px; letter-spacing: 2px;
}
.divider { width: 100%; height: 20px; margin: 40px 0; display: flex; align-items: center; justify-content: center; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.divider .coin { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin: 0 10px; }

/* Hot List */
.hot-list { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 5fr 7fr; gap: 30px; }
.hot-main { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.hot-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.hot-item { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); transition: transform 0.2s; }
.hot-item:hover { transform: translateY(-4px); border-color: var(--cinnabar); }
.hot-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hot-item-info { padding: 8px; font-size: 12px; }
.hot-item-info h3 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Calendar */
.calendar-wrap { max-width: 800px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 8px; border: 1px solid var(--line); }
.calendar-row { display: flex; align-items: center; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.calendar-time { width: 100px; text-align: center; font-weight: 700; color: var(--cinnabar); }
.time-coin { width: 40px; height: 40px; border-radius: 50%; background: var(--cinnabar); color: #fff; line-height: 40px; margin: 0 auto 5px; }
.calendar-items { flex: 1; display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
.cal-item { display: flex; gap: 10px; align-items: center; min-width: 150px; }
.cal-item img { width: 40px; height: 56px; object-fit: cover; border-radius: 4px; }

/* Ranking */
.ranking-container { max-width: 900px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 8px; border: 1px solid var(--gold); }
.rank-row { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rank-num { width: 40px; height: 40px; line-height: 40px; text-align: center; background: var(--ink); color: #fff; border-radius: 4px; margin-right: 20px; font-weight: 900; }
.rank-num.top1 { background: var(--gold); }
.rank-num.top2 { background: #a0a0a0; }
.rank-num.top3 { background: #cd7f32; }
.rank-img { width: 40px; height: 56px; object-fit: cover; border-radius: 4px; margin-right: 15px; }
.rank-title { flex: 1; font-weight: 700; }
.rank-heat { width: 80px; text-align: right; color: var(--cinnabar); font-weight: 700; }

/* Genres */
.genre-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.genre-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: flex; gap: 15px; transition: transform 0.3s; }
.genre-card:hover { transform: rotate(2deg); }
.genre-title { writing-mode: vertical-rl; font-size: 20px; font-weight: 700; color: var(--cinnabar); letter-spacing: 4px; }
.genre-imgs { display: flex; gap: 10px; }
.genre-imgs img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; }

/* Exclusive */
.exclusive { background: var(--cinnabar-dark); color: #fff; }
.exclusive h2 { color: var(--gold); }
.exclusive-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.box-left { background: #3a0e0b; padding: 20px; border-radius: 8px; border: 2px solid var(--gold); display: flex; gap: 20px; }
.box-left img { width: 120px; border-radius: 4px; }
.exclusive-list { display: flex; flex-direction: column; gap: 15px; }
.ex-item { display: flex; align-items: center; gap: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.ex-item img { width: 40px; height: 56px; object-fit: cover; border-radius: 4px; }

/* Free Zone */
.free-grid { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.free-card { background: #fff; padding: 10px; border-radius: 4px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transform: rotate(-1deg); transition: transform 0.3s; text-align: center; }
.free-card:nth-child(even) { transform: rotate(1deg); }
.free-card:hover { transform: rotate(0); }
.free-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; margin-bottom: 10px; }
.stamp-free { display: inline-block; border: 2px solid var(--cinnabar); color: var(--cinnabar); border-radius: 50%; width: 30px; height: 30px; line-height: 26px; font-size: 12px; font-weight: 700; transform: rotate(-15deg); }

/* Reviews */
.review-wall { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: 8px; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-top: 3px solid var(--gold); }
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.review-user img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cinnabar); object-fit: contain; }
.stars { color: var(--gold); font-size: 14px; }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; padding: 0 20px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 15px; padding: 15px; }
summary { font-weight: 700; cursor: pointer; outline: none; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 15px; font-size: 14px; color: #555; line-height: 1.6; }

/* Footer */
footer { background: var(--ink); color: #888; padding: 50px 0 30px; font-size: 14px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: var(--cinnabar); }
.copyright { font-size: 12px; margin-top: 20px; opacity: 0.7; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .stats-row { justify-content: center; }
  .hot-list { grid-template-columns: 1fr; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .exclusive-wrap { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .search-box { display: none; }
  .hero-text h1 { font-size: 32px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-gate { width: 100%; max-width: 300px; }
  .hero-card-area { flex-direction: column; align-items: center; gap: 20px; }
  .main-feature-card { width: 100%; max-width: 280px; }
  .cal-item { min-width: 120px; flex-direction: column; text-align: center; }
  .cal-item img { width: 60px; height: 84px; }
}