:root {
  --bg: #fff8f6;
  --red: #ff3b42;
  --green: #3fa62e;
  --pink-bg: #ffe8e0;
  --panel: #ffffff;
  --panel-2: #fff4ef;
  --text: #2a1214;
  --text-sub: #8a6b6b;
  --text-light: #b39a9a;
  --line: rgba(255, 59, 66, 0.22);
  --mono: 'Courier New', Courier, monospace;
  --sans: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* 导航 */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 248, 246, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 20px;
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.brand-text .mod { color: var(--red); }
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: var(--text-sub); transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-download {
  background: var(--red);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.2s;
}
.nav-download:hover { opacity: 0.9; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--text); cursor: pointer; }

/* 首屏 */
.hero {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.lab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: bold;
  color: var(--red);
  width: fit-content;
}
.lab-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--red); }
.hero-desc { font-size: 18px; color: var(--text-sub); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-top: 10px; }
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,59,66,0.3); }
.btn-secondary {
  background: var(--panel);
  color: var(--red);
  border: 1px solid var(--red);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
}
.feature-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.tag {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-sub);
}
.hero-visual {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(255,59,66,0.08);
  position: relative;
}
.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: bold;
}
.visual-title { color: var(--text); }
.visual-status { color: var(--red); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.compare-item { position: relative; }
.compare-img-wrap {
  aspect-ratio: 2/3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pink-bg);
}
.compare-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.compare-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
}
.progress-area {
  background: var(--panel-2);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--mono);
  margin-bottom: 8px;
  color: var(--text-sub);
}
.progress-bar {
  height: 6px;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--green), var(--red));
  border-radius: 3px;
  animation: progressAnim 4s ease-in-out infinite alternate;
}
@keyframes progressAnim {
  0% { width: 25%; }
  100% { width: 98%; }
}

/* 通用区块 */
.section-padding { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--text-sub); }

/* 题材分镜 */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.genre-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  position: relative;
}
.sc-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}
.genre-img-wrap {
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pink-bg);
  margin-bottom: 12px;
}
.genre-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.genre-name { font-size: 14px; font-weight: bold; text-align: center; }

/* 追剧方式 */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: bold;
  color: var(--green);
  background: rgba(63,166,46,0.1);
  padding: 4px 8px;
  border-radius: 4px;
  width: fit-content;
}
.step-img-wrap {
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pink-bg);
}
.step-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.step-title { font-size: 18px; font-weight: bold; }
.step-desc { font-size: 14px; color: var(--text-sub); }

/* 热播榜 */
.ranking-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 24px;
}
.ranking-item {
  display: grid;
  grid-template-columns: 40px 60px 1fr 120px;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ranking-item:last-child { border-bottom: none; }
.rank-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: bold;
  color: var(--text-light);
}
.ranking-item:nth-child(1) .rank-num { color: var(--red); }
.ranking-item:nth-child(2) .rank-num { color: #ff7b00; }
.ranking-item:nth-child(3) .rank-num { color: var(--green); }
.rank-img-wrap {
  width: 48px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--pink-bg);
}
.rank-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.rank-title { font-weight: bold; font-size: 16px; }
.rank-heat-bar {
  height: 6px;
  background: var(--panel-2);
  border-radius: 3px;
  overflow: hidden;
}
.rank-heat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--red));
  border-radius: 3px;
}

/* 片库 */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.lib-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--pink-bg);
  aspect-ratio: 2/3;
  border: 1px solid var(--line);
}
.lib-card img { width: 100%; height: 100%; object-fit: contain; }
.lib-sc {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 心愿榜 */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.wish-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.wish-img-wrap {
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pink-bg);
  margin-bottom: 12px;
}
.wish-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.wish-title { font-size: 14px; font-weight: bold; margin-bottom: 8px; }
.wish-progress-wrap {
  background: var(--panel-2);
  height: 6px;
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}
.wish-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  transition: width 0.3s;
}
.wish-count { font-family: var(--mono); font-size: 12px; color: var(--text-sub); margin-bottom: 12px; }
.wish-btn {
  background: var(--panel-2);
  color: var(--red);
  border: 1px solid var(--red);
  padding: 6px 0;
  width: 100%;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}
.wish-btn.joined {
  background: var(--red);
  color: #fff;
}

/* 竖屏体验 */
.device-carousel {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  background: var(--panel);
  border: 8px solid #222;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.device-screen {
  aspect-ratio: 9/19.5;
  background: var(--pink-bg);
  position: relative;
}
.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.carousel-hint {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-light);
}

/* 神评墙 */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-avatar {
  width: 40px;
  height: 40px;
  background: var(--pink-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--red);
  font-size: 18px;
}
.review-name { font-weight: bold; font-size: 14px; }
.review-score { color: var(--red); font-size: 12px; font-family: var(--mono); }
.review-text { font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.review-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
}

/* 下载区 */
.download-section {
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.download-box {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(255,59,66,0.1);
}
.download-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--red) 50%, var(--green) 50%);
}
.download-box h2 { font-size: 32px; margin-bottom: 16px; }
.download-box p { font-size: 16px; color: var(--text-sub); margin-bottom: 32px; }

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 20px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer-links a { color: var(--text-light); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-sub); }
.footer-info { display: flex; gap: 16px; align-items: center; }
details { margin-top: 16px; font-size: 12px; color: var(--text-light); max-width: 800px; }
summary { cursor: pointer; display: inline-block; outline: none; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 8px; line-height: 1.8; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content { align-items: center; }
  .hero h1 { font-size: 40px; }
  .hero-desc { text-align: center; }
  .feature-tags { justify-content: center; }
  .genre-grid { grid-template-columns: repeat(4, 1fr); }
  .library-grid { grid-template-columns: repeat(4, 1fr); }
  .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 20px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .ranking-item { grid-template-columns: 30px 50px 1fr; }
  .rank-heat-bar { display: none; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-info { flex-direction: column; gap: 8px; }
}