:root {
  --bg: #111111;
  --bg-footer: #181820;
  --grad-top: linear-gradient(90deg, #5164b1, #705db6, #8e5aaf, #af52ad);
  --purple: #8e5aaf;
  --pink: #c86fd0;
  --card: #1c1c22;
  --line: #2a2a30;
  --text: #f5f5f7;
  --text-muted: #a0a0a8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Header */
header {
  background: var(--grad-top);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 22px; font-weight: bold; color: #fff; }
.logo-area img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 20px; font-size: 15px; }
.nav-links a { color: #fff; opacity: 0.9; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.btn-download {
  background: #fff;
  color: var(--purple);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s;
}
.btn-download:hover { transform: scale(1.05); }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* Main Container */
main { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Banner */
.banner {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 1500 / 380;
}
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-content {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.banner-title { font-size: 40px; font-weight: bold; color: #fff; margin-bottom: 15px; line-height: 1.2; }
.banner-tags { display: flex; gap: 10px; margin-bottom: 15px; }
.tag { padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.tag-purple { background: var(--purple); color: #fff; }
.tag-yellow { background: #f5c518; color: #000; }
.tag-green { background: #4caf50; color: #fff; }
.banner-meta { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  align-self: flex-start;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--pink); }
.dots { display: flex; gap: 8px; margin-top: 20px; }
.dot { width: 8px; height: 8px; background: rgba(255,255,255,0.3); border-radius: 50%; }
.dot.active { background: #fff; }

/* Section Common */
section { margin-bottom: 50px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.section-title { font-size: 24px; font-weight: bold; }
.more-link { font-size: 14px; color: var(--text-muted); }
.more-link:hover { color: var(--purple); }

/* Card Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.card {
  background: var(--card);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 2px;
}
.card-like {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.card-like:hover { background: rgba(0,0,0,0.8); }
.card-info { padding: 10px; }
.card-title { font-size: 14px; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-genre { font-size: 12px; color: var(--text-muted); }

/* Vertical Poster Area */
.grid-vertical { grid-template-columns: repeat(5, 1fr); }
.card-vertical .card-img-wrap { aspect-ratio: 3 / 4; }

/* Ranking Area */
.ranking-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ranking-card { position: relative; }
.ranking-number {
  position: absolute;
  bottom: -10px;
  left: 10px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
  font-family: Arial, sans-serif;
}
.ranking-card .card { position: relative; z-index: 2; }

/* Guide Area */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: var(--card);
  padding: 30px;
  border-radius: 6px;
  position: relative;
}
.guide-num {
  font-size: 40px;
  font-weight: bold;
  color: var(--pink);
  margin-bottom: 15px;
  font-family: Georgia, serif;
}
.guide-title { font-size: 18px; font-weight: bold; margin-bottom: 10px; }
.guide-desc { font-size: 14px; color: var(--text-muted); }

/* FAQ Area */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details {
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
}
summary {
  padding: 15px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.3s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
.faq-answer { padding: 0 20px 15px; font-size: 14px; color: var(--text-muted); }

/* VIP Section */
.vip-banner {
  background: #2a1f3d;
  padding: 40px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.vip-text h2 { font-size: 28px; margin-bottom: 10px; }
.vip-text p { font-size: 14px; color: var(--text-muted); }
.vip-btn {
  background: var(--pink);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
}
.vip-btn:hover { background: var(--purple); }

/* Footer */
footer {
  background: var(--bg-footer);
  padding: 30px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 40px;
}
footer a { color: var(--text-muted); text-decoration: underline; }
footer a:hover { color: var(--text); }
footer details { margin-top: 15px; display: inline-block; text-align: left; background: transparent; }
footer summary { font-size: 12px; padding: 5px; color: var(--text-muted); cursor: pointer; font-weight: normal; }
footer summary::after { display: none; }
.about-links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.about-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
.about-links a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid-vertical { grid-template-columns: repeat(4, 1fr); }
  .ranking-grid { grid-template-columns: repeat(4, 1fr); }
  .banner-title { font-size: 32px; }
  .banner-content { padding: 30px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-vertical { grid-template-columns: repeat(2, 1fr); }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 16 / 9; }
  .banner-title { font-size: 24px; }
  .banner-content { padding: 20px; }
  .vip-banner { flex-direction: column; text-align: center; gap: 20px; }
  .vip-text h2 { font-size: 22px; }
  .ranking-number { font-size: 60px; }
}