:root {
  --bg-main: #0f0f0f;
  --bg-card: #1c1c1c;
  --text-main: #f5f5f5;
  --text-sub: #a0a0a0;
  --accent: #ff3b3b;
  --accent-hover: #e02e2e;
  --gradient-text: linear-gradient(90deg, #ff3b3b, #ff8c00, #ff3b3b);
  --border-radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { height: 32px; border-radius: 8px; }
.logo-wrap span { font-size: 1.2rem; font-weight: bold; letter-spacing: 1px; }
.nav-links { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-sub); }
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 40px 5% 20px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}
.hero p { color: var(--text-sub); margin-bottom: 30px; font-size: 1.1rem; }
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.hero-gallery img {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
  aspect-ratio: 3/4;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.btn {
  background-color: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn:hover { background-color: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-secondary:hover { background-color: var(--accent); color: #fff; }

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #111;
  padding: 10px 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
.marquee-text {
  display: inline-block;
  animation: scroll 20s linear infinite;
  font-weight: bold;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section { padding: 60px 5%; }
.section-title { font-size: 1.8rem; margin-bottom: 30px; text-align: center; }
.section-title span { color: var(--accent); }

/* 真人短剧 */
.real-short {
  background-color: #141414;
}
.slider-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: none;
}
.slider-row::-webkit-scrollbar { display: none; }
.slider-item {
  flex: 0 0 140px;
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.slider-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.slider-item .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  padding: 8px;
  font-size: 0.8rem;
}
.slider-item .info h3 { font-size: 0.9rem; margin-bottom: 4px; color: #fff; }
.slider-item .info .tags { color: var(--accent); font-size: 0.7rem; }
.slider-item .info .date { color: #aaa; font-size: 0.7rem; margin-top: 2px; }

/* 完结魔改剧 */
.finished-short {
  background-color: #1a1a1a;
}
.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.grid-card {
  background: #222;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.grid-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.grid-card .content { padding: 10px; font-size: 0.85rem; }
.grid-card .content h3 { font-size: 1rem; margin-bottom: 5px; }
.grid-card .content p { color: var(--text-sub); margin-bottom: 5px; }

/* 本周热播榜 */
.hot-ranking {
  background-color: #0d0d0d;
}
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rank-item {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 10px;
  gap: 15px;
}
.rank-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
.rank-item .info { flex: 1; }
.rank-item .info h3 { font-size: 1rem; margin-bottom: 4px; }
.rank-item .info p { font-size: 0.8rem; color: var(--text-sub); }
.rank-item .score { color: var(--accent); font-weight: bold; font-size: 1.1rem; }

/* 热门点评 */
.reviews {
  background-color: #141414;
}
.review-card {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
}
.review-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-card .content h4 { font-size: 0.95rem; margin-bottom: 4px; }
.review-card .content p { font-size: 0.85rem; color: var(--text-sub); }

/* 会员权益 */
.member-benefits {
  background-color: #1a1a1a;
}
.benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.benefit-item {
  background: #222;
  padding: 16px;
  border-radius: var(--border-radius);
  text-align: center;
}
.benefit-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent); }
.benefit-item p { font-size: 0.85rem; color: var(--text-sub); }

/* 隐私安全 */
.privacy {
  background-color: #0d0d0d;
}
.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.privacy-content p {
  background: var(--bg-card);
  padding: 15px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

/* 意见反馈 */
.feedback {
  background-color: #141414;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.faq-answer {
  padding: 0 15px 15px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* 常见问题 */
.faq-section {
  background-color: #1a1a1a;
}

/* 未成年保护 */
.minor-protect {
  background-color: #0d0d0d;
  text-align: center;
}
.minor-protect p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* 时间轴 */
.timeline-section {
  background-color: #141414;
}
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #333;
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.85rem; color: var(--text-sub); }

/* 下载专区 */
.download-section {
  background-color: #1a1a1a;
  text-align: center;
  padding-bottom: 80px;
}
.download-section h2 { margin-bottom: 20px; }
.download-section p { color: var(--text-sub); margin-bottom: 30px; }
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  text-align: left;
}
.install-steps h3 { font-size: 1.1rem; margin-bottom: 10px; }
.install-steps ol { padding-left: 20px; font-size: 0.9rem; color: var(--text-sub); }
.install-steps li { margin-bottom: 8px; }

/* Floating download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(255, 59, 59, 0.4);
  z-index: 1000;
  font-weight: bold;
  font-size: 0.9rem;
}
.floating-download img { height: 24px; border-radius: 4px; }

/* Footer */
footer {
  background: #000;
  padding: 30px 5%;
  text-align: center;
  font-size: 0.8rem;
  color: #666;
}
footer a { color: #666; }
footer a:hover { color: var(--accent); }
.footer-nav { margin-bottom: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.footer-info { margin-bottom: 10px; }

/* Mobile Nav */
.mobile-nav-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #000;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  border-bottom: 1px solid #333;
}
.mobile-nav.active { display: flex; }

/* Responsive */
@media (min-width: 768px) {
  .hero-gallery { grid-template-columns: repeat(4, 1fr); }
  .grid-layout { grid-template-columns: repeat(3, 1fr); }
  .benefit-list { grid-template-columns: repeat(4, 1fr); }
  .timeline { padding-left: 40px; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .mobile-nav-btn { display: block; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }
  .download-buttons { flex-direction: column; }
  .btn { width: 100%; }
  section { padding: 40px 5%; }
  .section-title { font-size: 1.5rem; }
  .floating-download { bottom: 15px; padding: 8px 16px; font-size: 0.85rem; }
}