:root {
  --bg-dark: #0f0c1b;
  --bg-pink: #1c1024;
  --bg-blue: #0e1526;
  --bg-purple: #161021;
  --text-light: #f2eef8;
  --text-muted: #a99fba;
  --accent-pink: #ff3d81;
  --accent-gold: #f5c84c;
  --accent-blue: #3ddcff;
  --accent-purple: #a965ff;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border-soft: rgba(255, 255, 255, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 12, 27, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--accent-pink); transform: translateY(-2px); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; width: 0; height: 2px;
  background: var(--accent-pink); transition: width 0.3s, left 0.3s;
}
.nav-links a:hover::after { width: 100%; left: 0; }

.mobile-menu-btn {
  display: none; background: none; border: none; color: var(--text-light);
  font-size: 14px; padding: 6px 12px; border: 1px solid var(--border-soft); border-radius: 6px;
}
.mobile-nav { display: none; flex-direction: column; padding: 10px 20px 20px; gap: 12px; background: var(--bg-dark); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 14px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border-soft); }

/* Hero */
.hero {
  padding: 40px 20px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #2a143b 0%, var(--bg-dark) 70%);
  position: relative;
  overflow: hidden;
}
.hero-tag { display: inline-block; color: var(--accent-gold); font-size: 13px; border: 1px solid var(--accent-gold); padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.hero h1 {
  font-size: 28px; line-height: 1.3; margin-bottom: 16px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 15px; color: var(--text-muted); max-width: 800px; margin: 0 auto 24px; }
.hero-images {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  max-width: 1000px; margin: 0 auto 24px;
}
.hero-images img { border-radius: 12px; border: 1px solid var(--border-soft); object-fit: cover; width: 100%; aspect-ratio: 3/4; transition: transform 0.4s, box-shadow 0.4s; }
.hero-images img:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255, 61, 129, 0.4); }
.download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 24px; font-size: 14px; font-weight: 600;
  transition: transform 0.3s, filter 0.3s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.2); }
.btn-android { background: linear-gradient(90deg, #3ddc84, #12b76a); color: #000; }
.btn-ios { background: linear-gradient(90deg, #fff, #ddd); color: #000; }
.btn-web { background: linear-gradient(90deg, var(--accent-blue), #1a85ff); color: #000; }
.btn-harmony { background: linear-gradient(90deg, var(--accent-purple), #7c3aed); color: #fff; }

/* Marquee */
.marquee-wrap {
  width: 100%; overflow: hidden; background: rgba(255, 61, 129, 0.1); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 10px 0;
}
.marquee {
  display: flex; white-space: nowrap; animation: marquee 20s linear infinite;
}
.marquee span {
  font-size: 14px; font-weight: 600; padding: 0 20px;
  background: linear-gradient(90deg, #ff3d81, #f5c84c, #3ddcff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
.section { padding: 50px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 24px; margin-bottom: 8px; text-align: center; }
.section-subtitle { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 32px; }
.text-pink { color: var(--accent-pink); }
.text-gold { color: var(--accent-gold); }
.text-blue { color: var(--accent-blue); }
.text-purple { color: var(--accent-purple); }

/* Magic (魔改短剧) */
.section-magic { background-color: var(--bg-pink); }
.magic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.magic-card {
  background: var(--card-bg); border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color 0.3s;
}
.magic-card:hover { border-color: var(--accent-pink); }
.magic-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.magic-info { padding: 16px; }
.magic-info h3 { font-size: 18px; margin-bottom: 8px; }
.magic-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.magic-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: rgba(255, 61, 129, 0.15); color: var(--accent-pink); }
.magic-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }

/* Second Creation (二创短剧) */
.section-second { background-color: var(--bg-blue); }
.second-list { display: flex; flex-direction: column; gap: 16px; }
.second-item {
  display: flex; align-items: center; gap: 16px; background: var(--card-bg); border-radius: 12px; padding: 16px;
  border-left: 4px solid var(--accent-blue);
}
.second-item img { width: 80px; height: 100px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.second-text h3 { font-size: 16px; margin-bottom: 4px; }
.second-text p { font-size: 13px; color: var(--text-muted); }

/* Original (原创短剧) */
.section-original { background-color: var(--bg-purple); }
.original-timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--accent-purple); margin-top: 20px; display: flex; flex-direction: column; gap: 24px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -37px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent-purple); border: 2px solid var(--bg-dark);
}
.timeline-time { font-size: 14px; font-weight: 700; color: var(--accent-gold); margin-bottom: 4px; }
.timeline-content { background: var(--card-bg); padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border-soft); }
.timeline-content h3 { font-size: 15px; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--text-muted); }

/* Comments (用户神评) */
.section-comments { background-color: #1f1320; }
.comment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.comment-card { background: var(--card-bg); border-radius: 12px; padding: 16px; border: 1px solid var(--border-soft); }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-header img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--accent-pink); }
.comment-user { font-size: 14px; font-weight: 600; }
.comment-text { font-size: 13px; color: var(--text-muted); }

/* Member (会员权益) */
.section-member { background-color: #11221c; }
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.member-card { background: rgba(255,255,255,0.05); border: 1px dashed var(--accent-gold); border-radius: 12px; padding: 20px; text-align: center; }
.member-card h3 { font-size: 16px; color: var(--accent-gold); margin-bottom: 8px; }
.member-card p { font-size: 13px; color: var(--text-muted); }

/* Privacy (隐私安全) */
.section-privacy { background-color: #101c2e; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.privacy-card { background: var(--card-bg); padding: 20px; border-radius: 12px; border-left: 4px solid var(--accent-blue); }
.privacy-card h3 { font-size: 16px; margin-bottom: 6px; }
.privacy-card p { font-size: 13px; color: var(--text-muted); }

/* Feedback (意见反馈) */
.section-feedback { background-color: #2a1b15; }
.feedback-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feedback-card { background: var(--card-bg); padding: 16px; border-radius: 12px; border: 1px solid var(--border-soft); }
.feedback-card h3 { font-size: 15px; margin-bottom: 6px; }
.feedback-card p { font-size: 13px; color: var(--text-muted); }

/* FAQ (常见问题) */
.section-faq { background-color: #1a1e2e; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card-bg); border-radius: 12px; padding: 16px; border: 1px solid var(--border-soft); }
.faq-item h3 { font-size: 15px; margin-bottom: 6px; color: var(--accent-gold); }
.faq-item p { font-size: 13px; color: var(--text-muted); }

/* Minor (未成年保护) */
.section-minor { background-color: #221028; }
.minor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.minor-card { background: var(--card-bg); padding: 20px; border-radius: 12px; text-align: center; border-top: 3px solid var(--accent-pink); }
.minor-card h3 { font-size: 15px; margin-bottom: 6px; }
.minor-card p { font-size: 13px; color: var(--text-muted); }

/* Download Region */
.section-download { background: radial-gradient(circle at center, #2a143b 0%, var(--bg-dark) 80%); text-align: center; }
.download-layout { display: flex; align-items: center; gap: 32px; max-width: 900px; margin: 0 auto; text-align: left; }
.download-img { flex: 0 0 40%; }
.download-img img { border-radius: 16px; border: 1px solid var(--border-soft); width: 100%; }
.download-content { flex: 1; }
.download-content h2 { margin-bottom: 12px; }
.download-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.steps { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; padding-left: 18px; }
.steps li { margin-bottom: 6px; }
.download-btns-bottom { display: flex; flex-wrap: wrap; gap: 12px; }

/* Floating Download */
.floating-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(15, 12, 27, 0.95); border: 1px solid var(--accent-pink); border-radius: 30px;
  padding: 8px 20px; display: flex; align-items: center; gap: 12px; z-index: 200;
  box-shadow: 0 4px 20px rgba(255, 61, 129, 0.3); backdrop-filter: blur(8px);
  width: max-content; max-width: 90%;
}
.floating-download img { width: 28px; height: 28px; border-radius: 4px; }
.floating-download .float-text { font-size: 13px; color: var(--text-light); }
.floating-download .float-text span { color: var(--accent-pink); font-weight: bold; }
.floating-download .float-btn { font-size: 12px; background: var(--accent-pink); color: #fff; padding: 4px 12px; border-radius: 20px; }

/* Footer */
.site-footer {
  background: #08060d; padding: 40px 20px 80px; color: var(--text-muted); font-size: 12px;
  border-top: 1px solid var(--border-soft);
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand { font-size: 16px; color: var(--text-light); margin-bottom: 8px; font-weight: 600; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 16px 0; }
.footer-nav a { color: var(--text-muted); transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent-pink); }
.footer-info { margin-bottom: 12px; }
.footer-info a { color: var(--text-muted); }
.about-us { margin-top: 16px; text-align: center; font-size: 12px; }
.about-us summary { cursor: pointer; color: var(--text-muted); font-size: 12px; outline: none; }
.about-us summary::-webkit-details-marker { display: none; }
.about-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.about-links a { color: var(--text-muted); }
.about-links a:hover { color: var(--accent-pink); }

/* Mobile Nav Toggle */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 22px; }
  .hero-images { grid-template-columns: repeat(2, 1fr); }
  .magic-grid, .comment-grid, .member-grid, .privacy-grid, .feedback-grid, .minor-grid { grid-template-columns: 1fr; }
  .second-item { flex-direction: column; text-align: center; }
  .download-layout { flex-direction: column; text-align: center; }
  .download-img { flex: 0 0 auto; width: 100%; max-width: 300px; margin: 0 auto; }
  .download-btns-bottom { justify-content: center; }
  .floating-download { padding: 6px 12px; gap: 8px; }
  .floating-download .float-text { font-size: 11px; }
  .floating-download .float-btn { padding: 3px 8px; font-size: 11px; }
  .footer-nav { gap: 10px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 { font-size: 26px; }
  .hero-images { grid-template-columns: repeat(4, 1fr); }
}