:root {
  --bg: #0f1117;
  --bg-alt: #171a23;
  --card: #1d2130;
  --card-hover: #252a3d;
  --border: #2a2f42;
  --text: #e8eaf2;
  --text-sub: #9aa1b5;
  --purple: #7c5cff;
  --red: #ff6b6b;
  --gold: #ffd166;
  --radius: 14px;
  --radius-lg: 20px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; white-space: nowrap; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--text-sub);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card); }
.header-search {
  display: flex; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 0 6px 0 16px; height: 38px;
}
.header-search input {
  background: transparent; border: none; outline: none; color: var(--text);
  font-size: 13px; width: 160px; font-family: inherit;
}
.header-search input::placeholder { color: var(--text-sub); }
.header-search span { color: var(--text-sub); font-size: 14px; padding: 0 8px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff; font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  transition: filter .2s, transform .2s;
}
.btn-download:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* Hero */
.hero { padding: 40px 0 20px; }
.hero-card {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #2a1f4d 0%, #1d2130 60%, #2e1a2e 100%);
  border-radius: var(--radius-lg);
  padding: 48px 48px 56px;
  border: 1px solid var(--border);
}
.hero-card::before {
  content: ""; position: absolute; top: -120px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.35), transparent 70%);
  pointer-events: none;
}
.hero-card::after {
  content: ""; position: absolute; bottom: -140px; left: 30%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,.2), transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--gold); background: rgba(255,209,102,.12);
  border: 1px solid rgba(255,209,102,.3);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-title { font-size: 40px; line-height: 1.25; font-weight: 800; margin-bottom: 8px; position: relative; }
.hero-sub { font-size: 15px; color: var(--text-sub); margin-bottom: 16px; position: relative; }
.hero-desc { font-size: 16px; color: var(--text); max-width: 560px; margin-bottom: 28px; position: relative; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all .2s; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--red)); color: #fff; }
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--card-hover); border-color: var(--purple); }
.hero-dots { display: flex; gap: 8px; margin-top: 32px; position: relative; }
.hero-dots i {
  display: block; width: 10px; height: 10px; border-radius: 999px;
  background: var(--border); transition: all .25s;
}
.hero-dots i.on { width: 28px; background: var(--purple); }

/* Stats */
.stats { padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: background .2s, transform .2s;
}
.stat-card:hover { background: var(--card-hover); transform: translateY(-4px); }
.stat-num { font-size: 32px; font-weight: 800; color: var(--purple); margin-bottom: 4px; }
.stat-num span { font-size: 18px; }
.stat-label { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.stat-desc { font-size: 13px; color: var(--text-sub); }

/* Section common */
.section { padding: 48px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.section-title { font-size: 26px; font-weight: 800; }
.section-title em { font-style: normal; color: var(--purple); }
.section-sub { font-size: 14px; color: var(--text-sub); margin-bottom: 24px; }
.section-link { font-size: 14px; color: var(--purple); font-weight: 600; }
.section-link:hover { color: var(--red); }

/* About */
.about-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
}
.about-text p { margin-bottom: 14px; color: var(--text-sub); font-size: 15px; }
.about-list { margin-top: 20px; display: grid; gap: 10px; }
.about-list li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.about-list li::before {
  content: "✓"; color: var(--purple); font-weight: 800; flex-shrink: 0;
}
.feature-stack { display: grid; gap: 14px; align-content: start; }
.feature-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: background .2s;
}
.feature-card:hover { background: var(--card-hover); }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-sub); }

/* Today updates */
.scroll-row {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.update-card {
  flex: 0 0 220px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, background .2s;
}
.update-card:hover { transform: translateY(-6px); background: var(--card-hover); }
.cover-wrap { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-alt); }
.cover-wrap img { width: 100%; height: 100%; object-fit: cover; }
.badge-ep {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(124,92,255,.9); color: #fff;
  font-size: 12px; padding: 2px 10px; border-radius: 999px;
}
.badge-tag {
  position: absolute; left: 8px; top: 8px;
  background: rgba(15,17,23,.75); color: var(--gold);
  font-size: 12px; padding: 2px 10px; border-radius: 999px;
}
.update-info { padding: 12px 14px 16px; }
.update-info h3 { font-size: 15px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.update-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-sub); }

/* Calendar */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.day-col {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
  transition: border-color .2s;
}
.day-col.today { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.day-head { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.day-head .today-mark { font-size: 11px; color: var(--gold); background: rgba(255,209,102,.12); padding: 1px 6px; border-radius: 999px; }
.day-item { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.day-item img { width: 34px; height: 46px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.day-item-text { font-size: 12px; line-height: 1.4; min-width: 0; }
.day-item-text strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day-item-text span { color: var(--text-sub); font-size: 11px; }
.day-item-text .sp { color: var(--red); }

/* Ranking */
.rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rank-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, background .2s;
}
.rank-card:hover { transform: translateY(-6px); background: var(--card-hover); }
.poster { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.rank-no {
  position: absolute; left: 10px; top: 10px;
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #171a23;
  background: #c0c4d0;
}
.rank-no.top1 { background: #ffd166; }
.rank-no.top2 { background: #d7dbe8; }
.rank-no.top3 { background: #e0a26a; }
.rank-heat {
  position: absolute; right: 10px; top: 10px;
  font-size: 12px; color: var(--red);
  background: rgba(15,17,23,.7); padding: 2px 10px; border-radius: 999px;
}
.rank-body { padding: 16px; }
.rank-body h3 { font-size: 17px; margin-bottom: 4px; }
.rank-meta { font-size: 12px; color: var(--text-sub); margin-bottom: 8px; }
.rank-review { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; min-height: 40px; }
.heat-bar { height: 6px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.heat-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--purple), var(--red)); }

/* Editor picks */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pick-card {
  position: relative; overflow: hidden; min-height: 220px;
  border-radius: var(--radius-lg); padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(160deg, #2a1f4d, #1d2130);
  border: 1px solid var(--border);
  transition: transform .2s;
}
.pick-card:nth-child(2) { background: linear-gradient(160deg, #3a1a2e, #1d2130); }
.pick-card:nth-child(3) { background: linear-gradient(160deg, #1a2e3a, #1d2130); }
.pick-card::before {
  content: ""; position: absolute; top: -60px; right: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,.3), transparent 70%);
}
.pick-card:hover { transform: translateY(-5px); }
.pick-card h3 { font-size: 20px; margin-bottom: 8px; position: relative; }
.pick-card p { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; position: relative; }
.pick-card span { font-size: 12px; color: var(--gold); position: relative; }

/* New works */
.new-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.new-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, background .2s;
}
.new-card:hover { transform: translateY(-6px); background: var(--card-hover); }
.new-body { padding: 14px; }
.new-body h3 { font-size: 15px; margin-bottom: 4px; }
.new-meta { display: flex; gap: 8px; font-size: 12px; color: var(--text-sub); margin-bottom: 8px; }
.new-desc { font-size: 12px; color: var(--text-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.badge-new {
  position: absolute; left: 8px; top: 8px;
  background: linear-gradient(135deg, var(--purple), var(--red)); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
}

/* Guide */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.guide-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: background .2s, transform .2s;
}
.guide-card:hover { background: var(--card-hover); transform: translateY(-4px); }
.guide-step { font-size: 13px; font-weight: 800; color: var(--purple); letter-spacing: 1px; margin-bottom: 10px; }
.guide-card h3 { font-size: 17px; margin-bottom: 8px; }
.guide-card p { font-size: 13px; color: var(--text-sub); }

/* Notice */
.notice-list { display: grid; gap: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.notice-item {
  display: flex; gap: 20px; padding: 18px 24px;
  border-bottom: 1px solid var(--border); align-items: baseline;
}
.notice-item:last-child { border-bottom: none; }
.notice-date { color: var(--purple); font-weight: 700; font-size: 14px; white-space: nowrap; }
.notice-body h3 { font-size: 15px; margin-bottom: 2px; }
.notice-body p { font-size: 13px; color: var(--text-sub); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: transform .2s, background .2s;
}
.review-card:hover { transform: translateY(-4px); background: var(--card-hover); }
.stars { color: var(--gold); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--text-sub); margin-bottom: 18px; min-height: 66px; }
.review-user { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--red));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.review-user strong { display: block; font-size: 14px; }
.review-user span { font-size: 12px; color: var(--text-sub); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.faq-item h3 { font-size: 15px; margin-bottom: 6px; }
.faq-item p { font-size: 13px; color: var(--text-sub); }

/* Download */
.download-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; align-items: center;
}
.download-left h2 { font-size: 28px; margin-bottom: 10px; }
.download-left > p { font-size: 15px; color: var(--text-sub); margin-bottom: 24px; }
.dl-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.dl-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  transition: background .2s, border-color .2s;
}
.dl-btn:hover { background: var(--card-hover); border-color: var(--purple); }
.dl-icon { font-size: 22px; }
.dl-btn strong { display: block; font-size: 15px; }
.dl-btn span { font-size: 12px; color: var(--text-sub); }
.dl-note { font-size: 12px; color: var(--text-sub); }
.dl-note strong { color: var(--text); }

/* Phone preview */
.phone {
  width: 240px; margin: 0 auto; border-radius: 32px;
  border: 8px solid #2a2f42; background: var(--bg-alt);
  overflow: hidden; position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 90px; height: 18px; background: #2a2f42;
  border-radius: 0 0 12px 12px; z-index: 2;
}
.phone-screen { padding: 26px 10px 46px; }
.phone-brand { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.phone-brand img { height: 16px; width: auto; }
.phone-banner {
  border-radius: 10px; overflow: hidden; margin-bottom: 12px;
}
.phone-banner img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.phone-row { display: flex; gap: 6px; margin-bottom: 10px; }
.phone-row img { width: 33%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
.phone-list { display: grid; gap: 6px; }
.phone-list-item { display: flex; gap: 6px; align-items: center; font-size: 10px; }
.phone-list-item img { width: 26px; height: 34px; object-fit: cover; border-radius: 4px; }
.phone-list-item span { color: var(--text-sub); }
.phone-tabs {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-around;
  padding: 8px 0; background: rgba(29,33,48,.95);
  border-top: 1px solid var(--border); font-size: 10px; color: var(--text-sub);
}
.phone-tabs i { display: block; font-style: normal; font-size: 14px; }

/* Floating download */
.float-dl {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff; font-weight: 700; font-size: 14px;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(124,92,255,.4);
  transition: transform .2s, filter .2s;
}
.float-dl:hover { transform: translateY(-2px); filter: brightness(1.1); }
.pulse-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #fff; animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 32px; margin-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.footer-brand img { height: 26px; width: auto; }
.footer-col p, .footer-col li { font-size: 13px; color: var(--text-sub); line-height: 1.8; }
.footer-col h4 { font-size: 14px; margin-bottom: 10px; color: var(--text); }
.footer-col ul { display: grid; gap: 4px; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-sub);
}
.footer-bottom .links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-compliance {
  margin-top: 16px; font-size: 12px; color: #6a7085;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-grid { grid-template-columns: repeat(4, 1fr); }
  .rank-grid { grid-template-columns: 1fr; }
  .new-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .pick-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .about-box { grid-template-columns: 1fr; }
  .download-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .header-inner { gap: 12px; height: 58px; }
  .header-search { display: none; }
  .hero-card { padding: 32px 22px 40px; }
  .hero-title { font-size: 28px; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .new-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .dl-buttons { grid-template-columns: 1fr; }
  .download-box { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .float-dl { right: 12px; bottom: 12px; padding: 10px 16px; font-size: 12px; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 16px; }
  .stat-num { font-size: 24px; }
  .update-card { flex: 0 0 170px; }
}