:root {
  --cream: #fff7f0;
  --white: #fffdfb;
  --red: #ff3d6e;
  --green: #2fbf71;
  --yellow: #ffb020;
  --purple: #b14dff;
  --text: #2d221e;
  --muted: #7a6e68;
  --jelly: cubic-bezier(0.25, 1.5, 0.5, 1);
  --radius: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 导航栏 */
.nav-wrapper { position: fixed; top: 16px; left: 0; width: 100%; z-index: 100; display: flex; justify-content: center; pointer-events: none; transition: top 0.3s; }
.nav-wrapper.scrolled { top: 8px; }
.nav-capsule {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  width: 90%; max-width: 960px; padding: 10px 20px;
  background: rgba(255, 253, 251, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: 0 8px 32px rgba(255, 61, 110, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
.nav-wrapper.scrolled .nav-capsule {
  padding: 6px 16px; box-shadow: 0 10px 40px rgba(255, 61, 110, 0.15);
}
.nav-wrapper.scrolled .nav-capsule::after {
  content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--yellow), transparent);
  border-radius: 2px; opacity: 1;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.nav-brand img { height: 32px; width: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--red); }
.nav-btn {
  background: var(--red); color: #fff; padding: 8px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; position: relative; overflow: hidden;
  transition: transform 0.4s var(--jelly), box-shadow 0.3s;
}
.nav-btn:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 6px 16px rgba(255, 61, 110, 0.3); }
.nav-btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s;
}
.nav-btn:hover::before { left: 100%; }

/* 通用板块 */
section { padding: 88px 0; position: relative; overflow: hidden; }
section:nth-child(even) { background: var(--white); }
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; position: relative; z-index: 2; }
.section-bar { width: 8px; height: 32px; background: linear-gradient(180deg, var(--red), var(--yellow)); border-radius: 4px; }
.section-title { font-size: 2rem; font-weight: 800; letter-spacing: 1px; background: linear-gradient(90deg, var(--red), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-tag { font-size: 0.85rem; font-weight: 600; color: var(--green); background: rgba(47, 191, 113, 0.1); padding: 4px 12px; border-radius: 999px; margin-left: auto; }
.watermark { position: absolute; top: 20px; left: 20px; font-size: 120px; font-weight: 900; color: rgba(255, 61, 110, 0.04); z-index: 0; pointer-events: none; line-height: 1; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--red), var(--yellow), transparent); width: 100%; }

/* Hero 首屏 */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 100px; padding-bottom: 60px; text-align: center; }
.hero-bg-gl { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,61,110,0.15) 0%, transparent 60%); border-radius: 50%; z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; color: var(--text); }
.hero-title span { color: var(--red); }
.hero-sub { font-size: 1.2rem; color: var(--muted); margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }
.btn-primary { background: var(--red); color: #fff; padding: 14px 32px; border-radius: 999px; font-weight: 700; font-size: 1.1rem; transition: transform 0.4s var(--jelly); box-shadow: 0 8px 24px rgba(255, 61, 110, 0.2); }
.btn-primary:hover { transform: scale(1.05) translateY(-3px); }
.btn-secondary { background: #fff; color: var(--red); border: 2px solid var(--red); padding: 12px 32px; border-radius: 999px; font-weight: 700; font-size: 1.1rem; transition: all 0.4s var(--jelly); }
.btn-secondary:hover { background: var(--red); color: #fff; transform: scale(1.05) translateY(-3px); }

.hero-data { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.data-pill { background: #fff; padding: 12px 24px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); display: flex; align-items: center; gap: 8px; font-weight: 600; }
.data-pill span { color: var(--red); font-size: 1.2rem; font-weight: 800; }

.hero-main-card { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.06); text-align: left; margin-bottom: 40px; border: 2px solid rgba(255, 61, 110, 0.1); transition: border-color 0.3s; }
.hero-main-card:hover { border-color: var(--red); }
.hero-main-img { width: 50%; position: relative; overflow: hidden; }
.hero-main-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-main-info { padding: 40px; width: 50%; display: flex; flex-direction: column; justify-content: center; }
.hero-main-info h3 { font-size: 1.8rem; margin-bottom: 12px; }
.hero-main-info p { color: var(--muted); margin-bottom: 24px; }
.hero-main-tags { display: flex; gap: 8px; margin-bottom: 24px; }
.hero-main-tags span { background: #fff7f0; color: var(--yellow); padding: 4px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }
.play-btn { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--red); border-radius: 50%; color: #fff; position: absolute; top: 50%; left: 25%; transform: translate(-50%, -50%); opacity: 0; transition: all 0.4s var(--jelly); box-shadow: 0 8px 24px rgba(255, 61, 110, 0.4); cursor: pointer; }
.hero-main-card:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

.hero-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.track-card { min-width: 200px; width: 200px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: transform 0.3s var(--jelly); text-align: left; }
.track-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(255, 61, 110, 0.15); }
.track-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.track-info { padding: 12px; }
.track-info h4 { font-size: 1rem; margin-bottom: 4px; }
.track-info span { font-size: 0.8rem; color: var(--muted); }

/* 热播剧场 */
.genre-block { margin-bottom: 32px; }
.genre-layout { display: flex; gap: 24px; align-items: flex-start; }
.genre-title-card { min-width: 240px; width: 240px; padding: 32px 24px; border-radius: var(--radius); color: #fff; position: relative; overflow: hidden; }
.genre-title-card h3 { font-size: 1.8rem; margin-bottom: 12px; }
.genre-title-card p { font-size: 0.95rem; opacity: 0.9; margin-bottom: 24px; }
.genre-title-card .count { font-size: 0.85rem; opacity: 0.8; }
.genre-sweet { background: linear-gradient(135deg, var(--red), #ff7a96); }
.genre-reverse { background: linear-gradient(135deg, var(--yellow), #ffd480); color: #6b4a00; }
.genre-suspense { background: linear-gradient(135deg, var(--purple), #d08cff); }
.genre-ancient { background: linear-gradient(135deg, var(--green), #6de4a3); }
.genre-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px; flex: 1; scrollbar-width: none; }
.genre-track::-webkit-scrollbar { display: none; }
.genre-card { min-width: 180px; width: 180px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: all 0.3s var(--jelly); position: relative; }
.genre-card:hover { transform: scale(1.05); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.genre-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.3s; }
.genre-card:hover img { transform: scale(1.1); }
.genre-card-info { padding: 12px; }
.genre-card-info h4 { font-size: 1rem; margin-bottom: 4px; }
.genre-card-info .score { color: var(--yellow); font-weight: 700; font-size: 0.9rem; }

/* 剧库 */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-chip { padding: 8px 16px; background: #fff; border-radius: 999px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 1px solid #eee; transition: all 0.3s; }
.filter-chip.active, .filter-chip:hover { background: var(--red); color: #fff; border-color: var(--red); }
.lib-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.lib-main-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; box-shadow: 0 8px 24px rgba(0,0,0,0.04); border: 2px solid transparent; transition: border-color 0.3s; }
.lib-main-card:hover { border-color: var(--red); }
.lib-main-img { width: 50%; overflow: hidden; }
.lib-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.lib-main-card:hover .lib-main-img img { transform: scale(1.05); }
.lib-main-info { padding: 24px; width: 50%; display: flex; flex-direction: column; justify-content: center; }
.lib-main-info h3 { font-size: 1.4rem; margin-bottom: 8px; }
.lib-main-info p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-main-meta { display: flex; gap: 12px; font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.lib-main-meta span { color: var(--yellow); font-weight: 700; }
.lib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lib-small-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: transform 0.3s var(--jelly); }
.lib-small-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.lib-small-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.lib-small-info { padding: 10px; }
.lib-small-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.lib-small-info span { font-size: 0.8rem; color: var(--yellow); }
.load-more { display: block; margin: 0 auto; background: #fff; color: var(--red); border: 2px solid var(--red); padding: 12px 40px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: all 0.4s var(--jelly); }
.load-more:hover { background: var(--red); color: #fff; transform: scale(1.05); }

/* 榜单 */
.rank-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.rank-col { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.rank-col h3 { font-size: 1.2rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.rank-col h3::before { content: ''; width: 6px; height: 20px; background: var(--red); border-radius: 4px; display: inline-block; }
.king-card { border: 2px solid var(--yellow); border-radius: 16px; overflow: hidden; position: relative; }
.king-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.king-badge { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; }
.king-info { padding: 16px; }
.king-info h4 { font-size: 1.2rem; margin-bottom: 8px; }
.heat-bar { height: 6px; background: #f0f0f0; border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.heat-fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--yellow)); width: 90%; border-radius: 3px; }
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; transition: all 0.3s; }
.rank-item:hover { background: #fff7f0; transform: translateX(4px); }
.rank-num { width: 24px; font-weight: 800; color: var(--muted); text-align: center; }
.rank-item:nth-child(1) .rank-num { color: var(--red); font-size: 1.2rem; }
.rank-item:nth-child(2) .rank-num { color: var(--yellow); font-size: 1.2rem; }
.rank-item:nth-child(3) .rank-num { color: var(--purple); font-size: 1.2rem; }
.rank-item img { width: 40px; height: 56px; object-fit: cover; border-radius: 6px; }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.rank-info span { font-size: 0.8rem; color: var(--yellow); }
.trend-up { color: var(--red); font-size: 0.8rem; font-weight: 700; }
.trend-new { background: var(--green); color: #fff; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; font-weight: 700; }

/* 评论墙 */
.comment-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.stat-box { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.stat-box h3 { font-size: 2.5rem; color: var(--red); font-weight: 900; margin-bottom: 4px; }
.stat-box p { font-size: 0.9rem; color: var(--muted); }
.comment-masonry { column-count: 3; column-gap: 18px; }
.comment-card { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 18px; break-inside: avoid; box-shadow: 0 4px 12px rgba(0,0,0,0.03); position: relative; transition: all 0.3s; }
.comment-card:hover { border: 1px solid var(--red); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 61, 110, 0.1); }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.comment-user h4 { font-size: 0.95rem; margin-bottom: 2px; }
.comment-user span { font-size: 0.8rem; color: var(--yellow); }
.comment-body { font-size: 0.95rem; color: var(--text); margin-bottom: 12px; }
.comment-footer { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); }
.tag-cloud { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.tag-pill { padding: 8px 20px; background: #fff; border-radius: 999px; font-size: 0.9rem; font-weight: 600; border: 1px solid #eee; transition: all 0.3s var(--jelly); cursor: pointer; }
.tag-pill:hover { background: var(--yellow); color: #fff; border-color: var(--yellow); transform: scale(1.1); }

/* 追剧日历 */
.calendar-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.cal-head { text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }
.cal-cell { padding: 12px 8px; border-radius: 12px; text-align: center; transition: all 0.3s var(--jelly); }
.cal-cell:hover { background: #fff7f0; transform: scale(1.05); }
.cal-date { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.cal-show { font-size: 0.75rem; color: var(--muted); margin-bottom: 2px; }
.cal-ep { font-size: 0.7rem; color: var(--red); font-weight: 700; }
.timeline-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.timeline-card h3 { font-size: 1.2rem; margin-bottom: 20px; }
.timeline-item { display: flex; gap: 16px; padding-bottom: 24px; border-left: 2px dashed var(--yellow); padding-left: 20px; position: relative; margin-left: 8px; }
.timeline-item:last-child { border-left: 2px dashed transparent; padding-bottom: 0; }
.timeline-dot { position: absolute; left: -7px; top: 0; width: 12px; height: 12px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 61, 110, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 110, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(255, 61, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 110, 0); } }
.timeline-time { font-weight: 800; color: var(--red); font-size: 0.95rem; width: 50px; flex-shrink: 0; }
.timeline-info h4 { font-size: 0.95rem; margin-bottom: 2px; }
.timeline-info p { font-size: 0.8rem; color: var(--muted); }
.remind-btn { width: 100%; margin-top: 24px; background: var(--red); color: #fff; border: none; padding: 14px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: all 0.4s var(--jelly); overflow: hidden; position: relative; }
.remind-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 61, 110, 0.3); }

/* FAQ & Footer */
.faq-list { max-width: 800px; margin: 0 auto 48px; }
.faq-item { background: #fff; border-radius: 16px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: all 0.3s; }
.faq-item:hover { border: 1px solid var(--red); }
.faq-q { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; }
.faq-arrow { transition: transform 0.3s; color: var(--red); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 24px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }

.download-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 900px; margin: 0 auto 48px; }
.dl-btn { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 24px; text-align: center; transition: all 0.4s var(--jelly); position: relative; overflow: hidden; }
.dl-btn:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(255, 61, 110, 0.1); border-color: var(--red); }
.dl-btn h4 { font-size: 1.1rem; margin-bottom: 4px; }
.dl-btn p { font-size: 0.8rem; color: var(--muted); }
.dl-icon { width: 40px; height: 40px; background: var(--cream); border-radius: 12px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--red); }

.footer { background: #fff; padding: 48px 0 24px; border-top: 2px solid transparent; border-image: linear-gradient(90deg, transparent, var(--red), var(--yellow), transparent) 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-top { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.footer-brand img { height: 32px; width: auto; border-radius: 8px; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); }
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--muted); transition: all 0.2s; display: inline-block; }
.footer-col a:hover { color: var(--red); transform: translateX(4px); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid #f0f0f0; font-size: 0.8rem; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--red); }

/* 动画/特效 */
.snow-particle { position: absolute; background: #fff; border-radius: 50%; opacity: 0.4; pointer-events: none; animation: fall linear infinite; }
@keyframes fall { 0% { transform: translateY(-10px) rotate(0deg); } 100% { transform: translateY(100vh) rotate(360deg); } }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .rank-layout { grid-template-columns: 1fr; }
  .comment-masonry { column-count: 2; }
  .calendar-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lib-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .hero { padding-top: 120px; }
  .hero-title { font-size: 2rem; }
  .hero-main-card { flex-direction: column; }
  .hero-main-img, .hero-main-info { width: 100%; }
  .hero-main-img { height: 200px; }
  .hero-data { gap: 10px; }
  .data-pill { padding: 8px 16px; font-size: 0.85rem; }
  .data-pill span { font-size: 1rem; }
  .genre-layout { flex-direction: column; }
  .genre-title-card { width: 100%; min-width: 100%; padding: 20px; }
  .lib-layout { display: flex; flex-direction: column; }
  .lib-grid { grid-template-columns: 1fr 1fr; }
  .comment-stats { grid-template-columns: 1fr 1fr; }
  .comment-masonry { column-count: 1; }
  .download-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .watermark { font-size: 80px; }
}