:root {
  --primary: #FF8800;
  --primary-light: #FFF7EE;
  --primary-lighter: #FFEEDB;
  --bg: #FDFBFA;
  --text-main: #1A1A1A;
  --text-muted: #666666;
  --text-light: #999999;
  --white: #FFFFFF;
  --border: #EAEAEA;
  --shadow: 0 12px 32px rgba(255, 136, 0, 0.08);
  --radius: 20px;
  --container: 1240px;
}

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 悬浮导航 */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-btn {
  background: linear-gradient(135deg, #FF8800, #FFB347);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 136, 0, 0.3); }

/* 通用板块间距 */
section { padding: 100px 0; }

/* 标题区 */
.section-title { margin-bottom: 48px; }
.section-title.center { text-align: center; }
.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Hero 区 */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 136, 0, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--primary); }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 90%;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 24px;
}
.btn-primary {
  background: linear-gradient(135deg, #FF8800, #FFB347);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  border: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 136, 0, 0.3); }
.btn-secondary {
  background: var(--white);
  color: var(--text-main);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 17px;
  border: 2px solid #E0E0E0;
  display: inline-block;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--text-main); }
.hero-note { font-size: 13px; color: var(--text-light); }

/* 数据面板 */
.hg-stat-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-item {
  background: #FAFAFA;
  border-radius: 16px;
  padding: 24px;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1;
}
.stat-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* 分类区 */
.hg-morph { background: var(--white); }
.tab-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: center;
}
.tab-btn {
  background: #F5F5F5;
  color: var(--text-muted);
  padding: 12px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s;
}
.tab-btn.active {
  background: var(--white);
  border-color: var(--primary);
  color: var(--text-main);
}
.hg-panel {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
}
.hg-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}
.hg-panel-head h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.hg-panel-head p { color: var(--text-muted); }
.mini-stats {
  display: flex;
  gap: 16px;
}
.mini-stat {
  background: var(--white);
  padding: 16px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.mini-stat .num { font-size: 20px; font-weight: 800; color: var(--primary); }
.mini-stat .label { font-size: 12px; color: var(--text-muted); }

.hg-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.drama-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.drama-card:hover .card-img-wrap img { transform: scale(1.05); }
.tag-left {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 235, 200, 0.9);
  color: #B36B00;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.tag-right {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.play-icon::after {
  content: '';
  border-left: 16px solid var(--primary);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.drama-card:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.card-info { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.card-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.card-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #F0F0F0;
  color: var(--text-muted);
}
.tag.hot { color: #FF3B30; background: #FFEBEA; font-weight: 600; }

/* 魔改玩法 */
.hg-remix { background: var(--primary-light); }
.remix-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.remix-list { display: flex; flex-direction: column; gap: 32px; }
.remix-item { display: flex; gap: 20px; }
.remix-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.remix-text h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.remix-text p { color: var(--text-muted); font-size: 15px; }

.hg-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  user-select: none;
}
.hg-compare img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-top { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  cursor: ew-resize;
}
.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.compare-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 16px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.compare-label.left { left: 20px; }
.compare-label.right { right: 20px; }

/* AI 创作流程 */
.hg-pipeline { background: var(--white); }
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pipeline-card {
  background: #FAFAFA;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.pipeline-num {
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 136, 0, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}
.pipeline-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.pipeline-card p { color: var(--text-muted); font-size: 15px; position: relative; z-index: 1; }

/* 热播榜 */
.hg-ranking { background: var(--bg); }
.ranking-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.rank-list { display: flex; flex-direction: column; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px dashed #EAEAEA;
}
.rank-item:last-child { border-bottom: none; padding-bottom: 0; }
.rank-item:first-child { padding-top: 0; }
.rank-num {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #FF8800, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: 40px;
  font-style: italic;
}
.rank-img {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.rank-info { flex-grow: 1; }
.rank-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.rank-info p { font-size: 13px; color: var(--text-muted); }
.rank-tag {
  background: #F0F0F0;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px;
}
.rank-heat { color: var(--primary); font-weight: 600; font-size: 14px; }

/* 精选片单 */
.hg-lists { background: var(--white); }
.lists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.list-card {
  background: #FAFAFA;
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.list-img-wrap {
  width: 40%;
  position: relative;
  aspect-ratio: 1 / 1;
}
.list-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1A1A1A;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}
.list-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 60%;
}
.list-en {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.list-content h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.list-content p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.list-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-muted);
}

/* 用户反馈 */
.hg-voices { background: var(--bg); overflow: hidden; }
.hg-danmu {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee {
  display: flex;
  white-space: nowrap;
  gap: 32px;
  color: var(--text-muted);
  font-size: 15px;
}
.marquee-content {
  display: flex;
  gap: 32px;
  animation: scroll 30s linear infinite;
}
.marquee.reverse .marquee-content { animation-direction: reverse; }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee span {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.voice-user { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.voice-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E0E0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.voice-stars { color: var(--primary); font-size: 14px; letter-spacing: 2px; }
.voice-text { font-size: 15px; color: var(--text-main); margin-bottom: 20px; line-height: 1.5; }
.voice-meta { font-size: 13px; color: var(--text-light); }

/* FAQ */
.hg-faq { background: var(--white); }
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #FAFAFA;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}
.faq-item.active { border-color: var(--primary); background: var(--white); }
.faq-q {
  display: flex;
  align-items: center;
  padding: 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
}
.faq-num {
  color: var(--primary);
  margin-right: 16px;
  font-size: 18px;
  font-style: italic;
}
.faq-icon {
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.3s;
  font-size: 20px;
}
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 15px;
}
.faq-item.active .faq-a {
  padding: 0 24px 24px 70px;
  max-height: 200px;
}

/* 下载引导 */
.hg-download { padding: 100px 0; }
.download-big-card {
  background: linear-gradient(180deg, #FFF7EE, #FFEEDB);
  border: 1px solid var(--primary);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
}
.dl-tag {
  display: inline-block;
  background: #1A1A1A;
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.dl-title { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.dl-sub { color: var(--text-muted); font-size: 18px; margin-bottom: 40px; }
.dl-features {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.dl-feature {
  background: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.hg-download-box {
  background: var(--white);
  border-radius: 24px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}
.dl-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}
.dl-info { flex-grow: 1; }
.dl-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.dl-info p { font-size: 14px; color: var(--text-muted); }
.dl-btn-large {
  background: linear-gradient(135deg, #FF8800, #FFB347);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.dl-btn-large:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 136, 0, 0.4); }

.hg-download-steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.dl-step {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.dl-step .num {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 8px;
}
.dl-step p { font-size: 15px; font-weight: 600; }

/* 页脚 */
footer {
  background: #F4F0EC;
  padding: 80px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand { max-width: 300px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}
.footer-logo img { height: 32px; width: auto; }
.footer-slogan { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: var(--text-muted); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  flex-grow: 1;
}
.footer-col h4 { font-size: 16px; font-weight: 800; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.search-pill {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-main);
}
.footer-bottom {
  border-top: 1px solid #E0DCD6;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}

/* 移动端悬浮按钮 */
.hg-mobile-download {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: linear-gradient(135deg, #FF8800, #FFB347);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(255, 136, 0, 0.4);
  z-index: 999;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-sub { max-width: 100%; }
  .nav-links { display: none; }
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-title h2 { font-size: 28px; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .hg-stat-panel { padding: 24px; }
  .hg-card-grid { grid-template-columns: 1fr; }
  .tab-bar { flex-wrap: wrap; }
  .tab-btn { flex: 1; text-align: center; padding: 10px; }
  .hg-panel { padding: 24px; }
  .hg-panel-head { flex-direction: column; gap: 16px; }
  .remix-inner { grid-template-columns: 1fr; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .lists-grid { grid-template-columns: 1fr; }
  .list-card { flex-direction: column; }
  .list-img-wrap { width: 100%; aspect-ratio: 16/9; }
  .list-content { width: 100%; padding: 20px; }
  .voices-grid { grid-template-columns: 1fr; }
  .hg-download-box { flex-direction: column; text-align: center; padding: 24px; }
  .hg-download-steps { flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hg-mobile-download { display: block; }
  .rank-tag { display: none; }
  .rank-heat { font-size: 12px; }
  .hg-compare { aspect-ratio: 1/1; }
}