:root {
  --brand-blue: #2b3a67;
  --brand-pink: #ff6b9d;
  --brand-yellow: #ffd166;
  --brand-green: #06d6a0;
  --bg-light: #fdfaf6;
  --text-main: #333333;
  --text-muted: #666666;
  --border-radius: 12px;
  --shadow-soft: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
}
* { 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-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 18px;
  color: var(--brand-blue);
}
.brand img { height: 32px; border-radius: 6px; }
.nav-links {
  display: none;
  gap: 20px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--brand-pink); }
.menu-toggle {
  display: block;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-blue);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 10px 20px;
  border-top: 1px solid #eee;
  position: absolute;
  width: 100%;
  left: 0;
  top: 60px;
  box-shadow: var(--shadow-soft);
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 15px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #fff0f5 0%, #fdfaf6 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 28px;
  color: var(--brand-blue);
  margin-bottom: 16px;
  line-height: 1.3;
}
.hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}
.hero-images img {
  width: 30%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  transition: transform 0.3s;
}
.hero-images img:hover { transform: translateY(-5px); }
.download-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.btn-primary {
  background-color: var(--brand-pink);
  color: #fff;
}
.btn-primary:hover {
  background-color: #e55a8a;
  box-shadow: var(--shadow-hover);
}
.btn-outline {
  background-color: #fff;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}
.btn-outline:hover {
  background-color: var(--brand-blue);
  color: #fff;
}

/* Marquee */
.marquee {
  background: #ffffff;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid #f0f0f0;
  border-bottom: 2px solid #f0f0f0;
}
.marquee-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.marquee-content span {
  font-size: 16px;
  font-weight: bold;
  margin-right: 40px;
  background: linear-gradient(90deg, #ff6b9d, #ffd166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Shared */
section { padding: 60px 0; }
section:nth-child(even) { background-color: #f5f7fa; }
.sec-title {
  text-align: center;
  font-size: 24px;
  color: var(--brand-blue);
  margin-bottom: 40px;
}
.sec-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--brand-pink);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 精品国漫 */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.comic-card {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.comic-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.comic-info { padding: 16px; }
.comic-info h3 { font-size: 16px; margin-bottom: 8px; }
.tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.tags span {
  font-size: 12px;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}
.comic-date { font-size: 12px; color: #999; }

/* 精品日漫 - 左右结构 */
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.split-img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
}
.split-content { flex: 1; }
.split-content p { margin-bottom: 12px; font-size: 15px; }
.list-item {
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.list-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.list-item-text { flex: 1; }
.list-item-text strong { display: block; font-size: 14px; margin-bottom: 4px; }
.list-item-text p { font-size: 13px; color: var(--text-muted); }

/* 精品韩漫 - 双列 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.mini-card {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-card h3 { font-size: 16px; border-left: 4px solid var(--brand-green); padding-left: 8px; }
.mini-card p { font-size: 14px; color: var(--text-muted); }

/* 今日热播榜 - 时间轴 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
}
.tl-item { position: relative; margin-bottom: 20px; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-pink);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--brand-pink);
}
.tl-time { font-size: 14px; font-weight: bold; color: var(--brand-pink); margin-bottom: 4px; }
.tl-content {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}

/* 会员权益 */
.benefit-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.benefit-item {
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--brand-yellow);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}
.benefit-item strong { display: block; margin-bottom: 4px; color: var(--brand-blue); }

/* 隐私安全 & 常见问题 - 问答 */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.faq-item h3 { font-size: 15px; margin-bottom: 8px; color: var(--brand-blue); }
.faq-item p { font-size: 14px; color: var(--text-muted); }

/* 意见反馈 */
.feedback-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.feedback-box p { font-size: 15px; margin-bottom: 16px; }

/* 下载专区 */
.download-section {
  background: linear-gradient(to right, #2b3a67, #1a2547);
  color: #fff;
  padding: 60px 0;
}
.download-section .sec-title { color: #fff; }
.download-section .sec-title::after { background: var(--brand-pink); }
.download-steps {
  max-width: 600px;
  margin: 0 auto 30px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border-radius: 10px;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.step-text { font-size: 14px; }
.download-section .download-btns .btn-outline {
  border-color: #fff;
  color: #fff;
}
.download-section .download-btns .btn-outline:hover {
  background: #fff;
  color: var(--brand-blue);
}

/* 浮动下载窗口 */
.floating-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  width: max-content;
  max-width: 90%;
}
.floating-bar img { width: 32px; height: 32px; border-radius: 8px; }
.floating-text { font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.floating-text strong { display: block; color: var(--brand-blue); font-size: 14px; }
.floating-btn {
  background: var(--brand-pink);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: #222;
  color: #888;
  padding: 40px 0 80px;
  font-size: 13px;
  text-align: center;
}
.footer-links { margin-bottom: 16px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #aaa; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-info { margin-bottom: 8px; }
.footer-info a { color: #aaa; }
.footer-time { margin-top: 12px; font-size: 12px; color: #666; }

/* Copy Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  padding: 24px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 340px;
  text-align: center;
}
.modal-box p { font-size: 14px; margin-bottom: 16px; color: var(--text-main); }
.modal-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: #f9f9f9;
  color: #333;
}
.modal-close {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero h1 { font-size: 36px; }
  .hero-images { gap: 20px; }
  .download-btns { gap: 16px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout { flex-direction: row; align-items: flex-start; }
  .split-img { width: 40%; max-width: 100%; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .benefit-box { grid-template-columns: repeat(2, 1fr); }
  .floating-bar { width: auto; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .split-layout { gap: 40px; }
  .split-img { width: 35%; }
  .grid-2 { grid-template-columns: repeat(3, 1fr); }
  .step-item { gap: 20px; }
}