:root {
  --bg-main: #f7f5f0;
  --bg-alt: #1a1a24;
  --text-dark: #222;
  --text-light: #f4f4f4;
  --accent-pink: #ff3366;
  --accent-gradient: linear-gradient(90deg, #ff3366, #ff9900, #ff3366);
  --border-color: #e0dcd3;
  --card-bg: #ffffff;
  --radius-lg: 16px;
  --radius-md: 8px;
  --font-base: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* 顶部导航 */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 4%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  transition: color 0.3s, background 0.3s;
  padding: 4px 8px;
  border-radius: 4px;
}
.nav-menu a:hover { color: var(--accent-pink); background: #fff0f3; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* 首屏 */
.hero {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero-text h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-primary { background: var(--accent-pink); color: #fff; }
.btn-outline { background: #fff; color: #333; border: 1px solid #ccc; }
.btn-dark { background: #222; color: #fff; }
.hero-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hero-imgs img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.hero-imgs .main-img {
  grid-column: 1 / -1;
  height: 220px;
}
.hero-imgs .sub-img { height: 140px; }

/* 跑马灯 */
.marquee-wrap {
  background: #222;
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 40px;
}
.marquee-text {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 通用区块 */
section { padding: 60px 0; }
.sec-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}
.sec-desc {
  text-align: center;
  color: #666;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* 精品国漫 */
.sec-guoman { background: #f0f4f8; }
.guoman-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.guoman-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.guoman-card img { height: 200px; width: 100%; object-fit: cover; }
.guoman-card-content { padding: 16px; }
.guoman-card-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag { background: #e0f2fe; color: #0284c7; font-size: 0.8rem; padding: 2px 8px; border-radius: 4px; }
.date { font-size: 0.8rem; color: #888; }

/* 精品日漫 (左右结构) */
.sec-riman { background: #2a2a35; color: #fff; }
.riman-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}
.riman-img img { border-radius: var(--radius-lg); width: 100%; height: auto; }
.riman-list { display: grid; gap: 12px; }
.riman-item {
  background: rgba(255,255,255,0.05);
  padding: 16px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-pink);
}
.riman-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.riman-item p { font-size: 0.9rem; color: #ccc; }

/* 精品韩漫 (时间轴) */
.sec-hanman { background: #fff7f0; }
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 3px; background: #ffd6cc;
}
.time-item {
  position: relative; padding-left: 60px; margin-bottom: 24px;
}
.time-item::before {
  content: ''; position: absolute; left: 12px; top: 6px; width: 19px; height: 19px;
  background: var(--accent-pink); border-radius: 50%; border: 4px solid #fff;
}
.time-badge {
  display: inline-block; background: var(--accent-pink); color: #fff;
  padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; margin-bottom: 4px;
}
.time-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.time-item p { font-size: 0.9rem; color: #555; }

/* 今日热播榜 */
.sec-hot { background: #1f2937; color: #fff; }
.hot-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.hot-item {
  display: flex; gap: 16px; background: rgba(255,255,255,0.05);
  padding: 16px; border-radius: var(--radius-md); transition: background 0.3s;
}
.hot-item:hover { background: rgba(255,255,255,0.1); }
.hot-rank {
  font-size: 2rem; font-weight: 900; color: #4b5563; min-width: 40px;
}
.hot-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hot-info p { font-size: 0.9rem; color: #9ca3af; }

/* 会员权益 & 隐私安全 */
.sec-benefits { background: #f0fdf4; }
.benefits-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.benefit-box {
  background: #fff; padding: 30px; border-radius: var(--radius-lg); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.benefit-box h2 { font-size: 1.5rem; margin-bottom: 16px; color: #166534; }
.benefit-list { list-style: none; }
.benefit-list li {
  margin-bottom: 12px; padding-left: 20px; position: relative;
}
.benefit-list li::before {
  content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: bold;
}

/* 意见反馈 & 常见问题 */
.sec-faq { background: #fdf4ff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 16px; color: #86198f; }
.faq-item {
  background: #fff; padding: 16px; border-radius: var(--radius-md);
  margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-item h3 { font-size: 1rem; margin-bottom: 4px; }
.faq-item p { font-size: 0.9rem; color: #666; }

/* 评论 */
.sec-reviews { background: #f8fafc; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: var(--radius-md); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 700; font-size: 0.95rem; }
.review-text { font-size: 0.9rem; color: #444; }

/* 下载专区 */
.sec-download { background: #fff; padding: 80px 0; text-align: center; }
.download-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px;
}
.download-btns .btn { min-width: 140px; }
.steps { max-width: 600px; margin: 40px auto 0; text-align: left; }
.steps h3 { font-size: 1.2rem; margin-bottom: 12px; }
.steps ol { padding-left: 20px; color: #555; }
.steps li { margin-bottom: 8px; }

/* 页脚 */
.site-footer {
  background: #111; color: #888; padding: 40px 0; font-size: 0.85rem; text-align: center;
}
.footer-links { margin-bottom: 16px; }
.footer-links a { margin: 0 10px; color: #aaa; }
.footer-links a:hover { color: #fff; }
.footer-info { margin-bottom: 12px; }

/* 浮动下载 */
.float-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #fff; padding: 10px 20px; border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px; z-index: 999;
}
.float-download img { width: 28px; height: 28px; border-radius: 6px; }
.float-download span { font-size: 0.85rem; font-weight: 600; }
.float-download .btn { padding: 6px 16px; font-size: 0.8rem; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 2.2rem; }
  .riman-grid { grid-template-columns: 1fr; }
  .riman-img { max-width: 400px; margin: 0 auto; }
  .benefits-wrap, .faq-grid { grid-template-columns: 1fr; }
  .hot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-imgs { grid-template-columns: 1fr; }
  .hero-imgs .main-img { height: 240px; }
  .hero-imgs .sub-img { height: 160px; }
  .hero-text h1 { font-size: 1.8rem; }
  .sec-title { font-size: 1.6rem; }
  .float-download { width: 90%; justify-content: space-between; padding: 8px 16px; bottom: 10px; }
}