:root {
  --bg-main: #0f111a;
  --bg-alt: #171a26;
  --bg-light: #f5f6fa;
  --text-main: #e2e4ec;
  --text-muted: #8b90a0;
  --text-dark: #1f2330;
  --accent: #ff5e00;
  --accent-glow: rgba(255, 94, 0, 0.3);
  --purple: #7b2cff;
  --cyan: #00d2ff;
  --card-bg: #1e2233;
  --border: #2a2e40;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background-color: var(--bg-main);
  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 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}
.brand img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a:hover::after {
  width: 100%;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-alt);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}
.mobile-nav a:last-child { border-bottom: none; }

/* Hero Section */
.hero {
  position: relative;
  padding: 40px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff, #a0a5b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-main);
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border-color: var(--accent);
}
.btn-download.primary {
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-download.primary:hover {
  box-shadow: 0 8px 25px var(--accent-glow);
}
.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  position: relative;
}
.hero-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}
.hero-img-card:hover {
  transform: scale(1.03);
}
.hero-img-card:nth-child(1) { transform: translateY(-10px); }
.hero-img-card:nth-child(2) { transform: translateY(10px); }
.hero-img-card:nth-child(3) { transform: translateY(-10px); }
.hero-img-card:nth-child(4) { transform: translateY(10px); }

/* Marquee */
.marquee-wrap {
  margin-top: 30px;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-alt);
  border-radius: 30px;
  padding: 10px 0;
  border: 1px solid var(--border);
}
.marquee {
  display: inline-block;
  animation: scroll 20s linear infinite;
}
.marquee span {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 20px;
  background: linear-gradient(90deg, #ff5e00, #ff00cc, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Common */
section {
  padding: 60px 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}
.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Collections (魔改合集) */
.bg-collections { background: var(--bg-main); }
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.collection-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.collection-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.collection-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.card-info {
  padding: 16px;
}
.card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}
.card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 94, 0, 0.15);
  color: var(--accent);
}
.tag.tag-purple { background: rgba(123, 44, 255, 0.15); color: var(--purple); }
.tag.tag-cyan { background: rgba(0, 210, 255, 0.15); color: var(--cyan); }
.card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.card-date {
  font-size: 0.75rem;
  color: #555;
  margin-top: 10px;
}

/* Zone (魔改版专区) */
.bg-zone { background: var(--bg-alt); }
.zone-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.zone-visual {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.zone-visual img {
  border-radius: var(--radius);
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.zone-content-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.zone-item {
  background: var(--bg-main);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--purple);
  transition: background 0.2s;
}
.zone-item:hover {
  background: #1e2233;
}
.zone-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #fff;
}
.zone-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Episodes (魔改剧集) */
.bg-episodes { background: var(--bg-main); }
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--purple));
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-main);
}
.timeline-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-content {
  background: var(--card-bg);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}
.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reviews (用户神评) */
.bg-reviews { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.review-card {
  background: var(--bg-main);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #333;
}
.review-user span {
  font-weight: 600;
  color: #fff;
}
.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Protection (未成年人保护) */
.bg-protection { background: #1a1410; }
.protection-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-main);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid #332211;
}
.protection-content h2 {
  color: #ffaa00;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.protection-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.protection-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.protection-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ffaa00;
  font-weight: bold;
}

/* Feedback (意见反馈) */
.bg-feedback { background: var(--bg-main); }
.feedback-layout {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.feedback-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}
.feedback-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.feedback-qa {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.qa-item {
  background: var(--card-bg);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.qa-item h3 {
  font-size: 1rem;
  color: var(--cyan);
  margin-bottom: 6px;
}
.qa-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ (常见问题) */
.bg-faq { background: var(--bg-alt); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-main);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Download Footer (下载专区) */
.bg-download {
  background: linear-gradient(180deg, var(--bg-main), #0a0b10);
  padding-bottom: 80px;
}
.download-steps {
  max-width: 800px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.step-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  margin-bottom: 12px;
}
.step-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}
.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Floating Download */
.floating-download {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: var(--accent);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(255, 94, 0, 0.5);
  animation: pulse 2s infinite;
}
.floating-download img {
  height: 24px;
  width: 24px;
  border-radius: 4px;
}
@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* Footer */
.site-footer {
  padding: 40px 20px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: #555;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-copy {
  margin-bottom: 10px;
}
.footer-record a {
  color: #555;
  transition: color 0.2s;
}
.footer-record a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-text h1 { font-size: 2.2rem; text-align: center; }
  .hero-text p { text-align: center; margin: 0 auto 20px; }
  .hero-buttons { justify-content: center; }
  .zone-layout { grid-template-columns: 1fr; }
  .zone-visual { position: static; }
  .zone-visual img { height: 250px; }
  .feedback-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding-top: 20px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 0.95rem; }
  .btn-download { padding: 10px 18px; font-size: 0.85rem; flex: 1 1 40%; justify-content: center; }
  .hero-images { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-img-card:nth-child(n) { transform: none; }
  .collections-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .download-steps { grid-template-columns: 1fr; }
  .floating-download { bottom: 15px; padding: 10px 20px; font-size: 0.9rem; }
  .footer-nav { gap: 15px; }
}