:root {
  --bg-dark: #14151a;
  --bg-card: #1e2026;
  --bg-card-hover: #282b33;
  --mango: #ff8c00;
  --mango-hover: #ffa640;
  --text-main: #f0f2f5;
  --text-sub: #9aa0ab;
  --border: #2e323e;
  --radius: 10px;
  --transition: all 0.3s ease;
}
* { 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-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* 固定导航栏 */
.nav-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background-color: rgba(20, 21, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--mango);
}
.brand-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: var(--text-sub);
  font-size: 15px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--mango); }
.nav-dl-btn {
  background-color: var(--mango);
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.nav-dl-btn:hover { background-color: var(--mango-hover); }

/* 通用容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  padding-top: 100px;
}
.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background-color: var(--mango);
  border-radius: 2px;
}

/* 首屏主视觉 */
.hero {
  text-align: left;
  padding: 80px 0 40px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: #fff;
}
.hero h1 span { color: var(--mango); }
.hero .slogan {
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: 8px;
}
.hero .sub-slogan {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 40px;
}
.hero-features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-sub);
}
.feature-item::before {
  content: '✔';
  color: var(--mango);
  font-weight: bold;
}
.hero-btns {
  display: flex;
  gap: 16px;
}
.btn-primary, .btn-secondary {
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background-color: var(--mango);
  color: #000;
}
.btn-primary:hover { background-color: var(--mango-hover); }
.btn-secondary {
  background-color: transparent;
  color: var(--mango);
  border: 1px solid var(--mango);
}
.btn-secondary:hover { background-color: rgba(255, 140, 0, 0.1); }

/* 正在热播 */
.hot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.hot-main {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hot-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.hot-main-content {
  padding: 24px;
}
.hot-main-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.hot-main-content p {
  color: var(--text-sub);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.countdown {
  background-color: rgba(255, 140, 0, 0.2);
  color: var(--mango);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}
.hot-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hot-item {
  display: flex;
  gap: 16px;
  background-color: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.hot-item:hover { background-color: var(--bg-card-hover); }
.hot-item img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
}
.hot-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hot-item-info h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.hot-item-info p {
  font-size: 14px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 芒果剧场 */
.theater-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.theater-tabs span {
  padding: 6px 16px;
  background-color: var(--bg-card);
  border-radius: 20px;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
}
.theater-tabs span.active, .theater-tabs span:hover {
  background-color: var(--mango);
  color: #000;
}
.theater-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.theater-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.theater-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.theater-card img {
  width: 100%;
  aspect-ratio: 3/4;
}
.theater-info {
  padding: 16px;
}
.theater-info h4 {
  font-size: 16px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theater-info p {
  font-size: 12px;
  color: var(--text-sub);
}

/* 人气演员 */
.actor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.actor-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding: 20px;
}
.actor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.actor-card h4 { font-size: 18px; margin-bottom: 4px; }
.actor-card p { font-size: 14px; color: var(--text-sub); }

/* 互动投票 & 热评 */
.interactive-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.vote-card, .comment-card {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.vote-card h4, .comment-card h4 { margin-bottom: 16px; }
.vote-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}
.vote-option:hover { background-color: rgba(255,140,0,0.1); }
.vote-progress {
  height: 6px;
  background-color: #333;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 8px;
}
.vote-bar {
  height: 100%;
  background-color: var(--mango);
}
.comment-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.comment-item:last-child { border: none; margin: 0; padding: 0; }
.comment-user { font-weight: bold; font-size: 14px; margin-bottom: 4px; color: var(--mango); }
.comment-text { font-size: 14px; color: var(--text-main); }

/* 追剧数据 & VIP特权 */
.data-vip-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.data-box, .vip-box {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
}
.data-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.data-item:last-child { border: none; }
.data-val { color: var(--mango); font-weight: bold; }
.vip-box h3 { color: var(--mango); margin-bottom: 16px; font-size: 24px;}
.vip-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-sub);
}
.vip-list li::before { content: '★'; color: var(--mango); }

/* 下载教程 */
.tutor-tabs { display: flex; gap: 16px; margin-bottom: 24px; }
.tutor-tabs span {
  padding: 6px 24px;
  background-color: var(--bg-card);
  border-radius: 20px;
  color: var(--text-sub);
  cursor: pointer;
}
.tutor-tabs span.active { background-color: var(--mango); color: #000; }
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-item {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  width: 32px; height: 32px;
  background-color: var(--mango);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 16px;
}
.step-item h4 { margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--text-sub); }

/* 品牌故事 */
.story-content {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius);
}
.story-text { flex: 1; }
.story-text p { margin-bottom: 16px; color: var(--text-sub); }
.story-img { flex: 1; }
.story-img img { border-radius: var(--radius); }

/* 底部下载区 */
.bottom-dl {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(255,140,0,0.1) 100%);
  border-radius: var(--radius);
}
.bottom-dl h2 { margin-bottom: 20px; }
.bottom-dl p { color: var(--text-sub); margin-bottom: 30px; }

/* 页脚 */
footer {
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
}
footer p { margin-bottom: 8px; }
footer a { color: var(--text-sub); }
footer a:hover { color: var(--mango); }

/* 响应式 */
@media (max-width: 1024px) {
  .theater-grid { grid-template-columns: repeat(3, 1fr); }
  .actor-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .data-vip-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { text-align: center; padding: 100px 0 40px; }
  .hero-features { justify-content: center; }
  .hero-btns { justify-content: center; flex-direction: column; }
  .hot-layout { grid-template-columns: 1fr; }
  .theater-grid { grid-template-columns: repeat(2, 1fr); }
  .actor-grid { grid-template-columns: repeat(2, 1fr); }
  .interactive-layout { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .story-content { flex-direction: column; }
  .nav-inner { padding: 0 16px; }
  .container { padding: 40px 16px; padding-top: 80px; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-btns a { flex: 1; min-width: 120px; }
  .theater-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .theater-info { padding: 10px; }
}