:root {
  --bg-dark: #121318;
  --bg-card: #1c1f26;
  --bg-card-hover: #242833;
  --primary: #f2a900;
  --primary-hover: #ffc233;
  --text-main: #f0f2f5;
  --text-muted: #9ba1a9;
  --border-color: #333844;
  --radius: 12px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部导航 */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(18, 19, 24, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
}

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

.nav-links {
  display: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 24px;
    font-size: 15px;
  }
  .nav-links a:hover {
    color: var(--primary);
  }
}

.btn-download {
  background-color: var(--primary);
  color: #000;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  transition: background 0.3s;
}
.btn-download:hover {
  background-color: var(--primary-hover);
}

/* 首屏 */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a1c24 0%, #121318 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  .hero-text {
    flex: 1;
  }
  .hero-image {
    flex: 1;
  }
}

.hero-text h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 42px;
  }
}

.hero-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary);
  color: #000;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* 区块通用 */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 12px;
  color: #fff;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
}

/* 频道导航 */
.channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .channels {
    grid-template-columns: repeat(4, 1fr);
  }
}
.channel-item {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}
.channel-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}
.channel-item h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
}
.channel-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 剧集展示 */
.drama-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .drama-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .drama-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.drama-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.drama-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.drama-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.drama-info {
  padding: 16px;
}
.drama-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drama-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tag {
  font-size: 12px;
  padding: 2px 8px;
  background: rgba(242, 169, 0, 0.15);
  color: var(--primary);
  border-radius: 4px;
}
.drama-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.drama-desc {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 安装步骤 */
.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .steps {
    flex-direction: row;
  }
}
.step-item {
  flex: 1;
  background: var(--bg-card);
  padding: 30px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  position: relative;
}
.step-num {
  font-size: 40px;
  font-weight: 900;
  color: rgba(242, 169, 0, 0.1);
  position: absolute;
  top: 10px;
  right: 20px;
}
.step-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--primary);
}
.step-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 常见问题 */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.faq-item {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.faq-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-main);
}
.faq-item p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 用户热评 */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.review-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius);
}
.review-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--primary);
}
.review-card p {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* 隐私与创作者计划 */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.info-box {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.info-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--primary);
}
.info-box ul {
  list-style: none;
}
.info-box li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}
.info-box li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 交流社区 */
.community-card {
  background: linear-gradient(135deg, rgba(242, 169, 0, 0.1), rgba(28, 31, 38, 0.8));
  border: 1px solid rgba(242, 169, 0, 0.3);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
}
.community-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.community-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* 底部下载 */
.bottom-download {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0b0e 100%);
}
.bottom-download h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.bottom-download p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.download-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer time {
  font-size: 12px;
  opacity: 0.7;
}