:root {
  --yellow: #FFD700;
  --yellow-deep: #F5C000;
  --black: #111111;
  --black-soft: #1A1A1A;
  --black-card: #222222;
  --text: #EAEAEA;
  --text-dim: #999999;
  --radius: 16px;
}

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

body {
  background-color: var(--black);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }

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

/* 导航 */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--yellow);
  letter-spacing: 1px;
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.nav-btn {
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.nav-btn:hover { transform: scale(1.05); }

/* 主屏 */
.hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
}

.hero-text h1 span {
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-large:hover {
  background: var(--yellow-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.hero-visual {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.hero-visual img {
  width: 140px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.hero-visual img:nth-child(1) { transform: translateY(20px); }
.hero-visual img:nth-child(2) { transform: translateY(-10px); z-index: 2; height: 250px; }
.hero-visual img:nth-child(3) { transform: translateY(20px); }

/* 数据滚动 */
.stats-bar {
  background: var(--black-soft);
  border-top: 1px solid rgba(255,215,0,0.1);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  padding: 20px 0;
  overflow: hidden;
}

.stats-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
  width: max-content;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.stat-item strong {
  color: var(--yellow);
  font-size: 1.2rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 平台介绍 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}

.section-title h2 span {
  color: var(--yellow);
}

.section-title p {
  color: var(--text-dim);
  font-size: 1rem;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: var(--black-soft);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(255,215,0,0.1);
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.intro-text strong {
  color: var(--yellow);
}

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

.intro-imgs img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

/* 平台优势 */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--black-card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s, transform 0.3s;
}

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

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(255,215,0,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--yellow);
}

.feature-card h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* 今日上新 */
.new-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.poster-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--black-soft);
}

.poster-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.poster-card:hover img { transform: scale(1.05); }

.poster-info {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 30px 15px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.poster-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-info span {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* 热播榜 */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rank-item {
  display: flex;
  align-items: center;
  background: var(--black-soft);
  border-radius: 12px;
  padding: 15px;
  gap: 15px;
  transition: background 0.3s;
}

.rank-item:hover { background: var(--black-card); }

.rank-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255,215,0,0.3);
  font-style: italic;
  width: 30px;
  text-align: center;
}

.rank-item:nth-child(1) .rank-num { color: var(--yellow); }
.rank-item:nth-child(2) .rank-num { color: #C0C0C0; }
.rank-item:nth-child(3) .rank-num { color: #CD7F32; }

.rank-img {
  width: 60px; height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.rank-info { flex: 1; }
.rank-info h4 { font-size: 1.1rem; color: var(--text); margin-bottom: 5px; }
.rank-info p { font-size: 0.85rem; color: var(--text-dim); }

.rank-score {
  color: var(--yellow);
  font-weight: 800;
  font-size: 1.2rem;
}

/* 专题板块 */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.topic-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 200px;
}

.topic-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.topic-card:hover img { transform: scale(1.05); }

.topic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.topic-overlay h3 {
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 5px;
}

.topic-overlay p {
  font-size: 0.9rem;
  color: #ccc;
  max-width: 60%;
}

/* 用户评价 */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.review-card {
  background: var(--black-card);
  padding: 25px;
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
}

.review-text {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.7;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,215,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-weight: 700;
}

.user-name { font-size: 0.9rem; color: var(--text-dim); }

/* 下载板块 */
.download-section {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a0a 100%);
  border-top: 1px solid rgba(255,215,0,0.2);
  border-bottom: 1px solid rgba(255,215,0,0.2);
  text-align: center;
}

.download-section h2 {
  font-size: 2.2rem;
  color: var(--yellow);
  margin-bottom: 15px;
}

.download-section p {
  color: var(--text-dim);
  margin-bottom: 40px;
}

.btn-download-huge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 900;
  padding: 24px 80px;
  border-radius: 60px;
  box-shadow: 0 10px 40px rgba(255,215,0,0.4);
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.btn-download-huge:hover {
  transform: scale(1.05);
  background: #FFE44D;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,215,0,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255,215,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,215,0,0); }
}

.download-tip {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* 常见问答 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--black-soft);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 200px;
}

/* 页脚 */
footer {
  background: #0a0a0a;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-brand img { height: 28px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-copy {
  font-size: 0.8rem;
  color: #666;
}

.footer-time {
  font-size: 0.75rem;
  color: #555;
  margin-top: 10px;
}

/* 响应式 */
@media (min-width: 768px) {
  .hero { padding: 140px 0 80px; }
  .hero-grid { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-text { flex: 1; }
  .hero-visual { flex: 1; justify-content: flex-end; }
  .hero-visual img { width: 180px; height: 280px; }
  .hero-visual img:nth-child(2) { height: 310px; }
  .hero-text h1 { font-size: 3.5rem; }
  
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .new-grid { grid-template-columns: repeat(3, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-imgs { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .hero-text h1 { font-size: 4rem; }
  .hero-visual img { width: 200px; height: 300px; }
  .hero-visual img:nth-child(2) { height: 340px; }
  
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .new-grid { grid-template-columns: repeat(5, 1fr); }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 滚动入场 */
.reveal {
  transform: translateY(30px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.reveal.active {
  transform: translateY(0);
  opacity: 1;
}