:root {
  --bg: #0d0a1a;
  --surface: #16112b;
  --surface-light: #1d1636;
  --primary: #ff5fbe;
  --secondary: #a06bff;
  --accent: #4fd8ff;
  --amber: #ffc861;
  --text-main: #f8f1ff;
  --text-muted: #bcadd8;
  --text-dim: #8b7bac;
  --border: rgba(255, 95, 190, 0.3);
  --border-subtle: rgba(160, 107, 255, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(255, 95, 190, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(160, 107, 255, 0.08) 0%, transparent 40%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 17, 43, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main);
}

.brand img {
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 95, 190, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 95, 190, 0.6);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 95, 190, 0.1);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text-main);
}

/* Section Titles */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* Hero */
#hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 95, 190, 0.1);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

/* Stage Card */
.stage-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  max-width: 800px;
  margin: 0 auto 48px;
  overflow: hidden;
}

.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.avatar-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(255, 95, 190, 0.4);
}

.avatar.right {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(79, 216, 255, 0.4);
}

.sound-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
}

.wave-bar {
  width: 6px;
  background: linear-gradient(to top, var(--primary), var(--secondary));
  border-radius: 3px;
  animation: wave 1s infinite ease-in-out alternate;
}

.wave-bar:nth-child(1) { height: 20%; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 50%; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.wave-bar:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 30%; animation-delay: 0.5s; }

@keyframes wave {
  0% { transform: scaleY(0.5); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 1; }
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 95, 190, 0.15);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  color: var(--primary);
  border: 1px solid var(--border);
  animation: pulse 2s infinite;
}

.live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.danmaku-track {
  height: 40px;
  background: rgba(0,0,0,0.2);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
}

.danmaku-text {
  position: absolute;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-muted);
  top: 50%;
  transform: translateY(-50%);
  animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translate(100%, -50%); }
  100% { transform: translate(-100%, -50%); }
}

.stage-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Categories */
.category-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.category-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.category-info {
  padding: 16px;
}

.chip {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(160, 107, 255, 0.15);
  color: var(--secondary);
  font-size: 12px;
  margin-bottom: 8px;
}

.category-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.category-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Steps */
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface-light);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--primary);
  display: inline-block;
}

.step-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Leaderboard */
.leaderboard {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.lb-header {
  display: grid;
  grid-template-columns: 60px 80px 1fr 120px 60px;
  padding: 16px 24px;
  background: rgba(0,0,0,0.2);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

.lb-row {
  display: grid;
  grid-template-columns: 60px 80px 1fr 120px 60px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.lb-row:hover {
  background: rgba(255, 95, 190, 0.05);
}

.lb-rank {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-muted);
}

.lb-row:nth-child(2) .lb-rank,
.lb-row:nth-child(3) .lb-rank,
.lb-row:nth-child(4) .lb-rank {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 95, 190, 0.5);
}

.lb-avatar {
  width: 40px;
  height: 53px;
  border-radius: 6px;
  object-fit: cover;
}

.lb-name {
  font-size: 16px;
  font-weight: 600;
}

.lb-heat {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.lb-heat-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
}

.lb-score {
  text-align: right;
  font-weight: bold;
  color: var(--amber);
}

/* Search & Tags */
.search-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.search-input {
  flex: 1;
  background: var(--surface-light);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 20px;
  color: var(--text-main);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.search-input:focus {
  border-color: var(--primary);
}

.tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.tag {
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.tag.active, .tag:hover {
  background: rgba(255, 95, 190, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.host-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.host-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.host-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.host-info {
  padding: 12px;
}

.host-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.host-tag {
  font-size: 12px;
  color: var(--text-dim);
}

.host-index {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

/* Wishlist */
.wishlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.wish-card {
  display: flex;
  align-items: center;
  background: var(--surface-light);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  gap: 16px;
}

.wish-avatar {
  width: 48px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
}

.wish-content {
  flex: 1;
}

.wish-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wish-name {
  font-size: 16px;
  font-weight: 600;
}

.wish-cat {
  font-size: 12px;
  color: var(--text-dim);
}

.wish-progress-wrap {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.wish-progress {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s;
}

.wish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-wish {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-wish.joined {
  background: var(--primary);
  color: #fff;
}

/* Mobile Showcase */
.showcase-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.showcase-tips {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 200px;
}

.tip-item {
  background: var(--surface);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.tip-title {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}

.tip-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: #000;
  border-radius: 32px;
  border: 4px solid var(--primary);
  box-shadow: 0 0 30px rgba(255, 95, 190, 0.3);
  overflow: hidden;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.5s;
}

.phone-dots {
  position: absolute;
  bottom: 20px;
  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(--primary);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.review-stars {
  color: var(--amber);
  font-size: 14px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-q {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.faq-q::before {
  content: '♫';
  color: var(--primary);
  margin-right: 12px;
}

.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-item.open .faq-a {
  padding: 0 20px 16px 20px;
  max-height: 200px;
}

/* Download CTA */
.cta-box {
  border: 2px solid var(--primary);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  background: rgba(255, 95, 190, 0.05);
  position: relative;
}

.cta-deco {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.cta-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
}

/* Footer */
footer {
  background: #090614;
  padding: 40px 0 20px;
  margin-top: 80px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3, .steps-container, .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .host-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .showcase-split {
    flex-direction: column;
  }
  .showcase-tips {
    flex-direction: row;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .tip-item {
    flex: 1;
    min-width: 140px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .grid-3, .steps-container, .grid-2, .review-grid {
    grid-template-columns: 1fr;
  }
  .host-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lb-header, .lb-row {
    grid-template-columns: 40px 50px 1fr 60px;
  }
  .lb-heat {
    display: none;
  }
  .stage-card {
    padding: 20px;
  }
  .avatar {
    width: 60px;
    height: 60px;
  }
  .cta-box {
    padding: 32px 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Utilities */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.hidden {
  display: none !important;
}