:root {
  --brand-red: #FF3B5C;
  --brand-pink: #FF8FA8;
  --bg-light: #FFF5F7;
  --text-dark: #333333;
  --text-gray: #666666;
  --gradient-main: linear-gradient(135deg, #FF3B5C, #FF8FA8);
  --card-shadow: 0 8px 24px rgba(255, 59, 92, 0.08);
  --card-hover-shadow: 0 12px 32px rgba(255, 59, 92, 0.15);
  --radius-card: 20px;
  --radius-pill: 999px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; object-fit: cover; }

/* 通用布局 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-pink { background-color: var(--bg-light); }
.section-title { font-size: 28px; font-weight: bold; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; }
.section-title span { font-size: 32px; }
.btn-primary {
  background: var(--gradient-main); color: #fff; border-radius: var(--radius-pill);
  padding: 12px 32px; font-weight: bold; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255, 59, 92, 0.3); }
.tag-pill {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill);
  background: #FFE5EB; color: var(--brand-red); font-size: 12px; font-weight: 500;
}

/* 顶部导航 */
.header {
  position: fixed; top: 0; left: 0; width: 100%; height: 72px; z-index: 1000;
  transition: all 0.3s ease; background: transparent; color: #fff;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); color: var(--text-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo-box { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo-box img { height: 36px; border-radius: 8px; }
.nav-menu { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.nav-menu a:hover { color: var(--brand-red); }
.search-box {
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill); padding: 8px 16px; color: inherit; font-size: 14px;
  width: 200px; outline: none; transition: all 0.3s;
}
.header.scrolled .search-box { background: var(--bg-light); border-color: #FFE5EB; }
.search-box::placeholder { color: rgba(255,255,255,0.7); }
.header.scrolled .search-box::placeholder { color: #999; }

/* Hero 首屏 */
.hero {
  position: relative; height: 90vh; min-height: 600px; overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; z-index: 2;
  background: linear-gradient(to top, rgba(255, 59, 92, 0.8), transparent);
}
.hero-content {
  position: relative; z-index: 3; width: 100%; display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 40px; color: #fff;
}
.hero-info { max-width: 600px; }
.hero-tag {
  background: var(--brand-red); padding: 4px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: bold; margin-bottom: 16px; display: inline-block;
}
.hero-title { font-size: 48px; font-weight: bold; margin-bottom: 12px; line-height: 1.2; }
.hero-desc { font-size: 18px; margin-bottom: 24px; opacity: 0.9; }
.hero-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; }
.hero-meta .badge { background: #00D26A; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.hero-data-band {
  margin-top: 24px; font-size: 14px; opacity: 0.8; display: flex; gap: 16px;
}
.hero-thumbnails { display: flex; flex-direction: column; gap: 12px; }
.thumb-card {
  width: 80px; height: 106px; border-radius: 12px; overflow: hidden; cursor: pointer;
  transition: all 0.3s; border: 2px solid transparent; opacity: 0.6;
}
.thumb-card.active { width: 96px; height: 128px; border-color: #fff; opacity: 1; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.thumb-card img { width: 100%; height: 100%; object-fit: cover; }

/* 今日上新 */
.timeline { display: flex; gap: 40px; overflow-x: auto; padding-bottom: 20px; }
.time-node { flex: 1; min-width: 280px; }
.time-title { font-size: 20px; font-weight: bold; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px dashed #FFE5EB; color: var(--brand-red); }
.time-node.gray .time-title { color: #999; border-color: #eee; }
.card-row { display: flex; gap: 16px; }
.card-small { width: 120px; cursor: pointer; position: relative; }
.card-small .img-box { width: 100%; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; position: relative; margin-bottom: 8px; }
.card-small .img-box img { width: 100%; height: 100%; }
.card-small .img-box .new-badge { position: absolute; top: 0; left: 0; background: var(--brand-red); color: #fff; font-size: 10px; padding: 2px 6px; border-bottom-right-radius: 8px; }
.card-small h4 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.card-small p { font-size: 12px; color: #999; margin-bottom: 4px; }

/* 男女频双主场 */
.zone-cards { display: flex; gap: 24px; }
.zone-card {
  flex: 1; border-radius: var(--radius-card); padding: 40px; position: relative; overflow: hidden;
  color: #fff; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.3s; cursor: pointer;
}
.zone-card:hover { transform: scale(1.02); }
.zone-female { background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%); }
.zone-male { background: linear-gradient(135deg, #800000 0%, #000080 100%); }
.zone-title { font-size: 32px; font-weight: bold; margin-bottom: 8px; }
.zone-sub { font-size: 16px; opacity: 0.9; margin-bottom: 24px; }
.zone-link { font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 8px; }

/* 热播混排 */
.hot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hot-item {
  background: #fff; border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--card-shadow); transition: transform 0.3s, box-shadow 0.3s; cursor: pointer;
  position: relative;
}
.hot-item:hover { transform: translateY(-6px); box-shadow: var(--card-hover-shadow); }
.hot-item-large { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.hot-item-large .hot-img { flex: 1; min-height: 300px; position: relative; }
.hot-item-large .hot-img img { width: 100%; height: 100%; object-fit: cover; }
.hot-item-large .top-badge {
  position: absolute; top: 12px; left: 12px; background: var(--gradient-main);
  color: #fff; font-size: 14px; font-weight: bold; padding: 6px 12px; border-radius: var(--radius-pill);
}
.hot-info { padding: 16px; }
.hot-info h3 { font-size: 18px; margin-bottom: 8px; }
.hot-info p { font-size: 13px; color: var(--text-gray); margin-bottom: 12px; }
.hot-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #999; }
.hot-standard .hot-img { aspect-ratio: 3/4; position: relative; }
.hot-standard .hot-img img { width: 100%; height: 100%; }
.hot-standard .corner-tag {
  position: absolute; top: 8px; left: 8px; padding: 2px 6px; border-radius: 4px; font-size: 10px; font-weight: bold; color: #fff;
}
.tag-free { background: #00D26A; }
.tag-exclusive { background: var(--brand-red); }

/* 排行榜 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  display: flex; align-items: center; background: #fff; border-radius: 16px; padding: 16px;
  box-shadow: var(--card-shadow); transition: transform 0.2s;
}
.rank-item:hover { transform: translateX(8px); }
.rank-num {
  font-size: 32px; font-weight: bold; font-style: italic; width: 60px; text-align: center;
  color: transparent; -webkit-text-stroke: 1px var(--brand-red);
}
.rank-item:nth-child(-n+3) .rank-num { color: var(--brand-red); -webkit-text-stroke: 0; }
.rank-poster { width: 60px; height: 80px; border-radius: 8px; overflow: hidden; margin-right: 16px; }
.rank-poster img { width: 100%; height: 100%; }
.rank-details { flex: 1; }
.rank-details h3 { font-size: 16px; margin-bottom: 4px; }
.rank-details p { font-size: 12px; color: #999; }
.rank-score { font-size: 14px; color: var(--brand-red); font-weight: bold; display: flex; align-items: center; gap: 8px; }
.rank-up { background: #FFE5EB; padding: 2px 6px; border-radius: 4px; font-size: 12px; }

/* 题材标签墙 */
.tag-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.wall-card {
  border-radius: 16px; padding: 24px 12px; text-align: center; color: #fff;
  font-weight: bold; font-size: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform 0.2s;
}
.wall-card:hover { transform: scale(1.05); }
.wall-card span { font-size: 28px; }
.bg-1 { background: linear-gradient(135deg, #FF6B81, #FF8FA8); }
.bg-2 { background: linear-gradient(135deg, #FF3B5C, #FF6B81); }
.bg-3 { background: linear-gradient(135deg, #8B4513, #CD853F); }
.bg-4 { background: linear-gradient(135deg, #FFD700, #FFA500); }
.bg-5 { background: linear-gradient(135deg, #4A90E2, #50E3C2); }
.bg-6 { background: linear-gradient(135deg, #9013FE, #B06AB3); }
.bg-7 { background: linear-gradient(135deg, #F39C12, #F1C40F); }
.bg-8 { background: linear-gradient(135deg, #E74C3C, #C0392B); }
.bg-9 { background: linear-gradient(135deg, #34495E, #2C3E50); }
.bg-10 { background: linear-gradient(135deg, #27AE60, #2ECC71); }
.bg-11 { background: linear-gradient(135deg, #E91E63, #F06292); }
.bg-12 { background: linear-gradient(135deg, #9B59B6, #8E44AD); }

/* 独播剧场 */
.exclusive-banner {
  display: flex; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow);
}
.exclusive-left { flex: 1; position: relative; min-height: 400px; }
.exclusive-left img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.exclusive-mask { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.8), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; color: #fff; }
.exclusive-right { width: 400px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--bg-light); }
.exc-small { background: #fff; border-radius: 12px; padding: 8px; }
.exc-small img { width: 100%; aspect-ratio: 3/4; border-radius: 8px; object-fit: cover; margin-bottom: 8px; }
.exc-small h4 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 福利 */
.welfare-cards { display: flex; gap: 24px; }
.welfare-card { flex: 1; background: #fff; border: 2px solid transparent; background-clip: padding-box; border-radius: var(--radius-card); padding: 32px; position: relative; text-align: center; box-shadow: var(--card-shadow); }
.welfare-card::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: var(--gradient-main); border-radius: 22px; }
.welfare-icon { font-size: 48px; margin-bottom: 16px; }
.welfare-card h3 { font-size: 20px; margin-bottom: 8px; }
.welfare-card p { font-size: 14px; color: var(--text-gray); }

/* 弹幕 */
.danmaku-wrap { overflow: hidden; white-space: nowrap; margin-bottom: 16px; }
.danmaku-track { display: inline-flex; gap: 16px; animation: scroll 30s linear infinite; }
.danmaku-track.reverse { animation-direction: reverse; }
.danmaku-wrap:hover .danmaku-track { animation-play-state: paused; }
.danmaku-item { background: #fff; border-radius: var(--radius-pill); padding: 8px 20px; display: inline-flex; align-items: center; gap: 12px; box-shadow: var(--card-shadow); }
.danmaku-item .avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-pink); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 底部下载 */
.download-section { background: var(--gradient-main); color: #fff; padding: 80px 0; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.download-left { flex: 1; }
.download-features { display: flex; gap: 20px; margin-top: 32px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.download-right { text-align: center; }
.qr-card { background: #fff; padding: 20px; border-radius: var(--radius-card); color: var(--text-dark); }
.qr-card img { width: 160px; height: 160px; margin: 0 auto 12px; }
.badges { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.badges span { background: rgba(255,255,255,0.2); padding: 4px 12px; border-radius: 4px; font-size: 12px; }

/* 页脚 */
.footer { background: #333; color: #999; padding: 40px 0 20px; font-size: 13px; }
.footer-links { display: flex; justify-content: space-between; margin-bottom: 32px; }
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 14px; }
.footer-col a { display: block; margin-bottom: 8px; }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 20px; }
.footer-bottom a { color: #999; }

/* 响应式 */
@media (max-width: 1024px) {
  .hot-grid { grid-template-columns: repeat(3, 1fr); }
  .tag-wall { grid-template-columns: repeat(4, 1fr); }
  .exclusive-right { width: 320px; }
}
@media (max-width: 768px) {
  .nav-menu, .search-box { display: none; }
  .hero-content { flex-direction: column; align-items: flex-start; }
  .hero-thumbnails { flex-direction: row; overflow-x: auto; width: 100%; margin-top: 24px; }
  .thumb-card { flex-shrink: 0; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .hot-item-large { grid-column: span 2; grid-row: auto; }
  .zone-cards, .welfare-cards, .download-inner, .exclusive-banner { flex-direction: column; }
  .exclusive-right { width: 100%; }
  .tag-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-links { flex-direction: column; gap: 24px; }
  .download-features { flex-direction: column; }
}