/* ========== 基础重置 ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2e7d32;
  --primary-light: #4caf50;
  --primary-dark: #1b5e20;
  --accent: #ff6f00;
  --accent-light: #ffa726;
  --bg-light: #f1f8e9;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-body: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
  --hero-bg: url("https://yumingjiasu3.com/public/drama/cover/hongguo_7696431502929742873.jpg");
}

html {
  scroll-behavior: auto;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
ul,
ol {
  list-style: none;
}

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

/* ========== 顶部通知栏 ========== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 14px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.top-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  animation: shine 4s infinite;
}
@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.top-bar strong {
  color: #fff3e0;
}

/* ========== 导航栏 ========== */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: 0 3px 12px rgba(46, 125, 50, 0.35);
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(46, 125, 50, 0.45);
  color: #fff !important;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

/* ========== Hero区域 ========== */
.hero {
  position: relative;
  background:
    linear-gradient(
      160deg,
      rgba(232, 245, 233, 0.88) 0%,
      rgba(241, 248, 233, 0.75) 40%,
      rgba(255, 248, 225, 0.65) 100%
    ),
    var(--hero-bg) center/cover no-repeat;
  background-color: #e8f5e9;
  padding: 80px 0 70px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.12), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 167, 38, 0.1), transparent 70%);
  border-radius: 50%;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(46, 125, 50, 0.15);
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
}
.hero-stat-item {
  text-align: left;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 125, 50, 0.45);
}
.btn-outline {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ========== Hero 右侧：3D多图效果 ========== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}
.hero-3d-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item {
  position: absolute;
  width: 170px;
  height: 255px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: #ccc;
  will-change: transform;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:nth-child(1) {
  transform: translateX(-150px) translateZ(-100px) rotateY(18deg) scale(0.85);
  z-index: 1;
}
.gallery-item:nth-child(2) {
  transform: translateX(-75px) translateZ(-40px) rotateY(10deg) scale(0.95);
  z-index: 2;
}
.gallery-item:nth-child(3) {
  transform: translateX(0) translateZ(20px) rotateY(0deg) scale(1.05);
  z-index: 3;
}
.gallery-item:nth-child(4) {
  transform: translateX(75px) translateZ(-40px) rotateY(-10deg) scale(0.95);
  z-index: 2;
}
.gallery-item:nth-child(5) {
  transform: translateX(150px) translateZ(-100px) rotateY(-18deg) scale(0.85);
  z-index: 1;
}
.gallery-item:hover {
  transform: translateY(-10px) scale(1.08) !important;
  z-index: 10;
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.45);
}

.floating-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
  z-index: 20;
}
.floating-card.card-1 {
  top: 30px;
  left: -10px;
  animation-delay: 0s;
}
.floating-card.card-2 {
  bottom: 40px;
  right: -10px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== 剧场类型 ========== */
.theater-section {
  background: var(--bg-light);
  padding: 80px 0 70px;
}
.theater-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.theater-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46, 125, 50, 0.06);
  transition: all 0.35s;
  cursor: pointer;
  background: var(--bg-white);
}
.theater-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 125, 50, 0.18);
}
.theater-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.theater-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.theater-card:hover .theater-img img {
  transform: scale(1.06);
}
.theater-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}
.theater-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 18px 18px;
  z-index: 2;
}
.theater-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.theater-info p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* ========== 通用Section样式 ========== */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-tag {
  display: inline-block;
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========== 核心优势 ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s;
  border: 1px solid rgba(46, 125, 50, 0.06);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.35s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.15));
  color: var(--primary);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========== 题材分类 ========== */
.genres-section {
  background: linear-gradient(180deg, var(--bg-white), var(--bg-light));
}
.genres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.genre-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid rgba(46, 125, 50, 0.06);
  position: relative;
  overflow: hidden;
}
.genre-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 125, 50, 0.2);
}
.genre-emoji {
  font-size: 34px;
  margin-bottom: 12px;
  display: block;
}
.genre-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.genre-card p {
  font-size: 12px;
  color: var(--text-light);
}
.genre-count {
  display: inline-block;
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
}

/* ========== 热门推荐 ========== */
.hot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 18px;
}
.drama-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s;
  border: 1px solid rgba(46, 125, 50, 0.06);
  display: flex;
  flex-direction: column;
}
.drama-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 125, 50, 0.18);
}
.drama-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #c8e6c9, #a5d6a7, #81c784);
  overflow: hidden;
}
.drama-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.drama-card:hover .drama-cover img {
  transform: scale(1.06);
}
.drama-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}
.drama-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.drama-hot {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}
.drama-info {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.drama-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.drama-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 59px;
}
.drama-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.drama-tag {
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}
.drama-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(46, 125, 50, 0.12);
}
.drama-meta span {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

/* ========== 排行榜 ========== */
.ranking-section {
  background: linear-gradient(180deg, var(--bg-light), var(--bg-white));
}
.ranking-list {
  max-width: 900px;
  margin: 0 auto;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid rgba(46, 125, 50, 0.06);
}
.ranking-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.ranking-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.ranking-num.top-1 {
  background: linear-gradient(135deg, #ffd700, #ffab00);
  color: #fff;
}
.ranking-num.top-2 {
  background: linear-gradient(135deg, #c0c0c0, #9e9e9e);
  color: #fff;
}
.ranking-num.top-3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  color: #fff;
}
.ranking-num.normal {
  background: var(--bg-light);
  color: var(--text-muted);
}
.ranking-cover {
  width: 54px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.1);
}
.ranking-info {
  flex: 1;
  min-width: 0;
}
.ranking-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking-info p {
  font-size: 12px;
  color: var(--text-light);
}
.ranking-heat {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

/* ========== 用户评价 ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46, 125, 50, 0.06);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.review-stars {
  color: #ffab00;
  font-size: 15px;
  letter-spacing: 2px;
}
.review-time {
  font-size: 12px;
  color: #999;
  background: #f5f5f5;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}
.review-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-author-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.review-author-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* ========== 下载区域 ========== */
.download-section {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary), #388e3c);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.download-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50%;
}
.download-section .section-header h2 {
  color: #fff;
}
.download-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}
.download-section .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.download-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.35s;
  cursor: pointer;
}
.download-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.download-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: block;
}
.download-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.download-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  line-height: 1.6;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-dark);
  padding: 12px 30px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.download-note {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ========== 扫码一键安装区域 ========== */
.qr-install-wrap {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 680px;
  margin: 40px auto 0;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.qr-install-wrap:hover {
  background: rgba(255, 255, 255, 0.15);
}
.qr-code-box {
  background: #fff;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
.qr-code-box img {
  width: 130px;
  height: 130px;
  display: block;
}
.qr-text-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.qr-text-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

/* ========== 同款短剧大全 ========== */
.related-sites-wrap {
  max-width: 900px;
  margin: 30px auto 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.related-sites-wrap h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-sites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.site-btn {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 16px 10px;
  text-align: center;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.site-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46, 125, 50, 0.06);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
}
.faq-question {
  padding: 20px 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  margin: 0;
}
.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
  padding: 0 26px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 20px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========== 页脚 ========== */
.footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--primary-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .hot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .genres-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .theater-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-sites-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-stat-num {
    font-size: 22px;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .genres-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 12px;
  }
  .drama-info h3 {
    font-size: 14px;
    min-height: 39px;
  }
  .drama-desc {
    font-size: 11.5px;
    -webkit-line-clamp: 3;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .download-card {
    padding: 20px 12px;
  }
  .download-icon {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .download-card h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .download-card p {
    font-size: 11px;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  .download-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .download-note {
    font-size: 11px;
    margin-top: 20px;
  }
  .qr-install-wrap {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 16px;
    margin-top: 24px;
  }
  .qr-code-box img {
    width: 90px;
    height: 90px;
  }
  .qr-text-box h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .qr-text-box p {
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }
  .related-sites-wrap {
    padding: 16px;
    margin-top: 20px;
  }
  .related-sites-wrap h3 {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .related-sites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .site-btn {
    font-size: 12px;
    padding: 10px 6px;
  }
  .footer {
    padding: 40px 0 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-bottom: 24px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
  .footer-brand p {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.6;
  }
  .footer-col h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .footer-col ul li {
    margin-bottom: 6px;
  }
  .footer-col ul li a {
    font-size: 12px;
  }
  .footer-bottom {
    padding: 16px 0;
    font-size: 11px;
    flex-direction: column;
    text-align: center;
  }
  .ranking-cover {
    width: 46px;
    height: 62px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .section {
    padding: 56px 0;
  }
  .genres-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .genre-card {
    padding: 18px 12px;
  }
  .genre-emoji {
    font-size: 26px;
  }
  .hot-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }
  .drama-info {
    padding: 12px 12px 14px;
  }
  .drama-info h3 {
    font-size: 13.5px;
    min-height: 38px;
  }
  .drama-desc {
    font-size: 11px;
    -webkit-line-clamp: 3;
    min-height: 54px;
  }
  .drama-tag {
    font-size: 10px;
    padding: 2px 7px;
  }
  .drama-meta {
    font-size: 10px;
  }
  .ranking-item {
    padding: 10px 14px;
    gap: 12px;
  }
  .ranking-cover {
    width: 40px;
    height: 54px;
  }
  .ranking-num {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .ranking-info h3 {
    font-size: 14px;
  }
  .ranking-info p {
    font-size: 11px;
  }
  .theater-grid {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .download-card {
    padding: 16px 8px;
  }
  .download-card h3 {
    font-size: 14px;
  }
  .download-card p {
    font-size: 10px;
  }
  .download-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
  .qr-install-wrap {
    padding: 12px;
  }
  .qr-code-box img {
    width: 80px;
    height: 80px;
  }
  .related-sites-grid {
    gap: 8px;
  }
  .site-btn {
    font-size: 11px;
    padding: 8px 4px;
  }
  .footer-grid {
    gap: 20px 12px;
  }
  .footer-brand p {
    font-size: 11px;
  }
}

/* ========== 底部悬浮下载条 ========== */
.floating-download-bar {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  z-index: 9999;
  transition:
    bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.3s;
  opacity: 0;
  border: 1px solid rgba(46, 125, 50, 0.1);
}
.floating-download-bar.show {
  bottom: 20px;
  opacity: 1;
}
.floating-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.2);
}
.floating-text h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.floating-text p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
}
.floating-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
  transition: all 0.3s;
  white-space: nowrap;
}
.floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
  color: #fff;
}
.floating-close {
  position: absolute;
  top: -12px;
  right: -10px;
  width: 26px;
  height: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.floating-close:hover {
  background: #f5f5f5;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .floating-download-bar {
    width: 94%;
    padding: 10px 16px;
    border-radius: 16px;
  }
  .floating-icon {
    width: 40px;
    height: 40px;
  }
  .floating-text h4 {
    font-size: 14px;
  }
  .floating-text p {
    font-size: 11px;
  }
  .floating-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  .floating-close {
    top: -10px;
    right: -6px;
    width: 22px;
    height: 22px;
    font-size: 16px;
  }
}
