:root {
  --bg-main: #121212;
  --bg-card: #1e1e1e;
  --text-main: #f5f5f5;
  --text-sub: #a0a0a0;
  --accent: #ff4d4f;
  --accent-hover: #ff7875;
  --gradient-1: linear-gradient(90deg, #ff4d4f, #ff9c6e);
  --gradient-2: linear-gradient(135deg, #722ed1, #eb2f96);
  --border-color: #333;
  --radius: 12px;
}
* {
  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-main);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 80px; /* 为底部悬浮窗留空间 */
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 顶部导航 */
header {
  background-color: rgba(18, 18, 18, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
}
.brand img {
  height: 32px;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
}
.nav-links a {
  color: var(--text-sub);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--accent);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
/* 首屏 Hero */
.hero {
  padding: 40px 0;
  position: relative;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero-title {
  font-size: 2.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.hero-desc {
  color: var(--text-sub);
  max-width: 600px;
  font-size: 1.1rem;
}
.hero-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  margin-top: 30px;
}
.hero-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-card);
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.hero-img-card img:hover {
  transform: scale(1.05);
}
.download-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  transition: opacity 0.3s, transform 0.2s;
  display: inline-block;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.btn-android { background: #3ddc84; color: #000; }
.btn-ios { background: #fff; color: #000; }
.btn-web { background: #1890ff; }
.btn-harmony { background: #007aff; }
/* 跑马灯 */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: #000;
  padding: 15px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.marquee span {
  font-size: 1.2rem;
  font-weight: bold;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 30px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* 通用板块 */
section {
  padding: 60px 0;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}
/* 真人短剧 */
.section-live {
  background-color: #1a1a1a;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}
.drama-card:hover {
  transform: translateY(-5px);
}
.drama-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.drama-info {
  padding: 15px;
}
.drama-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.drama-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-sub);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.tag {
  background: #333;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
}
/* 完结魔改剧 */
.section-finished {
  background-color: #2b1b1c;
}
.list-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.list-layout.left-img {
  flex-direction: row;
}
.list-layout.right-img {
  flex-direction: row-reverse;
}
.list-image {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 400px;
}
.list-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.list-content {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.list-item {
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: var(--radius);
}
.list-item img {
  width: 80px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}
.list-item-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.list-item-info p {
  font-size: 0.9rem;
  color: var(--text-sub);
}
/* 本周热播榜 */
.section-ranking {
  background-color: #1c2620;
}
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  padding: 15px 20px;
  border-radius: var(--radius);
}
.rank-num {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  width: 40px;
}
.rank-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.rank-info {
  flex: 1;
}
.rank-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.rank-info p {
  font-size: 0.85rem;
  color: var(--text-sub);
}
/* 热门点评 */
.section-reviews {
  background-color: #26201a;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.review-user {
  font-weight: bold;
}
.review-text {
  color: #ddd;
  font-size: 0.95rem;
}
/* 会员权益 */
.section-vip {
  background: linear-gradient(135deg, #2b1f0f, #1a1a1a);
}
.vip-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #d4af37;
  border-radius: var(--radius);
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}
.vip-title {
  font-size: 1.5rem;
  color: #d4af37;
  margin-bottom: 20px;
  text-align: center;
}
.vip-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.vip-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.vip-list li::before {
  content: '✓';
  color: #d4af37;
  font-weight: bold;
}
/* 纵向时间轴 */
.timeline-section {
  background-color: #1f1a24;
}
.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #444;
}
.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: calc(50% + 30px);
  text-align: left;
}
.timeline-item:nth-child(even) .timeline-content {
  margin-right: calc(50% + 30px);
  text-align: right;
}
.timeline-time {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  z-index: 1;
}
.timeline-content {
  background: var(--bg-card);
  padding: 15px 20px;
  border-radius: var(--radius);
  width: calc(50% - 40px);
}
.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-sub);
}
/* 隐私安全、意见反馈、常见问题、未成年保护 (问答) */
.faq-section {
  background-color: #1a2126;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--accent);
}
.faq-item p {
  font-size: 0.95rem;
  color: var(--text-sub);
}
/* 下载专区 */
.section-download {
  background-color: #0d1b2a;
  text-align: center;
}
.download-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto 30px;
  text-align: left;
}
.step {
  display: flex;
  gap: 15px;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: var(--radius);
}
.step-num {
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
/* 页脚 */
footer {
  background: #000;
  padding: 40px 0 20px;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--text-sub);
}
.footer-nav a:hover {
  color: var(--text-main);
}
.copyright {
  margin-bottom: 10px;
}
/* 浮动下载窗 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  width: calc(100% - 40px);
  max-width: 450px;
}
.floating-download img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.floating-info {
  flex: 1;
  overflow: hidden;
}
.floating-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.floating-info p {
  font-size: 0.75rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.floating-btn {
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}
/* 模态框 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal.active {
  display: flex;
}
.modal-content {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.modal-content p {
  margin-bottom: 20px;
  font-size: 1rem;
}
.copy-input {
  width: 100%;
  padding: 10px;
  background: #000;
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: center;
}
.modal-close {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
}
/* 响应式 */
@media (max-width: 1024px) {
  .hero-images {
    grid-template-columns: repeat(2, 1fr);
  }
  .list-layout {
    flex-direction: column;
    align-items: center;
  }
  .list-image {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .hero-images {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-time {
    position: relative;
    left: 0;
    transform: none;
    margin-bottom: 10px;
  }
  .timeline-content {
    width: 100%;
    margin-left: 40px !important;
    margin-right: 0 !important;
    text-align: left !important;
  }
  .floating-download {
    padding: 8px 15px;
  }
  .floating-info h4 {
    font-size: 0.85rem;
  }
  .floating-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}