:root {
  --c-bg: #0f0f13;
  --c-surface: #1a1a24;
  --c-primary: #ff6b4a;
  --c-secondary: #ffb347;
  --c-text: #f2f2f7;
  --c-text-muted: #a0a0b0;
  --c-accent: #6c5ce7;
  --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: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 80px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.brand img { height: 32px; width: 32px; border-radius: 8px; object-fit: cover; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--c-text-muted);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--c-primary); background: rgba(255,107,74,0.1); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* Hero */
.hero {
  position: relative;
  padding: 60px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--c-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--c-text-muted);
  max-width: 600px;
  font-size: 15px;
  margin-bottom: 24px;
}

.hero-gallery {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-gallery img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  transition: transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-text);
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  background: #16161e;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-top: 30px;
}
.marquee {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee span {
  display: inline-block;
  margin-right: 40px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(90deg, #ff6b4a, #ffb347, #ff6b4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
section h2 {
  font-size: 26px;
  margin-bottom: 12px;
  text-align: center;
  color: #fff;
}
section .sub-title {
  text-align: center;
  color: var(--c-text-muted);
  margin-bottom: 32px;
  font-size: 14px;
}

/* Hot (Horizontal Scroll) */
.hot-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.hot-scroll::-webkit-scrollbar { height: 6px; }
.hot-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 12px; }
.card-body h3 { font-size: 14px; margin-bottom: 4px; }
.card-body p { font-size: 12px; color: var(--c-text-muted); }
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,107,74,0.15);
  color: var(--c-primary);
  margin-top: 4px;
}

/* New (Grid) */
.new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.new-card {
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.new-card img { width: 100%; height: 200px; object-fit: cover; }
.new-card .info { padding: 10px; }
.new-card h3 { font-size: 13px; }
.new-card .date { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

/* All (List) */
.all-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.list-item {
  display: flex;
  gap: 12px;
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 10px;
  align-items: center;
}
.list-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.list-item .txt h3 { font-size: 14px; }
.list-item .txt p { font-size: 12px; color: var(--c-text-muted); }

/* Comments */
.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.comment {
  background: var(--c-surface);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 12px;
}
.comment img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #333; }
.comment .c-body h4 { font-size: 13px; margin-bottom: 4px; color: var(--c-secondary); }
.comment .c-body p { font-size: 13px; color: var(--c-text-muted); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(255,255,255,0.1);
  max-width: 600px;
  margin: 0 auto;
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-primary);
  border: 2px solid var(--c-bg);
}
.timeline-item .time { font-size: 13px; color: var(--c-secondary); font-weight: 700; }
.timeline-item .desc { font-size: 13px; color: var(--c-text-muted); margin-top: 4px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--c-surface);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 16px 16px;
  font-size: 13px;
  color: var(--c-text-muted);
}

/* Footer */
footer {
  background: #0a0a0e;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 12px;
  color: var(--c-text-muted);
}
footer .footer-nav { margin-bottom: 16px; }
footer .footer-nav a { margin: 0 8px; }
footer .footer-nav a:hover { color: var(--c-primary); }
footer .copyright { margin-bottom: 8px; }
footer .icp a { color: var(--c-text-muted); }
footer .update-time { margin-top: 8px; opacity: 0.6; }

/* Floating Download */
.float-dl {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(255,107,74,0.4);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.float-dl img { height: 24px; width: 24px; border-radius: 4px; object-fit: cover; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--c-surface);
  padding: 24px;
  border-radius: var(--radius);
  max-width: 360px;
  width: 100%;
  text-align: center;
}
.modal-content p { font-size: 14px; margin-bottom: 16px; }
.modal-content input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f0f13;
  color: var(--c-text);
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
}

/* Responsive */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a1a24;
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 24px; }
  .hero-gallery img { width: 90px; height: 120px; }
  .all-list { grid-template-columns: 1fr; }
  .float-dl { bottom: 12px; padding: 8px 16px; font-size: 13px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero-gallery img { width: 150px; height: 200px; }
  section { padding: 80px 20px; }
}