:root {
  --bg-cream: #fff7f0;
  --bg-white: #fffdfb;
  --red: #ff3d6e;
  --green: #2fbf71;
  --yellow: #ffb020;
  --purple: #b14dff;
  --text-main: #2c1e24;
  --text-muted: #7a6870;
  --shadow-sm: 0 4px 12px rgba(255, 61, 110, 0.08);
  --shadow-md: 0 10px 24px rgba(255, 61, 110, 0.12);
  --shadow-lg: 0 18px 40px rgba(255, 61, 110, 0.16);
  --radius-card: 24px;
  --radius-pill: 999px;
  --transition-jelly: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 果冻动效基础类 */
.jelly-hover { transition: transform 0.4s var(--transition-jelly), box-shadow 0.4s ease; }
.jelly-hover:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }

/* 顶部导航栏 */
.header-nav {
  position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 1200px;
  background: rgba(255, 253, 251, 0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; z-index: 1000;
  transition: all 0.4s var(--transition-jelly);
}
.header-nav.shrink { top: 10px; padding: 6px 20px; box-shadow: var(--shadow-md); }
.nav-logo-group { display: flex; align-items: center; gap: 10px; }
.nav-logo-group img { height: 32px; width: auto; border-radius: 8px; }
.nav-logo-group span { font-weight: 800; font-size: 1.2rem; color: var(--red); letter-spacing: 1px;}
.nav-links { display: flex; gap: 24px; font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--yellow)); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--red), #ff6b8b); color: #fff;
  padding: 10px 24px; border-radius: var(--radius-pill); font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 61, 110, 0.3); position: relative; overflow: hidden;
  transition: all 0.3s var(--transition-jelly);
}
.btn-primary:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 8px 20px rgba(255, 61, 110, 0.4); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-20deg); transition: left 0.5s; }
.btn-primary:hover::before { left: 100%; }

/* 通用板块样式 */
section { padding: 88px 20px; position: relative; overflow: hidden; }
.section-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.bg-white { background-color: var(--bg-white); }
.bg-cream { background-color: var(--bg-cream); }
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.section-header .jelly-bar { width: 8px; height: 36px; background: linear-gradient(180deg, var(--red), var(--yellow)); border-radius: 8px; box-shadow: 0 0 10px rgba(255, 61, 110, 0.4); }
.section-header h2 { font-size: 2rem; font-weight: 800; background: linear-gradient(90deg, var(--text-main), var(--red)); -webkit-background-clip: text; color: transparent; }
.section-header .tag { margin-left: auto; background: rgba(255, 61, 110, 0.1); color: var(--red); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; }
.section-watermark { position: absolute; top: 40px; left: 20px; font-size: 8rem; font-weight: 900; color: rgba(255, 61, 110, 0.05); line-height: 1; pointer-events: none; user-select: none; z-index: 1; }

/* Hero 首屏 */
.hero-section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 120px; text-align: center; }
.hero-sugar { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background-image: radial-gradient(circle, rgba(255,61,110,0.1) 2px, transparent 2px); background-size: 40px 40px; z-index: 0; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-title { font-size: 3.8rem; font-weight: 900; color: var(--text-main); margin-bottom: 20px; line-height: 1.2; text-shadow: 2px 2px 0px rgba(255,61,110,0.2); animation: jellyIn 0.8s var(--transition-jelly) both; }
.hero-title span { color: var(--red); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; font-weight: 600; }
.hero-ctas { display: flex; gap: 20px; margin-bottom: 48px; }
.btn-large { padding: 16px 40px; font-size: 1.1rem; }
.btn-secondary { background: #fff; color: var(--red); border: 2px solid var(--red); padding: 16px 40px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1.1rem; transition: all 0.3s var(--transition-jelly); }
.btn-secondary:hover { background: var(--red); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero-stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.stat-pill { background: #fff; border-radius: var(--radius-pill); padding: 12px 24px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; border: 1px solid rgba(255, 61, 110, 0.1); }
.stat-pill strong { color: var(--red); font-size: 1.2rem; }
.hero-main-card { width: 100%; max-width: 800px; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lg); display: flex; text-align: left; border: 2px solid transparent; background-clip: padding-box; position: relative; margin-bottom: 48px; animation: borderBreath 3s infinite alternate; }
.hero-main-card img { width: 55%; object-fit: cover; }
.hero-main-info { padding: 30px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-main-info h3 { font-size: 1.8rem; color: var(--text-main); margin-bottom: 12px; font-weight: 800; }
.hero-main-info p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.hero-main-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hero-main-meta .score { color: var(--yellow); font-weight: 800; font-size: 1.2rem; }
.hero-main-meta .tag { background: rgba(255,61,110,0.1); color: var(--red); padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700; }
.hero-marquee { width: 100%; max-width: 900px; display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.hero-marquee::-webkit-scrollbar { display: none; }
.hero-marquee .mini-card { flex: 0 0 140px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--transition-jelly); cursor: pointer; }
.hero-marquee .mini-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.hero-marquee .mini-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero-marquee .mini-card p { padding: 8px; text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--text-main); }

@keyframes jellyIn { 0% { transform: scale(0.8) translateY(20px); opacity: 0; } 60% { transform: scale(1.05) translateY(-5px); opacity: 1; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
@keyframes borderBreath { 0% { border-color: rgba(255,61,110,0.2); box-shadow: 0 10px 30px rgba(255,61,110,0.1); } 100% { border-color: rgba(255,61,110,0.6); box-shadow: 0 15px 40px rgba(255,61,110,0.25); } }

/* 热播剧场 */
.topic-section .topic-group { margin-bottom: 48px; display: flex; gap: 32px; align-items: flex-start; }
.topic-card-title { flex: 0 0 240px; background: #fff; padding: 24px; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); border-left: 6px solid var(--red); }
.topic-card-title.t-yellow { border-color: var(--yellow); }
.topic-card-title.t-purple { border-color: var(--purple); }
.topic-card-title.t-green { border-color: var(--green); }
.topic-card-title h3 { font-size: 1.4rem; margin-bottom: 8px; }
.topic-card-title p { font-size: 0.9rem; color: var(--text-muted); }
.topic-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px; flex: 1; scrollbar-width: none; }
.topic-track::-webkit-scrollbar { display: none; }
.topic-track .drama-card { flex: 0 0 160px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s var(--transition-jelly); cursor: pointer; }
.topic-track .drama-card:hover { transform: translateY(-8px) scale(1.03); box-shadow: var(--shadow-md); }
.topic-track .drama-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.drama-info { padding: 10px; }
.drama-info h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-info .meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.drama-info .score { color: var(--yellow); font-weight: 700; }

/* 海量剧库 */
.library-filter { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-chip { background: #fff; padding: 8px 18px; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 600; color: var(--text-main); box-shadow: var(--shadow-sm); cursor: pointer; border: 1px solid transparent; transition: all 0.3s; }
.filter-chip:hover, .filter-chip.active { background: var(--red); color: #fff; border-color: var(--red); }
.library-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.library-big-card { background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; transition: all 0.3s; cursor: pointer; }
.library-big-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.library-big-card img { width: 45%; object-fit: cover; transition: transform 0.5s; }
.library-big-card:hover img { transform: scale(1.05); }
.big-card-info { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.big-card-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.big-card-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.5; }
.big-card-meta { display: flex; gap: 12px; font-size: 0.85rem; color: var(--red); font-weight: 700; }
.library-small-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.small-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; cursor: pointer; }
.small-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.small-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.small-card-info { padding: 10px; }
.small-card-info h4 { font-size: 0.9rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.small-card-info .meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }
.btn-load-more { display: block; margin: 40px auto 0; background: #fff; border: 2px solid var(--red); color: var(--red); font-weight: 700; padding: 12px 40px; border-radius: var(--radius-pill); cursor: pointer; transition: all 0.3s var(--transition-jelly); }
.btn-load-more:hover { background: var(--red); color: #fff; transform: scale(1.05); }

/* 权威榜单 */
.ranking-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.ranking-col { background: #fff; border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); }
.ranking-col h3 { font-size: 1.2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.ranking-col h3::before { content: ''; width: 4px; height: 16px; background: var(--red); border-radius: 2px; }
.king-card { position: relative; border-radius: 16px; overflow: hidden; text-align: center; }
.king-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.king-card .badge { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, var(--yellow), #ff8c00); color: #fff; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 800; box-shadow: 0 4px 10px rgba(255,176,32,0.4); }
.king-info { padding: 16px 0; }
.king-info h4 { font-size: 1.2rem; margin-bottom: 8px; }
.hot-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); transition: all 0.3s; cursor: pointer; }
.hot-list li:hover { background: rgba(255,61,110,0.02); transform: translateX(4px); }
.hot-list .rank { font-weight: 800; font-size: 1.1rem; color: var(--text-muted); width: 24px; text-align: center; }
.hot-list li:nth-child(1) .rank, .hot-list li:nth-child(2) .rank, .hot-list li:nth-child(3) .rank { color: var(--red); font-size: 1.4rem; text-shadow: 0 2px 4px rgba(255,61,110,0.3); }
.hot-list img { width: 40px; height: 54px; border-radius: 6px; object-fit: cover; }
.hot-list .info { flex: 1; }
.hot-list .info h5 { font-size: 0.9rem; margin-bottom: 2px; }
.hot-list .info span { font-size: 0.75rem; color: var(--text-muted); }
.hot-list .trend { font-size: 0.75rem; font-weight: 700; color: var(--red); }
.new-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,0.05); }
.new-list .rank { font-weight: 800; color: var(--green); font-size: 1rem; width: 20px; }
.new-list .info { flex: 1; }
.new-list .info h5 { font-size: 0.9rem; }
.new-list .up { color: var(--green); font-size: 0.8rem; font-weight: 700; }

/* 用户评论墙 */
.comment-wall { background-color: var(--bg-cream); }
.comment-data-banner { display: flex; justify-content: space-around; background: #fff; border-radius: var(--radius-card); padding: 32px; margin-bottom: 40px; box-shadow: var(--shadow-sm); }
.data-item { text-align: center; }
.data-item .num { font-size: 2.5rem; font-weight: 900; color: var(--red); line-height: 1.2; margin-bottom: 8px; background: linear-gradient(180deg, var(--red), var(--yellow)); -webkit-background-clip: text; color: transparent; }
.data-item p { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.comment-masonry { column-count: 3; column-gap: 20px; }
.comment-card { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow-sm); break-inside: avoid; border: 2px solid transparent; transition: all 0.3s; }
.comment-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.comment-user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.comment-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }
.comment-user h4 { font-size: 0.9rem; font-weight: 700; }
.comment-user .stars { color: var(--yellow); font-size: 0.75rem; }
.comment-text { font-size: 0.9rem; color: var(--text-main); line-height: 1.6; margin-bottom: 12px; }
.comment-footer { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.topic-pill { background: #fff; padding: 8px 18px; border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 600; color: var(--text-main); box-shadow: var(--shadow-sm); transition: all 0.3s var(--transition-jelly); cursor: pointer; }
.topic-pill:hover { background: var(--red); color: #fff; transform: scale(1.05); }

/* 追剧日历 */
.calendar-section .layout-split { display: flex; gap: 32px; }
.calendar-grid { flex: 1.5; background: #fff; border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.calendar-cell { background: var(--bg-cream); border-radius: 10px; padding: 10px 6px; text-align: center; transition: all 0.3s; cursor: pointer; border: 1px solid transparent; }
.calendar-cell:hover { transform: scale(1.05); border-color: var(--red); background: #fff; box-shadow: var(--shadow-sm); }
.calendar-cell .date { font-weight: 800; font-size: 1rem; margin-bottom: 4px; color: var(--text-main); }
.calendar-cell .drama-name { font-size: 0.7rem; color: var(--text-muted); line-height: 1.2; display: block; }
.timeline-panel { flex: 1; background: #fff; border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-sm); }
.timeline-panel h3 { font-size: 1.2rem; margin-bottom: 20px; }
.timeline-list { position: relative; padding-left: 20px; border-left: 2px dashed rgba(255,61,110,0.3); }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-item::before { content: ''; position: absolute; left: -27px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,61,110,0.2); animation: pulse 2s infinite; }
.timeline-item .time { font-weight: 800; color: var(--red); font-size: 0.9rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; font-weight: 600; }
.btn-reminder { display: block; width: 100%; background: linear-gradient(135deg, var(--red), #ff6b8b); color: #fff; text-align: center; padding: 14px; border-radius: var(--radius-pill); font-weight: 700; margin-top: 32px; transition: all 0.3s var(--transition-jelly); border: none; cursor: pointer; }
.btn-reminder:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,61,110,0.4); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,61,110,0.4); } 70% { box-shadow: 0 0 0 10px rgba(255,61,110,0); } 100% { box-shadow: 0 0 0 0 rgba(255,61,110,0); } }

/* FAQ + 下载 + Footer */
.faq-section { border-top: 1px solid rgba(255,61,110,0.1); }
.faq-list { max-width: 800px; margin: 0 auto 48px; }
.faq-item { background: #fff; border-radius: 16px; margin-bottom: 16px; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid transparent; transition: all 0.3s; }
.faq-item:hover { border-color: rgba(255,61,110,0.3); }
.faq-question { padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; }
.faq-answer { padding: 0 24px 18px; color: var(--text-muted); font-size: 0.95rem; display: none; }
.download-platforms { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 60px; }
.dl-btn { display: flex; align-items: center; gap: 12px; background: #fff; padding: 16px 32px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); font-weight: 700; transition: all 0.3s var(--transition-jelly); color: var(--text-main); }
.dl-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--red); }
.footer-area { background: #2c1e24; color: #d0c4c8; padding: 60px 20px 20px; border-radius: 40px 40px 0 0; margin-top: 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 36px; margin-bottom: 16px; border-radius: 6px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-links h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { font-size: 0.9rem; transition: all 0.3s; }
.footer-links ul li a:hover { color: var(--red); transform: translateX(4px); display: inline-block; }
.footer-bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.8rem; color: #8a7a80; }
.footer-bottom a { color: #8a7a80; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--red); }

/* 响应式断点 */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .ranking-grid { grid-template-columns: 1fr 1fr; }
  .ranking-col:last-child { grid-column: span 2; }
  .library-grid { grid-template-columns: 1fr; }
  .comment-masonry { column-count: 2; }
  .calendar-section .layout-split { flex-direction: column; }
}
@media (max-width: 768px) {
  .header-nav { padding: 8px 16px; top: 10px; }
  .nav-links { display: none; }
  .hero-section { padding-top: 100px; }
  .hero-title { font-size: 2.2rem; }
  .hero-main-card { flex-direction: column; }
  .hero-main-card img { width: 100%; height: 200px; }
  .topic-section .topic-group { flex-direction: column; }
  .topic-card-title { flex: none; width: 100%; }
  .ranking-grid { grid-template-columns: 1fr; }
  .ranking-col:last-child { grid-column: span 1; }
  .comment-masonry { column-count: 1; }
  .comment-data-banner { flex-wrap: wrap; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  section { padding: 56px 16px; }
  .section-watermark { font-size: 5rem; top: 20px; }
}