:root {
  --litchi-red: #e63946;
  --litchi-light: #f8f9fa;
  --litchi-dark: #1d1d1d;
  --litchi-accent: #f4a261;
  --text-main: #2b2b2b;
  --text-mut: #555;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--litchi-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* 头部导航 */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 34px;
  border-radius: 8px;
}
.brand span {
  font-size: 20px;
  font-weight: 800;
  color: var(--litchi-red);
}

.nav-menu {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 500;
}
.nav-menu a {
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: var(--text-mut);
}
.nav-menu a:hover, .nav-menu a.active {
  color: #fff;
  background: var(--litchi-red);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--litchi-red);
  border-radius: 2px;
}

/* 首屏区域 */
.hero-section {
  position: relative;
  padding: 60px 5% 80px;
  background: linear-gradient(135deg, #fff0f3 0%, #ffe5ec 100%);
  border-radius: 0 0 50px 50px;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--litchi-dark);
  line-height: 1.2;
}
.hero-title span {
  color: var(--litchi-red);
  background: linear-gradient(120deg, #e63946, #f4a261);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-mut);
  max-width: 800px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--litchi-red);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}
.hero-gallery img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  object-fit: cover;
  width: 100%;
  height: 200px;
}
.hero-gallery img:hover {
  transform: translateY(-8px) scale(1.05);
  z-index: 10;
  position: relative;
}

/* 跑马灯 */
.ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.8);
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px dashed rgba(230, 57, 70, 0.3);
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}
.ticker span {
  font-size: 16px;
  font-weight: 700;
  padding: 0 30px;
  background: linear-gradient(90deg, #e63946, #f4a261, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 通用区块 */
section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 4px;
  background: var(--litchi-red);
  border-radius: 2px;
}

/* 今日上新 */
.new-arrivals-section {
  background-color: #fdf4f5;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.new-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.new-card:hover { transform: translateY(-5px); }
.new-card img { width: 100%; height: 240px; object-fit: cover; }
.new-info { padding: 12px; }
.new-info h3 { font-size: 16px; margin-bottom: 5px; color: var(--litchi-dark); }
.new-info p { font-size: 13px; color: var(--text-mut); }

/* 排播表 - 时间轴 */
.schedule-section {
  background: #f4f9f9;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--litchi-accent);
  margin-top: 20px;
}
.timeline-item {
  position: relative;
  margin-bottom: 25px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--litchi-red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--litchi-red);
}
.timeline-time {
  font-weight: 800;
  color: var(--litchi-red);
  font-size: 18px;
  margin-bottom: 5px;
}
.timeline-content {
  background: #fff;
  padding: 15px;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}
.timeline-content h3 { font-size: 16px; margin-bottom: 5px; }
.timeline-content p { font-size: 14px; color: var(--text-mut); }

/* 飙升热榜 */
.trending-section {
  background-color: #fff8e6;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.trending-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 15px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s;
}
.trending-item:hover { transform: translateX(5px); }
.trending-item .rank {
  font-size: 24px;
  font-weight: 900;
  color: rgba(230, 57, 70, 0.3);
  width: 40px;
}
.trending-item .title {
  font-size: 18px;
  font-weight: 700;
  color: var(--litchi-dark);
}
.trending-item .tag {
  font-size: 12px;
  padding: 3px 8px;
  background: #ffe5ec;
  color: var(--litchi-red);
  border-radius: 20px;
}

/* 全集短剧 */
.full-list-section {
  background: #eef4ff;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}
.full-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.full-card img { width: 100%; height: 300px; object-fit: cover; }
.full-card-content { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.full-card-content h3 { font-size: 17px; margin-bottom: 8px; }
.full-card-content .tags { margin-bottom: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.full-card-content .tags span {
  font-size: 12px; background: #f0f0f0; padding: 2px 8px; border-radius: 10px; color: #555;
}
.full-card-content .desc {
  font-size: 13px; color: var(--text-mut); margin-bottom: 10px; flex: 1;
}
.full-card-content .date { font-size: 12px; color: #999; text-align: right; }

/* 魔改投稿通道 */
.submit-section {
  background: #fff0e6;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.submit-text { flex: 1 1 50%; }
.submit-img { flex: 1 1 40%; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.submit-img img { width: 100%; height: 100%; object-fit: cover; }
.submit-text h3 { font-size: 24px; margin-bottom: 15px; color: var(--litchi-dark); }
.submit-text p { margin-bottom: 15px; color: var(--text-mut); }
.submit-text ul { margin-bottom: 20px; }
.submit-text li { margin-bottom: 8px; font-size: 15px; position: relative; padding-left: 20px; }
.submit-text li::before {
  content: '✦'; position: absolute; left: 0; color: var(--litchi-red);
}

/* 用户神评墙 */
.reviews-section {
  background: #f2f6f2;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-header img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.review-header strong { font-size: 15px; }
.review-header span { font-size: 12px; color: #999; margin-left: auto; }
.review-content { font-size: 14px; color: var(--text-mut); line-height: 1.5; }

/* 未成年人保护 & 意见反馈 */
.protect-feedback-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.protect-box, .feedback-box {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.protect-box { background: #fdf9f1; }
.feedback-box { background: #f4f8fd; }
.protect-box h3, .feedback-box h3 { font-size: 20px; margin-bottom: 15px; }
.qa-list { display: flex; flex-direction: column; gap: 15px; }
.qa-item { border-bottom: 1px solid #eee; padding-bottom: 10px; }
.qa-q { font-weight: 700; font-size: 15px; margin-bottom: 5px; color: var(--litchi-dark); }
.qa-a { font-size: 14px; color: var(--text-mut); }

/* 下载专区 & 安装步骤 */
.download-steps-section {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  margin-top: 60px;
  color: #fff;
  text-align: center;
}
.download-steps-section h2 { color: #fff; margin-bottom: 20px; font-size: 30px; }
.download-steps-section h2::after { background: #fff; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}
.step-card {
  background: rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
}
.step-card h4 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; opacity: 0.9; }
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.btn-white {
  background: #fff;
  color: var(--litchi-red);
  padding: 14px 30px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.btn-white:hover { transform: translateY(-3px); }

/* 页脚 */
.main-footer {
  background: #1d1d1d;
  color: #888;
  padding: 40px 5% 60px;
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-links a { color: #aaa; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-info { line-height: 2; }

/* 浮动下载窗口 */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  border: 1px solid #eee;
  cursor: pointer;
}
.floating-download img {
  height: 24px; border-radius: 5px;
}
.floating-download span {
  font-size: 14px; font-weight: 700; color: var(--litchi-red);
}

/* 手机端自适应 */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    gap: 15px;
  }
  .nav-menu.show { display: flex; }
  .menu-toggle { display: flex; }
  
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .hero-gallery img { height: 160px; }
  
  section { padding: 40px 5%; }
  .new-arrivals-section, .schedule-section, .trending-section, 
  .full-list-section, .submit-section, .reviews-section,
  .protect-feedback-section, .download-steps-section { padding: 25px 15px; }
  
  .submit-section { flex-direction: column; gap: 20px; }
  .submit-img { order: -1; width: 100%; height: 200px; }
  
  .floating-download { padding: 8px 15px; }
  .floating-download span { font-size: 12px; }
  
  .timeline { padding-left: 20px; }
  .timeline-item::before { left: -27px; width: 10px; height: 10px; }
  
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
  .btn-download { width: 100%; justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title { font-size: 36px; }
  .full-grid { grid-template-columns: repeat(3, 1fr); }
}