:root {
  --bg: #0a0a0c;
  --bg-panel: #121215;
  --bg-card: #1a1a1f;
  --bg-card-hover: #222228;
  --brand: #ffc82e;
  --brand-alt: #ff9f1c;
  --text: #ffffff;
  --text-muted: #a8a8b0;
  --text-dim: #6e6e78;
  --line: rgba(255, 200, 46, 0.2);
  --red: #e63025;
  --mono: 'Courier New', Courier, monospace;
  --sans: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-block;
  background-color: var(--brand);
  color: #000;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
  text-align: center;
}
.btn:hover {
  background-color: var(--brand-alt);
}
.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}
.btn-outline {
  background-color: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}
.btn-outline:hover {
  background-color: rgba(255, 200, 46, 0.1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-group img {
  height: 32px;
  border-radius: 6px;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.logo-text span {
  color: var(--brand);
}
.nav-links {
  display: none;
  gap: 20px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--brand);
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Section Global */
section {
  padding: 60px 0;
}
.section-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background-color: var(--brand);
  border-radius: 2px;
}

/* Hero */
.hero-section {
  padding: 40px 0 60px;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.hero-content {
  flex: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--brand);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}
.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  background-color: var(--bg-panel);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.05);
}
.hero-player {
  width: 280px;
  height: 500px;
  background-color: var(--bg-panel);
  border-radius: 24px;
  border: 2px solid var(--brand);
  box-shadow: 0 0 30px rgba(255, 200, 46, 0.15);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.player-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  background-color: #000;
}
.player-slide.active {
  opacity: 1;
}
.player-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player-overlay {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.player-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.player-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--mono);
  margin-bottom: 8px;
}
.player-progress {
  height: 4px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.player-progress-bar {
  height: 100%;
  background-color: var(--brand);
  width: 0%;
  transition: width 0.1s linear;
}
.play-btn-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background-color: rgba(255, 200, 46, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-btn 2s infinite;
  pointer-events: none;
}
.play-btn-pulse::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #000;
  margin-left: 6px;
}
@keyframes pulse-btn {
  0% { box-shadow: 0 0 0 0 rgba(255, 200, 46, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255, 200, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 200, 46, 0); }
}
.danmaku-layer {
  position: absolute;
  top: 20px; left: 0; width: 100%;
  pointer-events: none;
  overflow: hidden;
}
.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-size: 0.8rem;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  animation: danmaku-move linear infinite;
  opacity: 0;
}
@keyframes danmaku-move {
  0% { transform: translateX(100%); opacity: 1; }
  100% { transform: translateX(-200%); opacity: 0; }
}

/* Genres */
.grid-genres {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.genre-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s;
}
.genre-card:hover {
  transform: translateY(-4px);
}
.genre-img-wrap {
  position: relative;
  padding-top: 150%;
  background-color: #000;
}
.genre-img-wrap img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain;
}
.genre-info {
  padding: 12px;
}
.genre-name {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 4px;
}
.genre-tags {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Steps */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}
.step-num {
  font-family: var(--mono);
  color: var(--brand);
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: block;
}
.step-img {
  width: 100%;
  height: 180px;
  background-color: #000;
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}
.step-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Ranking */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ranking-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  padding: 12px;
  border-radius: 6px;
  gap: 16px;
}
.rank-no {
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--brand);
  font-weight: bold;
  width: 30px;
  text-align: center;
}
.rank-poster {
  width: 50px;
  height: 70px;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.rank-poster img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.rank-info {
  flex: 1;
}
.rank-title {
  font-weight: bold;
  font-size: 0.95rem;
}
.rank-heat-bar {
  height: 4px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.rank-heat-fill {
  height: 100%;
  background-color: var(--brand);
}

/* Library */
.library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-btn {
  background-color: var(--bg-panel);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.filter-btn.active {
  background-color: var(--brand);
  color: #000;
  border-color: var(--brand);
}
.grid-library {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lib-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}
.lib-img-wrap {
  position: relative;
  padding-top: 150%;
  background-color: #000;
}
.lib-img-wrap img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain;
}
.lib-info {
  padding: 10px;
}
.lib-title {
  font-size: 0.9rem;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Wishlist */
.wishlist-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wish-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: 8px;
  gap: 16px;
}
.wish-cover {
  width: 60px;
  height: 84px;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.wish-cover img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.wish-info {
  flex: 1;
}
.wish-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.wish-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wish-bar {
  flex: 1;
  height: 6px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.wish-fill {
  height: 100%;
  background-color: var(--brand);
  width: 0%;
  transition: width 0.3s;
}
.wish-count {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 50px;
  text-align: right;
}
.wish-btn {
  background: none;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s;
  white-space: nowrap;
}
.wish-btn:hover, .wish-btn.joined {
  background-color: var(--brand);
  color: #000;
}

/* Vertical Experience */
.vertical-exp {
  text-align: center;
}
.exp-carousel {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
  height: 500px;
  background-color: #000;
  border-radius: 20px;
  border: 2px solid var(--line);
  overflow: hidden;
}
.exp-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
}
.exp-slide.active {
  opacity: 1;
}
.exp-slide img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.exp-hints {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Reviews */
.reviews-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.reviews-score {
  font-size: 2rem;
  font-weight: bold;
  color: var(--brand);
  font-family: var(--mono);
}
.grid-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.review-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 8px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
}
.review-author {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Download CTA */
.download-section {
  padding: 60px 0;
}
.cta-box {
  border: 2px solid var(--brand);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 200, 46, 0.05) 0%, transparent 100%);
}
.cta-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.cta-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-panel);
  padding: 40px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.about-details {
  margin-bottom: 16px;
}
.about-details summary {
  cursor: pointer;
  color: var(--text-muted);
  list-style: none;
  display: inline-block;
}
.about-details summary::-webkit-details-marker {
  display: none;
}
.about-content {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.about-content a {
  color: var(--text-dim);
  transition: color 0.3s;
}
.about-content a:hover {
  color: var(--brand);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .hero-inner {
    flex-direction: row;
    text-align: left;
  }
  .hero-content {
    text-align: left;
  }
  .hero-desc {
    margin-left: 0;
  }
  .hero-actions {
    flex-direction: row;
  }
  .hero-tags {
    justify-content: flex-start;
  }
  .grid-genres {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid {
    flex-direction: row;
  }
  .step-card {
    flex: 1;
  }
  .grid-library {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .grid-genres {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-library {
    grid-template-columns: repeat(6, 1fr);
  }
  .grid-reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
}