:root {
  --paper: #F7F0E3;
  --red: #B7342B;
  --dark-red: #7C1D18;
  --ink: #241E1C;
  --gold: #B9924B;
  --green: #5B7A63;
  --border-radius: 4px;
  --font-serif: "Songti SC", "SimSun", "Source Han Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 10% 20%, rgba(183, 52, 43, 0.03) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(185, 146, 75, 0.03) 0%, transparent 40%);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* Header */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(247, 240, 227, 0.95);
  border-bottom: 1px solid rgba(185, 146, 75, 0.2);
  transition: all 0.3s ease;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.2rem; font-weight: bold; color: var(--dark-red); }
.logo-area img { height: 32px; width: auto; }
nav ul { display: flex; gap: 20px; }
nav a { font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-download-header {
  background: var(--red); color: #fff; padding: 8px 20px; border-radius: 2px;
  font-size: 0.9rem; font-weight: bold; transition: background 0.2s; border: 1px solid var(--red);
}
.btn-download-header:hover { background: var(--dark-red); border-color: var(--dark-red); }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }

/* Hero Section */
.hero {
  position: relative; padding-top: 80px; background: linear-gradient(135deg, var(--dark-red) 0%, #4a0e0a 100%);
  color: var(--paper); overflow: hidden; min-height: 90vh; display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 50% 0%, rgba(185, 146, 75, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 60px 20px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2;
}
.hero-content { max-width: 500px; }
.seal-badge {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold); padding: 4px 12px;
  font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 20px; position: relative;
}
.hero h1 {
  font-family: var(--font-serif); font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px;
  font-weight: normal; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--gold); }
.hero-desc { font-size: 1.1rem; color: rgba(247, 240, 227, 0.8); margin-bottom: 30px; }
.hero-stats { display: flex; gap: 30px; margin-bottom: 40px; }
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold); display: block;
  border: 2px solid var(--red); padding: 2px 8px; margin-bottom: 5px; transform: rotate(-2deg);
  animation: stamp-in 0.4s ease-out forwards;
}
.stat-label { font-size: 0.85rem; color: rgba(247, 240, 227, 0.6); }
.hero-btns { display: flex; gap: 20px; }
.btn-hero {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #3a2e26; color: var(--gold); border: 1px solid var(--gold); padding: 16px 24px;
  font-size: 1.1rem; font-weight: bold; border-radius: 2px; cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.btn-hero:hover { background: var(--red); color: #fff; border-color: var(--red); }
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-card {
  background: #1a1513; border: 1px solid var(--gold); border-radius: 4px; padding: 10px;
  width: 280px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-card img { width: 100%; height: auto; border-radius: 2px; }
.hero-card-info { padding: 10px 5px; text-align: center; }
.hero-card-info h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold); margin-bottom: 5px; }
.hero-card-info p { font-size: 0.85rem; color: #aaa; }
.hero-side-cards { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.side-card { width: 80px; background: #1a1513; border: 1px solid var(--gold); padding: 4px; border-radius: 2px; }
.side-card img { width: 100%; height: auto; }
.side-card span { display: block; font-size: 0.7rem; text-align: center; color: var(--gold); margin-top: 4px; }

/* Sections Common */
section { padding: 80px 20px; scroll-margin-top: 80px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; }
.section-title h2 { font-family: var(--font-serif); font-size: 2rem; font-weight: normal; color: var(--dark-red); }
.stamp-label {
  display: inline-block; border: 1px solid var(--red); color: var(--red); padding: 4px 8px;
  font-size: 0.9rem; font-family: var(--font-serif); letter-spacing: 2px; writing-mode: vertical-lr;
}
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent 0%, var(--red) 20%, var(--gold) 50%, var(--red) 80%, transparent 100%); margin: 20px 0; position: relative; }
.divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 10px; height: 10px; background: var(--paper); border: 2px solid var(--gold); border-radius: 50%;
}

/* Hot Section */
.hot-section { background: var(--paper); }
.hot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hot-main-card { grid-column: span 2; grid-row: span 2; background: #fff; border: 1px solid var(--gold); padding: 15px; border-radius: var(--border-radius); display: flex; gap: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.hot-main-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--red); }
.hot-main-img { width: 140px; height: auto; border-radius: 2px; object-fit: cover; }
.hot-main-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hot-main-info h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink); margin-bottom: 10px; }
.hot-main-info p { font-size: 0.9rem; color: #666; margin-bottom: 15px; }
.hot-main-tags { display: flex; gap: 10px; font-size: 0.8rem; color: var(--red); font-weight: bold; }
.hot-small-card { background: #fff; border: 1px solid #e0e0e0; padding: 10px; border-radius: var(--border-radius); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.hot-small-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 4px 12px rgba(183, 52, 43, 0.15); }
.hot-small-card img { width: 100%; height: auto; border-radius: 2px; margin-bottom: 8px; }
.hot-small-card h4 { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.hot-small-card .meta { font-size: 0.75rem; color: #888; display: flex; justify-content: space-between; }

/* Schedule Section */
.schedule-section { background: #fff; }
.schedule-wrapper { display: flex; gap: 40px; }
.schedule-timeline { width: 150px; flex-shrink: 0; display: flex; flex-direction: column; gap: 30px; padding-top: 10px; }
.time-node { display: flex; align-items: center; gap: 15px; position: relative; }
.time-node::before { content: ""; position: absolute; left: 20px; top: 40px; bottom: -30px; width: 1px; background: #eee; }
.time-node:last-child::before { display: none; }
.node-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 0.9rem; color: var(--dark-red); font-weight: bold; z-index: 2; transition: all 0.3s; }
.time-node.active .node-circle { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(183,52,43,0.2); }
.node-text { font-size: 0.9rem; font-weight: bold; color: #666; }
.time-node.active .node-text { color: var(--red); }
.schedule-content { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.schedule-row { padding: 15px 20px; border-bottom: 1px dashed #eee; display: flex; gap: 15px; align-items: center; background: #fafafa; border-radius: 4px; }
.schedule-row.active { background: rgba(183, 52, 43, 0.05); border-left: 3px solid var(--red); }
.schedule-dramas { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 5px; }
.schedule-drama { display: flex; flex-direction: column; align-items: center; width: 70px; flex-shrink: 0; }
.schedule-drama img { width: 60px; height: auto; border-radius: 2px; margin-bottom: 5px; }
.schedule-drama span { font-size: 0.7rem; color: #666; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.schedule-drama .status { color: var(--red); font-weight: bold; font-size: 0.65rem; margin-top: 2px; }

/* Ranking Section */
.ranking-section { background: var(--paper); }
.ranking-wrapper { display: flex; gap: 30px; }
.ranking-board { flex: 1; background: #fff; border: 1px solid var(--gold); padding: 20px; border-radius: var(--border-radius); position: relative; }
.ranking-title { position: absolute; top: -15px; left: 20px; background: var(--red); color: #fff; padding: 4px 15px; font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: 2px; }
.rank-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.rank-item { display: flex; align-items: center; gap: 15px; padding: 10px; border-bottom: 1px solid #f0f0f0; }
.rank-item:last-child { border-bottom: none; }
.rank-item.top-1 { background: rgba(185, 146, 75, 0.08); border: 1px solid var(--gold); }
.rank-num { font-family: var(--font-serif); font-size: 1.2rem; font-weight: bold; width: 30px; text-align: center; color: #999; }
.rank-item.top-1 .rank-num { color: var(--gold); font-size: 1.5rem; }
.rank-item.top-2 .rank-num { color: #A8A8A8; }
.rank-item.top-3 .rank-num { color: #CD7F32; }
.rank-cover { width: 40px; height: auto; border-radius: 2px; }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.rank-info .tags { font-size: 0.75rem; color: #888; }
.rank-heat { font-size: 0.85rem; color: var(--red); font-weight: bold; width: 80px; text-align: right; }
.rank-note { width: 40px; border-left: 2px solid var(--red); padding-left: 15px; writing-mode: vertical-lr; font-family: var(--font-serif); color: var(--red); font-size: 1rem; letter-spacing: 4px; text-align: center; opacity: 0.6; }

/* Categories Section */
.categories-section { background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { background: var(--paper); border: 1px solid #e0e0e0; padding: 20px; border-radius: var(--border-radius); display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s; }
.category-card:hover { transform: translateY(-4px); border-color: var(--red); }
.category-header { display: flex; align-items: center; justify-content: space-between; }
.category-header h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--dark-red); }
.category-header span { font-size: 0.75rem; color: #888; }
.category-covers { display: flex; gap: 10px; }
.category-covers img { width: 60px; height: auto; border-radius: 2px; }

/* Exclusive Section */
.exclusive-section { background: #2b0c0a; color: #fff; }
.exclusive-section .section-title h2 { color: var(--gold); }
.exclusive-wrapper { display: flex; gap: 40px; }
.exclusive-main { flex: 1; background: rgba(0,0,0,0.3); border: 1px solid var(--gold); padding: 30px; border-radius: 4px; display: flex; gap: 20px; }
.exclusive-main-img { width: 120px; height: auto; border-radius: 2px; }
.exclusive-info h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); margin-bottom: 10px; }
.exclusive-info p { font-size: 0.9rem; color: #ccc; margin-bottom: 20px; }
.exclusive-list { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.exclusive-item { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.exclusive-item img { width: 50px; height: auto; border-radius: 2px; }
.exclusive-item-info h4 { font-size: 0.95rem; color: #fff; margin-bottom: 4px; }
.exclusive-item-info span { font-size: 0.75rem; color: #999; }

/* Free Section */
.free-section { background: var(--paper); }
.free-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.free-card { background: #fff; border: 1px solid #e0e0e0; padding: 15px; border-radius: var(--border-radius); text-align: center; position: relative; transition: transform 0.2s; }
.free-card:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.free-card img { width: 100%; height: auto; border-radius: 2px; margin-bottom: 10px; }
.free-card h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 5px; }
.free-card .meta { font-size: 0.75rem; color: #888; }

/* Reviews Section */
.reviews-section { background: #fff; }
.reviews-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: var(--paper); border: 1px solid #e0e0e0; padding: 20px; border-radius: var(--border-radius); position: relative; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-header img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); object-fit: cover; }
.review-user h4 { font-size: 0.9rem; margin-bottom: 2px; }
.review-stars { color: var(--gold); font-size: 0.8rem; }
.review-text { font-size: 0.85rem; color: #555; line-height: 1.6; }

/* FAQ Section */
.faq-section { background: var(--paper); }
.faq-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #e0e0e0; border-radius: var(--border-radius); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 15px 20px; background: none; border: none; font-size: 1rem; font-weight: bold; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { color: var(--red); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; font-size: 0.9rem; color: #666; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-item.active .faq-question { color: var(--red); }

/* Download Section */
.download-section { background: var(--dark-red); color: #fff; text-align: center; padding: 60px 20px; }
.download-steps { display: flex; gap: 20px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.step-card { background: rgba(255,255,255,0.1); border: 1px solid var(--gold); padding: 20px; border-radius: var(--border-radius); width: 200px; }
.step-card h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 10px; color: var(--gold); }
.step-card p { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.download-btns { display: flex; gap: 20px; justify-content: center; }
.btn-download-large { display: inline-block; background: #3a2e26; color: var(--gold); border: 1px solid var(--gold); padding: 15px 40px; font-size: 1.1rem; font-weight: bold; border-radius: 2px; transition: background 0.2s; }
.btn-download-large:hover { background: var(--gold); color: var(--ink); }

/* Footer */
footer { background: #1a1513; color: #888; padding: 40px 20px 20px; font-size: 0.85rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h4 { color: #ccc; margin-bottom: 15px; font-size: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #332; text-align: center; font-size: 0.75rem; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--gold); }

/* Animations */
@keyframes stamp-in {
  0% { transform: scale(1.4) rotate(-4deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .hot-grid { grid-template-columns: repeat(3, 1fr); }
  .hot-main-card { grid-column: span 3; flex-direction: column; }
  .hot-main-img { width: 100%; max-height: 300px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .free-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-wall { grid-template-columns: repeat(2, 1fr); }
  .exclusive-wrapper { flex-direction: column; }
  .exclusive-main { flex-direction: column; }
  .exclusive-main-img { width: 100%; }
}
@media (max-width: 768px) {
  .header-inner { padding: 10px 15px; }
  nav { display: none; }
  .menu-toggle { display: block; }
  .btn-download-header { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-btns { flex-direction: column; }
  .hero-visual { display: none; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .hot-main-card { grid-column: span 2; }
  .schedule-wrapper { flex-direction: column; }
  .schedule-timeline { flex-direction: row; width: 100%; overflow-x: auto; padding-bottom: 10px; gap: 20px; }
  .time-node::before { display: none; }
  .ranking-wrapper { flex-direction: column; }
  .rank-note { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-wall { grid-template-columns: 1fr; }
  .download-btns { flex-direction: column; }
  .btn-download-large { width: 100%; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hot-grid { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: 1fr; }
  .download-steps { flex-direction: column; align-items: center; }
  .step-card { width: 100%; }
}