:root {
  --bg-color: #FDFBFA;
  --primary: #FF8800;
  --primary-grad: linear-gradient(135deg, #FF9A2E, #FF8800);
  --text-dark: #1A1A1A;
  --text-gray: #666666;
  --text-light: #999999;
  --card-bg: #FFFFFF;
  --shadow: 0 12px 32px rgba(255, 136, 0, 0.08);
  --radius: 20px;
  --border-color: #F0EBE6;
}

* {
  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-color);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 导航 */
header {
  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-color);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
}

.logo-area img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
  transition: color 0.3s;
}

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

.btn-small {
  padding: 8px 20px;
  border-radius: 99px;
  background: var(--primary-grad);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  transition: opacity 0.3s;
}

.btn-small:hover {
  opacity: 0.9;
}

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

.section-title-wrap {
  margin-bottom: 48px;
}

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

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

.center-title {
  text-align: center;
}

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 136, 0, 0.1) 0%, rgba(253, 251, 250, 0) 70%);
  z-index: -1;
}

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

.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  background: #FFF0E0;
  color: var(--primary);
  border-radius: 99px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--primary-grad);
  color: #fff;
  border-radius: 99px;
  font-size: 16px;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  padding: 16px 36px;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 99px;
  font-size: 16px;
  font-weight: bold;
}

.hero-small-text {
  font-size: 14px;
  color: var(--text-light);
}

.hg-stat-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-item {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 16px;
}

.stat-item strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 8px;
}

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

/* Tab 分类 */
.hg-morph-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.hg-tab {
  padding: 12px 24px;
  border-radius: 99px;
  background: #F5F2F0;
  color: var(--text-gray);
  font-weight: bold;
  border: 2px solid transparent;
  cursor: pointer;
}

.hg-tab.active {
  background: #fff;
  border-color: var(--primary);
  color: var(--text-dark);
}

.hg-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hg-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.hg-panel-head h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
}

.hg-panel-head p {
  font-size: 14px;
  color: var(--text-gray);
}

.hg-panel-stats {
  display: flex;
  gap: 16px;
}

.panel-stat {
  background: var(--bg-color);
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
}

.poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #eee;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-left {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 240, 224, 0.9);
  color: var(--primary);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

.tag-right {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

.movie-info h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.movie-tags {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-gray);
}

.hot-text {
  color: #FF4400;
  font-weight: bold;
}

/* 魔改玩法 */
.hg-remix-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hg-remix-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.remix-item {
  display: flex;
  gap: 16px;
}

.remix-num {
  width: 32px;
  height: 32px;
  background: #FFF0E0;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.remix-item h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

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

.hg-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-bg, .compare-fg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-fg {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.compare-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  pointer-events: none;
  font-weight: bold;
}

/* AI 创作流程 */
.hg-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pipeline-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pipeline-num {
  font-size: 48px;
  font-weight: 900;
  color: #FFE0C0;
  line-height: 1;
  margin-bottom: 16px;
}

.pipeline-card h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.pipeline-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* 热播榜 */
.hg-ranking-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 32px;
  box-shadow: var(--shadow);
}

.ranking-row {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px dashed var(--border-color);
}

.ranking-row:last-child {
  border-bottom: none;
}

.ranking-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  width: 60px;
  font-style: italic;
}

.ranking-poster {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 20px;
}

.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-info {
  flex: 1;
}

.ranking-info h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.ranking-info p {
  font-size: 13px;
  color: var(--text-gray);
}

.type-tag {
  background: #F5F2F0;
  color: var(--text-dark);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-right: 24px;
}

.hot-tip {
  color: var(--primary);
  font-size: 14px;
  font-weight: bold;
}

/* 精选片单 */
.hg-lists-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.list-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
}

.list-poster {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.list-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multi-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.list-content {
  flex: 1;
}

.list-en {
  font-size: 12px;
  color: var(--primary);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.list-content h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.list-content p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.list-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.list-pills span {
  background: #F5F2F0;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  color: var(--text-gray);
}

/* 用户反馈 */
.hg-danmu-wrap {
  overflow: hidden;
  margin-bottom: 48px;
}

.hg-danmu {
  display: flex;
  white-space: nowrap;
  gap: 48px;
  padding: 12px 0;
  color: var(--text-gray);
  font-size: 16px;
}

.hg-danmu.reverse {
  animation-direction: reverse;
}

.hg-voices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.voice-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFE0C0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}

.voice-stars {
  color: var(--primary);
  font-size: 14px;
}

.voice-text {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.voice-footer {
  font-size: 12px;
  color: var(--text-light);
}

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

details {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

summary {
  padding: 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-num {
  color: var(--primary);
  margin-right: 16px;
}

.faq-content {
  padding: 0 24px 24px 24px;
  color: var(--text-gray);
  font-size: 15px;
}

/* 下载引导 */
.hg-download-section {
  padding: 100px 0;
}

.hg-download-card {
  background: linear-gradient(135deg, #FFF7EE 0%, #FFEEDB 100%);
  border: 1px solid #FFD6B0;
  border-radius: 32px;
  padding: 64px 32px;
  text-align: center;
}

.hg-download-card .tag-pill {
  background: var(--text-dark);
  color: #fff;
}

.hg-download-card h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 16px;
}

.hg-download-card > p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.feat-pills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.feat-pills span {
  background: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
}

.hg-download-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(255, 136, 0, 0.1);
  max-width: 800px;
  margin: 0 auto 32px;
}

.dl-left {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
}

.dl-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.dl-info h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 4px;
}

.dl-info p {
  font-size: 14px;
  color: var(--text-gray);
}

.btn-large {
  padding: 16px 32px;
  background: var(--primary-grad);
  color: #fff;
  border-radius: 99px;
  font-size: 16px;
  font-weight: bold;
}

.hg-download-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.step-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  text-align: left;
}

.step-card strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-gray);
}

/* 页脚 */
footer {
  background: #F5F2F0;
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

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

.footer-brand .logo-area {
  margin-bottom: 16px;
}

.footer-brand h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-gray);
}

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

.footer-col h5 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.search-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.search-tags span {
  background: #fff;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--text-dark);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  border-top: 1px solid #E0D8D0;
  padding-top: 24px;
}

.mobile-download {
  display: none;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hg-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hg-remix-layout {
    grid-template-columns: 1fr;
  }
  .hg-pipeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hg-voices-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hg-download-box {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .dl-left {
    flex-direction: column;
  }
  .footer-top {
    flex-direction: column;
    gap: 48px;
  }
  .hg-lists-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .nav-links {
    display: none;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hg-stat-panel {
    grid-template-columns: 1fr;
  }
  .hg-morph-tabs {
    flex-direction: column;
  }
  .hg-panel-head {
    flex-direction: column;
    gap: 16px;
  }
  .hg-card-grid {
    grid-template-columns: 1fr;
  }
  .hg-pipeline-grid {
    grid-template-columns: 1fr;
  }
  .ranking-row {
    flex-wrap: wrap;
  }
  .ranking-info {
    width: calc(100% - 80px);
  }
  .type-tag {
    margin-top: 12px;
    margin-left: 60px;
  }
  .hot-tip {
    display: none;
  }
  .hg-voices-grid {
    grid-template-columns: 1fr;
  }
  .hg-download-steps {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }
  .mobile-download {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: #fff;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    z-index: 1000;
  }
  .mobile-download a {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--primary-grad);
    color: #fff;
    text-align: center;
    border-radius: 99px;
    font-size: 16px;
    font-weight: bold;
  }
  body {
    padding-bottom: 80px;
  }
}