:root {
  --bg-dark: #190611;
  --bg-deep: #1E0915;
  --panel-1: #2E0F20;
  --panel-2: #40162C;
  --pink: #F45C96;
  --wine: #B93A70;
  --gold: #FFC879;
  --line-10: rgba(255,190,215,.10);
  --line-20: rgba(255,190,215,.20);
  --text-main: #FDE8F1;
  --text-sub: #C59BB1;
  --text-dark: #2B0816;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 50% 0%, var(--panel-2) 0%, var(--bg-dark) 60%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  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; }

/* 基础渐变 */
.grad-text {
  background: linear-gradient(90deg, var(--pink), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-bg {
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

/* 头部导航 */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(25, 6, 17, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-20);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; color: var(--gold); }
.brand-logo img { height: 32px; border-radius: 6px; border: 1px solid var(--line-20); }
.nav-menu { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav-menu a {
  font-size: 14px; color: var(--text-sub); transition: all 0.3s;
  padding: 4px 8px; border-radius: 4px;
}
.nav-menu a:hover { color: var(--pink); background: var(--line-10); }

/* 首屏 Hero */
.hero { padding: 40px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }
.hero p { color: var(--text-sub); font-size: 16px; margin-bottom: 24px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px;
}
.hero-gallery img {
  width: 100%; height: 180px; border-radius: 12px; border: 1px solid var(--line-20);
  transition: transform 0.3s;
}
.hero-gallery img:hover { transform: scale(1.03); }
.download-btns {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 30px;
  font-size: 15px; font-weight: bold; color: var(--text-dark) !important;
  transition: opacity 0.3s; box-shadow: 0 4px 12px rgba(244, 92, 150, 0.2);
}
.btn:hover { opacity: 0.9; }
.marquee-wrap {
  overflow: hidden; white-space: nowrap; background: var(--panel-1);
  padding: 10px 0; border-radius: 8px; border: 1px solid var(--line-10);
}
.marquee-text {
  display: inline-block; animation: marquee 20s linear infinite;
  font-size: 14px; font-weight: bold;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 内容区块通用 */
section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 24px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; display: block; width: 4px; height: 20px; background: linear-gradient(var(--pink), var(--gold)); border-radius: 2px; }

/* 剧集网格 */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.card {
  background: var(--panel-1); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-10); transition: transform 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-20); }
.card img { width: 100%; height: 220px; }
.card-content { padding: 10px; }
.card-title { font-size: 14px; font-weight: bold; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.card-tags span {
  font-size: 11px; padding: 2px 6px; border-radius: 4px;
  background: var(--line-10); color: var(--gold);
}
.card-date { font-size: 11px; color: var(--text-sub); }

/* 左右图文布局 */
.split-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
}
.split-layout img { border-radius: 16px; border: 1px solid var(--line-20); height: 100%; object-fit: cover; }
.split-text h3 { font-size: 20px; margin-bottom: 12px; color: var(--pink); }
.split-text p { font-size: 14px; color: var(--text-sub); margin-bottom: 10px; }

/* QA问答 */
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa-item {
  background: var(--panel-1); padding: 16px; border-radius: 8px; border: 1px solid var(--line-10);
}
.qa-q { font-size: 15px; font-weight: bold; color: var(--gold); margin-bottom: 8px; display: flex; gap: 8px; }
.qa-a { font-size: 14px; color: var(--text-sub); padding-left: 24px; }

/* 时间轴 */
.timeline { position: relative; padding: 20px 0; border-left: 2px solid var(--wine); margin-left: 20px; }
.tl-item { position: relative; padding-left: 20px; margin-bottom: 20px; }
.tl-item::before {
  content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%; box-shadow: 0 0 8px var(--pink);
}
.tl-time { font-size: 14px; font-weight: bold; color: var(--pink); margin-bottom: 4px; }
.tl-text { font-size: 14px; color: var(--text-main); }

/* 会员权益 */
.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.vip-card {
  background: linear-gradient(135deg, var(--panel-1), var(--panel-2));
  padding: 24px 20px; border-radius: 12px; border: 1px solid var(--line-20); text-align: center;
}
.vip-card h4 { font-size: 16px; margin-bottom: 8px; color: var(--gold); }
.vip-card p { font-size: 13px; color: var(--text-sub); }

/* 评论 */
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item {
  background: var(--panel-1); padding: 16px; border-radius: 8px; border: 1px solid var(--line-10);
  display: flex; gap: 12px;
}
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-user { font-size: 13px; font-weight: bold; color: var(--gold); margin-bottom: 4px; }
.comment-text { font-size: 14px; color: var(--text-sub); }

/* 底部下载 */
.bottom-dl {
  background: var(--panel-2); border-radius: 16px; padding: 40px 20px;
  border: 1px solid var(--line-20); text-align: center; margin-top: 40px;
}
.bottom-dl h2 { font-size: 24px; margin-bottom: 12px; }
.bottom-dl p { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; }
.steps { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; text-align: left; }
.step { background: var(--panel-1); padding: 12px 20px; border-radius: 8px; font-size: 13px; border: 1px solid var(--line-10); }

/* 浮动窗口 */
.float-dl {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(46, 15, 32, 0.95); backdrop-filter: blur(10px);
  padding: 10px 20px; border-radius: 30px; border: 1px solid var(--pink);
  display: flex; align-items: center; gap: 12px; z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); white-space: nowrap;
}
.float-dl img { width: 28px; height: 28px; border-radius: 6px; }
.float-dl .info { font-size: 12px; line-height: 1.2; color: var(--text-sub); }
.float-dl .info strong { color: var(--gold); font-size: 14px; display: block; }
.float-dl .btn { padding: 6px 16px; font-size: 13px; }

/* 页脚 */
.site-footer {
  text-align: center; padding: 40px 20px 80px; border-top: 1px solid var(--line-10);
  font-size: 12px; color: var(--text-sub); margin-top: 40px;
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: var(--text-sub); }
.site-footer a:hover { color: var(--pink); }

/* 百度App弹窗 */
.baidu-modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  z-index: 2000; align-items: center; justify-content: center;
}
.baidu-modal .modal-content {
  background: var(--panel-1); padding: 24px; border-radius: 12px; max-width: 80%; text-align: center;
  border: 1px solid var(--pink);
}
.baidu-modal p { font-size: 14px; color: var(--gold); margin-bottom: 16px; }
.baidu-modal input {
  width: 100%; padding: 10px; margin-bottom: 16px; background: var(--bg-deep);
  border: 1px solid var(--wine); color: var(--text-main); border-radius: 6px; text-align: center;
}
.baidu-modal button {
  padding: 8px 24px; border-radius: 20px; border: none; cursor: pointer;
  color: var(--text-dark); font-weight: bold;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-gallery { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; }
  .split-layout img { max-height: 400px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; width: 100%; padding: 10px 0; }
  .nav-menu.active { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: block; background: none; border: none; color: var(--pink); font-size: 24px; cursor: pointer; }
  .hero h1 { font-size: 24px; }
  .hero-gallery img { height: 140px; }
  .float-dl { width: 90%; max-width: 340px; justify-content: space-between; padding: 8px 12px; }
  .float-dl .info { flex: 1; overflow: hidden; text-overflow: ellipsis; }
  .float-dl .info strong { font-size: 12px; }
  .float-dl .btn { padding: 6px 12px; font-size: 12px; }
}
@media (min-width: 769px) {
  .menu-toggle { display: none; }
}