:root {
  --paper: #F7F0E3;
  --cinnabar: #B7342B;
  --cinnabar-dark: #7C1D18;
  --ink: #241E1C;
  --gold: #B9924B;
  --bamboo: #5B7A63;
  --wood: #3A231C;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.8;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 50% 0%, rgba(183,52,43,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 100% 100%, rgba(185,146,75,0.05) 0%, transparent 40%);
}
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: normal; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(247, 240, 227, 0.95);
  border-bottom: 1px solid rgba(183,52,43,0.1);
  transition: all 0.3s ease;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
header.scrolled { padding: 0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 20px; color: var(--cinnabar-dark); font-weight: bold; }
.brand img { height: 32px; }
nav.desktop-nav { display: flex; gap: 20px; font-size: 14px; }
nav.desktop-nav a:hover { color: var(--cinnabar); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.search-box { display: flex; align-items: center; background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 2px 10px; }
.search-box input { border: none; outline: none; padding: 4px; font-size: 13px; width: 120px; }
.btn-cinnabar { background: var(--cinnabar); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 14px; text-align: center; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }
.btn-cinnabar:hover { background: var(--cinnabar-dark); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; padding: 5px; }
.mobile-drawer { display: none; position: fixed; top: 60px; left: 0; width: 100%; background: var(--paper); border-bottom: 1px solid var(--cinnabar); padding: 20px; flex-direction: column; gap: 15px; z-index: 99; }
.mobile-drawer.active { display: flex; }

/* Hero */
.hero {
  position: relative; background: var(--cinnabar-dark); color: var(--paper);
  padding: 120px 20px 60px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  min-height: 80vh;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(124,29,24,0.9) 0%, rgba(124,29,24,0.6) 50%, rgba(124,29,24,0.9) 100%),
              url('https://www.transparenttextures.com/patterns/black-felt.png');
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 1100px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 48px; margin-bottom: 15px; line-height: 1.2; display: flex; align-items: center; gap: 15px; }
.hero-text h1 img { height: 40px; }
.hero-text p.sub { font-size: 18px; color: #e0d0c0; margin-bottom: 30px; font-family: var(--font-serif); }
.stats-row { display: flex; gap: 30px; margin-bottom: 40px; }
.stat-item { text-align: left; }
.stat-value { font-size: 28px; color: var(--gold); font-family: var(--font-serif); position: relative; display: inline-block; }
.stat-label { font-size: 12px; color: #b0a090; text-transform: uppercase; margin-top: 5px; }

.download-buttons { display: flex; gap: 24px; flex-wrap: wrap; }
.btn-plaque {
  background: var(--wood); color: var(--gold); border: 2px solid var(--gold); border-radius: 8px;
  padding: 15px 30px; min-width: 220px; height: 64px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; cursor: pointer; text-align: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 4px 6px rgba(0,0,0,0.3); transition: transform 0.2s;
  position: relative; overflow: hidden;
}
.btn-plaque::before, .btn-plaque::after { content: ''; position: absolute; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
.btn-plaque::before { top: 6px; left: 6px; box-shadow: 200px 0 0 var(--gold); }
.btn-plaque::after { bottom: 6px; left: 6px; box-shadow: 200px 0 0 var(--gold); }
.btn-plaque:hover { transform: translateY(-2px); color: #fff; }
.btn-plaque .title { font-size: 16px; font-family: var(--font-serif); font-weight: bold; }
.btn-plaque .sub { font-size: 12px; opacity: 0.8; }

/* Card Styles */
.card {
  background: #fff; border: 1px solid #e0d0c0; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); position: relative; transition: all 0.3s;
}
.card img { width: 100%; height: auto; border-bottom: 1px solid #eee; }
.card-info { padding: 12px; }
.card-title { font-size: 15px; font-family: var(--font-serif); margin-bottom: 5px; color: var(--ink); font-weight: bold; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: #666; }
.badge {
  position: absolute; top: 8px; left: 8px; background: var(--cinnabar); color: #fff;
  font-size: 11px; padding: 2px 6px; border-radius: 2px; z-index: 2;
}
.badge.gold { background: var(--gold); }

/* Sections */
section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; position: relative; scroll-margin-top: 80px; }
.section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; }
.section-title h2 { font-size: 32px; color: var(--cinnabar-dark); }
.section-title .seal {
  background: var(--cinnabar); color: #fff; font-family: var(--font-serif);
  writing-mode: vertical-rl; padding: 8px 4px; border-radius: 4px; font-size: 14px; letter-spacing: 2px;
}
.divider {
  height: 40px; width: 100%; display: flex; align-items: center; justify-content: center; position: relative; margin: 20px 0;
}
.divider::before {
  content: ''; position: absolute; inset: 50% 10% auto 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--cinnabar), var(--gold), var(--cinnabar), transparent);
}
.divider .coin { width: 12px; height: 12px; background: var(--gold); border-radius: 50%; position: relative; z-index: 1; border: 2px solid var(--paper); }

/* Hot List (Grid) */
.hot-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 30px; }
.featured-card { display: flex; flex-direction: column; }
.featured-card img { border-radius: 8px 8px 0 0; }
.featured-card .card-info { padding: 20px; }
.featured-card h3 { font-size: 24px; margin-bottom: 10px; }
.small-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media (min-width: 992px) {
  .small-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Calendar */
.timeline-layout { display: grid; grid-template-columns: 100px 1fr; gap: 20px; }
.timeline-nav { display: flex; flex-direction: column; align-items: center; gap: 60px; position: relative; }
.timeline-nav::before { content: ''; position: absolute; top: 0; bottom: 0; width: 2px; background: #ddd; z-index: 0; }
.time-node { background: var(--paper); border: 2px solid var(--cinnabar); width: 60px; height: 60px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; font-family: var(--font-serif); color: var(--cinnabar); font-weight: bold; }
.time-node.active { background: var(--cinnabar); color: #fff; box-shadow: 0 0 0 5px rgba(183,52,43,0.2); }
.time-node.past { border-color: #ccc; color: #999; }
.timeline-content { display: flex; flex-direction: column; gap: 40px; }
.time-row { background: #fff; padding: 20px; border-radius: 8px; border: 1px solid #eee; }
.time-row h3 { margin-bottom: 15px; color: var(--cinnabar-dark); font-size: 18px; display: flex; justify-content: space-between; }
.time-row.active { border-color: var(--cinnabar); box-shadow: 0 2px 8px rgba(183,52,43,0.1); }
.drama-row { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; }
.drama-item { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.drama-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
.drama-item .info { font-size: 13px; }
.drama-item .status { color: var(--bamboo); font-size: 12px; margin-top: 5px; }

/* Ranking */
.rank-list { list-style: none; background: #fff; border: 1px solid #e0d0c0; border-radius: 8px; padding: 20px; }
.rank-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #eee; gap: 15px; }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-size: 20px; font-weight: bold; font-family: var(--font-serif); width: 30px; text-align: center; }
.rank-num.top1 { color: var(--gold); }
.rank-num.top2 { color: #999; }
.rank-num.top3 { color: #B87333; }
.rank-item img { width: 40px; height: 55px; object-fit: cover; border-radius: 4px; }
.rank-info { flex: 1; display: flex; flex-direction: column; }
.rank-title { font-weight: bold; font-size: 15px; }
.rank-tags { font-size: 12px; color: #888; }
.rank-heat { font-size: 14px; color: var(--cinnabar); text-align: right; width: 80px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { background: var(--wood); border-radius: 8px; padding: 20px; color: var(--gold); display: flex; justify-content: space-between; position: relative; overflow: hidden; }
.cat-card .title { font-size: 20px; font-family: var(--font-serif); writing-mode: vertical-rl; margin-bottom: 10px; }
.cat-card .desc { font-size: 12px; color: #ccc; }

/* Exclusive */
.exclusive-sec { background: var(--cinnabar-dark); color: #fff; padding: 80px 20px; }
.exclusive-sec .section-title h2 { color: var(--gold); }
.exclusive-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 992px) { .exclusive-layout { grid-template-columns: 1fr 1fr; } }
.excl-main { border: 2px solid var(--gold); padding: 20px; border-radius: 8px; background: rgba(0,0,0,0.3); position: relative; }
.excl-main::before { content: ''; position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border: 1px dashed var(--gold); border-radius: 10px; opacity: 0.5; pointer-events: none; }
.excl-list { display: flex; flex-direction: column; gap: 15px; }
.excl-item { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.excl-item img { width: 50px; height: 70px; object-fit: cover; border-radius: 4px; }

/* Free Zone */
.free-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 768px) { .free-grid { grid-template-columns: repeat(4, 1fr); } }
.free-card { background: #fff; border: 1px solid #e0d0c0; padding: 15px; border-radius: 8px; text-align: center; transition: transform 0.2s; }
.free-card:hover { transform: translateY(-5px); }
.free-card img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 10px; }
.free-card .title { font-size: 14px; font-weight: bold; }

/* Reviews */
.review-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fffdf5; padding: 20px; border-radius: 4px; box-shadow: 1px 1px 5px rgba(0,0,0,0.05); border-top: 4px solid var(--cinnabar); position: relative; }
.review-card::before { content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; background: var(--cinnabar); border-radius: 50%; box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; margin-top: 10px; }
.review-user img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cinnabar); }
.review-stars { color: var(--gold); font-size: 14px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details { background: #fff; border: 1px solid #e0d0c0; border-radius: 4px; overflow: hidden; }
summary { padding: 15px; cursor: pointer; font-weight: bold; font-family: var(--font-serif); background: #fcfaf5; list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--cinnabar); }
details[open] summary::after { content: '-'; }
.faq-content { padding: 15px; font-size: 14px; color: #555; border-top: 1px solid #eee; }

/* Download Section */
.dl-sec { background: var(--paper); text-align: center; padding-bottom: 100px; }
.dl-steps { display: flex; gap: 20px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.step-card { background: #fff; padding: 20px; border-radius: 8px; width: 280px; border: 1px solid #e0d0c0; }
.step-card h3 { color: var(--cinnabar); margin-bottom: 10px; font-size: 18px; }
.step-card p { font-size: 13px; color: #666; }

/* Footer */
footer { background: #1a1514; color: #888; padding: 40px 20px; font-size: 12px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer-links a { color: #aaa; }
.footer-links a:hover { color: var(--gold); }

/* Mobile Adjustments */
@media (max-width: 991px) {
  .desktop-nav { display: none; }
  .search-box { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-text h1 { justify-content: center; font-size: 32px; }
  .stats-row { justify-content: center; }
  .download-buttons { justify-content: center; }
  .btn-plaque { width: 100%; max-width: 300px; }
  .hot-layout { grid-template-columns: 1fr; }
  .small-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-layout { grid-template-columns: 1fr; }
  .timeline-nav { flex-direction: row; justify-content: space-between; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
  .timeline-nav::before { top: 50%; left: 0; right: 0; height: 2px; width: auto; transform: translateY(-50%); }
  .time-node { width: 50px; height: 50px; font-size: 12px; }
  .exclusive-layout { grid-template-columns: 1fr; }
  .excl-main { text-align: center; }
  .excl-main img { margin: 0 auto 15px; }
  .excl-item { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-row { flex-direction: column; gap: 15px; }
  .small-grid { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
}