:root {
  --bg-core: #150F08;
  --orange-honey: #FFA51F;
  --gold-peel: #FFD35C;
  --green-leaf: #7BD44B;
  --lime-hover: #D7F94A;
  --purple-jam: #4B2A52;
  --text-main: #F6EEDF;
  --text-sub: #C8B79C;
  --text-mute: #8B7A63;
  --card-bg: rgba(255, 165, 31, 0.05);
  --border-color: rgba(255, 211, 92, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-core);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* 顶部导航 */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
  background: transparent;
}
.header-nav.scrolled {
  padding: 10px 0;
  background: rgba(21, 15, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 20px;
  font-weight: bold;
}
.brand-logo img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--orange-honey);
}

/* 首屏 */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 120px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at top, rgba(75, 42, 82, 0.4) 0%, var(--bg-core) 70%);
  overflow: hidden;
}
.hero-content {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero-title {
  font-size: 4rem;
  color: var(--gold-peel);
  margin-bottom: 10px;
  text-shadow: 0 4px 20px rgba(255, 165, 31, 0.3);
}
.hero-slogan {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
}
.hero-sub-slogan {
  font-size: 1.1rem;
  color: var(--green-leaf);
  margin-bottom: 40px;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
}
.feature-card h3 {
  color: var(--orange-honey);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
}

/* 下载矩阵 */
.download-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}
.dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 165, 31, 0.1);
  border: 1px solid var(--orange-honey);
  color: var(--gold-peel);
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s;
}
.dl-btn:hover {
  background: var(--orange-honey);
  color: var(--bg-core);
}

/* 内容区块通用 */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  color: var(--gold-peel);
  margin-bottom: 40px;
  text-align: center;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange-honey);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* 果熟倒计时 */
.maturity-track {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}
.maturity-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #332;
  transform: translateY(-50%);
  z-index: 1;
}
.maturity-progress {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-honey), var(--gold-peel));
  transform: translateY(-50%);
  z-index: 2;
}
.track-node {
  width: 30px;
  height: 30px;
  background: #332;
  border-radius: 50%;
  z-index: 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-mute);
}
.track-node.active {
  background: var(--orange-honey);
  color: var(--bg-core);
}
.countdown-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.main-fruit-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
}
.main-fruit-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 20px;
}
.countdown-timer {
  font-size: 2.5rem;
  font-family: monospace;
  color: var(--orange-honey);
  margin: 15px 0;
  font-variant-numeric: tabular-nums;
}
.small-fruits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}
.small-fruit-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px;
}
.small-fruit-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* 果园剧场 */
.theater-layout {
  display: flex;
  gap: 20px;
}
.taste-sidebar {
  width: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.taste-btn {
  padding: 15px 10px;
  background: var(--card-bg);
  color: var(--text-sub);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.taste-btn.active {
  background: var(--orange-honey);
  color: var(--bg-core);
  font-weight: bold;
}
.theater-display {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.drama-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}
.drama-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-honey);
}
.drama-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.drama-info {
  padding: 15px;
}
.drama-info h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

/* 主演果园 */
.actor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.actor-article h2 {
  color: var(--orange-honey);
  margin-bottom: 20px;
}
.actor-article p {
  color: var(--text-sub);
  margin-bottom: 15px;
  line-height: 1.8;
}
.actor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.actor-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
}
.actor-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* 剧情分叉台 */
.fork-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.fork-card {
  background: var(--card-bg);
  border-left: 4px solid var(--orange-honey);
  padding: 20px;
  border-radius: 8px;
}
.fork-card h3 {
  color: var(--gold-peel);
  margin-bottom: 10px;
}
.fork-option {
  background: rgba(0,0,0,0.3);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.option-bar {
  height: 6px;
  background: #332;
  border-radius: 3px;
  margin-top: 5px;
  overflow: hidden;
}
.option-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange-honey), var(--lime-hover));
}

/* 弹幕果核 */
.comment-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.long-review {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
}
.short-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}
.short-review {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 8px;
}

/* 追剧年轮 */
.year-ring-layout {
  display: flex;
  gap: 40px;
  align-items: center;
}
.ring-chart {
  width: 380px;
  height: 380px;
  flex-shrink: 0;
}
.ring-chart svg {
  width: 100%;
  height: 100%;
}
.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  flex: 1;
}
.badge-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}
.badge-card.gold {
  border-color: var(--gold-peel);
  background: linear-gradient(135deg, rgba(255,211,92,0.1), transparent);
}

/* 果篮会员 */
.membership-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.member-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
}
.member-card.featured {
  transform: translateY(-16px);
  border-color: var(--orange-honey);
  box-shadow: 0 10px 30px rgba(255, 165, 31, 0.15);
}
.price {
  font-size: 2rem;
  color: var(--gold-peel);
  margin: 20px 0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}
.compare-table th, .compare-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.compare-table tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

/* 安装工坊 */
.install-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
}
.device-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.device-tab {
  padding: 12px;
  background: var(--card-bg);
  border: none;
  color: var(--text-main);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}
.device-tab.active {
  background: var(--orange-honey);
  color: var(--bg-core);
}
.steps-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
}

/* 黄果纪事 */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.data-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.data-item {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}
.data-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--gold-peel);
  font-family: monospace;
}
.timeline {
  margin-top: 40px;
  border-left: 2px solid var(--orange-honey);
  padding-left: 20px;
}
.timeline-item {
  margin-bottom: 20px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--orange-honey);
  border-radius: 50%;
}

/* 页脚 */
.footer {
  background: #0b0804;
  padding: 60px 20px 20px;
  border-top: 1px solid var(--border-color);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-col h4 {
  color: var(--gold-peel);
  margin-bottom: 15px;
}
.footer-col p, .footer-col a {
  color: var(--text-mute);
  font-size: 0.9rem;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-bottom {
  text-align: center;
  color: var(--text-mute);
  font-size: 0.8rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom a {
  color: var(--text-mute);
  text-decoration: none;
}

/* 响应式 */
@media (max-width: 1024px) {
  .hero-title { font-size: 3rem; }
  .download-matrix { grid-template-columns: repeat(3, 1fr); }
  .countdown-layout { grid-template-columns: 1fr; }
  .actor-layout, .history-layout { grid-template-columns: 1fr; }
  .membership-cards { grid-template-columns: 1fr; }
  .member-card.featured { transform: none; }
  .year-ring-layout { flex-direction: column; }
  .ring-chart { width: 300px; height: 300px; }
  .badges-grid { grid-template-columns: repeat(2, 1fr); }
  .install-layout { grid-template-columns: 1fr; }
  .device-tabs { flex-direction: row; overflow-x: auto; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .download-matrix { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .theater-layout { flex-direction: column; }
  .taste-sidebar { width: 100%; flex-direction: row; overflow-x: auto; }
  .actor-grid { grid-template-columns: 1fr; }
  .badges-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .download-matrix { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .data-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}