:root {
  --bg-dark: #0f111a;
  --bg-deep: #181a25;
  --primary: #ff3366;
  --primary-grad: linear-gradient(90deg, #ff6a00, #ff3366, #a800ff);
  --text-main: #f0f0f0;
  --text-muted: #a0a0b0;
  --card-bg: #222533;
  --border-color: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00e5ff;
}
* { 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;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}
.brand-name { font-size: 1.2rem; font-weight: bold; }
.nav-desktop {
  display: flex;
  gap: 20px;
}
.nav-desktop a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-desktop a:hover { color: var(--primary); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-grad);
  transition: width 0.3s;
}
.nav-desktop a:hover::after { width: 100%; }
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-color);
  flex-direction: column;
  padding: 10px 0;
}
.nav-mobile.active { display: flex; }
.nav-mobile a {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}
.nav-mobile a:hover { color: var(--primary); background: rgba(255,255,255,0.02); }

/* Hero */
.hero {
  padding: 40px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #2a1b30 0%, var(--bg-dark) 80%);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}
.hero-screens {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.hero-screens img {
  width: 120px;
  height: 170px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-screens img:hover { transform: translateY(-10px); }

/* Download Buttons */
.dl-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: bold;
  color: var(--text-main);
  transition: all 0.3s;
}
.dl-btn:hover {
  background: var(--primary-grad);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
}

/* Marquee */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-color);
  padding: 12px 0;
  white-space: nowrap;
}
.marquee {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.marquee span {
  font-size: 1rem;
  font-weight: bold;
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 20px;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections Common */
section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}
.section-title h2 { font-size: inherit; }
.section-desc {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
.bg-light { background: var(--bg-deep); }
.bg-dark { background: var(--bg-dark); }
.bg-accent { background: linear-gradient(135deg, #1c1530 0%, #121019 100%); }

/* Classic Grid */
.classic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.classic-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}
.classic-card:hover { transform: scale(1.03); }
.classic-card img {
  width: 100%;
  height: 280px;
}
.classic-info { padding: 12px; }
.classic-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.meta { font-size: 0.8rem; color: var(--text-muted); }

/* Night Section */
.night-layout { display: flex; flex-direction: column; gap: 30px; }
@media (min-width: 768px) {
  .night-layout { flex-direction: row; align-items: flex-start; }
  .night-img { width: 40%; flex-shrink: 0; }
  .night-img img { width: 100%; height: 500px; border-radius: 20px; }
  .night-content { width: 60%; padding-left: 30px; }
}
.night-list { display: flex; flex-direction: column; gap: 15px; }
.night-item { display: flex; gap: 15px; background: var(--card-bg); padding: 15px; border-radius: 12px; }
.night-item img { width: 60px; height: 80px; border-radius: 8px; }
.night-item h3 { font-size: 1rem; margin-bottom: 5px; }
.night-item p { font-size: 0.85rem; color: var(--text-muted); }

/* Timeline */
.timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--primary); }
.timeline-item { margin-bottom: 25px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--primary);
}
.timeline-time { font-weight: bold; color: var(--primary); font-size: 0.9rem; margin-bottom: 5px; }
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 5px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-muted); }

/* Original & AI */
.qa-box { display: flex; flex-direction: column; gap: 15px; }
.qa-item { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 20px; border: 1px solid var(--border-color); }
.qa-q { font-weight: bold; color: var(--accent-cyan); margin-bottom: 10px; font-size: 1.05rem; }
.qa-a { color: var(--text-muted); font-size: 0.95rem; }

/* Full Series & Review */
.poster-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 15px;
}
.poster-wall img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  transition: filter 0.3s;
}
.poster-wall img:hover { filter: brightness(1.2); }

.review-list { display: flex; flex-direction: column; gap: 20px; }
.review-item {
  display: flex; gap: 15px; background: var(--card-bg); padding: 20px; border-radius: 12px;
}
.review-item img { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.review-name { font-weight: bold; margin-bottom: 5px; }
.review-text { font-size: 0.95rem; color: var(--text-muted); }

/* Mini-safe & Feedback */
.text-content {
  max-width: 800px; margin: 0 auto;
  color: var(--text-muted); font-size: 1rem;
}
.text-content h3 { color: var(--text-main); margin: 20px 0 10px; font-size: 1.2rem; }
.text-content p { margin-bottom: 15px; }

/* Download Section */
.dl-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0d0d14 100%);
}
.steps { display: flex; flex-direction: column; gap: 15px; max-width: 600px; margin: 0 auto 30px; text-align: left; }
.step-item { display: flex; gap: 15px; align-items: center; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 10px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary);
  color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0;
}

/* Floating Download */
.floating-dl {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--primary-grad);
  padding: 10px 25px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 20px rgba(255, 51, 102, 0.5);
  color: white;
  font-weight: bold;
  transition: transform 0.3s;
}
.floating-dl:hover { transform: translateX(-50%) scale(1.05); }
.floating-dl img { height: 24px; border-radius: 4px; }

/* Footer */
.site-footer {
  padding: 30px 20px;
  text-align: center;
  background: #050508;
  color: #666;
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
}
.site-footer a { color: #888; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-nav { margin-bottom: 15px; display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; }
.footer-nav a { color: var(--text-muted); }
.footer-info p { margin-bottom: 8px; }

/* Modal for Baidu */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  background: var(--card-bg); padding: 30px; border-radius: 16px; text-align: center; max-width: 400px; width: 100%;
}
.modal-content p { margin-bottom: 20px; font-size: 0.95rem; }
.modal-content input {
  width: 100%; padding: 10px; margin-bottom: 15px; border-radius: 8px;
  border: 1px solid var(--border-color); background: var(--bg-dark); color: white; text-align: center;
}
.modal-btn {
  background: var(--primary); color: white; border: none; padding: 10px 20px;
  border-radius: 8px; cursor: pointer; font-weight: bold; width: 100%;
}

/* Responsive */
@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .nav-mobile-toggle { display: block; }
  .hero h1 { font-size: 1.6rem; }
  .hero-screens img { width: 100px; height: 140px; }
  .classic-card img { height: 220px; }
  .poster-wall { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .poster-wall img { height: 150px; }
  .floating-dl { width: 90%; justify-content: center; bottom: 15px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  .hero-screens { gap: 8px; }
  .hero-screens img { width: 80px; height: 110px; }
  .dl-btn { width: 100%; }
  section { padding: 40px 15px; }
}