/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #0b0c10;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部 & 导航 */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}
.logo-area img {
  height: 36px;
  border-radius: 8px;
}
.nav-desktop {
  display: flex;
  gap: 20px;
}
.nav-desktop a {
  font-size: 0.9rem;
  color: #a0a0a0;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}
.nav-desktop a:hover {
  color: #ff3366;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ff3366;
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-desktop a:hover::after {
  width: 100%;
}

/* 移动端菜单 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #15171e;
  padding: 10px 0;
}
.mobile-nav a {
  padding: 12px 20px;
  color: #a0a0a0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav.active {
  display: flex;
}

/* 首屏 Hero */
.hero {
  position: relative;
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #1a0b1e 0%, #0b0c10 100%);
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ff6b9d, #ff3366, #c471ed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}
.hero-desc {
  font-size: 1rem;
  color: #b0b0b0;
  max-width: 700px;
  margin-bottom: 25px;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff;
  background: linear-gradient(135deg, #ff3366, #ff6b9d);
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
  border: none;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.5);
}
.btn-download.alt {
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
}
.btn-download.alt:hover {
  box-shadow: 0 6px 20px rgba(142, 45, 226, 0.5);
}

/* 首屏轮播图 */
.hero-slider {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hero-slider::-webkit-scrollbar { display: none; }
.hero-slider img {
  width: 140px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-slider img:hover {
  transform: scale(1.05);
  border-color: #ff3366;
}

/* 跑马灯 */
.marquee {
  width: 100%;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  padding: 10px 0;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.marquee-content span {
  margin-right: 40px;
  font-size: 0.9rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff6b9d, #ffd700, #ff3366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 板块通用 */
section {
  padding: 60px 0;
}
.section-title {
  font-size: 1.8rem;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #ff3366;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 同款魔改 */
.section-魔改 { background: #14161c; }
.grid-魔改 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.card-魔改 {
  background: #1e2129;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}
.card-魔改:hover { transform: translateY(-5px); }
.card-魔改 img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.card-info { padding: 15px; }
.card-info h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-info p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(255,51,102,0.15);
  color: #ff6b9d;
  border-radius: 4px;
}

/* 完结魔改剧 */
.section-完结 { background: #1a0e24; }
.grid-完结 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card-完结 {
  display: flex;
  flex-direction: column;
  background: #261b30;
  border-radius: 12px;
  overflow: hidden;
}
.card-完结 img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.card-完结 .info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-完结 h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 5px;
}
.card-完结 p {
  font-size: 0.85rem;
  color: #b0a0c0;
  flex: 1;
}
.card-完结 .date {
  font-size: 0.75rem;
  color: #666;
  margin-top: 10px;
}

/* 本周热播榜 */
.section-热播 { background: #0e1814; }
.list-热播 {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.item-热播 {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #13221c;
  padding: 15px;
  border-radius: 10px;
  transition: background 0.3s;
}
.item-热播:hover { background: #1a2e25; }
.item-热播 .rank {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffd700;
  width: 40px;
  text-align: center;
}
.item-热播 img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.item-热播 .text { flex: 1; }
.item-热播 h3 { font-size: 1rem; color: #fff; }
.item-热播 p { font-size: 0.8rem; color: #8fa89b; }

/* 用户神评 */
.section-神评 { background: #1c1414; }
.grid-神评 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card-神评 {
  background: #2a1e1e;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.card-神评 img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.card-神评 .content h4 {
  font-size: 0.95rem;
  color: #ffb3b3;
  margin-bottom: 5px;
}
.card-神评 .content p {
  font-size: 0.85rem;
  color: #c0a0a0;
  line-height: 1.5;
}

/* 会员权益 */
.section-会员 {
  background: #0f171a;
  text-align: center;
}
.grid-会员 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  text-align: left;
}
.card-会员 {
  background: #162126;
  padding: 25px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.1);
}
.card-会员 h3 {
  font-size: 1.1rem;
  color: #ffd700;
  margin-bottom: 10px;
}
.card-会员 p {
  font-size: 0.85rem;
  color: #8fa0a8;
}

/* 隐私安全 & 意见反馈 & 常见问题 */
.section-隐私 { background: #14171c; }
.section-反馈 { background: #1a1414; }
.section-常见 { background: #141c1a; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 15px 20px;
}
.faq-item h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 0.9rem;
  color: #a0a0a0;
}

/* 下载专区 */
.section-下载 {
  background: linear-gradient(180deg, #0b0c10 0%, #1a0b1e 100%);
  text-align: center;
}
.download-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.step {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  width: 200px;
  text-align: center;
}
.step-num {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: #ff3366;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 10px;
}
.step p { font-size: 0.85rem; color: #b0b0b0; }

/* 浮动下载 */
.float-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 22, 28, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,51,102,0.3);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.float-download:hover {
  transform: translateX(-50%) translateY(-3px);
}
.float-download img { width: 32px; height: 32px; border-radius: 8px; }
.float-download .text { display: flex; flex-direction: column; }
.float-download .text strong { font-size: 0.85rem; color: #fff; }
.float-download .text span { font-size: 0.7rem; color: #ff6b9d; }
.float-download a {
  background: #ff3366;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* 页脚 */
footer {
  background: #050608;
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 15px; }
.footer-col p { font-size: 0.8rem; color: #666; margin-bottom: 8px; }
.footer-col a { font-size: 0.8rem; color: #666; display: block; margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: #ff3366; }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.75rem;
  color: #444;
}
.footer-bottom a { color: #666; }
.footer-bottom time { font-size: 0.75rem; color: #444; margin-left: 10px; }

/* 响应式 768px */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 1.6rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-slider img { width: 110px; height: 160px; }
  .section-title { font-size: 1.4rem; }
  .grid-魔改 { grid-template-columns: repeat(2, 1fr); }
  .grid-完结 { grid-template-columns: repeat(2, 1fr); }
  .grid-神评 { grid-template-columns: 1fr; }
  .float-download { width: 90%; padding: 8px 15px; gap: 8px; }
  .float-download .text strong { font-size: 0.75rem; }
  .float-download .text span { font-size: 0.65rem; }
  .float-download a { padding: 5px 12px; font-size: 0.75rem; }
}

/* 响应式 480px */
@media (max-width: 480px) {
  .grid-魔改 { grid-template-columns: 1fr; }
  .grid-完结 { grid-template-columns: 1fr; }
  .download-btns { flex-direction: column; width: 100%; }
  .btn-download { width: 100%; }
  .item-热播 .rank { font-size: 1.2rem; width: 30px; }
}