:root {
  --bg-midnight: #0a0c10;
  --bg-panel: #12151c;
  --bg-card: #1a1e27;
  --gold-champagne: #d4af37;
  --gold-hover: #e5c158;
  --rose-mist: #c4a4a4;
  --text-moon: #e2e8f0;
  --text-muted: #8b95a5;
  --border-subtle: #2a303c;
  --font-main: "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: all 0.3s ease;
}

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

/* Typography */
h1, h2, h3 { font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.5rem; color: #fff; }
h2 { font-size: 1.8rem; margin-bottom: 1.5rem; position: relative; display: inline-block; }
h2::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40%; height: 2px; background: var(--gold-champagne); }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); font-size: 0.95rem; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; scroll-margin-top: 80px; }
.grid-poster { display: grid; gap: 20px; }

/* Header */
header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10, 12, 16, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: bold; color: #fff; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-champagne); }
.btn-download {
  background: var(--gold-champagne); color: var(--bg-midnight);
  padding: 10px 24px; border-radius: 4px; font-weight: bold;
  transition: var(--transition); border: none; cursor: pointer; display: inline-block;
}
.btn-download:hover { background: var(--gold-hover); transform: translateY(-2px); }
.menu-toggle { display: none; background: none; border: none; color: var(--text-moon); font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 70px; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; opacity: 0.3; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); animation: drift 20s infinite alternate linear; }
@keyframes drift { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--bg-midnight) 20%, transparent 100%), linear-gradient(0deg, var(--bg-midnight) 0%, transparent 50%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 40px;
}
.hero-text { max-width: 500px; }
.hero-text h1 { margin-bottom: 20px; font-size: 3rem; }
.hero-text p { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-moon); }
.hero-actions { display: flex; gap: 15px; margin-bottom: 40px; }
.btn-secondary {
  background: transparent; color: var(--text-moon); border: 1px solid var(--gold-champagne);
  padding: 10px 24px; border-radius: 4px; font-weight: bold; transition: var(--transition);
}
.btn-secondary:hover { background: rgba(212, 175, 55, 0.1); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--border-subtle); padding-top: 20px; }
.stat-item strong { display: block; font-size: 1.5rem; color: var(--gold-champagne); }
.stat-item span { font-size: 0.8rem; color: var(--text-muted); }
.hero-posters { position: relative; width: 400px; height: 500px; flex-shrink: 0; }
.poster-main { width: 260px; height: 346px; border-radius: 8px; overflow: hidden; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid var(--border-subtle); }
.poster-main img { width: 100%; height: 100%; object-fit: cover; }
.poster-side { width: 180px; height: 240px; border-radius: 8px; overflow: hidden; position: absolute; border: 1px solid var(--border-subtle); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.poster-side img { width: 100%; height: 100%; object-fit: cover; }
.poster-side.left { top: 10%; left: 0; transform: rotate(-10deg); z-index: 2; }
.poster-side.right { bottom: 10%; right: 0; transform: rotate(10deg); z-index: 2; }
.hero-tags { position: absolute; bottom: 30px; left: 0; width: 100%; text-align: center; z-index: 2; display: flex; justify-content: center; gap: 15px; }
.hero-tags a { font-size: 0.9rem; color: var(--text-moon); background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; backdrop-filter: blur(5px); }
.hero-tags a:hover { background: var(--gold-champagne); color: var(--bg-midnight); }

/* Rankings */
.rank-layout { display: grid; grid-template-columns: 350px 1fr; gap: 40px; }
.rank-top { background: var(--bg-panel); border-radius: 8px; padding: 20px; text-align: center; border: 1px solid var(--border-subtle); }
.rank-top img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; margin-bottom: 15px; }
.rank-top h3 { font-size: 1.4rem; color: var(--gold-champagne); }
.rank-list { display: flex; flex-direction: column; gap: 15px; }
.rank-item { display: flex; align-items: center; gap: 15px; background: var(--bg-panel); padding: 10px; border-radius: 6px; transition: var(--transition); }
.rank-item:hover { background: var(--bg-card); transform: translateX(5px); }
.rank-num { font-size: 1.2rem; font-weight: bold; width: 30px; color: var(--text-muted); text-align: center; }
.rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num { color: var(--gold-champagne); }
.rank-item img { width: 50px; height: 66px; object-fit: cover; border-radius: 4px; }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 1rem; margin-bottom: 4px; }
.rank-info p { font-size: 0.8rem; }
.rank-bar { width: 100px; height: 6px; background: var(--border-subtle); border-radius: 3px; overflow: hidden; }
.rank-bar div { height: 100%; background: var(--gold-champagne); }
.tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { background: none; border: 1px solid var(--border-subtle); color: var(--text-muted); padding: 5px 15px; border-radius: 20px; cursor: pointer; transition: var(--transition); }
.tab-btn.active, .tab-btn:hover { background: var(--gold-champagne); color: var(--bg-midnight); border-color: var(--gold-champagne); }

/* Genres */
.genre-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: center; }
.genre-tag { background: var(--bg-panel); border: 1px solid var(--border-subtle); color: var(--text-muted); padding: 8px 20px; border-radius: 30px; cursor: pointer; transition: var(--transition); }
.genre-tag.active, .genre-tag:hover { background: var(--gold-champagne); color: var(--bg-midnight); border-color: var(--gold-champagne); }
.genre-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.poster-card { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-panel); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.poster-card:hover img { transform: scale(1.05); }
.card-meta { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 10px 10px; background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent); }
.card-meta h4 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.card-meta p { font-size: 0.8rem; color: var(--text-muted); }

/* New Releases */
.scroll-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.scroll-track::-webkit-scrollbar { display: none; }
.track-item { flex-shrink: 0; width: 200px; }
.track-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.track-item h4 { font-size: 1rem; margin-bottom: 4px; }
.track-item .hook { font-size: 0.85rem; color: var(--rose-mist); margin-bottom: 4px; }
.track-item .time { font-size: 0.75rem; color: var(--text-muted); }

/* Collections */
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.collection-card { background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px; }
.collection-posters { display: flex; justify-content: center; margin-bottom: 20px; height: 200px; position: relative; }
.collection-posters img { width: 120px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; position: absolute; box-shadow: 0 5px 15px rgba(0,0,0,0.4); border: 1px solid var(--border-subtle); transition: var(--transition); }
.collection-card:hover .collection-posters img:nth-child(1) { transform: translateX(-40px) rotate(-5deg); }
.collection-card:hover .collection-posters img:nth-child(2) { transform: translateX(0) rotate(0); z-index: 2; }
.collection-card:hover .collection-posters img:nth-child(3) { transform: translateX(40px) rotate(5deg); }
.collection-posters img:nth-child(1) { transform: translateX(-20px) rotate(-5deg); z-index: 1; }
.collection-posters img:nth-child(2) { transform: translateX(0); z-index: 2; }
.collection-posters img:nth-child(3) { transform: translateX(20px) rotate(5deg); z-index: 1; }
.collection-card h3 { color: var(--gold-champagne); }
.collection-card p { font-size: 0.9rem; margin-bottom: 10px; }
.collection-card span { font-size: 0.8rem; color: var(--text-muted); }

/* Calendar */
.calendar-table { width: 100%; border-collapse: collapse; background: var(--bg-panel); border-radius: 8px; overflow: hidden; }
.calendar-table th, .calendar-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-subtle); }
.calendar-table th { background: var(--bg-card); color: var(--gold-champagne); font-weight: normal; }
.calendar-table tr.today td { background: rgba(212, 175, 55, 0.05); }
.calendar-table td img { width: 40px; height: 53px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 10px; }

/* Production */
.production { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.production-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.production-stats div { text-align: center; }
.production-stats strong { display: block; font-size: 1.5rem; color: var(--gold-champagne); }
.production-stats span { font-size: 0.9rem; color: var(--text-muted); }
.production-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.production-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }

/* Reviews */
.reviews-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card { background: var(--bg-panel); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 20px; min-width: 280px; display: flex; gap: 15px; }
.review-card img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
.review-content h4 { font-size: 0.9rem; color: var(--gold-champagne); }
.review-content p { font-size: 0.95rem; margin: 10px 0; color: var(--text-moon); }
.review-user { font-size: 0.8rem; color: var(--text-muted); display: flex; justify-content: space-between; }

/* Download */
.download-section { background: var(--bg-panel); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.download-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.download-text h2 { margin-bottom: 20px; }
.download-text p { margin-bottom: 30px; }
.platform-btns { display: flex; gap: 15px; margin-bottom: 20px; }
.btn-platform { background: var(--bg-card); border: 1px solid var(--gold-champagne); color: var(--text-moon); padding: 15px 30px; border-radius: 6px; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.btn-platform:hover { background: var(--gold-champagne); color: var(--bg-midnight); }
.download-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 30px; }
.install-steps { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-muted); }
.install-steps span { display: flex; align-items: center; gap: 5px; }
.install-steps span::before { content: attr(data-step); display: inline-block; width: 20px; height: 20px; background: var(--border-subtle); border-radius: 50%; text-align: center; line-height: 20px; color: var(--gold-champagne); }

.download-visual { display: flex; gap: 30px; align-items: center; justify-content: center; }
.qr-code { text-align: center; }
.qr-code div { width: 120px; height: 120px; background: #fff; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: #000; font-weight: bold; }
.phone-mockup { width: 200px; height: 400px; background: var(--bg-card); border: 8px solid #000; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-subtle); margin-bottom: 10px; }
.faq-item summary { padding: 15px 0; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 15px; color: var(--gold-champagne); font-size: 1.2rem; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 0 15px; font-size: 0.95rem; }

/* Brand Story */
.story-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story-text h2 { margin-bottom: 20px; }
.story-text p { margin-bottom: 15px; line-height: 1.8; }
.story-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Footer */
footer { background: var(--bg-midnight); padding: 40px 20px 100px; border-top: 1px solid var(--border-subtle); text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.footer-inner a { color: var(--text-muted); transition: var(--transition); }
.footer-inner a:hover { color: var(--gold-champagne); }
.about-details { width: 100%; text-align: left; margin-top: 20px; border-top: 1px solid #1a1e27; padding-top: 10px; }
.about-details summary { cursor: pointer; font-size: 0.8rem; color: var(--text-muted); list-style: none; display: inline-block; }
.about-details summary::-webkit-details-marker { display: none; }
.about-content { margin-top: 15px; font-size: 0.8rem; line-height: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.about-content a { margin-right: 10px; }
.about-content a::after { content: ' ·'; color: #333; }

/* Mobile Bottom Bar */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(10,12,16,0.95); backdrop-filter: blur(10px); padding: 10px 20px; border-top: 1px solid var(--border-subtle); z-index: 1000; justify-content: space-between; align-items: center; }
.mobile-bar .btn-download { width: 100%; text-align: center; padding: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-content { flex-direction: column; text-align: center; margin-top: 40px; }
  .hero-text { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-posters { display: none; }
  .hero-bg { grid-template-columns: repeat(2, 1fr); }
  .rank-layout { grid-template-columns: 1fr; }
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
  .collections-grid { grid-template-columns: 1fr; }
  .production { grid-template-columns: 1fr; }
  .production-grid { grid-template-columns: repeat(4, 1fr); }
  .download-layout { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  footer { padding-bottom: 80px; }
}

@media (max-width: 860px) {
  .genre-grid { grid-template-columns: repeat(3, 1fr); }
  .calendar-table thead { display: none; }
  .calendar-table tr { display: block; margin-bottom: 15px; background: var(--bg-panel); border-radius: 8px; padding: 10px; }
  .calendar-table td { display: flex; align-items: center; border: none; padding: 5px 0; }
  .calendar-table td::before { content: attr(data-label); width: 80px; color: var(--gold-champagne); font-size: 0.85rem; }
}

@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .production-grid { grid-template-columns: repeat(2, 1fr); }
  .download-visual { flex-direction: column; }
  .install-steps { flex-direction: column; gap: 10px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { width: 100%; text-align: center; }
  .platform-btns { flex-direction: column; }
  .btn-platform { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  * { transition: none !important; scroll-behavior: auto !important; }
}