:root {
  --bg-page: #111111;
  --bg-footer: #181820;
  --bg-card: #1c1c22;
  --line: #2a2a30;
  --text-main: #f5f5f7;
  --text-sub: #a0a0a8;
  --accent-purple: #8e5aaf;
  --accent-pink: #c86fd0;
  --gradient-top: linear-gradient(90deg, #5164b1 0%, #705db6 35%, #8e5aaf 65%, #af52ad 100%);
  --font-main: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-logo: Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Top Nav */
.top-nav {
  background: var(--gradient-top);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 4%;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 32px; width: auto; }
.brand-text {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; opacity: 0.8; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.btn-download-nav {
  background: #fff;
  color: var(--accent-purple);
  padding: 8px 20px;
  border-radius: 99px;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s;
}
.btn-download-nav:hover { transform: scale(1.05); }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero Banner */
.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-content {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6%;
  background: linear-gradient(90deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.4) 50%, transparent 100%);
}
.hero-title {
  font-size: 56px;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 500px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 8px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.hero-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.tag-purple {
  background: #6a2c91;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
}
.tag-yellow {
  background: #f3b421;
  color: #111;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
}
.hero-meta {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.btn-download-hero {
  display: inline-block;
  background: var(--accent-purple);
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  width: fit-content;
  transition: background 0.3s, transform 0.2s;
}
.btn-download-hero:hover { background: var(--accent-pink); transform: scale(1.02); }
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.dot.active { background: var(--accent-pink); transform: scale(1.3); }

/* Section Common */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 4%;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}
.section-title {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--accent-purple);
  border-radius: 2px;
}
.more-link {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.2s;
}
.more-link:hover { color: #fff; }

/* Card Grid */
.grid-horizontal {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.grid-vertical {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.3s;
  cursor: pointer;
}
.card:hover { transform: translateY(-4px); }
.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.grid-vertical .card-img-wrap { aspect-ratio: 3 / 4; }
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card-img-wrap img { transform: scale(1.06); }

.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}
.card-fav {
  position: absolute;
  bottom: 8px;
  right: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.card-fav:hover, .card-fav.faved { color: var(--accent-pink); }
.card-title {
  padding: 10px 8px 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-tags {
  padding: 0 8px 10px;
  font-size: 12px;
  color: var(--text-sub);
}

/* Ranking Display */
.grid-rank {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.rank-card {
  position: relative;
  z-index: 1;
}
.rank-number {
  position: absolute;
  bottom: 15%;
  left: -10%;
  font-family: var(--font-logo);
  font-size: 140px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  z-index: -1;
  pointer-events: none;
}

/* Guide Section */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.guide-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.guide-num {
  font-size: 48px;
  font-weight: bold;
  color: var(--accent-pink);
  font-family: var(--font-logo);
  margin-bottom: 16px;
  opacity: 0.8;
}
.guide-card h3 { font-size: 18px; margin-bottom: 12px; }
.guide-card p { font-size: 14px; color: var(--text-sub); }

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.faq-item summary {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
  color: var(--text-sub);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-pink);
}
.faq-answer {
  padding-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
}

/* VIP Banner */
.vip-banner {
  background: #1a0b29;
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  margin: 64px 4%;
  border: 1px solid #3a1b4a;
}
.vip-banner h2 { font-size: 32px; margin-bottom: 16px; color: #fff; }
.vip-banner p { font-size: 16px; color: var(--text-sub); margin-bottom: 32px; }
.btn-download-vip {
  display: inline-block;
  background: var(--gradient-top);
  color: #fff;
  padding: 14px 40px;
  border-radius: 99px;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.2s;
}
.btn-download-vip:hover { transform: scale(1.05); }

/* Footer */
footer {
  background: var(--bg-footer);
  padding: 32px 4%;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
  border-top: 1px solid var(--line);
}
.footer-content { max-width: 1400px; margin: 0 auto; }
.about-details {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-sub);
}
.about-details summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
}
.about-details summary::-webkit-details-marker { display: none; }
.about-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.about-links a { color: #666; transition: color 0.2s; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; width: 100%;
    background: var(--bg-page);
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
  .grid-horizontal { grid-template-columns: repeat(4, 1fr); }
  .grid-vertical { grid-template-columns: repeat(4, 1fr); }
  .grid-rank { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 42px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { height: 400px; }
  .hero-title { font-size: 32px; letter-spacing: 4px; }
  .grid-horizontal { grid-template-columns: repeat(2, 1fr); }
  .grid-vertical { grid-template-columns: repeat(2, 1fr); }
  .grid-rank { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .rank-number { font-size: 100px; }
  .vip-banner h2 { font-size: 24px; }
}