:root {
  --bg-main: #f6fbf5;
  --bg-card: #ffffff;
  --mint: #eef7ec;
  --leaf: #e2f2dc;
  --primary: #5ba85c;
  --primary-dark: #3f8a48;
  --lemon: #a8cf6a;
  --amber: #f0b95c;
  --text-main: #2b3a2e;
  --text-sub: #5c6e60;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(91, 168, 92, 0.08);
  --shadow-hover: 0 12px 32px rgba(91, 168, 92, 0.16);
}

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

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

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

ul {
  list-style: none;
}

.container {
  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(--leaf);
  z-index: 100;
  transition: box-shadow 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

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

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

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

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--text-sub);
}

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

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

.btn-nav {
  background-color: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-nav:hover {
  background-color: var(--primary-dark);
}

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

/* 首屏 */
.hero {
  padding: 60px 0;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-block;
  background-color: var(--leaf);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 30px;
  max-width: 90%;
}

.btn-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background-color: var(--mint);
}

.stats-row {
  display: flex;
  gap: 30px;
  border-top: 1px dashed var(--leaf);
  padding-top: 20px;
}

.stat-item strong {
  display: block;
  font-size: 24px;
  color: var(--primary-dark);
}

.stat-item span {
  font-size: 13px;
  color: var(--text-sub);
}

/* 剧单卡 */
.playlist-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1deg);
  transition: transform 0.3s;
  border: 1px solid var(--leaf);
  max-width: 400px;
  margin: 0 auto;
}

.playlist-card:hover {
  transform: rotate(0deg);
}

.playlist-header {
  background-color: var(--primary-dark);
  color: white;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.playlist-body {
  padding: 10px 0;
}

.playlist-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--mint);
}

.playlist-item:last-child {
  border-bottom: none;
}

.playlist-item img {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 16px;
}

.playlist-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.playlist-info span {
  font-size: 12px;
  color: var(--amber);
  font-weight: bold;
}

.playlist-footer {
  background-color: var(--mint);
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
}

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

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

.section-title h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-sub);
}

/* 四类剧种 Tab */
.tabs-container {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid var(--leaf);
}

.tab-menu {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
  justify-content: center;
}

.tab-btn {
  background-color: var(--mint);
  border: 1px solid transparent;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(91, 168, 92, 0.3);
}

.tab-content {
  display: none;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.tab-content.active {
  display: grid;
}

.tab-info h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.tab-info p {
  color: var(--text-sub);
  margin-bottom: 24px;
}

.tab-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.tab-stat-box {
  background-color: var(--mint);
  padding: 12px 20px;
  border-radius: 12px;
}

.tab-stat-box strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
}

.tab-stat-box span {
  font-size: 12px;
  color: var(--text-sub);
}

.tab-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cover-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
  aspect-ratio: 2 / 3;
}

.cover-card:hover {
  transform: translateY(-4px);
}

.cover-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 原版 vs 魔改 */
.vs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.vs-box {
  flex: 1;
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--leaf);
  box-shadow: var(--shadow);
}

.vs-box.original {
  border-top: 4px solid #ccc;
}

.vs-box.modified {
  border-top: 4px solid var(--primary);
  background-color: var(--mint);
}

.vs-box h3 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.vs-box.original h3 { color: #666; }
.vs-box.modified h3 { color: var(--primary-dark); }

.vs-box ul li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--text-sub);
}

.vs-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-sub);
  font-size: 20px;
  line-height: 1;
  top: 2px;
}

.vs-box.modified ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

.vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: var(--amber);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(240, 185, 92, 0.4);
  border: 4px solid var(--bg-main);
  z-index: 10;
}

/* 双榜找剧 */
.rank-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.rank-col {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  border: 1px solid var(--leaf);
}

.rank-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mint);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--mint);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-sub);
  width: 30px;
  text-align: center;
  font-style: italic;
}

.rank-item:nth-child(2) .rank-num { color: #f0b95c; }
.rank-item:nth-child(3) .rank-num { color: #a8cf6a; }
.rank-item:nth-child(4) .rank-num { color: #5ba85c; }

.rank-item img {
  width: 44px;
  height: 66px;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 16px;
}

.rank-info {
  flex: 1;
}

.rank-info h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.rank-info p {
  font-size: 12px;
  color: var(--text-sub);
}

.rank-heat {
  font-size: 13px;
  color: var(--amber);
  font-weight: bold;
}

/* 热播片库 */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}

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

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

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

.lib-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--leaf);
}

.lib-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.lib-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

.lib-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lib-info {
  padding: 12px;
}

.lib-info h4 {
  font-size: 14px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lib-info span {
  font-size: 12px;
  color: var(--text-sub);
}

/* 竖屏体验 */
.experience-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.exp-text h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.exp-list {
  display: grid;
  gap: 20px;
}

.exp-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.exp-icon {
  background-color: var(--mint);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.exp-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.exp-item p {
  font-size: 14px;
  color: var(--text-sub);
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background-color: #1a1a1a;
  border-radius: 36px;
  padding: 10px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

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

.phone-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.swipe-hint {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 14px;
  animation: bounce 2s infinite;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.dots-indicator {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  transition: background-color 0.3s;
}

.dot.active {
  background-color: white;
}

/* 用户评价 */
.review-section {
  background-color: var(--mint);
  padding: 80px 0;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.score-badge {
  background-color: var(--bg-card);
  padding: 16px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid var(--primary);
}

.score-badge strong {
  display: block;
  font-size: 36px;
  color: var(--primary-dark);
  line-height: 1;
}

.score-badge span {
  font-size: 14px;
  color: var(--text-sub);
}

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

.review-card {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
}

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

.review-author {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--leaf);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  background-color: var(--bg-card);
  transition: background 0.2s;
}

.faq-question:hover {
  background-color: var(--mint);
}

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

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

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

.faq-item.open .faq-answer {
  padding: 0 24px 20px;
}

/* 下载区 */
.download-section {
  padding: 60px 0 80px;
}

.download-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(63, 138, 72, 0.2);
}

.download-box::before, .download-box::after {
  content: "";
  position: absolute;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.download-box::before {
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
}

.download-box::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -100px;
}

.download-box h2 {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.download-box p {
  font-size: 16px;
  margin-bottom: 32px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--amber);
  color: var(--text-main);
  padding: 16px 48px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(240, 185, 92, 0.4);
}

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

/* 页脚 */
footer {
  background-color: #fff;
  border-top: 1px solid var(--leaf);
  padding: 40px 0 20px;
  font-size: 14px;
  color: var(--text-sub);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 18px;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

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

.footer-nav-col ul li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--mint);
  font-size: 12px;
  color: #999;
}

.footer-bottom p {
  margin-bottom: 6px;
}

.footer-bottom a {
  color: #999;
}

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

.update-time {
  font-size: 12px;
  color: #aaa;
  margin-top: 6px;
}

/* 滚动淡入 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .hero-inner { gap: 20px; }
  .tab-content { grid-template-columns: 1fr; }
  .tab-covers { max-width: 400px; margin: 0 auto; }
  .library-grid { grid-template-columns: repeat(4, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-bottom: 1px solid var(--leaf);
  }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  .hero { padding: 40px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 30px; }
  .btn-group { justify-content: center; }
  .stats-row { justify-content: center; }
  .playlist-card { transform: none; margin-top: 20px; }
  .tab-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .vs-container { flex-direction: column; }
  .vs-badge { top: auto; bottom: -30px; transform: translateX(-50%); }
  .vs-box.original { margin-bottom: 20px; }
  .rank-container { grid-template-columns: 1fr; gap: 20px; }
  .library-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .experience-container { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .download-box h2 { font-size: 28px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-nav { flex-wrap: wrap; gap: 30px; }
}