:root {
  --bg: #FFF9F2;
  --card: #FFFFFF;
  --primary: #FF7A00;
  --secondary: #FFB347;
  --text-main: #3D2B1F;
  --text-sub: #887B75;
  --green: #4CAF50;
  --border: #FFE4D1;
  --shadow: 0 8px 24px rgba(255, 122, 0, 0.1);
  --radius: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 装饰 */
.decor { position: absolute; pointer-events: none; opacity: 0.4; font-size: 40px; color: var(--primary); }

/* 导航 */
.header {
  background: #fff;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--secondary)) 1;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: var(--text-main); }
.logo-area img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 24px; font-weight: 600; }
.nav-links a { transition: all 0.2s; }
.nav-links a:hover { color: var(--primary); transform: translateY(-3px); display: inline-block; }
.header-right { display: flex; align-items: center; gap: 15px; }
.search-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}
.search-box input { border: none; background: transparent; outline: none; color: var(--text-sub); width: 100px; }
.btn-download-small {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s;
}
.btn-download-small:hover { background: #e06b00; transform: scale(1.05); }

/* Hero */
.hero { padding: 40px 0; position: relative; }
.hero-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 32px;
  padding: 60px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-card::after {
  content: '🐾';
  position: absolute;
  right: -20px;
  top: -20px;
  font-size: 200px;
  opacity: 0.15;
  transform: rotate(-20deg);
}
.hero-card h1 { font-size: 42px; margin-bottom: 16px; letter-spacing: 1px; }
.hero-card p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }
.btn-white { background: #fff; color: var(--primary); padding: 14px 36px; border-radius: 30px; font-size: 18px; font-weight: 800; transition: 0.3s; }
.btn-ghost { border: 2px solid #fff; color: #fff; padding: 14px 36px; border-radius: 30px; font-size: 18px; font-weight: 800; transition: 0.3s; }
.btn-white:hover, .btn-ghost:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }

/* 标签墙 */
.tags-wall { padding: 20px 0 40px; display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.tag-bubble {
  background: #fff;
  border: 2px solid var(--border);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  color: var(--text-main);
  transition: 0.3s;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255,122,0,0.05);
}
.tag-bubble:hover { transform: scale(1.1) translateY(-5px); border-color: var(--primary); color: var(--primary); }

/* 通用板块 */
.section { padding: 60px 0; position: relative; }
.section-title { font-size: 32px; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.section-title::before { content: ''; width: 8px; height: 28px; background: var(--primary); border-radius: 4px; display: inline-block; }
.section-subtitle { color: var(--text-sub); margin-top: -20px; margin-bottom: 30px; font-size: 16px; }

/* 追番小窝 */
.nest-container { display: flex; gap: 20px; align-items: stretch; }
.calendar { flex: 0 0 120px; background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.calendar-item { text-align: center; color: var(--text-sub); font-weight: 600; padding: 8px; border-radius: 12px; }
.calendar-item.active { background: var(--primary); color: #fff; box-shadow: 0 4px 10px rgba(255,122,0,0.3); }
.nest-cards { flex: 1; display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; }
.nest-card {
  flex: 0 0 220px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.nest-card img { width: 100%; aspect-ratio: 3/4; }
.nest-info { padding: 15px; }
.nest-info h3 { font-size: 16px; margin-bottom: 5px; }
.nest-info p { font-size: 13px; color: var(--text-sub); }
.badge-hot { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 10px; }
.badge-finish { background: var(--green); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 10px; display: inline-block; margin-top: 8px; }

/* 分栏：时间表 & 数据墙 */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.timeline { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.timeline-item { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px dashed var(--border); }
.timeline-item:last-child { border-bottom: none; }
.time-dot { font-weight: 800; color: var(--primary); min-width: 50px; }
.timeline-content h4 { font-size: 16px; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--text-sub); }
.data-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.data-card { background: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.data-num { font-size: 36px; font-weight: 900; color: var(--primary); line-height: 1.2; }
.data-label { color: var(--text-sub); font-size: 14px; margin-top: 8px; font-weight: 600; }

/* 热门动画横滑 */
.scroll-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; }
.scroll-item { flex: 0 0 180px; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.scroll-item img { width: 100%; aspect-ratio: 2/3; transition: 0.3s; }
.scroll-item:hover img { transform: scale(1.05); }
.scroll-item p { background: #fff; padding: 10px; font-size: 14px; font-weight: 700; text-align: center; }

/* 排行榜 */
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rank-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; }
.rank-item img { width: 100%; height: 100%; object-fit: cover; }
.rank-num { position: absolute; top: 10px; left: 15px; font-size: 48px; font-weight: 900; color: var(--primary); text-shadow: 2px 2px 0 var(--text-main); line-height: 1; z-index: 2; }
.rank-mask { position: absolute; bottom: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); padding: 20px 15px 15px; color: #fff; font-weight: 700; font-size: 18px; }

/* 制作与声优 */
.creator-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; }
.creator-card { background: #fff; border-radius: var(--radius); padding: 20px 30px; box-shadow: var(--shadow); font-weight: 800; color: var(--text-main); border: 2px solid var(--border); }
.voice-avatar { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--secondary); overflow: hidden; }
.voice-avatar img { width: 100%; height: 100%; }

/* 名场面 */
.dark-card { background: #2C1E15; border-radius: var(--radius); padding: 60px 40px; text-align: center; position: relative; overflow: hidden; color: #fff; margin-top: 20px; }
.dark-card h3 { font-size: 28px; color: var(--secondary); margin-bottom: 20px; }
.dark-card p { font-size: 20px; font-weight: 600; letter-spacing: 1px; }
.danmaku { position: absolute; font-size: 14px; color: rgba(255,255,255,0.4); background: rgba(255,122,0,0.2); padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.dm1 { top: 20px; left: 10%; }
.dm2 { top: 40px; right: 15%; }
.dm3 { bottom: 30px; left: 20%; }

/* 音乐区 */
.music-section { display: flex; gap: 30px; align-items: center; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.vinyl { width: 120px; height: 120px; border-radius: 50%; background: #222; border: 4px solid #333; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vinyl-center { width: 40px; height: 40px; border-radius: 50%; background: var(--green); }
.music-info h3 { font-size: 22px; margin-bottom: 8px; }
.music-info p { color: var(--text-sub); font-size: 14px; }

/* 投票与评价 */
.vote-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 20px; margin-bottom: 15px; }
.vote-img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.vote-img img { width: 100%; height: 100%; }
.vote-info { flex: 1; }
.progress-bar { width: 100%; height: 10px; background: var(--bg); border-radius: 5px; margin-top: 10px; overflow: hidden; }
.progress-inner { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 5px; width: 0; transition: width 0.5s; }
.btn-vote { background: var(--primary); color: #fff; border: none; padding: 8px 20px; border-radius: 20px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-vote:hover { transform: scale(1.05); }

.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.review-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.stars { color: var(--primary); font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-sub); }

/* 漫画网格 */
.manga-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.manga-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.manga-card img { width: 100%; aspect-ratio: 3/4; }
.manga-card p { padding: 10px; font-size: 14px; text-align: center; font-weight: 700; }

/* 下载区 */
.download-section { padding: 60px 0; }
.download-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 40px;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.download-banner::before {
  content: '✨';
  position: absolute;
  top: 20px;
  left: 10%;
  font-size: 40px;
  opacity: 0.5;
}
.download-banner h2 { font-size: 36px; margin-bottom: 16px; }
.download-banner p.desc { font-size: 18px; margin-bottom: 30px; color: #FFF0E0; }
.download-tags { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.dl-tag { background: #fff; color: var(--primary); padding: 8px 20px; border-radius: 20px; font-weight: 700; font-size: 14px; }
.dl-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-dl-large { background: #fff; color: var(--primary); padding: 16px 40px; border-radius: 30px; font-size: 18px; font-weight: 900; transition: 0.3s; display: inline-block; }
.btn-dl-large:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.dl-note { margin-top: 20px; font-size: 13px; color: #FFF0E0; }

/* 悬浮按钮 */
.float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(255,122,0,0.4);
  z-index: 1000;
  animation: float 2s infinite ease-in-out;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 页脚 */
.footer {
  background: var(--text-main);
  color: #FFF9F2;
  padding: 40px 0 30px;
  font-size: 13px;
  text-align: center;
}
.footer a { color: #FFF9F2; opacity: 0.8; }
.footer a:hover { opacity: 1; text-decoration: underline; }
.footer p { margin-bottom: 10px; opacity: 0.7; }
.footer time { display: inline-block; margin-top: 10px; opacity: 0.5; }

/* 响应式 */
@media (min-width: 768px) {
  .manga-grid, .review-grid { grid-template-columns: repeat(3, 1fr); }
  .rank-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .manga-grid { grid-template-columns: repeat(5, 1fr); }
  .review-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-card h1 { font-size: 56px; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .split-layout { grid-template-columns: 1fr; }
  .nest-container { flex-direction: column; }
  .calendar { flex-direction: row; overflow-x: auto; flex: auto; }
  .review-grid { grid-template-columns: 1fr; }
  .manga-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card h1 { font-size: 32px; }
  .float-btn { bottom: 20px; right: 20px; padding: 10px 20px; font-size: 14px; }
  .download-banner h2 { font-size: 28px; }
}