* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #0a1128;
  color: #e8edf5;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 顶部导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 122, 0, 0.2);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 32px; width: auto; }
.nav-brand span { font-size: 20px; font-weight: 700; color: #fff; }
.nav-toggle {
  display: none;
  background: #ff7a00;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a {
  color: #b8c5d6;
  font-size: 15px;
  transition: color 0.2s;
  padding: 6px 0;
}
.nav-links a:hover { color: #ff7a00; }

/* 首屏 */
.hero {
  position: relative;
  padding: 80px 20px 60px;
  background: radial-gradient(ellipse at top, #1a2a5e 0%, #0a1128 70%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}
.hero-text h1 span { color: #ff7a00; }
.hero-text p {
  font-size: 16px;
  color: #b8c5d6;
  margin-bottom: 16px;
}
.download-btn {
  display: inline-block;
  background: #ffcc00;
  color: #0a1128;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  margin-top: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
}
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 204, 0, 0.5); }
.update-time { font-size: 12px; color: #7a8aa0; margin-top: 12px; }

/* 轮播图 */
.carousel-wrap { position: relative; height: 380px; display: flex; align-items: center; justify-content: center; }
.carousel-card {
  position: absolute;
  width: 180px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
  cursor: pointer;
  border: 2px solid rgba(255, 122, 0, 0.3);
}
.carousel-card img { width: 100%; height: 100%; object-fit: cover; }
.carousel-card.pos-0 { transform: translateX(0) scale(1); z-index: 5; }
.carousel-card.pos-1 { transform: translateX(110px) scale(0.85) rotate(6deg); z-index: 4; opacity: 0.8; }
.carousel-card.pos-2 { transform: translateX(-110px) scale(0.85) rotate(-6deg); z-index: 4; opacity: 0.8; }
.carousel-card.pos-3 { transform: translateX(200px) scale(0.7) rotate(12deg); z-index: 3; opacity: 0.5; }
.carousel-card.pos-4 { transform: translateX(-200px) scale(0.7) rotate(-12deg); z-index: 3; opacity: 0.5; }

/* 播放按钮 */
.play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  border: 2px solid rgba(255,255,255,0.6);
}
.play-overlay::after {
  content: '';
  display: block;
  width: 0; height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

/* 滚动横幅 */
.ticker-banner {
  background: linear-gradient(90deg, #ff7a00, #ff9a3c);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 20s linear infinite;
  font-size: 15px;
  font-weight: 600;
  color: #0a1128;
}
.ticker-track span { margin: 0 40px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 区块通用 */
section { padding: 70px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
}
.section-sub {
  text-align: center;
  color: #8a9bb5;
  font-size: 15px;
  margin-bottom: 40px;
}

/* 剧库网格 */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.drama-card {
  background: #111a33;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.15);
  transition: transform 0.3s;
  cursor: pointer;
}
.drama-card:hover { transform: translateY(-4px); }
.drama-card .img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.drama-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.drama-card .caption {
  padding: 14px 16px;
  font-size: 14px;
  color: #c5d0e0;
  text-align: center;
}

/* 优势 */
.advantage-box {
  background: linear-gradient(135deg, #111a33, #1a2a5e);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(255, 122, 0, 0.2);
}
.advantage-box p {
  font-size: 16px;
  color: #c5d0e0;
  line-height: 1.9;
  margin-bottom: 16px;
}
.advantage-box strong { color: #ff7a00; }

/* 排行榜 */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rank-item {
  display: flex;
  gap: 16px;
  background: #111a33;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 122, 0, 0.1);
  cursor: pointer;
}
.rank-item img {
  width: 80px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.rank-info { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.rank-title { font-size: 16px; font-weight: 600; color: #fff; }
.rank-meta { font-size: 13px; color: #8a9bb5; display: flex; gap: 12px; }
.rank-meta span { color: #ff7a00; font-weight: 600; }

/* 弹幕区 */
.danmaku-screen {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #000;
  cursor: pointer;
}
.danmaku-screen > img { width: 100%; height: 100%; object-fit: cover; }
.danmaku-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.danmaku {
  position: absolute;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  animation: dm-move linear infinite;
}
@keyframes dm-move {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-150%); }
}

/* 历程 */
.timeline { max-width: 800px; margin: 0 auto; }
.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 122, 0, 0.3);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff7a00;
  flex-shrink: 0;
  margin-top: 6px;
}
.timeline-content h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: #a0b0c8; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #111a33;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.1);
}
.faq-q {
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  color: #ff7a00;
  transition: transform 0.3s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: #a0b0c8;
  font-size: 14px;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }

/* 评论 */
.comment-section { max-width: 900px; margin: 0 auto; }
.comment-form {
  background: #111a33;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 122, 0, 0.15);
}
.comment-form textarea {
  width: 100%;
  min-height: 90px;
  background: #0a1128;
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 8px;
  padding: 12px;
  color: #e8edf5;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}
.comment-form textarea:focus { outline: none; border-color: #ff7a00; }
.comment-form button {
  margin-top: 12px;
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.comment-list { display: flex; flex-direction: column; gap: 16px; }
.comment-item {
  display: flex;
  gap: 14px;
  background: #111a33;
  border-radius: 10px;
  padding: 16px;
}
.comment-item .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; background: #0a1128; padding: 4px; flex-shrink: 0; }
.comment-body .name { font-size: 14px; font-weight: 600; color: #ff7a00; margin-bottom: 4px; }
.comment-body .text { font-size: 14px; color: #c5d0e0; }

/* 弹窗 */
.modal-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
  background: #1a2a5e;
  border-radius: 14px;
  padding: 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 122, 0, 0.3);
}
.modal-box p { font-size: 16px; color: #fff; margin-bottom: 20px; }
.modal-box .modal-btn {
  display: inline-block;
  background: #ffcc00;
  color: #0a1128;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-size: 15px;
}

/* 蓝莓下落 */
.berry-layer { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.berry {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #6a9bff, #2e4bb3);
  border-radius: 50%;
  opacity: 0.6;
  animation: fall linear infinite;
}
.berry::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ff7a00;
  border-radius: 2px;
}
@keyframes fall {
  0% { transform: translateY(-20px) rotate(0deg); }
  100% { transform: translateY(100vh) rotate(360deg); }
}

/* 页脚 */
footer {
  background: #070c1c;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 122, 0, 0.1);
}
footer p { font-size: 12px; color: #5a6a80; margin-bottom: 8px; }
footer a { color: #5a6a80; font-size: 12px; }
footer a:hover { color: #ff7a00; }
footer .footer-time { font-size: 12px; color: #5a6a80; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .carousel-wrap { height: 360px; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #0a1128;
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    display: none;
    border-bottom: 1px solid rgba(255,122,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-text h1 { font-size: 26px; }
  .hero { padding: 50px 20px 40px; }
  .carousel-wrap { height: 320px; }
  .carousel-card { width: 140px; height: 250px; }
  .carousel-card.pos-1 { transform: translateX(80px) scale(0.85) rotate(6deg); }
  .carousel-card.pos-2 { transform: translateX(-80px) scale(0.85) rotate(-6deg); }
  .carousel-card.pos-3 { transform: translateX(150px) scale(0.7) rotate(12deg); }
  .carousel-card.pos-4 { transform: translateX(-150px) scale(0.7) rotate(-12deg); }
  .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .rank-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  section { padding: 50px 16px; }
  .advantage-box { padding: 24px; }
}