:root {
  --bg-main: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --accent: #ff4757;
  --gradient-1: linear-gradient(135deg, #ff4757, #ffa502);
  --gradient-2: linear-gradient(135deg, #1e90ff, #3742fa);
  --gradient-3: linear-gradient(135deg, #2ed573, #26de81);
  --gradient-4: linear-gradient(135deg, #9b59b6, #8e44ad);
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 15px rgba(0,0,0,0.05);
}
* { 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-main);
  color: var(--text-dark);
  line-height: 1.6;
  padding-bottom: 80px; /* space for floating button */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  gap: 15px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 20px;
  background: var(--gradient-1);
  color: white;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero-content {
  text-align: center;
  z-index: 2;
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}
.download-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.download-btns a {
  background: white;
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.download-btns a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.hero-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  z-index: 2;
}
.hero-images img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  object-fit: cover;
  aspect-ratio: 3/4;
}
/* Marquee */
.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.2);
  color: white;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: bold;
}
.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
  background: linear-gradient(90deg, #f1c40f, #e74c3c, #8e44ad, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
}
@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* Sections Common */
section {
  padding: 60px 20px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.section-title p {
  color: var(--text-light);
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Section 1: 有五个姐的我短剧合集 */
.sec-collection { background: #fff3cd; }
.card-collection {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.card-collection:hover { transform: translateY(-5px); }
.card-collection img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-collection .info { padding: 15px; }
.card-collection h3 { font-size: 1.1rem; margin-bottom: 5px; }
.card-collection p { font-size: 0.85rem; color: var(--text-light); }
.tags { margin: 10px 0; }
.tags span {
  display: inline-block;
  background: #e9ecef;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  margin-right: 5px;
}

/* Section 2: 魔改版短剧专区 */
.sec-modified { background: #e0f7fa; }
.modified-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modified-item {
  display: flex;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  align-items: center;
}
.modified-item img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}
.modified-item .text { padding: 20px; }
.modified-item h3 { margin-bottom: 8px; color: var(--gradient-4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.modified-item p { font-size: 0.9rem; color: var(--text-light); }

/* Section 3: 全集短剧 (Timeline) */
.sec-full { background: #fce4ec; }
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: #ff4757;
  top: 0; bottom: 0; left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  right: -10px; top: 15px;
  background-color: white;
  border: 4px solid #ff4757;
  border-radius: 50%;
  z-index: 1;
}
.timeline-item.right::after { left: -10px; }
.content {
  padding: 15px 20px;
  background-color: white;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.timeline-item.left .content { text-align: right; }
.time-tag {
  display: inline-block;
  background: var(--gradient-2);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

/* Section 4: 短剧神评 */
.sec-reviews { background: #f3e5f5; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 15px;
}
.review-card img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.review-content h4 { margin-bottom: 5px; font-size: 1rem; }
.review-content p { font-size: 0.9rem; color: var(--text-light); }

/* Section 5: 未成年人保护 */
.sec-minor { background: #e8f5e9; }
.protect-box {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}
.protect-box h3 { margin-bottom: 15px; color: var(--text-dark); }
.protect-box p { margin-bottom: 10px; color: var(--text-light); }

/* Section 6: 意见反馈 */
.sec-feedback { background: #fff8e1; }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  margin-bottom: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
}
.faq-a {
  padding: 0 20px 15px;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Section 7: 下载专区 */
.sec-download { background: #e3f2fd; }
.download-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.step-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.step-card h3 {
  color: var(--gradient-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.step-card p { font-size: 0.9rem; color: var(--text-light); }
.center-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.center-btns a {
  background: var(--gradient-2);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Floating Download Window */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 30px;
  padding: 10px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
  border: 1px solid #eee;
}
.floating-download img { width: 30px; height: 30px; border-radius: 50%; }
.floating-download a {
  background: var(--gradient-1);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #bdc3c7;
  padding: 40px 20px 20px;
  font-size: 0.85rem;
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-nav a { color: #ecf0f1; }
.footer-nav a:hover { color: white; }
.copyright { margin-bottom: 10px; }
.record { margin-bottom: 10px; }
.record a { color: #bdc3c7; }
.update-time { font-size: 0.8rem; color: #7f8c8d; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-images { grid-template-columns: repeat(2, 1fr); }
  .hero-images img:nth-child(n+3) { display: none; } /* Show only 4 images, but keep layout clean */
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero { padding: 30px 15px; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.95rem; }
  .hero-images {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
  .hero-images img {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  .hero-images img:nth-child(n+3) { display: block; }
  
  .timeline::after { left: 20px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 10px; }
  .timeline-item.left, .timeline-item.right { left: 0; }
  .timeline-item.left .content { text-align: left; }
  .timeline-item.left::after, .timeline-item.right::after { left: 10px; right: auto; }
  
  .modified-item { flex-direction: column; }
  .modified-item img { width: 100%; height: 200px; }
  
  .floating-download { width: 90%; justify-content: space-between; }
}