:root {
  --bg-color: #FFF5F8;
  --card-bg: #FFFFFF;
  --card-bg-trans: rgba(255, 255, 255, 0.85);
  --primary-pink: #FFB6C1;
  --text-dark: #5C3A4F;
  --text-soft: #8E7583;
  --accent-blue: #B5D8F7;
  --accent-red: #FF6B81;
  --border-color: #FCE4EC;
  --shadow: 0 12px 32px rgba(255, 182, 193, 0.2);
  --radius-card: 32px;
  --radius-btn: 99px;
  --font-main: "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-color);
  color: var(--text-soft);
  font-family: var(--font-main);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 导航栏 */
header {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(255, 182, 193, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; color: var(--text-dark); }
.logo-area img { height: 32px; width: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-soft); font-weight: 500; transition: color 0.3s; position: relative; }
.nav-links a:hover { color: var(--text-dark); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary-pink); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  background: var(--bg-color); border: 1px solid var(--border-color); border-radius: var(--radius-btn); padding: 6px 16px; color: var(--text-soft); font-size: 13px; outline: none;
}
.btn-download {
  background: linear-gradient(135deg, #FFB6C1, #FF8DA1); color: #fff; padding: 8px 20px; border-radius: var(--radius-btn); font-weight: bold; font-size: 14px; transition: transform 0.2s;
}
.btn-download:hover { transform: scale(1.05); }

/* Hero 区 */
.hero { padding: 60px 0; }
.hero-card {
  background: linear-gradient(135deg, #FFF5F8, #FFE4EC);
  border-radius: var(--radius-card);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-text { max-width: 50%; position: relative; z-index: 2; }
.hero-text h1 { font-size: 3.5rem; font-weight: 900; color: var(--text-dark); margin-bottom: 16px; text-shadow: 2px 2px 0px #fff; line-height: 1.2; }
.hero-text p { font-size: 1.2rem; color: var(--text-soft); margin-bottom: 24px; }
.hero-tags { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-tags span { background: #fff; padding: 6px 16px; border-radius: var(--radius-btn); font-size: 13px; font-weight: bold; color: var(--text-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.hero-btns { display: flex; gap: 16px; }
.btn-main { background: linear-gradient(135deg, #FFB6C1, #FF8DA1); color: #fff; padding: 14px 32px; border-radius: var(--radius-btn); font-size: 16px; font-weight: bold; border: none; cursor: pointer; transition: transform 0.2s; }
.btn-main:hover { transform: translateY(-2px); }
.btn-sub { background: var(--accent-blue); color: var(--text-dark); padding: 14px 32px; border-radius: var(--radius-btn); font-size: 16px; font-weight: bold; border: none; cursor: pointer; transition: transform 0.2s; }
.btn-sub:hover { transform: translateY(-2px); }
.hero-img { width: 45%; position: relative; z-index: 1; }
.hero-img img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* 弹幕词云 */
.danmu-cloud { padding: 40px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.danmu-bubble {
  background: #fff; padding: 10px 24px; border-radius: var(--radius-btn); font-size: 15px; font-weight: bold; color: var(--text-dark); box-shadow: var(--shadow); animation: float 3s ease-in-out infinite alternate;
}
.danmu-bubble:nth-child(even) { animation-delay: 1s; color: var(--accent-red); }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* 通用区块标题 */
.section-title { text-align: center; font-size: 2rem; color: var(--text-dark); font-weight: 900; margin-bottom: 40px; position: relative; }

/* 数据卡片 */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.stat-card { background: #fff; padding: 30px; border-radius: var(--radius-card); text-align: center; box-shadow: var(--shadow); }
.stat-card h3 { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 8px; }
.stat-card p { font-size: 14px; }

/* 追番小窝 (核心版面) */
.binge-section {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
}
.binge-center {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}
.binge-calendar {
  background: rgba(255, 182, 193, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 24px;
}
.binge-calendar h3 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 16px; text-align: center; }
.week-days { display: flex; flex-direction: column; gap: 10px; }
.day-item {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 12px; cursor: pointer; transition: all 0.3s; color: var(--text-soft); font-weight: bold;
}
.day-item:hover { background: rgba(255, 255, 255, 0.5); }
.day-item.active { background: var(--primary-pink); color: #fff; box-shadow: 0 4px 12px rgba(255, 182, 193, 0.4); }
.day-item.active .day-badge { background: #fff; color: var(--text-dark); }
.day-badge { font-size: 12px; background: rgba(255, 255, 255, 0.6); padding: 2px 8px; border-radius: 10px; }
.binge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.binge-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 8px 24px rgba(255,182,193,0.15); transition: transform 0.3s; position: relative; }
.binge-card:hover { transform: translateY(-5px); }
.binge-card img { width: 100%; aspect-ratio: 3/4; border-bottom: 2px solid var(--border-color); }
.binge-card-info { padding: 16px; }
.binge-card-info h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.binge-card-info p { font-size: 12px; color: var(--text-soft); }
.love-btn { position: absolute; top: 12px; right: 12px; background: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-red); font-size: 18px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); cursor: pointer; border: none; }
.binge-card .tag { position: absolute; top: 12px; left: 12px; background: var(--accent-red); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 8px; }

/* 横向滑动轨道 */
.scroll-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.scroll-track::-webkit-scrollbar { display: none; }
.track-card { flex: 0 0 200px; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.track-card img { width: 100%; aspect-ratio: 3/4; }
.track-card .bottom-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 30px 12px 12px; color: #fff; }
.track-card .bottom-info p { font-size: 14px; font-weight: bold; }

/* 排行榜 */
.rank-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 60px; }
.rank-item { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3/4; }
.rank-item img { width: 100%; height: 100%; }
.rank-num { position: absolute; top: 10px; left: 10px; font-size: 2.5rem; font-weight: 900; color: transparent; -webkit-text-stroke: 1px #FFB6C1; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); line-height: 1; }
.rank-title { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(92, 58, 79, 0.8); color: #fff; padding: 10px; text-align: center; font-size: 14px; }

/* 常见问题 */
.faq-item { background: #fff; border-radius: 16px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(255,182,193,0.1); border: 1px solid var(--border-color); }
.faq-q { padding: 20px 24px; font-weight: bold; color: var(--text-dark); display: flex; justify-content: space-between; cursor: pointer; font-size: 16px; }
.faq-a { padding: 0 24px 20px; color: var(--text-soft); display: none; border-top: 1px dashed var(--border-color); padding-top: 16px; margin-top: 4px; }

/* 下载区 */
.download-section { background: linear-gradient(135deg, #FFB6C1, #FF8DA1); border-radius: 40px; padding: 60px 40px; color: #fff; display: flex; align-items: center; justify-content: space-between; margin: 80px 0; box-shadow: var(--shadow); position: relative; }
.dl-text h2 { font-size: 2.5rem; color: #fff; margin-bottom: 20px; }
.dl-text p { font-size: 1.1rem; margin-bottom: 32px; color: rgba(255,255,255,0.9); }
.dl-btn-group { display: flex; gap: 16px; }
.dl-btn-group a { background: #fff; color: var(--text-dark); padding: 12px 30px; border-radius: var(--radius-btn); font-weight: bold; font-size: 16px; transition: transform 0.2s; display: inline-block; }
.dl-btn-group a:hover { transform: scale(1.05); }
.dl-img { width: 30%; }
.dl-img img { border-radius: 24px; border: 4px solid rgba(255,255,255,0.3); }

/* 页脚 */
footer { background: #FFF5F8; padding: 40px 0 20px; color: var(--text-soft); font-size: 13px; text-align: center; border-top: 1px solid var(--border-color); position: relative; }
footer .footer-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--text-dark); font-weight: bold; font-size: 16px; margin-bottom: 12px; }
footer .footer-logo img { height: 24px; border-radius: 6px; }
footer p { margin-bottom: 8px; }
footer a { color: var(--text-soft); }
footer a:hover { color: var(--text-dark); }
.time-info { font-size: 12px; margin-top: 8px; opacity: 0.8; }

/* 悬浮按钮 */
.float-btn {
  position: fixed; bottom: 30px; right: 30px; background: linear-gradient(135deg, #FFB6C1, #FF6B81); color: #fff; padding: 14px 24px; border-radius: var(--radius-btn); font-weight: bold; box-shadow: 0 4px 20px rgba(255, 107, 129, 0.4); z-index: 999; animation: pulse 2s infinite; display: flex; align-items: center; gap: 8px; transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.05); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 129, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 107, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 129, 0); } }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-card { flex-direction: column; text-align: center; padding: 40px 20px; }
  .hero-text { max-width: 100%; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-tags, .hero-btns { justify-content: center; }
  .hero-img { width: 60%; margin-top: 30px; }
  .binge-grid, .rank-grid { grid-template-columns: repeat(3, 1fr); }
  .download-section { flex-direction: column; text-align: center; padding: 40px 20px; }
  .dl-img { width: 50%; margin-top: 30px; }
  .dl-btn-group { justify-content: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .search-box { display: none; }
  .hero-text h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .binge-center { grid-template-columns: 1fr; }
  .binge-calendar { flex-direction: row; overflow-x: auto; display: flex; gap: 10px; padding: 15px; }
  .week-days { flex-direction: row; }
  .day-item { white-space: nowrap; padding: 8px 12px; }
  .binge-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-img { width: 80%; }
  .dl-btn-group { flex-direction: column; }
}