:root {
  --bg-body: #f6fbf5;
  --bg-card: #ffffff;
  --bg-mint: #eef7ec;
  --bg-leaf: #e2f2dc;
  --primary: #3f8a48;
  --primary-light: #5ba85c;
  --accent: #a8cf6a;
  --amber: #f0b95c;
  --text-main: #1a2b1c;
  --text-muted: #556b58;
  --border-color: #dbe8d9;
  --shadow-sm: 0 4px 12px rgba(63, 138, 72, 0.06);
  --shadow-md: 0 8px 24px rgba(63, 138, 72, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --nav-height: 64px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

/* 导航条 */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  height: var(--nav-height);
}

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

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

.brand img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.3s;
}

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

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

.btn-download-nav {
  background-color: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-download-nav:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* 首屏 */
.hero {
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(91, 168, 92, 0.3);
}

.btn-secondary {
  background-color: var(--bg-leaf);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

.stats-bar {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

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

.hero-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

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

.hero-featured:hover img {
  transform: scale(1.03);
}

.hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: white;
}

.badge {
  background-color: var(--amber);
  color: #000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
  width: fit-content;
}

.hero-featured-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-featured-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.btn-play {
  background-color: var(--primary);
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 区块通用 */
.section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

/* 四种剧种 */
.genre-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.genre-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.genre-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.genre-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  width: 40px;
}

.genre-info {
  flex: 1;
}

.genre-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.genre-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  text-align: right;
}

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

.rank-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  gap: 16px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.rank-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.rank-num {
  font-size: 18px;
  font-weight: 800;
  width: 24px;
  color: var(--text-muted);
}

.rank-item:nth-child(1) .rank-num { color: #e74c3c; }
.rank-item:nth-child(2) .rank-num { color: #f39c12; }
.rank-item:nth-child(3) .rank-num { color: #f1c40f; }

.rank-thumb {
  width: 50px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-tags {
  display: flex;
  gap: 6px;
}

.rank-tag {
  font-size: 12px;
  color: var(--text-muted);
  background-color: var(--bg-mint);
  padding: 2px 8px;
  border-radius: 4px;
}

.rank-heat {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.heat-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--bg-leaf);
  border-radius: 3px;
  overflow: hidden;
}

.heat-bar-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 3px;
}

.heat-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* AI魔改 */
.ai-section {
  background-color: var(--bg-mint);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ai-feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-feature-item p {
  font-size: 15px;
  color: var(--text-muted);
}

.ai-demo {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.demo-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.demo-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.demo-step-num {
  width: 24px;
  height: 24px;
  background-color: var(--bg-leaf);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.demo-capsules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capsule {
  background-color: var(--bg-mint);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* 题材筛选 */
.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}

.chip {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.chip.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 内容流 */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.content-card {
  display: flex;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.content-img {
  width: 120px;
  height: 160px;
  flex-shrink: 0;
  object-fit: cover;
}

.content-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

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

.tag {
  font-size: 12px;
  background-color: var(--bg-leaf);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
}

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

.score {
  color: #f39c12;
  font-weight: 700;
}

/* 竖屏体验 */
.vertical-section {
  background-color: var(--bg-mint);
  padding: 60px 0;
}

.vertical-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.vertical-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.v-feature-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.v-feature-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

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

.phone-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  margin: 0 auto;
  background-color: #000;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 4px solid #333;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background-color: #111;
  position: relative;
}

.phone-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.phone-frame.active {
  opacity: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swipe-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 12px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

.phone-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background-color: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* 心愿榜 */
.wish-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wish-item {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  gap: 16px;
}

.wish-rank {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
  width: 24px;
}

.wish-info {
  flex: 1;
}

.wish-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wish-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: var(--bg-leaf);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--amber);
  border-radius: 4px;
  transition: width 0.3s;
}

.wish-count {
  font-size: 13px;
  color: var(--text-muted);
  width: 60px;
  text-align: right;
}

.btn-wish {
  background-color: var(--bg-mint);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-wish.wished {
  background-color: var(--primary);
  color: white;
}

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

.score-board {
  background-color: var(--bg-leaf);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.score-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.score-stars {
  color: #f39c12;
  font-size: 24px;
  margin-bottom: 12px;
}

.score-label {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item {
  background-color: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.review-text {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.6;
}

.review-author {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.faq-icon {
  color: var(--primary);
  font-size: 20px;
  transition: transform 0.3s;
}

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

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

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

/* 下载区 */
.download-section {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
}

.download-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.download-section p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.btn-download-large {
  background-color: white;
  color: var(--primary);
  padding: 16px 48px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 页脚 */
footer {
  background-color: var(--bg-leaf);
  padding: 40px 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.footer-desc {
  max-width: 400px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* 响应式 */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content h1 {
    font-size: 44px;
  }
  .hero-featured {
    aspect-ratio: 16/9;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .vertical-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-layout {
    grid-template-columns: 300px 1fr;
  }
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
  .genre-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .genre-item {
    flex: 1 1 calc(50% - 16px);
  }
  .ai-grid {
    grid-template-columns: 1fr 1fr;
  }
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phone-mockup {
    width: 300px;
    height: 600px;
  }
}