:root {
  --bg-main: #0f0c29;
  --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  --text-main: #f0f0f0;
  --text-sub: #a0a0b0;
  --primary: #ff3366;
  --secondary: #00d2ff;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --radius-md: 12px;
  --radius-lg: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 12, 41, 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 15px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo-area img { height: 32px; border-radius: 8px; }
.desktop-nav { display: none; gap: 20px; }
.desktop-nav a { font-size: 15px; color: var(--text-sub); transition: color 0.3s; position: relative; }
.desktop-nav a:hover { color: var(--primary); }
.mobile-menu-btn { display: block; font-size: 24px; cursor: pointer; color: var(--text-main); }
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #1a173b; padding: 20px; flex-direction: column; gap: 15px;
  border-bottom: 1px solid var(--border-color);
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 16px; padding: 10px; border-bottom: 1px solid var(--border-color); }

/* Main */
main { padding-top: 70px; }
section { padding: 60px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* Hero Section */
.hero {
  background: var(--bg-gradient); position: relative; overflow: hidden;
  padding-top: 40px; padding-bottom: 40px;
}
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.hero-text { text-align: center; max-width: 800px; }
.hero-text h1 {
  font-size: 32px; line-height: 1.3; margin-bottom: 15px;
  background: linear-gradient(to right, #fff, #a0a0ff);
  -webkit-background-clip: text; color: transparent;
}
.hero-text p { font-size: 16px; color: var(--text-sub); margin-bottom: 25px; }
.hero-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; max-width: 600px;
}
.hero-gallery img {
  width: 100%; border-radius: var(--radius-md); aspect-ratio: 3/4;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-gallery img:hover { transform: scale(1.02); }

/* Download Buttons */
.download-group { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.btn-download {
  background: linear-gradient(135deg, var(--primary), #ff6a88);
  color: #fff; padding: 12px 24px; border-radius: 30px; font-weight: bold;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4); transition: 0.3s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6); }
.btn-secondary {
  background: transparent; border: 1px solid var(--secondary); color: var(--secondary);
  box-shadow: none;
}
.btn-secondary:hover { background: rgba(0, 210, 255, 0.1); box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2); }

/* Marquee */
.marquee-wrap {
  width: 100%; overflow: hidden; background: rgba(0,0,0,0.3); padding: 10px 0; margin-top: 30px;
  white-space: nowrap; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.marquee-content {
  display: inline-block; animation: marquee 20s linear infinite; font-weight: bold;
}
.marquee-content span {
  margin: 0 20px; font-size: 16px; background: linear-gradient(90deg, #ff9a9e, #fecfef);
  -webkit-background-clip: text; color: transparent;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Common */
.section-title { font-size: 26px; margin-bottom: 30px; position: relative; display: inline-block; }
.section-title::after {
  content: ''; position: absolute; bottom: -5px; left: 0; width: 50%; height: 3px;
  background: var(--primary); border-radius: 2px;
}

/* Section 1: 漫剧合集 (Cards) */
.bg-comic { background: #141230; }
.comic-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.comic-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
}
.comic-card img { width: 100%; height: 200px; object-fit: cover; }
.comic-info { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.comic-info h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.comic-tags { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.comic-tags span { font-size: 12px; padding: 2px 8px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.comic-info p { font-size: 14px; color: var(--text-sub); flex: 1; }
.comic-date { font-size: 12px; color: #666; margin-top: 10px; }

/* Section 2: 魔改版 (Timeline/List) */
.bg-mod { background: #1a1a2e; }
.mod-list { display: flex; flex-direction: column; gap: 15px; }
.mod-item {
  display: flex; gap: 15px; background: rgba(255,255,255,0.03); padding: 15px;
  border-radius: var(--radius-md); border-left: 4px solid var(--secondary);
}
.mod-time { font-weight: bold; color: var(--secondary); min-width: 60px; }
.mod-desc h3 { font-size: 16px; margin-bottom: 5px; }
.mod-desc p { font-size: 14px; color: var(--text-sub); }

/* Section 3: 全集漫剧 (Grid alt) */
.bg-full { background: #0f0c29; }
.full-grid {
  display: grid; grid-template-columns: 1fr; gap: 15px;
}
.full-card {
  display: flex; background: var(--card-bg); border-radius: var(--radius-md); overflow: hidden;
}
.full-card img { width: 100px; height: 130px; object-fit: cover; }
.full-info { padding: 10px; flex: 1; }
.full-info h3 { font-size: 16px; margin-bottom: 5px; }
.full-info p { font-size: 13px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Section 4: 漫剧神评 (FAQ style) */
.bg-review { background: #1e1629; }
.review-list { display: flex; flex-direction: column; gap: 15px; }
.review-item {
  background: rgba(255,255,255,0.05); padding: 15px; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-head img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.review-head span { font-weight: bold; font-size: 14px; }
.review-text { font-size: 14px; color: #ccc; font-style: italic; }

/* Section 5: 未成年人保护 (Text) */
.bg-minor { background: #0b1b22; }
.protect-box { text-align: center; max-width: 800px; margin: 0 auto; }
.protect-box p { font-size: 15px; color: var(--text-sub); margin-bottom: 15px; }
.protect-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.protect-tags span { background: rgba(0, 210, 255, 0.1); color: var(--secondary); padding: 8px 15px; border-radius: 20px; font-size: 14px; }

/* Section 6: 意见反馈 (Split) */
.bg-feedback { background: #16162a; }
.feedback-wrap { display: flex; flex-direction: column; gap: 20px; }
.feedback-img img { border-radius: var(--radius-lg); width: 100%; max-height: 300px; object-fit: cover; }
.feedback-text h2 { font-size: 22px; margin-bottom: 15px; }
.feedback-text p { font-size: 14px; color: var(--text-sub); margin-bottom: 15px; }
.feedback-list li { font-size: 14px; margin-bottom: 10px; padding-left: 15px; position: relative; }
.feedback-list li::before { content: '•'; color: var(--primary); position: absolute; left: 0; }

/* Section 7: Download Area */
.bg-download { background: #24173a; }
.steps { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.step-item { display: flex; gap: 15px; align-items: flex-start; }
.step-num { width: 24px; height: 24px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; flex-shrink: 0; }
.step-text p { font-size: 14px; color: var(--text-sub); }

/* Footer */
footer { background: #090812; padding: 30px 20px; text-align: center; font-size: 12px; color: #555; border-top: 1px solid var(--border-color); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 15px 0; }
.footer-links a { color: #777; }
.footer-links a:hover { color: #ccc; }
.footer-info { margin-bottom: 10px; }
footer a { color: inherit; }

/* Floating Download */
.float-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #ff6a88);
  color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: bold;
  display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 15px rgba(255, 51, 102, 0.6);
  z-index: 999; transition: 0.3s;
}
.float-download img { width: 24px; height: 24px; border-radius: 50%; }
.float-download:hover { transform: translateX(-50%) scale(1.05); }

/* Modal */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8); z-index: 1000; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #1e1e2f; padding: 25px; border-radius: var(--radius-lg);
  width: 90%; max-width: 400px; text-align: center;
}
.modal-box p { font-size: 15px; margin-bottom: 15px; color: #fff; }
.modal-input {
  width: 100%; padding: 10px; background: rgba(255,255,255,0.1);
  border: 1px solid var(--border-color); color: #fff; border-radius: var(--radius-md);
  margin-bottom: 15px; font-size: 14px; text-align: center;
}
.modal-btn {
  background: var(--primary); color: #fff; border: none; padding: 10px 20px;
  border-radius: var(--radius-md); font-size: 15px; cursor: pointer; width: 100%;
}

/* Responsive */
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
  .mobile-menu-btn { display: none; }
  .hero-content { flex-direction: row; justify-content: space-between; text-align: left; }
  .hero-text { flex: 1; text-align: left; }
  .hero-gallery { flex: 1; grid-template-columns: repeat(2, 1fr); }
  .comic-grid { grid-template-columns: repeat(2, 1fr); }
  .full-grid { grid-template-columns: repeat(2, 1fr); }
  .review-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .feedback-wrap { flex-direction: row; align-items: center; }
  .feedback-img { flex: 1; }
  .feedback-text { flex: 1; }
  .steps { flex-direction: row; flex-wrap: wrap; }
  .step-item { width: calc(50% - 10px); }
}

@media (min-width: 1024px) {
  .hero-text h1 { font-size: 42px; }
  .hero-gallery { grid-template-columns: repeat(4, 1fr); max-width: 800px; }
  .comic-grid { grid-template-columns: repeat(4, 1fr); }
  .full-grid { grid-template-columns: repeat(3, 1fr); }
  .review-list { grid-template-columns: repeat(3, 1fr); }
  .step-item { width: calc(25% - 15px); }
}