* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: #121212;
  color: #e8e8e8;
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18,18,18,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #262626;
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 32px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand span { font-size: 19px; font-weight: 700; letter-spacing: .5px; color: #fff; }
.main-nav { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  padding: 8px 14px; border-radius: 8px; font-size: 14px;
  color: #a8a8a8; white-space: nowrap; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: #ffec52; background: #1e1e1e; }
.header-tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-box {
  background: #1e1e1e; border: 1px solid #2e2e2e; border-radius: 20px;
  padding: 8px 16px; color: #ddd; font-size: 13px; width: 180px;
  font-family: inherit; transition: border-color .2s;
}
.search-box::placeholder { color: #6a6a6a; }
.search-box:focus { outline: none; border-color: #8a51f6; }
.btn-download {
  background: #ffec52; color: #121212; font-weight: 700;
  padding: 9px 20px; border-radius: 20px; font-size: 14px;
  transition: transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn-download:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,236,82,.28); }

/* Banner */
.banner {
  position: relative; min-height: 520px; display: flex; align-items: center;
  background: #1a1020 url('images/QQ20261113-204017.webp') center/cover no-repeat;
  overflow: hidden;
}
.banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #121212 8%, rgba(18,18,18,.86) 42%, rgba(18,18,18,.15) 100%);
}
.banner-content { position: relative; z-index: 2; max-width: 1440px; width: 100%; margin: 0 auto; padding: 64px 32px; }
.banner-tag {
  display: inline-block; background: rgba(138,81,246,.2); color: #c6a8ff;
  border: 1px solid #8a51f6; border-radius: 20px;
  padding: 4px 14px; font-size: 13px; margin-bottom: 18px;
}
.banner h1 { font-size: clamp(28px, 4vw, 52px); line-height: 1.25; color: #fff; margin-bottom: 16px; max-width: 620px; }
.banner h1 em { font-style: normal; color: #ffec52; }
.banner-desc { max-width: 520px; color: #b8b8b8; font-size: 15px; margin-bottom: 28px; }
.banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: #8a51f6; color: #fff; font-weight: 600;
  padding: 13px 30px; border-radius: 10px; font-size: 15px;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: #9d6cff; transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; border: 1px solid #4a4a4a; color: #e0e0e0; font-weight: 600;
  padding: 12px 28px; border-radius: 10px; font-size: 15px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: #ffec52; color: #ffec52; }

/* Marquee */
.marquee-band { background: #241338; border-top: 1px solid #3a2257; border-bottom: 1px solid #3a2257; padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 32s linear infinite; width: max-content; }
.marquee-track span { color: #c6a8ff; font-size: 14px; }
.marquee-track span b { color: #ffec52; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: 1440px; margin: 0 auto; padding: 64px 32px; }
.section-alt { background: #161616; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(21px, 2.4vw, 28px); color: #fff; font-weight: 700; }
.section-head h2::before {
  content: ""; display: inline-block; width: 4px; height: 20px;
  background: #8a51f6; border-radius: 2px; margin-right: 12px; vertical-align: -2px;
}
.more-link { font-size: 14px; color: #9a86c9; transition: color .2s; white-space: nowrap; }
.more-link:hover { color: #ffec52; }

/* Recently */
.recent-top { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-bottom: 28px; }
.resume-card {
  background: #1e1e1e; border-radius: 16px; overflow: hidden;
  display: flex; gap: 0; border: 1px solid #2a2a2a;
}
.resume-cover { width: 180px; flex-shrink: 0; }
.resume-cover img { width: 100%; height: 100%; object-fit: cover; }
.resume-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.resume-body h3 { font-size: 21px; color: #fff; margin-bottom: 10px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: #2a2a2a; color: #a0a0a0; font-size: 12px; padding: 3px 10px; border-radius: 6px; }
.progress-bar { height: 6px; background: #333; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-bar i { display: block; height: 100%; width: 92%; background: linear-gradient(90deg, #8a51f6, #b98bff); border-radius: 3px; }
.progress-text { font-size: 12px; color: #8f8f8f; margin-bottom: 16px; }
.resume-body .btn-primary { align-self: flex-start; padding: 9px 20px; font-size: 14px; }

.stat-panel { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.stat-item { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px dashed #2e2e2e; padding-bottom: 14px; }
.stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.stat-item span { color: #8f8f8f; font-size: 13px; }
.stat-item b { color: #ffec52; font-size: 22px; font-weight: 800; }

.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.recent-card { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s; }
.recent-card:hover { border-color: #8a51f6; transform: translateY(-3px); }
.recent-card img { width: 100%; aspect-ratio: 1/1.3; object-fit: cover; }
.recent-card-body { padding: 14px 16px 16px; }
.recent-card-body h4 { font-size: 15px; color: #fff; margin-bottom: 6px; }
.update-note { font-size: 12px; color: #8f8f8f; display: block; margin-bottom: 12px; }
.mini-btn {
  display: inline-block; font-size: 13px; color: #c6a8ff; border: 1px solid #4a2f7a;
  padding: 5px 14px; border-radius: 14px; transition: background .2s, color .2s;
}
.mini-btn:hover { background: #8a51f6; color: #fff; border-color: #8a51f6; }

.timeline { border-left: 2px solid #333; padding-left: 20px; display: flex; flex-direction: column; gap: 16px; }
.timeline-item { position: relative; font-size: 14px; color: #b0b0b0; }
.timeline-item::before {
  content: ""; position: absolute; left: -27px; top: 7px; width: 10px; height: 10px;
  background: #8a51f6; border-radius: 50%; box-shadow: 0 0 0 3px #241338;
}
.timeline-item b { color: #ffec52; font-weight: 600; }

/* Update schedule */
.filter-bar { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar span {
  flex-shrink: 0; background: #1e1e1e; border: 1px solid #2e2e2e; color: #a0a0a0;
  font-size: 13px; padding: 7px 16px; border-radius: 20px; cursor: default;
}
.filter-bar span.on { background: #8a51f6; color: #fff; border-color: #8a51f6; font-weight: 600; }

.anime-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.anime-card { background: #1e1e1e; border-radius: 12px; overflow: hidden; border: 1px solid #2a2a2a; transition: border-color .2s, transform .2s; }
.anime-card:hover { border-color: #8a51f6; transform: translateY(-3px); }
.anime-cover { position: relative; aspect-ratio: 1/1.4; overflow: hidden; }
.anime-cover img { width: 100%; height: 100%; object-fit: cover; }
.anime-badge {
  position: absolute; top: 8px; right: 8px; background: rgba(18,18,18,.82);
  color: #ffec52; font-size: 11px; padding: 2px 8px; border-radius: 6px;
}
.anime-meta {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 8px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
  display: flex; gap: 6px; align-items: center; font-size: 11px;
}
.score { color: #ffec52; font-weight: 700; }
.anime-card-body { padding: 10px 12px 12px; }
.anime-card-body h4 { font-size: 13px; color: #fff; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.anime-card-body p { font-size: 11px; color: #7f7f7f; }

/* Comments */
.comment-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.comment-card { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 14px; padding: 18px 20px; }
.comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #8a51f6, #4a2f7a);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
}
.comment-head b { font-size: 14px; color: #e0e0e0; font-weight: 600; }
.comment-card p { font-size: 14px; color: #b8b8b8; }
.comment-foot { font-size: 12px; color: #6f6f6f; margin-top: 10px; }

/* Ranking */
.rank-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rank-item { display: flex; align-items: center; gap: 16px; background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 12px; padding: 12px 18px; transition: border-color .2s; }
.rank-item:hover { border-color: #8a51f6; }
.rank-num { font-size: 28px; font-weight: 900; font-style: italic; min-width: 40px; text-align: center; }
.rank-1 { color: #ff4d4d; }
.rank-2 { color: #ff9a3c; }
.rank-3 { color: #ffec52; }
.rank-other { color: #4a4a4a; }
.rank-item img { width: 52px; height: 70px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.rank-info h4 { font-size: 15px; color: #fff; margin-bottom: 6px; }
.rank-tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #8f8f8f; }
.rank-tags em { font-style: normal; color: #ffec52; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; }
.review-source { align-self: flex-end; font-size: 11px; color: #c6a8ff; border: 1px solid #4a2f7a; padding: 2px 10px; border-radius: 10px; margin-bottom: 14px; }
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-user b { font-size: 14px; color: #e0e0e0; }
.review-device { font-size: 11px; color: #6f6f6f; }
.stars { color: #ffec52; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { font-size: 14px; color: #b0b0b0; flex: 1; }
.review-foot { display: flex; justify-content: space-between; font-size: 12px; color: #6f6f6f; margin-top: 14px; padding-top: 12px; border-top: 1px solid #2a2a2a; }

/* Download */
.download-banner {
  background: linear-gradient(120deg, #2a1a4a 0%, #1a2140 100%);
  border-radius: 20px; padding: 44px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  border: 1px solid #3a2a5a;
}
.download-banner h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; margin-bottom: 14px; }
.download-banner p { color: #b0b0b0; font-size: 15px; margin-bottom: 24px; }
.dl-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.dl-btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  background: #8a51f6; color: #fff; transition: background .2s, transform .2s;
}
.dl-btn:hover { background: #9d6cff; transform: translateY(-2px); }
.dl-btn.alt { background: #ffec52; color: #121212; }
.dl-btn.alt:hover { background: #fff27a; }
.dl-btn.outline { background: transparent; border: 1px solid #5a4a7a; color: #d0c8e8; }
.dl-btn.outline:hover { border-color: #8a51f6; }
.phone-showcase { display: flex; justify-content: center; }
.phone-showcase img { width: 100%; max-width: 260px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.faq-card { background: #1e1e1e; border: 1px solid #2a2a2a; border-radius: 12px; padding: 20px 22px; transition: border-color .2s; }
.faq-card:hover { border-color: #8a51f6; }
.faq-card h3 { font-size: 15px; color: #ffec52; margin-bottom: 8px; font-weight: 600; }
.faq-card p { font-size: 14px; color: #a8a8a8; }

/* Screenshot wall */
.shot-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shot-wall img { width: 100%; border-radius: 10px; border: 1px solid #2a2a2a; }

/* Footer */
.site-footer { border-top: 1px solid #262626; padding: 36px 32px 44px; max-width: 1440px; margin: 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: #7a7a7a; margin-bottom: 16px; }
.footer-links a:hover { color: #c6a8ff; }
.footer-note { font-size: 12px; color: #5a5a5a; line-height: 1.8; }
.footer-note a { color: #6a6a6a; }
.footer-note a:hover { color: #c6a8ff; }

/* Floating */
.float-dl {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: #ffec52;
  color: #121212; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; line-height: 1.2; box-shadow: 0 8px 24px rgba(255,236,82,.35);
  transition: transform .2s;
}
.float-dl:hover { transform: scale(1.08); }
.float-dl span { font-size: 16px; }

@media (max-width: 1024px) {
  .header-inner { padding: 10px 20px; gap: 14px; }
  .main-nav { display: none; }
  .search-box { width: 130px; }
  .banner-content { padding: 48px 20px; }
  .section { padding: 48px 20px; }
  .recent-top { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: repeat(2, 1fr); }
  .anime-grid { grid-template-columns: repeat(3, 1fr); }
  .comment-list { grid-template-columns: 1fr; }
  .rank-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .download-banner { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .dl-buttons { justify-content: center; }
  .faq-grid { grid-template-columns: 1fr; }
  .shot-wall { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .header-tools .search-box { display: none; }
  .brand span { font-size: 16px; }
  .btn-download { padding: 8px 14px; font-size: 13px; }
  .banner { min-height: 440px; }
  .banner-content { padding: 40px 18px; }
  .banner::after { background: linear-gradient(180deg, rgba(18,18,18,.55) 0%, #121212 92%); }
  .banner-actions { gap: 10px; }
  .btn-primary, .btn-ghost { padding: 11px 22px; font-size: 14px; }
  .section { padding: 40px 18px; }
  .recent-grid { grid-template-columns: 1fr; }
  .resume-card { flex-direction: column; }
  .resume-cover { width: 100%; height: 200px; }
  .anime-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .review-grid { grid-template-columns: 1fr; }
  .rank-item { padding: 10px 12px; gap: 12px; }
  .rank-num { font-size: 22px; min-width: 30px; }
  .shot-wall { grid-template-columns: repeat(2, 1fr); }
  .float-dl { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .site-footer { padding: 28px 18px 36px; }
}