:root {
  --bg-dark: #0f0b1a;
  --bg-purple: #1a1130;
  --bg-pink: #241433;
  --bg-teal: #0d1f1c;
  --bg-blue: #0f172a;
  --accent-cyan: #00e5ff;
  --accent-magenta: #ff2a85;
  --accent-gold: #ffd700;
  --accent-purple: #b744ff;
  --text-main: #f5f2fa;
  --text-sub: #a39bb0;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; }
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 11, 26, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-area img { height: 32px; width: auto; border-radius: 6px; }
.logo-area span { font-weight: bold; font-size: 18px; letter-spacing: 1px; }
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 15px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 800px;
  }
  .main-nav a {
    color: var(--text-sub);
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
  }
  .main-nav a:hover { color: var(--accent-cyan); background: rgba(0, 229, 255, 0.1); }
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: 1px solid var(--text-sub);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid #333;
  padding: 15px;
  z-index: 99;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.mobile-nav.active { display: grid; }
.mobile-nav a { color: var(--text-sub); font-size: 14px; padding: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; text-align: center; }
.mobile-nav a:active { background: rgba(0, 229, 255, 0.2); color: var(--accent-cyan); }

/* 跑马灯 */
.marquee-wrap {
  background: #221a33;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 1px solid #332a4a;
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-size: 14px;
  font-weight: bold;
}
.marquee-content span {
  margin-right: 30px;
  background: linear-gradient(90deg, var(--accent-magenta), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 首屏 */
.hero-section {
  padding: 30px 20px;
  background: linear-gradient(135deg, var(--bg-purple) 0%, var(--bg-dark) 100%);
  position: relative;
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.hero-text h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}
.hero-text h1 span { color: var(--accent-cyan); }
.hero-text p { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: bold;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  color: #fff;
}
.btn-magenta { background: linear-gradient(90deg, #ff2a85, #ff5e62); }
.btn-cyan { background: linear-gradient(90deg, #00e5ff, #0078ff); }
.btn-gold { background: linear-gradient(90deg, #ffd700, #ff8c00); }
.btn-purple { background: linear-gradient(90deg, #b744ff, #6e00ff); }
.btn:active { transform: scale(0.96); }
.btn:hover { opacity: 0.9; }

.hero-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.hero-images img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  aspect-ratio: 3/4;
  border: 1px solid rgba(255,255,255,0.1);
}

/* 通用板块 */
section { padding: 40px 20px; }
.section-title { font-size: 22px; margin-bottom: 20px; text-align: center; position: relative; }
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-cyan);
  margin: 8px auto 0;
  border-radius: 2px;
}
.section-desc { text-align: center; color: var(--text-sub); font-size: 14px; margin-bottom: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* 魔改短剧 - 网格 */
.bg-magenta { background: var(--bg-pink); }
.grid-magenta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media(min-width: 768px) { .grid-magenta { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 1024px) { .grid-magenta { grid-template-columns: repeat(4, 1fr); } }
.card-magenta {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 42, 133, 0.2);
  transition: var(--transition);
}
.card-magenta:hover { border-color: var(--accent-magenta); transform: translateY(-4px); }
.card-magenta img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-magenta .info { padding: 10px; }
.card-magenta h3 { font-size: 15px; margin-bottom: 4px; color: #fff; }
.card-magenta p { font-size: 12px; color: var(--text-sub); }
.tag-group { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.tag { background: rgba(255,42,133,0.2); color: var(--accent-magenta); font-size: 10px; padding: 2px 6px; border-radius: 4px; }

/* 二创短剧 - 横向草稿 */
.bg-teal { background: var(--bg-teal); }
.grid-teal { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media(min-width: 768px) { .grid-teal { grid-template-columns: 1fr 1fr; } }
.card-teal {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 12px;
  border-left: 4px solid var(--accent-cyan);
}
.card-teal img { width: 80px; height: 106px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.card-teal h3 { font-size: 16px; color: var(--accent-cyan); margin-bottom: 4px; }
.card-teal p { font-size: 13px; color: var(--text-sub); }
.card-teal .meta { font-size: 11px; color: #777; margin-top: 6px; }

/* 原创短剧 - 侧栏横滑 */
.bg-blue { background: var(--bg-blue); }
.scroll-original { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.scroll-original::-webkit-scrollbar { height: 4px; }
.scroll-original::-webkit-scrollbar-thumb { background: var(--accent-gold); border-radius: 2px; }
.card-original {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.card-original img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-original .badge { position: absolute; top: 8px; right: 8px; background: var(--accent-gold); color: #000; font-size: 11px; font-weight: bold; padding: 2px 6px; border-radius: 4px; }
.card-original .info { padding: 10px; }
.card-original h3 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.card-original p { font-size: 12px; color: var(--text-sub); }

/* 用户神评 - 气泡流 */
.bg-purple { background: #1b1229; }
.review-grid { display: flex; flex-direction: column; gap: 15px; }
.review-item {
  display: flex;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  padding: 15px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(183, 68, 255, 0.2);
}
.review-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-purple); flex-shrink: 0; }
.review-item .content h4 { font-size: 14px; color: var(--accent-purple); margin-bottom: 4px; }
.review-item .content p { font-size: 13px; color: var(--text-sub); }

/* 会员权益 & 隐私安全 双栏 */
.grid-two-col { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media(min-width: 768px) { .grid-two-col { grid-template-columns: 1fr 1fr; } }
.panel { background: rgba(255,255,255,0.04); padding: 20px; border-radius: var(--radius-lg); }
.panel h3 { font-size: 18px; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.panel ul { list-style: none; }
.panel ul li { font-size: 14px; color: var(--text-sub); margin-bottom: 12px; padding-left: 20px; position: relative; }
.panel ul li::before { content: '✦'; position: absolute; left: 0; color: var(--accent-cyan); }

/* 时间轴 */
.bg-timeline { background: #111827; }
.timeline-wrap { position: relative; padding-left: 20px; border-left: 2px solid var(--accent-magenta); margin-top: 20px; }
.timeline-item { position: relative; margin-bottom: 25px; padding-left: 15px; }
.timeline-item::before { content: ''; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-magenta); box-shadow: 0 0 8px var(--accent-magenta); }
.timeline-time { font-size: 14px; color: var(--accent-gold); font-weight: bold; margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--text-sub); }
.timeline-desc strong { color: #fff; display: block; margin-bottom: 2px; }

/* 意见反馈 & 常见问题 & 未成年保护 FAQ手风琴 */
.bg-faq { background: #1a1625; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
details { background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
summary { padding: 14px 18px; font-weight: bold; font-size: 15px; cursor: pointer; color: var(--text-main); list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent-cyan); font-size: 18px; font-weight: normal; }
details[open] summary::after { content: '-'; }
details[open] summary { color: var(--accent-cyan); }
.faq-content { padding: 0 18px 14px; font-size: 14px; color: var(--text-sub); }

/* 下载专区 */
.bg-download { background: linear-gradient(180deg, var(--bg-dark), #0a0612); }
.download-box { max-width: 900px; margin: 0 auto; background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); padding: 30px 20px; border: 1px solid rgba(0,229,255,0.2); }
.download-box h3 { font-size: 20px; text-align: center; margin-bottom: 10px; }
.download-box p { text-align: center; font-size: 14px; color: var(--text-sub); margin-bottom: 25px; }
.steps { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
@media(min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-item { text-align: center; padding: 15px; background: rgba(0,0,0,0.3); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.05); }
.step-item .num { display: inline-block; width: 24px; height: 24px; line-height: 24px; border-radius: 50%; background: var(--accent-cyan); color: #000; font-weight: bold; margin-bottom: 8px; }
.step-item h4 { font-size: 14px; margin-bottom: 4px; }
.step-item p { font-size: 12px; margin-bottom: 0; }
.download-box .download-buttons { justify-content: center; }
.download-box img { margin: 20px auto 0; max-width: 200px; border-radius: var(--radius-md); }

/* 页脚 */
footer { background: #08050e; padding: 30px 20px; font-size: 12px; color: #555; text-align: center; border-top: 1px solid #222; }
footer .footer-nav { margin-bottom: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 15px; }
footer .footer-nav a { color: #666; }
footer .footer-nav a:hover { color: #999; }
footer .copyright { margin-bottom: 10px; line-height: 1.8; }
footer .beian a { color: #555; }
footer .time { margin-bottom: 10px; }
footer details { display: inline-block; text-align: left; background: none; border: none; margin-top: 10px; }
footer summary[data-site-about] { color: #555; font-size: 12px; padding: 5px 0; border-radius: 0; background: none; border: none; display: inline-block; cursor: pointer; }
footer summary[data-site-about]::after { display: none; }
footer .about-content { margin-top: 10px; font-size: 12px; color: #444; line-height: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
footer .about-content a { color: #444; }
footer .about-content a:hover { color: #777; }

/* 浮动窗口 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 11, 26, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-cyan);
  padding: 10px 15px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.2);
}
.floating-download img { width: 30px; height: 30px; border-radius: 6px; }
.floating-download .floating-text { display: flex; flex-direction: column; }
.floating-download .floating-text strong { font-size: 13px; color: #fff; white-space: nowrap; }
.floating-download .floating-text span { font-size: 10px; color: var(--text-sub); white-space: nowrap; }
.floating-download .btn { padding: 6px 12px; font-size: 12px; border-radius: 20px; }
@media (max-width: 480px) {
  .floating-download .floating-text span { display: none; }
}

/* 弹窗 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: #1a1130;
  border-radius: var(--radius-lg);
  padding: 25px 20px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--accent-purple);
}
.modal-content h3 { font-size: 16px; margin-bottom: 15px; color: #fff; line-height: 1.5; }
.modal-content input { width: 100%; padding: 10px; background: rgba(0,0,0,0.5); border: 1px solid #444; color: #fff; border-radius: var(--radius-sm); margin-bottom: 15px; font-size: 14px; text-align: center; }
.modal-content .close-btn { background: #333; color: #fff; border: none; padding: 10px 20px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; width: 100%; }

@media (min-width: 768px) {
  .hero-inner { flex-direction: row; align-items: center; }
  .hero-text { flex: 1; }
  .hero-images { flex: 1; }
  .hero-text h1 { font-size: 36px; }
  section { padding: 60px 20px; }
}