:root {
  --primary: #8358ee;
  --dark: #1a102f;
  --light: #ece5ff;
  --text-dark: #1c1529;
  --text-light: #ffffff;
  --hot-red: #d92b2b;
  --hot-magenta: #c81e82;
  --border-thin: 1px solid #dcd0f5;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 0 24px;
  height: 48px;
  font-size: 16px;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}
.btn:hover {
  background: #6c3ddb;
  border-color: #6c3ddb;
}
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}
.btn-outline:hover {
  background: #f4f0ff;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--light);
  border-color: var(--light);
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 64px 0;
  position: relative;
}
/* 发紫色阶 */
.gradient-scale {
  display: flex;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}
.gradient-scale span {
  flex: 1;
}
.gscale-1 { background: var(--hot-red); }
.gscale-2 { background: var(--hot-magenta); }
.gscale-3 { background: var(--primary); }

/* Header */
header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: var(--border-thin);
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--light);
  border: 1px solid var(--primary);
}
.nav-links a.active::before {
  background: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qr-card {
  position: absolute;
  top: 64px;
  right: 24px;
  background: #fff;
  border: var(--border-thin);
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none;
  text-align: center;
  border-radius: 4px;
}
.qr-card img {
  width: 120px;
  height: 120px;
  background: #eee;
  margin: 0 auto 8px;
}
.qr-card p {
  font-size: 12px;
  font-weight: 600;
}
.header-actions:hover .qr-card {
  display: block;
}

/* Hero */
.hero {
  background: var(--dark);
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text h1 {
  font-size: 56px;
  margin-bottom: 16px;
}
.hero-text p {
  font-size: 18px;
  color: #c9b8f5;
  margin-bottom: 32px;
  max-width: 400px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.trust-line {
  font-size: 14px;
  color: #9988c7;
}
.hero-content {
  position: relative;
  height: 600px;
}
.card-wall-bg {
  position: absolute;
  top: -50px;
  right: -50px;
  bottom: -50px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  opacity: 0.2;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  overflow: hidden;
}
.card-wall-bg img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.hero-featured {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: -20px;
  padding-top: 40px;
}
.feature-card {
  width: 160px;
  aspect-ratio: 3/4;
  border: 3px solid var(--primary);
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.feature-card:nth-child(1) { transform: translateY(20px) rotate(-5deg); border-color: var(--hot-red); z-index: 1; }
.feature-card:nth-child(2) { transform: translateY(0) scale(1.1); border-color: var(--primary); z-index: 2; }
.feature-card:nth-child(3) { transform: translateY(20px) rotate(5deg); border-color: var(--hot-magenta); z-index: 1; }
.feature-card:nth-child(4) { transform: translateY(40px) rotate(10deg); border-color: var(--hot-red); z-index: 0; }
.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}
.hero-tags {
  display: flex;
  gap: 12px;
}
.hero-tags span {
  background: rgba(131, 88, 238, 0.2);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 2px;
}

/* Ranking */
.ranking {
  background: #fff;
}
.section-title {
  font-size: 40px;
  margin-bottom: 32px;
}
.scale-container {
  margin-bottom: 32px;
}
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.rank-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: var(--border-thin);
  align-items: center;
}
.rank-card.top-3 {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.rank-card.top-3 .rank-info p {
  color: rgba(255,255,255,0.8);
}
.rank-img {
  width: 80px;
  aspect-ratio: 3/4;
  position: relative;
}
.rank-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 3px solid var(--primary);
}
.top-3 .rank-img img { border-color: #fff; }
.rank-info h3 { font-size: 18px; margin-bottom: 4px; }
.rank-info p { font-size: 12px; color: #666; }

/* Genres */
.genres {
  background: var(--light);
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.genre-card {
  background: #fff;
  padding: 8px;
  border: 2px solid var(--primary);
  text-align: center;
}
.genre-card:nth-child(2n) { border-color: var(--hot-magenta); }
.genre-card:nth-child(3n) { border-color: var(--hot-red); }
.genre-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 8px;
}
.genre-card h3 { font-size: 16px; }

/* Blacklight */
.blacklight {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.uv-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.uv-card {
  position: relative;
  aspect-ratio: 3/4;
  filter: brightness(0.3) sepia(1) hue-rotate(240deg);
  transition: filter 0.3s;
}
.uv-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.uv-card:hover {
  filter: brightness(1) sepia(0) hue-rotate(0deg);
}
.uv-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--dark);
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 4px 8px;
  font-size: 14px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
}
.uv-card:hover .uv-tag {
  opacity: 1;
}

/* Hook */
.hook {
  background: var(--primary);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}
.hook-row {
  font-size: 64px;
  font-weight: 900;
  white-space: nowrap;
  margin-bottom: 24px;
  display: flex;
  gap: 40px;
}
.hook-row:nth-child(even) {
  transform: translateX(-10%);
}
.hook-row span {
  color: rgba(255,255,255,0.5);
}

/* Updates */
.updates {
  background: #fff;
}
.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.update-card {
  border: 3px solid var(--primary);
}
.update-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.update-card-info {
  padding: 12px;
}
.update-card-info h3 { font-size: 16px; margin-bottom: 4px; }
.update-card-info p { font-size: 12px; color: #666; margin-bottom: 12px; }
.btn-follow {
  width: 100%;
  padding: 8px;
  background: var(--light);
  color: var(--primary);
  border: none;
  font-weight: bold;
  cursor: pointer;
}

/* Experience */
.experience {
  background: var(--light);
  text-align: center;
}
.phone-frame {
  width: 280px;
  aspect-ratio: 9/19;
  background: var(--dark);
  border-radius: 32px;
  margin: 0 auto;
  padding: 12px;
  position: relative;
}
.phone-screen {
  background: #000;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-ui {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  text-align: left;
}

/* Reviews */
.reviews {
  background: #fff;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.quote {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}
.quote:nth-child(even) { color: var(--hot-magenta); margin-top: 32px; }

/* FAQ */
.faq {
  background: var(--light);
}
details {
  border-bottom: 1px solid #dcd0f5;
  padding: 16px 0;
}
summary {
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
details p { margin-top: 12px; color: #555; }

/* Footer */
footer {
  background: var(--dark);
  color: #fff;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 { margin-bottom: 16px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 14px; color: #a596c7; }
.footer-col a { color: #a596c7; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7a689e;
  flex-wrap: wrap;
  gap: 16px;
}
.site-about {
  margin-top: 24px;
  font-size: 12px;
  color: #7a689e;
}
.site-about summary {
  cursor: pointer;
  outline: none;
  font-weight: normal;
  display: inline-block;
}
.site-about div {
  margin-top: 12px;
  line-height: 1.8;
  word-break: break-all;
}
.site-about a {
  color: #a596c7;
  margin-right: 12px;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .hero-text h1 { font-size: 40px; }
  .ranking-grid, .update-grid { grid-template-columns: repeat(2, 1fr); }
  .genre-grid, .uv-wall { grid-template-columns: repeat(3, 1fr); }
  .hook-row { font-size: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { height: 400px; }
  .feature-card { width: 120px; }
  .ranking-grid, .update-grid, .genre-grid, .uv-wall, .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}