:root {
  --grad-main: linear-gradient(135deg, #FFD9A0 0%, #FF8CB0 50%, #FF5C93 100%);
  --bg-main: #1E0A14;
  --bg-dark: #230B16;
  --panel-1: #3B1422;
  --panel-2: #55202F;
  --text-main: #FFF0F5;
  --text-sub: #C79CAE;
  --border-light: rgba(255, 200, 225, .10);
  --border-strong: rgba(255, 200, 225, .20);
  --btn-text: #2B0A17;
  --gold: #FFEAC2;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 15% 10%, rgba(255, 140, 176, 0.15), transparent 40%),
              radial-gradient(circle at 85% 30%, rgba(255, 217, 160, 0.1), transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(255, 92, 147, 0.12), transparent 50%);
  z-index: -1;
  pointer-events: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
ul { list-style: none; }
h1, h2, h3 { color: var(--gold); font-weight: 700; line-height: 1.3; }

/* 头部 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(30, 10, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; border-radius: 6px; }
.brand-text { font-size: 20px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: var(--btn-text); }
.nav-desktop { display: none; }
.nav-list { display: flex; gap: 20px; }
.nav-item { font-size: 15px; color: var(--text-sub); transition: color 0.3s, transform 0.2s; cursor: pointer; }
.nav-item:hover { color: var(--gold); transform: translateY(-2px); }
.mobile-menu-btn { display: flex; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--text-main); border-radius: 2px; transition: 0.3s; }
.mobile-nav { display: none; background: var(--panel-1); padding: 10px; border-bottom: 1px solid var(--border-light); }
.mobile-nav.active { display: block; }
.mobile-nav .nav-list { flex-direction: column; gap: 12px; text-align: center; }

/* 首屏 */
.hero { padding: 40px 16px; max-width: 1200px; margin: 0 auto; }
.hero-content { display: flex; flex-direction: column; gap: 20px; text-align: center; align-items: center; }
.hero h1 { font-size: 28px; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.hero p { color: var(--text-sub); font-size: 15px; max-width: 600px; margin-bottom: 16px; }
.btn-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 24px; }
.btn {
  display: inline-block; padding: 12px 24px; font-size: 16px; font-weight: bold;
  border-radius: 30px; background: var(--grad-main); color: var(--btn-text);
  box-shadow: 0 4px 15px rgba(255, 92, 147, 0.3); transition: transform 0.2s;
  border: none; cursor: pointer;
}
.btn:hover { transform: scale(1.05); }
.hero-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; max-width: 600px; margin-top: 20px; }
.hero-imgs img { border-radius: 12px; object-fit: cover; width: 100%; aspect-ratio: 3/4; border: 1px solid var(--border-strong); }

/* 跑马灯 */
.marquee-wrap { overflow: hidden; white-space: nowrap; background: rgba(59, 20, 34, 0.6); padding: 10px; border-radius: 10px; border: 1px solid var(--border-light); margin-top: 20px; }
.marquee { display: inline-block; animation: scroll 20s linear infinite; }
.marquee span { display: inline-block; padding: 0 20px; font-weight: bold; background: linear-gradient(90deg, #FFD9A0, #FF5C93, #FFD9A0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 16px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 通用区块 */
.section { padding: 40px 16px; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border-light); }
.section h2 { margin-bottom: 20px; font-size: 24px; text-align: center; }
.section h3 { font-size: 18px; margin-bottom: 10px; }

/* 魔改短剧卡片 */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.card { background: var(--panel-1); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 10px; font-size: 12px; color: var(--text-sub); }
.card-info h3 { font-size: 14px; color: var(--gold); margin-bottom: 6px; }
.card-tag { display: inline-block; padding: 2px 6px; background: rgba(255, 200, 225, 0.1); border-radius: 4px; font-size: 10px; margin-right: 4px; }

/* 用户神评 */
.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item { display: flex; gap: 12px; background: var(--panel-2); padding: 16px; border-radius: 12px; border: 1px solid var(--border-light); }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; border: 1px solid var(--border-strong); }
.comment-content { flex: 1; }
.comment-user { font-weight: bold; color: var(--text-main); font-size: 14px; margin-bottom: 4px; }
.comment-text { color: var(--text-sub); font-size: 13px; }

/* 会员权益 & 隐私安全等 */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--panel-1); border-radius: 8px; border: 1px solid var(--border-light); overflow: hidden; }
.faq-q { padding: 14px; font-weight: bold; color: var(--gold); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { padding: 0 14px 14px; color: var(--text-sub); font-size: 14px; }

/* 时间轴 */
.timeline { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; border-left: 2px solid var(--border-strong); }
.timeline-item { position: relative; padding-bottom: 10px; }
.timeline-item::before { content: ""; position: absolute; left: -26px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--grad-main); }
.timeline-time { font-weight: bold; color: var(--gold); font-size: 14px; }

/* 下载专区 */
.download-section { background: var(--bg-dark); text-align: center; }
.download-section .btn-group { margin-top: 20px; }

/* 浮动下载窗口 */
.floating-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--grad-main); color: var(--btn-text); padding: 10px 20px;
  border-radius: 30px; display: flex; align-items: center; gap: 10px;
  font-weight: bold; font-size: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 100; border: 1px solid rgba(255,255,255,0.3); cursor: pointer;
}
.floating-download img { height: 24px; border-radius: 4px; }

/* 页脚 */
.site-footer { background: var(--bg-dark); padding: 40px 16px 60px; border-top: 1px solid var(--border-light); font-size: 13px; color: var(--text-sub); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-nav a { color: var(--text-sub); transition: 0.2s; }
.footer-nav a:hover { color: var(--gold); }
.copyright { font-size: 12px; opacity: 0.7; line-height: 1.8; }
.copyright a { color: var(--text-sub); }
.about-details { margin-top: 10px; }
.about-details summary { cursor: pointer; color: var(--text-sub); font-size: 12px; list-style: none; }
.about-details summary::-webkit-details-marker { display: none; }
.about-links { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; font-size: 12px; }
.about-links a { color: var(--text-sub); }

/* 手机端 */
@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero h1 { font-size: 24px; }
  .hero-imgs { grid-template-columns: 1fr 1fr; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .floating-download { width: 90%; justify-content: center; }
}

/* 桌面端 */
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
  .nav-desktop { display: block; }
  .hero-content { flex-direction: row; text-align: left; justify-content: space-between; align-items: flex-start; }
  .hero-text { flex: 1; padding-right: 30px; display: flex; flex-direction: column; align-items: flex-start; }
  .hero-imgs { grid-template-columns: 1fr 1fr; max-width: 50%; margin-top: 0; }
  .hero h1 { text-align: left; }
  .hero p { text-align: left; }
  .btn-group { justify-content: flex-start; }
  .grid-cards { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(5, 1fr); }
  .hero-imgs { grid-template-columns: repeat(4, 1fr); max-width: 55%; }
  .hero-content { align-items: center; }
}