:root {
  --bg-main: #121212;
  --bg-alt: #1e1e1e;
  --primary: #e63946;
  --secondary: #f4a261;
  --text-light: #f1f1f1;
  --text-muted: #a0a0a0;
  --card-bg: #2a2a2a;
  --accent: #e76f51;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(18,18,18,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #333;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-wrap img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.logo-wrap span {
  font-weight: bold;
  font-size: 1.2rem;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}
.nav-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-alt) 100%);
  position: relative;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
}
.hero p {
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}
.hero-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-images img {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-images img:hover {
  transform: translateY(-10px);
}
.download-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  transition: opacity 0.3s, transform 0.2s;
}
.btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
.btn-android {
  background-color: var(--primary);
  color: #fff;
}
.btn-ios {
  background-color: #fff;
  color: #000;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: var(--card-bg);
  padding: 10px 0;
  margin-top: 40px;
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-weight: bold;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
section {
  padding: 60px 0;
}
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  background: var(--primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Block 1: 真人短剧 - Grid with hover */
.block-real {
  background-color: #1a1a24;
}
.drama-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}
.drama-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.drama-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}
.drama-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.drama-info {
  padding: 15px;
}
.drama-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.drama-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}
.tag {
  font-size: 0.75rem;
  background: #333;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--secondary);
}
.drama-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.drama-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Block 2: 完结魔改剧 - Timeline */
.block-modified {
  background-color: #24201e;
}
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--secondary);
}
.timeline-item {
  margin-bottom: 30px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 2px solid var(--bg-alt);
}
.timeline-time {
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 5px;
}
.timeline-content {
  background: var(--card-bg);
  padding: 15px 20px;
  border-radius: 8px;
}
.timeline-content h4 {
  margin-bottom: 8px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Block 3: 本周热播榜 - List */
.block-hot {
  background-color: #1b2421;
}
.hot-list {
  max-width: 900px;
  margin: 0 auto;
  counter-reset: rank;
}
.hot-item {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  padding: 15px;
  transition: background 0.3s;
}
.hot-item:hover {
  background: #333;
}
.hot-item::before {
  counter-increment: rank;
  content: counter(rank);
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  width: 50px;
  text-align: center;
}
.hot-thumb {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}
.hot-text h4 {
  margin-bottom: 5px;
}
.hot-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Block 4: 热门点评 - Q&A */
.block-reviews {
  background-color: #1a1e24;
}
.qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.qa-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}
.qa-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.qa-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.qa-user span {
  font-weight: bold;
}
.qa-q {
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 10px;
}
.qa-a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Block 5: 会员权益 - Split Image/Text */
.block-vip {
  background-color: #241a1a;
}
.split-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}
.split-img {
  flex: 1;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
}
.split-img img {
  width: 100%;
  display: block;
}
.split-text {
  flex: 1;
}
.split-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--secondary);
}
.split-text ul {
  list-style: disc;
  padding-left: 20px;
}
.split-text li {
  margin-bottom: 12px;
  color: var(--text-muted);
}

/* Block 6: 隐私安全 */
.block-privacy {
  background-color: #1e241f;
}
.privacy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.privacy-box {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
}
.privacy-box h3 {
  margin-bottom: 15px;
  color: var(--primary);
}
.privacy-box p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Block 7: 意见反馈 */
.block-feedback {
  background-color: #202024;
}
.feedback-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.feedback-img {
  flex: 0 0 300px;
  border-radius: 12px;
  overflow: hidden;
}
.feedback-text {
  flex: 1;
}
.feedback-text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.feedback-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Block 8: 常见问题 */
.block-faq {
  background-color: #1f1b24;
}
.faq-item {
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 20px;
}
.faq-item h4 {
  margin-bottom: 10px;
  color: var(--secondary);
}
.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Block 9: 未成年保护 */
.block-minor {
  background-color: #24211a;
}
.minor-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.minor-notice {
  border: 1px solid var(--accent);
  padding: 20px;
  border-radius: 8px;
  background: rgba(231, 111, 81, 0.1);
}

/* Download Section */
.download-section {
  background: var(--bg-alt);
  text-align: center;
  border-top: 1px solid #333;
}
.download-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}
.step-box {
  flex: 1;
  max-width: 300px;
}
.step-box h4 {
  margin-bottom: 10px;
  color: var(--secondary);
}
.step-box ol {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.step-box li {
  margin-bottom: 8px;
}

/* Floating Bar */
.floating-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  padding: 10px 20px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  z-index: 99;
  border: 1px solid #444;
}
.floating-bar img {
  height: 30px;
  border-radius: 6px;
}
.floating-info {
  font-size: 0.85rem;
}
.floating-btns {
  display: flex;
  gap: 10px;
}
.floating-btns .btn {
  padding: 8px 15px;
  font-size: 0.85rem;
}

/* Footer */
footer {
  background: #111;
  padding: 40px 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid #222;
}
.footer-links {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-links a:hover {
  color: var(--text-light);
}
.footer-copy {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .split-layout { flex-direction: column; text-align: center; }
  .split-img { max-width: 100%; }
  .feedback-layout { flex-direction: column; }
  .feedback-img { flex: none; width: 100%; }
  .download-steps { flex-direction: column; align-items: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: var(--bg-main); padding: 20px; border-bottom: 1px solid #333; }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .download-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }
  .floating-bar { flex-direction: column; gap: 10px; padding: 15px; border-radius: 20px; width: 90%; }
  .floating-btns { width: 100%; justify-content: center; }
  .privacy-content { grid-template-columns: 1fr; }
  .timeline { padding-left: 20px; }
  .timeline-item::before { left: -26px; }
}