:root {
  --bg-dark: #120c1c;
  --bg-purple: #1e112e;
  --bg-pink: #2a1525;
  --accent: #ff4d79;
  --accent-grad: linear-gradient(135deg, #ff4d79 0%, #ff8c42 100%);
  --text-main: #f0eaff;
  --text-muted: #b1a3c9;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
}
* { 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-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.3; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gradient { background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: #fff; font-weight: 600;
  border-radius: 30px; padding: 12px 24px; transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 77, 121, 0.4); }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 12, 28, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.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(--accent); }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }

/* Hero */
.hero {
  padding: 40px 0 20px;
  background: radial-gradient(circle at 50% 0%, var(--bg-purple) 0%, var(--bg-dark) 70%);
  position: relative; overflow: hidden;
}
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.hero h1 { font-size: 2.5rem; margin-bottom: 16px; }
.hero p { color: var(--text-muted); max-width: 600px; margin-bottom: 30px; font-size: 1.1rem; }
.hero-posters { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; perspective: 1000px; }
.hero-posters img { width: 180px; height: 240px; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.4s; }
.hero-posters img:hover { transform: translateY(-10px) scale(1.05); }
.download-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.download-group .btn { padding: 10px 20px; font-size: 0.9rem; }

/* Marquee */
.marquee {
  width: 100%; overflow: hidden; background: rgba(255,255,255,0.05); padding: 10px 0;
  border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin-top: 20px;
}
.marquee-content { display: flex; white-space: nowrap; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 1.1rem; font-weight: 700; margin-right: 30px; background: linear-gradient(90deg, #ff4d79, #ff8c42, #ffd700); -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 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.bg-pink { background-color: var(--bg-pink); }
.bg-purple { background-color: var(--bg-purple); }

/* Card Grid */
.grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.card { background: var(--card-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 280px; object-fit: cover; }
.card-info { padding: 15px; }
.card-info h3 { font-size: 1.1rem; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 0.75rem; padding: 2px 8px; background: rgba(255, 77, 121, 0.2); color: var(--accent); border-radius: 10px; }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.timeline-item { position: relative; margin-bottom: 30px; padding-left: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.timeline-time { font-weight: 700; color: var(--accent); font-size: 1.1rem; margin-bottom: 5px; }
.timeline-content { background: var(--card-bg); padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); }

/* Reviews */
.review-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.review-item { display: flex; gap: 15px; background: var(--card-bg); padding: 15px; border-radius: 12px; border: 1px solid var(--border-color); }
.review-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-content h4 { font-size: 0.95rem; margin-bottom: 5px; color: var(--accent); }
.review-content p { font-size: 0.9rem; color: var(--text-main); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border-color); overflow: hidden; }
.faq-q { padding: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { padding: 0 15px 15px; color: var(--text-muted); font-size: 0.9rem; }

/* Split Layout */
.split-layout { display: flex; gap: 30px; align-items: center; }
.split-layout.reverse { flex-direction: row-reverse; }
.split-img { flex: 1; border-radius: 12px; overflow: hidden; }
.split-img img { width: 100%; height: auto; object-fit: cover; }
.split-text { flex: 1; }
.split-text h3 { font-size: 1.5rem; margin-bottom: 15px; }
.split-text p { margin-bottom: 10px; color: var(--text-muted); }

/* Footer */
footer { background: #0a0610; padding: 40px 0 20px; font-size: 0.85rem; color: var(--text-muted); border-top: 1px solid var(--border-color); }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); }
.footer-bottom p { margin-bottom: 5px; }

/* Floating Download */
.floating-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(18, 12, 28, 0.95); backdrop-filter: blur(10px);
  border: 1px solid var(--accent); border-radius: 50px;
  padding: 8px 15px; display: flex; align-items: center; gap: 10px; z-index: 999;
  box-shadow: 0 4px 20px rgba(255, 77, 121, 0.3);
}
.floating-download img { height: 30px; border-radius: 4px; }
.floating-download .floating-text h4 { font-size: 0.9rem; margin-bottom: 2px; }
.floating-download .floating-text p { font-size: 0.75rem; color: var(--text-muted); }
.floating-download .btn { padding: 8px 15px; font-size: 0.85rem; }

/* Modal for Baidu App */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; align-items: center; justify-content: center; }
.modal-box { background: #fff; color: #333; padding: 20px; border-radius: 12px; width: 80%; max-width: 320px; text-align: center; }
.modal-box p { margin-bottom: 15px; font-size: 0.9rem; }
.modal-box input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 15px; text-align: center; }
.modal-box button { width: 100%; padding: 10px; background: var(--accent); color: #fff; border: none; border-radius: 6px; font-size: 1rem; }

/* Media Queries */
@media (max-width: 1023px) {
  .hero h1 { font-size: 2rem; }
  .hero-posters img { width: 140px; height: 190px; }
  .split-layout, .split-layout.reverse { flex-direction: column; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; width: 100%; background: var(--bg-dark); padding: 20px; border-bottom: 1px solid var(--border-color); }
  .hero h1 { font-size: 1.6rem; }
  .hero-posters { gap: 10px; }
  .hero-posters img { width: 100px; height: 140px; }
  .download-group .btn { padding: 8px 15px; font-size: 0.8rem; }
  .grid-container { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card img { height: 220px; }
  .section-title { font-size: 1.5rem; }
  .floating-download { width: 90%; justify-content: space-between; }
}