:root {
  --bg-pink: #ffeaf1;
  --card-pink: #ffe1eb;
  --text-dark: #2a2a2a;
  --text-gray: #6b6b6b;
  --accent-pink: #ff6b9d;
  --white: #ffffff;
  --radius-lg: 40px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 40px rgba(255, 107, 157, 0.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-pink);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* 导航 */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(255, 234, 241, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  overflow-x: auto; white-space: nowrap;
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 18px; }
.nav-logo img { height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 16px; font-size: 14px; }
.nav-links a { color: var(--text-gray); transition: color 0.3s; font-weight: 500; }
.nav-links a:hover { color: var(--accent-pink); }

/* 首屏 */
.hero-section {
  padding: 100px 20px 60px;
  max-width: 1200px; margin: 0 auto;
}
.hero-card {
  background: var(--card-pink);
  border-radius: var(--radius-lg);
  padding: 40px; display: flex; flex-direction: column; gap: 40px;
  box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
@media (min-width: 768px) {
  .hero-card { flex-direction: row; align-items: center; padding: 60px; }
}
.hero-graphic {
  flex: 1; display: flex; justify-content: center; align-items: center; position: relative;
  min-height: 200px;
}
.graphic-circle {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, #ffb3d1, #ff6b9d);
  box-shadow: inset -15px -15px 30px rgba(255,255,255,0.5), 1px 20px 40px rgba(255,107,157,0.4);
  position: relative; z-index: 2;
}
.graphic-circle::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd1e3, #ff99bd);
  box-shadow: inset 10px 10px 20px rgba(255,255,255,0.6), 0 10px 20px rgba(255,107,157,0.3);
  z-index: 1;
}
.hero-content { flex: 1.2; }
.hero-content h1 {
  font-size: 36px; font-weight: 800; color: var(--text-dark);
  line-height: 1.2; margin-bottom: 16px;
}
@media (min-width: 768px) { .hero-content h1 { font-size: 48px; } }
.hero-content p {
  font-size: 16px; color: var(--text-gray); margin-bottom: 32px; max-width: 500px;
}
.cta-group { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .cta-group { flex-direction: row; align-items: center; } }
.btn-primary {
  background: var(--white); color: var(--text-dark);
  padding: 14px 28px; border-radius: 50px; font-weight: bold; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); }
.btn-secondary {
  color: var(--text-gray); font-size: 16px; font-weight: 600; padding: 14px 20px;
  display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s;
  background: transparent; border: none; cursor: pointer;
}
.btn-secondary:hover { color: var(--text-dark); }
.store-buttons { display: flex; gap: 10px; margin-left: 10px; }
.btn-store {
  background: #222; color: #fff; padding: 10px 16px; border-radius: 12px;
  font-size: 13px; display: flex; align-items: center; gap: 6px; font-weight: 600;
  transition: background 0.2s;
}
.btn-store:hover { background: #000; }

/* 轮播 Banner */
.banner-section {
  max-width: 1200px; margin: 0 auto; padding: 20px;
}
.swiper-container {
  width: 100%; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-soft); position: relative;
}
.swiper-wrapper { display: flex; transition: transform 0.3s ease; }
.swiper-slide {
  min-width: 100%; position: relative;
}
.swiper-slide img { width: 100%; height: 300px; object-fit: cover; object-position: center 20%; }
@media (min-width: 768px) { .swiper-slide img { height: 400px; } }
.banner-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(0,0,0,0.6); color: #fff; padding: 6px 16px; border-radius: 20px;
  font-size: 14px; backdrop-filter: blur(4px);
}

/* 通用区块 */
.section-title {
  text-align: center; font-size: 28px; font-weight: 800; color: var(--text-dark);
  margin-bottom: 36px; padding-top: 40px;
}
.section-subtitle {
  text-align: center; color: var(--text-gray); margin-top: -30px; margin-bottom: 30px; font-size: 15px;
}
.category-section, .hot-section, .new-section, .rank-section, .detail-section, .play-section, .vip-section, .data-section, .activity-section, .about-section, .creator-section, .community-section, .download-section {
  max-width: 1200px; margin: 0 auto; padding: 20px;
}
.grid-layout {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px;
}
.card {
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 12px; }
.card-info h3 { font-size: 15px; font-weight: bold; color: var(--text-dark); margin-bottom: 4px; }
.card-info p { font-size: 12px; color: var(--text-gray); }

/* 分类入口 */
.category-list {
  display: flex; overflow-x: auto; gap: 12px; padding-bottom: 10px; scrollbar-width: none;
}
.category-list::-webkit-scrollbar { display: none; }
.cat-item {
  background: var(--white); padding: 16px 24px; border-radius: 30px;
  font-weight: bold; color: var(--text-dark); display: flex; align-items: center; gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); white-space: nowrap;
}
.cat-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--card-pink);
  display: flex; justify-content: center; align-items: center; font-size: 12px;
}

/* 榜单 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item {
  display: flex; align-items: center; background: var(--white); padding: 16px; border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rank-num {
  font-size: 20px; font-weight: 900; color: var(--accent-pink); width: 40px;
}
.rank-img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; margin-right: 16px; }
.rank-info h3 { font-size: 16px; margin-bottom: 4px; }
.rank-info p { font-size: 13px; color: var(--text-gray); }

/* 详情页/播放页展示区 */
.showcase-block {
  background: var(--white); border-radius: var(--radius-md); padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 20px;
}
@media (min-width: 768px) { .showcase-block { flex-direction: row; align-items: center; } }
.showcase-img { flex: 1; border-radius: var(--radius-sm); overflow: hidden; }
.showcase-img img { width: 100%; height: auto; }
.showcase-content { flex: 1.5; }
.showcase-content h3 { font-size: 22px; margin-bottom: 12px; }
.showcase-content p { color: var(--text-gray); font-size: 14px; margin-bottom: 20px; }
.feature-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { background: var(--bg-pink); color: var(--accent-pink); padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: bold; }
.star-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.star-bar img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* 会员区 */
.vip-banner {
  background: linear-gradient(135deg, #333, #111); color: #fff; border-radius: var(--radius-md);
  padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.vip-banner h2 { font-size: 28px; color: #f5d78a; }
.vip-banner p { color: #ccc; max-width: 400px; }
.btn-gold { background: linear-gradient(135deg, #f5d78a, #e2b857); color: #333; padding: 12px 30px; border-radius: 30px; font-weight: bold; border: none; cursor: pointer; }

/* 数据区 */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--white); padding: 24px; border-radius: var(--radius-sm); text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.stat-num { font-size: 28px; font-weight: 900; color: var(--accent-pink); margin-bottom: 8px; }
.stat-label { font-size: 14px; color: var(--text-gray); }

/* 活动专题 */
.activity-banner {
  background: var(--card-pink); border-radius: var(--radius-md); overflow: hidden; position: relative;
}
.activity-banner img { width: 100%; height: 200px; object-fit: cover; }
.activity-text { padding: 20px; }
.activity-text h3 { font-size: 20px; margin-bottom: 8px; }

/* 关于我们 / 创作者 / 社区 */
.text-block { background: var(--white); border-radius: var(--radius-md); padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.text-block h2 { font-size: 24px; margin-bottom: 16px; }
.text-block p { color: var(--text-gray); font-size: 15px; margin-bottom: 12px; }
.community-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 768px) { .community-grid { grid-template-columns: 1fr 1fr; } }

/* 下载引导 */
.download-box { text-align: center; padding: 40px 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.download-box h2 { font-size: 28px; margin-bottom: 16px; }
.download-box p { color: var(--text-gray); margin-bottom: 24px; }
.download-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* 搜索 */
.footer-search { max-width: 1200px; margin: 0 auto; padding: 30px 20px; text-align: center; }
.search-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.search-tags span { background: var(--white); padding: 4px 12px; border-radius: 12px; font-size: 13px; color: var(--text-gray); }

/* 用户中心 */
.user-center {
  max-width: 1200px; margin: 20px auto; padding: 20px;
  background: var(--white); border-radius: var(--radius-md); text-align: center;
}
.user-center h2 { margin-bottom: 10px; }

/* 页脚 */
footer {
  background: var(--bg-pink); padding: 40px 20px 20px; text-align: center; font-size: 12px; color: var(--text-gray);
  border-top: 1px solid rgba(0,0,0,0.05); margin-top: 40px;
}
footer a { color: var(--text-gray); }
footer p { margin-bottom: 8px; }

/* 弹窗 */
.modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: center;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--white); padding: 24px; border-radius: 16px; width: 90%; max-width: 400px; text-align: center;
}
.modal-content p { margin-bottom: 16px; font-size: 15px; color: var(--text-dark); }
.modal-link {
  background: #f0f0f0; padding: 12px; border-radius: 8px; word-break: break-all;
  font-size: 14px; margin-bottom: 16px; color: var(--text-dark); font-family: monospace;
}
.modal-btn { background: var(--accent-pink); color: #fff; border: none; padding: 10px 24px; border-radius: 20px; font-size: 15px; cursor: pointer; }