:root {
  --bg-dark: #0a0a0f;
  --bg-card: #14141f;
  --bg-card-hover: #1e1e2d;
  --primary: #e50914;
  --primary-glow: rgba(229, 9, 20, 0.4);
  --secondary: #ff6b35;
  --text-main: #f0f0f5;
  --text-muted: #8a8a9e;
  --border: #2a2a3e;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-sans);
  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%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.nav-wrapper {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}
.logo-area { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.logo-area img { height: 32px; border-radius: 6px; }
.nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); transition: color 0.3s; }
.nav-btn {
  background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 20px;
  font-size: 14px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--primary-glow); }

/* Hero */
.hero {
  padding-top: 100px; padding-bottom: 60px;
  background: radial-gradient(circle at top right, rgba(229, 9, 20, 0.15), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.1), transparent 50%);
  position: relative; overflow: hidden;
}
.hero-inner { display: flex; flex-direction: column; gap: 40px; }
.hero-text h1 { font-size: 42px; line-height: 1.3; margin-bottom: 16px; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; padding: 14px 32px; border-radius: 8px; font-size: 16px; font-weight: 600;
  box-shadow: 0 6px 20px var(--primary-glow); transition: transform 0.2s;
}
.btn-primary:hover { transform: scale(1.05); }
.hero-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero-grid img {
  width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 3/4;
  transition: transform 0.3s;
}
.hero-grid img:hover { transform: translateY(-8px); }

/* Sections General */
section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.section-title { font-size: 28px; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.section-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }

/* Daily Update Timeline */
.timeline-container { position: relative; padding-left: 20px; border-left: 2px solid var(--primary); }
.timeline-item { position: relative; margin-bottom: 24px; padding-left: 20px; }
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 6px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary);
}
.timeline-time { font-weight: bold; color: var(--secondary); font-size: 15px; margin-bottom: 4px; }
.timeline-content { background: var(--bg-card); padding: 16px; border-radius: 8px; border: 1px solid var(--border); }
.timeline-content h3 { font-size: 16px; margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); }

/* Ranking Grid */
.ranking-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.rank-card {
  background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  position: relative; transition: transform 0.3s;
}
.rank-card:hover { transform: translateY(-4px); }
.rank-num {
  position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.7); color: var(--primary);
  font-weight: bold; font-size: 18px; padding: 2px 10px; border-radius: 6px; z-index: 2;
}
.rank-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.rank-info { padding: 12px; }
.rank-info h3 { font-size: 15px; margin-bottom: 4px; }
.rank-info p { font-size: 12px; color: var(--text-muted); }

/* Mod Series */
.mod-series { display: flex; flex-direction: column; gap: 24px; }
.mod-item {
  display: flex; gap: 20px; background: var(--bg-card); border-radius: 12px; padding: 20px;
  border: 1px solid var(--border); align-items: center;
}
.mod-item img { width: 120px; border-radius: 8px; aspect-ratio: 3/4; object-fit: cover; }
.mod-info h3 { font-size: 18px; margin-bottom: 8px; }
.mod-info p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: rgba(229, 9, 20, 0.15); color: var(--primary); font-size: 12px; padding: 2px 8px; border-radius: 4px; }

/* Hot Recommendation Wall */
.wall-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px;
}
.wall-card { position: relative; border-radius: 12px; overflow: hidden; }
.wall-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.3s; }
.wall-card:hover img { transform: scale(1.05); }
.wall-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.wall-overlay h3 { font-size: 14px; margin-bottom: 2px; }
.wall-overlay p { font-size: 12px; color: #ccc; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item { background: var(--bg-card); padding: 20px; border-radius: 12px; border: 1px solid var(--border); }
.faq-item h3 { font-size: 16px; margin-bottom: 8px; color: var(--secondary); }
.faq-item p { font-size: 14px; color: var(--text-muted); }

/* Wish List */
.wish-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.wish-card { background: var(--bg-card); padding: 16px; border-radius: 12px; border-left: 4px solid var(--primary); }
.wish-card h3 { font-size: 15px; margin-bottom: 4px; }
.wish-card p { font-size: 13px; color: var(--text-muted); }

/* Community & News */
.community-news { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.news-list { list-style: none; }
.news-list li {
  padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14px;
  display: flex; justify-content: space-between;
}
.news-list li span { color: var(--text-muted); font-size: 12px; }

/* Download Section */
.download-cta {
  text-align: center; background: linear-gradient(135deg, #1a1a2e, #14141f);
  padding: 60px 20px; border-radius: 16px; border: 1px solid var(--border);
}
.download-cta h2 { font-size: 32px; margin-bottom: 16px; }
.download-cta p { color: var(--text-muted); margin-bottom: 30px; }

/* Footer */
footer {
  padding: 40px 20px 100px; text-align: center; font-size: 12px; color: #555566;
}
footer a { color: #777788; }
footer a:hover { color: var(--text-muted); }
.footer-links { margin-bottom: 12px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Floating Download Btn */
.float-download {
  position: fixed; bottom: 20px; right: 20px; z-index: 999;
  background: var(--primary); color: #fff; padding: 14px 24px; border-radius: 30px;
  font-weight: bold; box-shadow: 0 4px 20px var(--primary-glow);
  display: flex; align-items: center; gap: 8px; transition: transform 0.2s;
}
.float-download:hover { transform: scale(1.05); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-text h1 { font-size: 32px; }
  .faq-grid, .community-news { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .mod-item { flex-direction: column; align-items: flex-start; }
  .mod-item img { width: 100%; max-width: 160px; }
  .section-title { font-size: 22px; }
  .download-cta h2 { font-size: 24px; }
  .float-download { bottom: 16px; right: 16px; padding: 10px 18px; font-size: 14px; }
}