:root {
  --bg-dark: #0f0d19;
  --bg-card: #1c1829;
  --bg-card-hover: #28223b;
  --primary: #ff3b5c;
  --primary-hover: #e62e4d;
  --secondary: #7b5cff;
  --text-main: #ffffff;
  --text-muted: #a49eb8;
  --text-light: #d1ccdf;
  --border: #332b4a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
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%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600;
  font-size: 15px; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Header */
header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(15, 13, 25, 0.9); backdrop-filter: blur(10px);
  z-index: 1000; border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: bold; }
.brand img { height: 32px; border-radius: 6px; }
.nav-links { display: none; gap: 24px; font-size: 14px; color: var(--text-light); }
.nav-links a:hover { color: var(--primary); }
.nav-download { display: none; }

/* Hero */
.hero {
  padding: 100px 0 60px;
  background: radial-gradient(circle at 50% -20%, rgba(123, 92, 255, 0.15) 0%, transparent 60%);
  text-align: center;
}
.hero-tags { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-tag { font-size: 12px; padding: 4px 12px; border-radius: 100px; background: rgba(255, 59, 92, 0.15); color: var(--primary); border: 1px solid rgba(255, 59, 92, 0.3); }
.hero h1 { font-size: 32px; line-height: 1.3; margin-bottom: 20px; font-weight: 800; }
.hero h1 span { color: var(--primary); }
.hero-desc { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }
.download-group { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.download-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.download-btns .btn { min-width: 160px; }
.hero-notice { font-size: 13px; color: var(--text-muted); margin-top: 12px; }

/* Sections Base */
section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.sec-header { margin-bottom: 40px; text-align: center; }
.sec-header h2 { font-size: 26px; margin-bottom: 12px; }
.sec-header p { color: var(--text-muted); font-size: 15px; }

/* Daily Original */
.daily-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.daily-left { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.daily-left::-webkit-scrollbar { height: 4px; }
.daily-left::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.poster-card { min-width: 160px; max-width: 160px; scroll-snap-align: start; }
.poster-img { position: relative; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; background: #222; }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.poster-card:hover .poster-img img { transform: scale(1.05); }
.poster-score { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6); color: #ffd700; font-size: 12px; font-weight: bold; padding: 2px 6px; border-radius: 4px; }
.poster-update { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.8)); font-size: 12px; padding: 20px 8px 8px; text-align: right; color: #fff; }
.poster-title { font-size: 14px; font-weight: bold; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; margin-top: 2px; }
.daily-right { display: flex; flex-direction: column; gap: 12px; }
.daily-list { display: flex; flex-direction: column; gap: 12px; }
.daily-item { display: flex; gap: 12px; padding: 12px; background: var(--bg-card); border-radius: 10px; border: 1px solid transparent; transition: all 0.2s; }
.daily-item:hover { border-color: var(--border); background: var(--bg-card-hover); }
.daily-item-num { font-size: 18px; font-weight: 900; color: var(--primary); font-style: italic; width: 24px; flex-shrink: 0; text-align: center; }
.daily-item-info h4 { font-size: 14px; margin-bottom: 4px; }
.daily-item-info p { font-size: 12px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.daily-item-tag { display: inline-block; font-size: 10px; padding: 1px 6px; background: rgba(255, 59, 92, 0.1); color: var(--primary); border-radius: 4px; margin-top: 4px; }

/* Premium */
.premium-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.premium-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s; }
.premium-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.premium-img { height: 220px; overflow: hidden; }
.premium-img img { width: 100%; height: 100%; object-fit: cover; }
.premium-body { padding: 16px; }
.premium-body h3 { font-size: 16px; margin-bottom: 6px; }
.premium-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.premium-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); border-top: 1px solid var(--border); padding-top: 10px; }
.premium-tag { background: var(--secondary); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 11px; }

/* Timeline */
.timeline-sec { background: rgba(28, 24, 41, 0.3); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 50px; margin-bottom: 24px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-time { position: absolute; left: 0; top: 0; width: 40px; font-size: 12px; font-weight: bold; color: var(--primary); text-align: right; }
.timeline-dot { position: absolute; left: 16px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg-dark); box-shadow: 0 0 0 2px var(--primary); }
.timeline-content { background: var(--bg-card); padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border); }
.timeline-content h4 { font-size: 14px; margin-bottom: 4px; }
.timeline-content p { font-size: 13px; color: var(--text-muted); }

/* Community & Features */
.split-sec { display: grid; grid-template-columns: 1fr; gap: 40px; }
.community-list { display: grid; grid-template-columnsols: 1fr; gap: 16px; }
.comm-item { display: flex; align-items: center; gap: 16px; background: var(--bg-card); padding: 16px; border-radius: 12px; }
.comm-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #000; flex-shrink: 0; }
.comm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comm-text h4 { font-size: 15px; color: var(--text-light); }
.comm-text p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.feature-box { background: linear-gradient(135deg, rgba(123, 92, 255, 0.1) 0%, rgba(255, 59, 92, 0.1) 100%); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }
.feature-box h3 { font-size: 18px; margin-bottom: 16px; text-align: center; }
.feature-grid { display: grid; grid-template-columnsols: repeat(2, 1fr); gap: 16px; }
.feature-item { text-align: center; padding: 12px; background: rgba(0,0,0,0.2); border-radius: 8px; }
.feature-item h4 { font-size: 14px; color: var(--primary); margin-bottom: 4px; }
.feature-item p { font-size: 12px; color: var(--text-muted); }

/* Reviews & Security */
.review-sec { background: var(--bg-dark); }
.review-grid { display: grid; grid-template-columnsols: 1fr; gap: 16px; }
.review-card { background: var(--bg-card); padding: 16px; border-radius: 12px; border: 1px solid var(--border); display: flex; gap: 12px; }
.review-card .comm-avatar { width: 32px; height: 32px; }
.review-body h4 { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.review-body p { font-size: 13px; color: var(--text-muted); }
.security-grid { display: grid; grid-template-columnsols: 1fr; gap: 16px; background: #150e1a; padding: 24px; border-radius: 12px; border: 1px solid var(--border); }
.sec-item h4 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.sec-item p { font-size: 13px; color: var(--text-muted); }

/* Submit & News */
.submit-box { background: var(--bg-card); border-radius: 12px; padding: 32px; text-align: center; border: 1px solid var(--border); }
.submit-box p { color: var(--text-muted); margin-bottom: 20px; font-size: 14px; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item { background: var(--bg-card); padding: 16px; border-radius: 10px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid transparent; transition: all 0.2s; }
.news-item:hover { border-color: var(--border); }
.news-date { font-size: 20px; font-weight: 900; color: var(--primary); line-height: 1; text-align: center; }
.news-date span { display: block; font-size: 12px; font-weight: normal; color: var(--text-muted); margin-top: 4px; }
.news-text h4 { font-size: 15px; margin-bottom: 4px; }
.news-text p { font-size: 13px; color: var(--text-muted); }

/* Bottom Download */
.download-sec { padding: 80px 0; background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1024 100%); text-align: center; }
.download-sec h2 { font-size: 28px; margin-bottom: 16px; }
.download-sec p { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }
.install-steps { max-width: 600px; margin: 0 auto 40px; text-align: left; background: rgba(255,255,255,0.03); padding: 24px; border-radius: 12px; border: 1px solid var(--border); }
.install-steps h3 { font-size: 16px; margin-bottom: 16px; color: var(--primary); }
.install-steps ol { padding-left: 20px; color: var(--text-light); font-size: 14px; }
.install-steps li { margin-bottom: 8px; }

/* Footer */
footer { background: #09080c; padding: 40px 0; text-align: center; font-size: 12px; color: #666; border-top: 1px solid #1a1822; }
.footer-content p { margin-bottom: 8px; }
.footer-content a { color: #666; transition: color 0.2s; }
.footer-content a:hover { color: var(--text-muted); }
.footer-content .update-time { color: #444; margin-top: 12px; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: var(--bg-card); padding: 24px; border-radius: 16px; max-width: 400px; width: 100%; text-align: center; border: 1px solid var(--border); position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.modal-box h3 { color: var(--primary); margin-bottom: 12px; font-size: 18px; }
.modal-box p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; line-height: 1.5; }
.modal-input { width: 100%; padding: 12px; background: var(--bg-dark); border: 1px solid var(--border); color: var(--primary); border-radius: 8px; margin-bottom: 16px; text-align: center; font-size: 14px; font-weight: bold; outline: none; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; }

@media (min-width: 768px) {
  .hero h1 { font-size: 42px; }
  .nav-links { display: flex; }
  .nav-download { display: block; }
  .daily-grid { grid-template-columns: 1fr 1fr; }
  .daily-left { display: grid; grid-template-columns: repeat(2, 1fr); overflow-x: visible; padding-bottom: 0; }
  .poster-card { min-width: 0; max-width: none; }
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .split-sec { grid-template-columns: 1fr 1fr; }
  .community-list { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .daily-grid { grid-template-columns: 2fr 1fr; }
  .daily-left { grid-template-columns: repeat(3, 1fr); }
  .premium-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .news-list { grid-template-columns: repeat(3, 1fr); }
}