:root {
  --paper: #f9f6f0;
  --ink: #2a2522;
  --crimson: #c0392b;
  --crimson-dark: #8c2318;
  --gold: #c9a24a;
  --gold-light: #f0e1b9;
  --gray: #7a726c;
  --border: #e6ded0;
  --shadow: 0 4px 16px rgba(42, 37, 34, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* 祥云与纹理 */
.bg-pattern {
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cloud-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 40px 0;
  position: relative;
}
.cloud-divider::after {
  content: "☁";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 10px;
  color: var(--gold);
  font-size: 14px;
}

/* 灯笼样式 */
.lantern {
  display: inline-block;
  width: 18px;
  height: 24px;
  background: var(--crimson);
  border-radius: 50%;
  position: relative;
  margin-left: 12px;
  vertical-align: middle;
  animation: sway 3s ease-in-out infinite alternate;
}
.lantern::before {
  content: "";
  position: absolute;
  top: -4px; left: 7px; width: 4px; height: 4px;
  background: var(--gold);
}
.lantern::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 6px; width: 6px; height: 6px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
@keyframes sway {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

/* 顶部导航 */
.top-nav {
  position: sticky;
  top: 0;
  background: rgba(249, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 12px 20px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--ink);
}
.brand img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--gray);
}
.nav-links a:hover { color: var(--crimson); }
.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
}
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  width: 120px;
}
.btn-download-nav {
  background: var(--crimson);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.btn-download-nav:hover { background: var(--crimson-dark); }

/* 首屏 */
.hero {
  position: relative;
  padding: 60px 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfbf7 0%, var(--paper) 100%);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.hero h1 span { color: var(--crimson); }
.hero-sub {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 600px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--gray);
}
.hero-stats strong { color: var(--crimson); font-size: 20px; }
.hero-stage {
  width: 100%;
  max-width: 800px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hero-stage::-webkit-scrollbar { display: none; }
.stage-cover {
  flex: 0 0 120px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.stage-cover.active { border-color: var(--crimson); }
.stage-cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 56px;
  border-radius: 28px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.1s;
}
.btn-large:active { transform: scale(0.98); }
.btn-android { background: var(--crimson); color: #fff; box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3); }
.btn-ios { background: var(--gold); color: #fff; box-shadow: 0 4px 12px rgba(201, 162, 74, 0.3); }

/* 内容区块通用 */
.section {
  padding: 60px 20px;
  position: relative;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--ink);
  display: flex;
  align-items: center;
}

/* 热播推荐 花灯长廊 */
.lantern-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.lantern-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.lantern-card:hover { transform: translateY(-4px); }
.lantern-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.lantern-card h3 { font-size: 14px; margin-bottom: 4px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lantern-card p { font-size: 12px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lantern-card .hot-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--crimson-dark);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 6px;
}

/* 更新日历 */
.calendar-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.time-slot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.time-slot.current { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson); }
.slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.slot-header h3 { font-size: 18px; color: var(--ink); }
.slot-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--border);
  color: var(--gray);
}
.current .slot-badge { background: var(--crimson); color: #fff; }
.slot-covers {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.slot-covers::-webkit-scrollbar { display: none; }
.slot-cover { flex: 0 0 100px; }
.slot-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; margin-bottom: 8px; }
.slot-cover h4 { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.slot-cover span { font-size: 11px; color: var(--crimson); }

/* 排行榜 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rank-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  gap: 16px;
}
.rank-item.top1 { border-color: var(--gold); background: #fffdf5; padding: 20px; }
.rank-num {
  font-size: 20px;
  font-weight: bold;
  color: var(--ink);
  width: 30px;
  text-align: center;
}
.rank-item.top1 .rank-num { font-size: 30px; color: var(--crimson); }
.rank-img { flex: 0 0 60px; }
.rank-item.top1 .rank-img { flex: 0 0 80px; }
.rank-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 16px; margin-bottom: 4px; color: var(--ink); }
.rank-item.top1 .rank-info h3 { font-size: 20px; }
.rank-info p { font-size: 13px; color: var(--gray); }
.rank-score { font-size: 14px; color: var(--crimson); font-weight: bold; }

/* 题材分类 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.genre-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.genre-card:hover { box-shadow: var(--shadow); }
.genre-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.genre-card p { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.genre-covers { display: flex; justify-content: center; gap: 8px; }
.genre-covers img {
  width: 50px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* 独播首发 */
.exclusive-wrap {
  display: flex;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.exclusive-main { flex: 1; display: flex; gap: 20px; }
.exclusive-main img {
  width: 140px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
}
.exclusive-text h3 { font-size: 24px; margin-bottom: 12px; color: var(--ink); }
.exclusive-text p { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.btn-book {
  display: inline-block;
  background: var(--crimson);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  min-height: 48px;
  line-height: 28px;
}
.exclusive-list { flex: 1; border-left: 1px dashed var(--border); padding-left: 32px; }
.exclusive-list h4 { font-size: 16px; margin-bottom: 16px; color: var(--ink); }
.ex-item { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ex-item img { width: 44px; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.ex-item-info h5 { font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.ex-item-info span { font-size: 12px; color: var(--gray); }

/* 免费专区 */
.free-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.free-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  position: relative;
  transition: transform 0.2s;
}
.free-card:hover { transform: translateY(-4px); }
.free-tag {
  position: absolute; top: 10px; right: 10px;
  background: var(--crimson);
  color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px;
}
.free-card img {
  width: 90px; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 6px; margin: 0 auto 12px;
}
.free-card h3 { font-size: 15px; margin-bottom: 4px; color: var(--ink); }
.free-card p { font-size: 12px; color: var(--gray); }

/* 用户评价 */
.review-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  text-align: center;
}
.stat-item strong { display: block; font-size: 32px; color: var(--crimson); font-weight: bold; }
.stat-item span { font-size: 14px; color: var(--gray); }
.review-grid {
  columns: 2;
  column-gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  break-inside: avoid;
  box-shadow: var(--shadow);
  position: relative;
}
.review-card::before {
  content: "";
  position: absolute; left: 0; top: 20px; bottom: 20px;
  border-left: 2px dashed var(--border);
}
.review-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.review-header img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); }
.review-header h4 { font-size: 15px; color: var(--ink); }
.review-header span { font-size: 12px; color: var(--gold); }
.review-text { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* 常见问题 */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.faq-q { font-weight: bold; color: var(--ink); margin-bottom: 8px; font-size: 15px; }
.faq-a { font-size: 14px; color: var(--gray); }

/* 下载专区 */
.download-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 20px;
  text-align: center;
}
.download-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 48px;
}
.step {
  display: flex; flex-direction: column; align-items: center; max-width: 200px;
}
.step-num {
  width: 32px; height: 32px; background: var(--crimson); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: bold; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.step p { font-size: 13px; color: var(--gray); text-align: center; }
.download-cards {
  display: flex; justify-content: center; gap: 32px;
}
.dl-card {
  background: var(--crimson);
  color: #fff;
  border-radius: 12px;
  padding: 24px 48px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.1s;
}
.dl-card:active { transform: scale(0.98); }
.dl-card.ios { background: var(--gold); }
.dl-card h3 { font-size: 20px; margin-bottom: 8px; }
.dl-card p { font-size: 14px; opacity: 0.9; }

/* 页脚 */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px;
  font-size: 13px;
  color: var(--gray);
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer p { margin-bottom: 8px; }
.footer a { color: var(--gray); text-decoration: underline; }

/* 移动端悬浮下载条 */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px;
  z-index: 200;
  gap: 10px;
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
}
.mobile-bar .android { background: var(--crimson); color: #fff; }
.mobile-bar .ios { background: var(--gold); color: #fff; }

/* 响应式 */
@media (max-width: 1200px) {
  .lantern-gallery { grid-template-columns: repeat(4, 1fr); }
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .exclusive-wrap { flex-direction: column; padding: 20px; }
  .exclusive-list { border-left: none; padding-left: 0; border-top: 1px dashed var(--border); padding-top: 20px; }
  .free-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .nav-links, .search-box { display: none; }
  .lantern-gallery { grid-template-columns: repeat(2, 1fr); }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { columns: 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .download-steps { flex-direction: column; align-items: center; }
  .download-cards { flex-direction: column; align-items: center; }
  .dl-card { width: 100%; max-width: 320px; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 80px; }
  .exclusive-main { flex-direction: column; align-items: center; text-align: center; }
  .exclusive-text h3 { font-size: 20px; }
  .top-nav { padding: 8px 12px; }
  .brand { font-size: 16px; }
  .brand img { height: 28px; }
}