:root {
  --bg-main: #0d0c10;
  --bg-card: #19171f;
  --bg-card-hover: #221f29;
  --text-main: #f2f0f5;
  --text-sub: #a19ca8;
  --accent: #c93b5c;
  --accent-hover: #e54b6d;
  --border: #2c2833;
  --radius: 12px;
  --container: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 12, 16, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.logo-wrap img { height: 32px; border-radius: 6px; }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { color: var(--text-main); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-download-btn {
  background: var(--accent); color: #fff; padding: 8px 20px; border-radius: 20px;
  font-size: 14px; font-weight: 600; transition: background 0.2s;
}
.nav-download-btn:hover { background: var(--accent-hover); color: #fff; }
.menu-toggle { display: none; background: none; border: none; color: var(--text-main); font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  padding: 120px 0 60px; text-align: center;
  background: radial-gradient(circle at top, rgba(201, 59, 92, 0.15), transparent 60%);
}
.hero h1 { font-size: 48px; margin-bottom: 20px; letter-spacing: 1px; }
.hero p { font-size: 18px; color: var(--text-sub); max-width: 600px; margin: 0 auto 30px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff; padding: 12px 32px; border-radius: 24px;
  font-size: 16px; font-weight: 600; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn-secondary {
  background: transparent; color: var(--text-main); padding: 12px 32px; border-radius: 24px;
  font-size: 16px; font-weight: 600; border: 1px solid var(--border); transition: all 0.2s; cursor: pointer;
}
.btn-secondary:hover { background: var(--bg-card); border-color: var(--text-sub); }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; margin-bottom: 12px; }
.section-header p { color: var(--text-sub); font-size: 16px; }

/* Today Update */
.update-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px;
}
.update-card {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, background 0.3s; cursor: pointer; border: 1px solid var(--border);
}
.update-card:hover { transform: translateY(-5px); background: var(--bg-card-hover); border-color: var(--accent); }
.update-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card-info { padding: 16px; }
.card-info h3 { font-size: 18px; margin-bottom: 8px; }
.card-info p { font-size: 13px; color: var(--text-sub); }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.feature-item {
  background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
}
.feature-item h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent); }
.feature-item p { font-size: 15px; color: var(--text-sub); }

/* Gallery */
.gallery-scroll {
  display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory;
}
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gallery-item {
  flex: 0 0 240px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* Faq / Q&A */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 20px; background: none; border: none; color: var(--text-main);
  font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-question::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform 0.3s; }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-sub); font-size: 15px; }
.faq-item.active .faq-answer { padding-bottom: 20px; }

/* Interaction / Vote */
.vote-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; text-align: center; max-width: 600px; margin: 0 auto;
}
.vote-box p { margin-bottom: 20px; font-size: 16px; }
.vote-options { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.vote-btn {
  padding: 10px 24px; border-radius: 20px; border: 1px solid var(--border); background: transparent;
  color: var(--text-main); cursor: pointer; font-size: 15px; transition: all 0.2s;
}
.vote-btn:hover { background: var(--accent); border-color: var(--accent); }
.vote-result { margin-top: 20px; font-weight: 600; color: var(--accent); opacity: 0; transition: opacity 0.3s; }
.vote-result.show { opacity: 1; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 40px 0; text-align: center; color: var(--text-sub); font-size: 13px;
}
.site-footer p { margin-bottom: 8px; }
.site-footer a { color: var(--text-sub); }
.site-footer a:hover { color: var(--text-main); }
.update-time { font-size: 12px; opacity: 0.7; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links, .nav-download-btn { display: none; }
  .menu-toggle { display: block; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  section { padding: 60px 0; }
  .section-header h2 { font-size: 26px; }
  .update-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery-item { flex: 0 0 180px; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-main); padding: 20px; border-bottom: 1px solid var(--border); gap: 16px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .update-grid { grid-template-columns: repeat(3, 1fr); }
}