:root {
  --bg-main: #121212;
  --bg-card: #1E1E24;
  --accent: #FFD700;
  --accent-gradient: linear-gradient(135deg, #FFD700, #FF6B00);
  --text-main: #F4F4F4;
  --text-muted: #A0A0A5;
  --border-radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }

/* Header */
.site-header { padding: 15px 0; border-bottom: 1px solid #333; position: sticky; top: 0; background: rgba(18,18,18,0.95); z-index: 100; backdrop-filter: blur(10px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: bold; }
.brand img { height: 32px; border-radius: 6px; }
.nav-links { display: none; gap: 20px; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.header-dl-btn { background: var(--accent-gradient); color: #000; padding: 8px 16px; border-radius: 20px; font-weight: bold; font-size: 14px; }

/* Hero */
.hero-section { position: relative; padding: 40px 0; overflow: hidden; background: linear-gradient(180deg, #1A1A24 0%, #121212 100%); }
.hero-content { text-align: center; position: relative; z-index: 2; }
.hero-title { font-size: 32px; line-height: 1.3; margin-bottom: 15px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.dl-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 30px; }
.dl-btn { background: #2A2A35; border: 1px solid #444; padding: 10px 20px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; font-size: 14px; transition: all 0.3s; }
.dl-btn:hover { border-color: var(--accent); background: #333340; transform: translateY(-2px); }
.dl-btn span { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.hero-banners { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.hero-banners::-webkit-scrollbar { display: none; }
.hero-banners img { height: 240px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }

/* Marquee */
.marquee-wrap { width: 100%; overflow: hidden; background: #000; padding: 15px 0; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 18px; font-weight: bold; margin-right: 30px; background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Common */
.section-title { font-size: 24px; text-align: center; margin-bottom: 30px; color: #fff; }
.section-title span { color: var(--accent); }

/* New Today */
.bg-new { background: #1E1E24; }
.new-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.new-card { background: #2A2A35; border-radius: var(--border-radius); overflow: hidden; }
.new-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.new-card-info { padding: 10px; }
.new-card-info h3 { font-size: 15px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.new-card-info p { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { font-size: 10px; padding: 2px 6px; background: #444; border-radius: 4px; color: #ccc; }

/* Blind Box */
.bg-blind { background: linear-gradient(135deg, #2D1B2E 0%, #121212 100%); }
.blind-layout { display: flex; flex-direction: column; gap: 20px; }
.blind-img-box img { width: 100%; max-width: 300px; margin: 0 auto; border-radius: var(--border-radius); }
.blind-list { display: flex; flex-direction: column; gap: 10px; }
.blind-item { background: rgba(255,255,255,0.05); padding: 12px; border-radius: 8px; font-size: 14px; border-left: 3px solid var(--accent); }

/* Leaderboard */
.bg-dark { background: #121212; }
.dark-layout { display: flex; flex-direction: column; gap: 30px; }
.rank-list { display: flex; flex-direction: column; gap: 15px; }
.rank-item { display: flex; align-items: center; gap: 15px; background: #1E1E24; padding: 10px; border-radius: 8px; }
.rank-num { font-size: 24px; font-weight: bold; color: var(--accent); width: 30px; text-align: center; }
.rank-item img { width: 50px; height: 66px; object-fit: cover; border-radius: 4px; }
.rank-info h3 { font-size: 15px; margin-bottom: 4px; }
.rank-info p { font-size: 12px; color: var(--text-muted); }

/* Barrage */
.bg-barrage { background: #F5F5F5; color: #333; }
.bg-barrage .section-title { color: #333; }
.barrage-layout { display: flex; flex-direction: column; gap: 20px; }
.barrage-img img { width: 100%; max-width: 300px; border-radius: var(--border-radius); margin: 0 auto; }
.barrage-list { display: flex; flex-direction: column; gap: 12px; }
.barrage-item { background: #fff; padding: 15px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); font-size: 14px; }
.barrage-item .user { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #666; font-size: 12px; }
.barrage-item .user img { width: 24px; height: 24px; border-radius: 50%; }

/* Quotes Timeline */
.bg-quotes { background: #1A1A24; }
.timeline-layout { display: flex; flex-direction: column; gap: 20px; }
.timeline-img img { width: 100%; max-width: 300px; margin: 0 auto; border-radius: var(--border-radius); }
.timeline-list { position: relative; padding-left: 20px; }
.timeline-list::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.timeline-item { position: relative; margin-bottom: 20px; padding-left: 15px; }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline-time { font-weight: bold; color: var(--accent); font-size: 14px; margin-bottom: 4px; }
.timeline-desc { font-size: 14px; color: var(--text-muted); }

/* Vote */
.bg-vote { background: #2B1B17; }
.vote-layout { display: flex; flex-direction: column; gap: 20px; }
.vote-img img { width: 100%; max-width: 300px; margin: 0 auto; border-radius: var(--border-radius); }
.vote-list { display: grid; grid-template-columns: 1fr; gap: 15px; }
.vote-card { background: #3D261F; padding: 15px; border-radius: 8px; border: 1px solid #5A3A2E; }
.vote-card h3 { font-size: 15px; margin-bottom: 8px; color: #FFA07A; }
.vote-card p { font-size: 13px; color: #D0B0A0; }

/* FAQ */
.bg-faq { background: #121212; }
.faq-layout { display: flex; flex-direction: column; gap: 30px; }
.faq-img img { width: 100%; max-width: 300px; margin: 0 auto; border-radius: var(--border-radius); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #1E1E24; padding: 15px; border-radius: 8px; border-left: 4px solid var(--accent); }
.faq-item h3 { font-size: 15px; margin-bottom: 5px; color: #fff; }
.faq-item p { font-size: 13px; color: var(--text-muted); }

/* Steps */
.bg-steps { background: #1A1A24; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
.step-card { background: #2A2A35; padding: 20px; border-radius: var(--border-radius); text-align: center; }
.step-card .num { display: inline-block; width: 30px; height: 30px; line-height: 30px; background: var(--accent); color: #000; border-radius: 50%; font-weight: bold; margin-bottom: 10px; }
.step-card h3 { font-size: 15px; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); }

/* Footer */
.site-footer { background: #0A0A0A; padding: 40px 0 20px; font-size: 13px; color: #666; border-top: 1px solid #222; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; }

/* Floating Download */
.floating-dl { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--accent-gradient); color: #000; padding: 12px 30px; border-radius: 30px; font-weight: bold; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); display: flex; align-items: center; gap: 10px; z-index: 1000; font-size: 16px; }
.floating-dl img { height: 24px; border-radius: 4px; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 2000; justify-content: center; align-items: center; }
.modal-content { background: #fff; color: #333; padding: 20px; border-radius: 12px; width: 90%; max-width: 400px; text-align: center; }
.modal-content h3 { margin-bottom: 15px; font-size: 16px; }
.modal-content input { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; background: #f9f9f9; color: #333; }
.modal-content button { width: 100%; padding: 10px; background: var(--accent-gradient); border: none; border-radius: 6px; font-weight: bold; cursor: pointer; color: #000; }

/* Responsive */
@media (min-width: 768px) {
  .hero-title { font-size: 42px; }
  .hero-banners img { height: 320px; }
  .new-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .blind-layout, .dark-layout, .barrage-layout, .timeline-layout, .vote-layout, .faq-layout { flex-direction: row; align-items: flex-start; gap: 40px; }
  .blind-img-box, .barrage-img, .timeline-img, .vote-img, .faq-img { flex: 0 0 300px; }
  .blind-list, .barrage-list, .timeline-list, .vote-list, .faq-list { flex: 1; }
  .dark-layout { flex-direction: row; }
  .vote-list { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .hero-title { font-size: 52px; }
  .hero-banners img { height: 400px; }
}