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

/* 顶部导航 */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.96);
  border-bottom: 1px solid #2a0c0c;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  backdrop-filter: blur(8px);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: #ff4a4a; }
.nav-brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-toggle {
  background: #ff3b3b; color: #fff; border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 14px; cursor: pointer;
}
.nav-links {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #140808; border-bottom: 1px solid #3a1010;
  padding: 10px 20px 18px;
  flex-direction: column; gap: 4px;
}
.nav-links.open { display: flex; }
.nav-links a { padding: 9px 0; color: #f0c9c9; font-size: 15px; border-bottom: 1px dashed #2a1010; }
.nav-links a:last-child { border-bottom: none; }

/* 首屏 */
.hero {
  position: relative; text-align: center;
  padding: 56px 20px 64px;
  background: radial-gradient(circle at 50% 0%, #3a0a0a 0%, #0a0a0a 70%);
  overflow: hidden;
}
.hero-title { font-size: 30px; line-height: 1.35; color: #fff; margin-bottom: 16px; }
.hero-title em { color: #ff3b3b; font-style: normal; }
.hero-sub { color: #c9a9a9; font-size: 15px; max-width: 640px; margin: 0 auto 28px; }
.btn-download, .btn-free {
  display: inline-block; background: #ffd400; color: #221a00;
  font-weight: 800; font-size: 18px; padding: 15px 44px; border-radius: 40px;
  box-shadow: 0 6px 24px rgba(255,212,0,.28);
  transition: transform .2s, box-shadow .2s;
}
.btn-download:hover, .btn-free:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,212,0,.45); }
.update-time { margin-top: 16px; font-size: 12px; color: #7a5a5a; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.hero-tags span {
  border: 1px solid #5a1a1a; color: #f0b8b8; font-size: 13px;
  padding: 5px 14px; border-radius: 20px; background: rgba(255,59,59,.06);
}

/* 扑克牌轮播 */
.section { padding: 56px 20px; max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: 24px; color: #fff; margin-bottom: 8px; }
.section-head h2 span { color: #ff3b3b; }
.section-head p { color: #b08f8f; font-size: 14px; }

.poker-wrap { position: relative; height: 380px; display: flex; justify-content: center; align-items: center; }
.poker-card {
  position: absolute; width: 210px; height: 300px; border-radius: 14px;
  overflow: hidden; background: #1a0f0f; border: 1px solid #3a1414;
  transition: transform .55s cubic-bezier(.22,.8,.3,1), opacity .55s;
  box-shadow: 0 12px 30px rgba(0,0,0,.7);
  cursor: pointer;
}
.poker-card img { width: 100%; height: 100%; object-fit: cover; }
.poker-card .play-dot {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.18);
}
.poker-card .play-dot i {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  font-style: normal; color: #fff; font-size: 15px;
}

/* 首页剧集墙 */
.grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.poster { position: relative; border-radius: 12px; overflow: hidden; background: #160c0c; border: 1px solid #2e1212; }
.poster .poster-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.poster .play-dot {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.15);
}
.poster .play-dot i {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
  background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center;
  font-style: normal; color: #fff; font-size: 14px;
}
.poster-cap { padding: 10px 12px 12px; font-size: 13px; color: #e0c0c0; }
.poster-hot { font-size: 12px; color: #ff7a5a; margin-top: 4px; }

/* 滚动横幅 */
.marquee-bar {
  background: #ff3b3b; color: #fff; overflow: hidden; white-space: nowrap;
  padding: 10px 0; font-size: 14px;
}
.marquee-track { display: inline-block; animation: slideLeft 26s linear infinite; }
.marquee-track span { margin: 0 28px; }
@keyframes slideLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 特色 */
.feature-box {
  background: linear-gradient(135deg, #1a0a0a, #120707);
  border: 1px solid #3a1414; border-radius: 16px; padding: 26px 22px;
}
.feature-box h3 { color: #ff6b6b; font-size: 19px; margin-bottom: 12px; }
.feature-box p { color: #d6bcbc; font-size: 15px; margin-bottom: 12px; }

/* 播放器弹幕 */
.player-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid #3a1414; background: #000;
}
.player-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; opacity: .85; }
.player-label {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.6);
  color: #ffd400; font-size: 12px; padding: 4px 10px; border-radius: 20px;
}
.danmu-layer {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.danmu {
  position: absolute; white-space: nowrap; font-size: 14px; font-weight: 600;
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9);
  animation: danmuMove linear infinite;
}
@keyframes danmuMove { from { transform: translateX(100%); } to { transform: translateX(-120%); } }

/* 排行榜 */
.rank-list { display: flex; flex-direction: column; gap: 12px; }
.rank-item { display: flex; align-items: center; gap: 12px; background: #140909; border: 1px solid #2e1212; border-radius: 12px; padding: 10px; }
.rank-item img { width: 62px; height: 82px; object-fit: cover; border-radius: 8px; }
.rank-info { flex: 1; min-width: 0; }
.rank-info strong { display: block; font-size: 15px; color: #fff; }
.rank-info span { font-size: 12px; color: #b08f8f; }
.rank-no { font-size: 20px; font-weight: 800; color: #ff3b3b; width: 28px; text-align: center; }

/* 历程 */
.timeline { border-left: 2px solid #3a1414; padding-left: 20px; display: flex; flex-direction: column; gap: 22px; }
.tl-item h3 { font-size: 16px; color: #ff7a7a; margin-bottom: 6px; }
.tl-item p { font-size: 14px; color: #c4a8a8; }

/* 手风琴 */
.acc-item { border-bottom: 1px solid #2a1010; }
.acc-item summary {
  padding: 16px 4px; cursor: pointer; font-size: 15px; color: #f0d8d8;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "+"; color: #ff3b3b; font-size: 20px; }
.acc-item[open] summary::after { content: "−"; }
.acc-item p { padding: 0 4px 16px; font-size: 14px; color: #b89a9a; }

/* 评论 */
.comment-box { display: flex; flex-direction: column; gap: 14px; }
.comment-form textarea {
  width: 100%; min-height: 90px; background: #140909; border: 1px solid #3a1414;
  border-radius: 10px; color: #eee; padding: 12px; font-size: 14px; resize: vertical;
  font-family: inherit;
}
.comment-form button {
  margin-top: 10px; background: #ffd400; color: #221a00; border: none;
  padding: 11px 30px; border-radius: 30px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.comment-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #221010; }
.comment-item img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.comment-item .c-name { color: #ff9b9b; font-size: 13px; font-weight: 600; }
.comment-item .c-text { color: #d0b4b4; font-size: 14px; }

/* 下载区 */
.download-band {
  text-align: center; padding: 56px 20px;
  background: radial-gradient(circle at 50% 50%, #3a0a0a 0%, #0a0a0a 75%);
}
.download-band h2 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.download-band p { color: #c0a0a0; font-size: 14px; margin-bottom: 26px; }

/* 弹窗 */
.modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.78);
  z-index: 999; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-card {
  background: #1a0c0c; border: 1px solid #ff3b3b; border-radius: 16px;
  padding: 30px 24px; max-width: 360px; width: 100%; text-align: center;
}
.modal-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.modal-card p { color: #c4a0a0; font-size: 14px; margin-bottom: 20px; }
.modal-close {
  background: none; border: 1px solid #5a3a3a; color: #c4a0a0;
  padding: 8px 24px; border-radius: 20px; cursor: pointer; font-size: 14px;
}

/* 页脚 */
.site-footer {
  border-top: 1px solid #221010; padding: 28px 20px 36px; text-align: center;
  font-size: 12px; color: #6e5252;
}
.site-footer a { color: #8a6666; }
.site-footer a:hover { color: #ff7a7a; }
.footer-about { margin-top: 14px; font-size: 12px; color: #6e5252; }
.footer-about summary { cursor: pointer; list-style: none; display: inline-block; }
.footer-about summary::-webkit-details-marker { display: none; }
.footer-about ul { list-style: none; margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }
.footer-about li { font-size: 12px; }
.footer-about a { color: #8a6666; }

@media (min-width: 768px) {
  .hero-title { font-size: 40px; }
  .nav-links {
    position: static; display: flex !important; flex-direction: row; gap: 18px;
    background: none; border: none; padding: 0; margin-left: 24px;
  }
  .nav-links a { border: none; padding: 0; font-size: 14px; }
  .nav-toggle { display: none; }
  .nav-inner { display: flex; align-items: center; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .poker-wrap { height: 420px; }
  .poker-card { width: 240px; height: 340px; }
  .player-frame img { aspect-ratio: 16/9; }
}
@media (min-width: 1024px) {
  .hero { padding: 90px 20px 100px; }
  .hero-title { font-size: 48px; }
  .grid-cards { grid-template-columns: repeat(4, 1fr); }
  .poker-wrap { height: 460px; }
  .poker-card { width: 260px; height: 380px; }
  .rank-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .comment-box { display: flex; }
}