* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body {
  background-color: #0f1115;
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* 头部导航 */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2d3748;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 18px;
}
.logo-area img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 14px;
}
.nav-links li a {
  transition: color 0.3s;
  position: relative;
}
.nav-links li a:hover {
  color: #fbbf24;
}
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s;
}
.nav-links li a:hover::after {
  width: 100%;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #e2e8f0;
  font-size: 24px;
  cursor: pointer;
}

/* 首屏 */
.hero {
  background: linear-gradient(135deg, #1a202c, #2d3748);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-text {
  text-align: center;
}
.hero-text h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.download-btns a {
  display: inline-block;
  padding: 10px 20px;
  background: #fbbf24;
  color: #0f1115;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}
.download-btns a:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

/* 图片轮播 */
.hero-carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: none; /* Firefox */
}
.hero-carousel::-webkit-scrollbar {
  display: none;
}
.hero-carousel img {
  height: 220px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 跑马灯 */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #1a202c;
  padding: 10px 0;
  border-top: 1px solid #2d3748;
  border-bottom: 1px solid #2d3748;
}
.marquee span {
  display: inline-block;
  animation: scroll 15s linear infinite;
  font-size: 16px;
  font-weight: bold;
  background: linear-gradient(90deg, #fbbf24, #f472b6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

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

/* 板块1：悬念揭秘 */
.section-mystery {
  background: #1a202c;
}
.mystery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.mystery-card {
  background: #2d3748;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #fbbf24;
}
.mystery-card h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.mystery-card p {
  font-size: 14px;
  color: #cbd5e1;
}
.mystery-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  position: relative;
  overflow: hidden;
}
.mystery-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.mystery-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

/* 板块2：魔改小说 */
.section-novel {
  background: #2d3748;
}
.novel-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.novel-item {
  display: flex;
  flex-direction: column;
  background: #1a202c;
  border-radius: 12px;
  overflow: hidden;
}
.novel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.novel-content {
  padding: 20px;
}
.novel-content h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.novel-content p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 10px;
}
.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tags span {
  background: #fbbf24;
  color: #0f1115;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

/* 板块3：AI短剧 */
.section-ai {
  background: #1a202c;
}
.ai-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.ai-card {
  background: #2d3748;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ai-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.ai-info {
  padding: 15px;
}
.ai-info h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.ai-info p {
  font-size: 14px;
  color: #cbd5e1;
}

/* 板块4：完结魔改剧 */
.section-complete {
  background: #2d3748;
}
.complete-timeline {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.timeline-item {
  display: flex;
  gap: 15px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: -20px;
  width: 2px;
  background: #fbbf24;
  z-index: 1;
}
.timeline-item:last-child::before {
  display: none;
}
.timeline-time {
  background: #fbbf24;
  color: #0f1115;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 2;
  flex-shrink: 0;
}
.timeline-content {
  background: #1a202c;
  padding: 15px;
  border-radius: 8px;
  flex: 1;
}
.timeline-content h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.timeline-content p {
  font-size: 14px;
  color: #cbd5e1;
}

/* 板块5：本周热播榜 */
.section-ranking {
  background: #1a202c;
}
.ranking-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #2d3748;
  padding: 15px;
  border-radius: 8px;
}
.ranking-num {
  font-size: 24px;
  font-weight: bold;
  color: #fbbf24;
  width: 30px;
  text-align: center;
}
.ranking-info {
  flex: 1;
}
.ranking-info h3 {
  font-size: 16px;
  color: #fff;
}
.ranking-info p {
  font-size: 12px;
  color: #cbd5e1;
}
.ranking-score {
  color: #fbbf24;
  font-weight: bold;
}

/* 板块6：会员权益 */
.section-vip {
  background: #2d3748;
}
.vip-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.vip-card {
  background: #1a202c;
  padding: 20px;
  border-radius: 12px;
  border-top: 3px solid #fbbf24;
}
.vip-card h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.vip-card ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: #cbd5e1;
}

/* 板块7：隐私安全 */
.section-privacy {
  background: #1a202c;
}
.privacy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.privacy-item {
  background: #2d3748;
  padding: 20px;
  border-radius: 12px;
}
.privacy-item h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.privacy-item p {
  font-size: 14px;
  color: #cbd5e1;
}

/* 板块8：意见反馈 */
.section-feedback {
  background: #2d3748;
}
.feedback-container {
  max-width: 1200px;
  margin: 0 auto;
}
.feedback-qna {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feedback-item {
  background: #1a202c;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #fbbf24;
}
.feedback-item h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.feedback-item p {
  font-size: 14px;
  color: #cbd5e1;
}

/* 板块9：常见问题 */
.section-faq {
  background: #1a202c;
}
.faq-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: #2d3748;
  padding: 20px;
  border-radius: 8px;
}
.faq-item h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 14px;
  color: #cbd5e1;
}

/* 板块10：下载专区 */
.section-download {
  background: #2d3748;
}
.download-area {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.download-area img {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
}
.download-steps {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}
.download-steps h3 {
  color: #fbbf24;
  margin-bottom: 10px;
}
.download-steps ol {
  padding-left: 20px;
  font-size: 14px;
  color: #cbd5e1;
}

/* 页脚 */
footer {
  background: #0f1115;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #2d3748;
}
footer p {
  margin-bottom: 5px;
}
footer a {
  color: #64748b;
  text-decoration: underline;
}
footer a:hover {
  color: #fbbf24;
}
.footer-time {
  margin-top: 10px;
  font-size: 12px;
}

/* 浮动下载窗口 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a202c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 999;
  border: 1px solid #fbbf24;
  cursor: pointer;
}
.floating-download img {
  height: 30px;
  width: auto;
  border-radius: 4px;
}
.floating-download span {
  font-size: 14px;
  font-weight: bold;
  color: #fbbf24;
}
.floating-download a {
  background: #fbbf24;
  color: #0f1115;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

/* 弹窗 */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #1a202c;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.modal-content p {
  margin-bottom: 20px;
  font-size: 14px;
}
.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #2d3748;
  border-radius: 8px;
  background: #2d3748;
  color: #fff;
  text-align: center;
}
.modal-content button {
  background: #fbbf24;
  color: #0f1115;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #fff;
}

@media (min-width: 768px) {
  .nav-container { flex-direction: row; justify-content: space-between; }
  .nav-links { display: flex; }
  .hero-content { flex-direction: row; align-items: center; }
  .hero-text { flex: 1; text-align: left; }
  .hero-text p { margin: 0; }
  .mystery-grid { grid-template-columns: 1fr 1fr; }
  .novel-item { flex-direction: row; }
  .novel-item img { width: 40%; height: auto; }
  .novel-content { flex: 1; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-content { flex-direction: row; flex-wrap: wrap; }
  .privacy-item { flex: 1 1 45%; }
  .feedback-qna { flex-direction: row; flex-wrap: wrap; }
  .feedback-item { flex: 1 1 45%; }
  .download-area { flex-direction: row; text-align: left; }
  .download-area img { max-width: 300px; }
}

@media (min-width: 1024px) {
  .hero-text h1 { font-size: 36px; }
  .mystery-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ai-grid { grid-template-columns: repeat(3, 1fr); }
  .vip-grid { grid-template-columns: repeat(3, 1fr); }
  .privacy-item { flex: 1 1 30%; }
  .feedback-item { flex: 1 1 30%; }
}