:root {
  --bg-light: #E8F4FD;
  --bg-lighter: #F5FAFE;
  --brand-blue: #5BA8E8;
  --brand-dark: #2B6CB0;
  --accent-orange: #FF8A65;
  --mint-green: #4ECDC4;
  --text-main: #2D3748;
  --text-muted: #718096;
  --bg-white: #FFFFFF;
  --border-color: #D0E8FA;
  --shadow-hover: 0 8px 24px rgba(91,168,232,0.15);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 24px;
  justify-content: space-between;
}
.header-left { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: bold; color: var(--brand-dark); }
.header-left img { height: 32px; border-radius: 50%; }
.header-nav { display: flex; gap: 24px; }
.header-nav a { position: relative; padding: 20px 0; color: var(--text-main); font-size: 15px; }
.header-nav a.active { color: var(--accent-orange); font-weight: bold; }
.header-nav a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--accent-orange); }
.header-nav a:hover { color: var(--brand-blue); }
.header-right { display: flex; align-items: center; gap: 16px; }
.btn-outline { border: 1px solid var(--brand-dark); color: var(--brand-dark); padding: 6px 16px; border-radius: 20px; font-size: 14px; }
.btn-primary { background: var(--accent-orange); color: white; padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: bold; }
.mobile-menu-btn { display: none; font-size: 24px; color: var(--brand-dark); cursor: pointer; background: none; border: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #E8F4FD 0%, #D0E8FA 100%);
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  min-height: 540px;
}
.hero-content { flex: 1; max-width: 600px; z-index: 2; }
.hero-badge { display: inline-block; background: white; color: var(--accent-orange); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.hero h1 { font-size: 40px; line-height: 1.2; color: var(--brand-dark); margin-bottom: 12px; }
.hero p.subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 24px; }
.hero-search { display: flex; background: white; border-radius: 12px; padding: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); margin-bottom: 16px; }
.hero-search input { flex: 1; border: none; outline: none; padding: 10px 16px; font-size: 15px; background: transparent; }
.hero-search button { background: var(--accent-orange); color: white; border: none; border-radius: 8px; padding: 10px 24px; font-weight: bold; cursor: pointer; }
.hot-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hot-tags span { background: rgba(255,255,255,0.6); padding: 4px 12px; border-radius: 20px; font-size: 13px; color: var(--brand-dark); cursor: pointer; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 16px; }
.hero-actions .btn-main { background: var(--accent-orange); color: white; padding: 12px 28px; border-radius: 24px; font-weight: bold; font-size: 16px; box-shadow: 0 4px 12px rgba(255,138,101,0.3); }
.hero-actions .btn-secondary { background: white; color: var(--brand-dark); border: 1px solid var(--brand-dark); padding: 12px 28px; border-radius: 24px; font-weight: bold; font-size: 16px; }
.hero-note { font-size: 13px; color: var(--text-muted); }
.hero-visual { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; height: 400px; z-index: 2; }
.hero-cover { position: absolute; width: 220px; border-radius: 16px; border: 4px solid white; box-shadow: 0 12px 32px rgba(0,0,0,0.15); transition: transform 0.3s ease; }
.hero-cover.main { transform: rotate(8deg) translateX(20px); z-index: 3; width: 240px; }
.hero-cover.back1 { transform: rotate(-4deg) translateX(-60px) scale(0.9); z-index: 1; opacity: 0.8; }
.hero-cover.back2 { transform: rotate(16deg) translateX(80px) scale(0.85); z-index: 2; opacity: 0.6; }
.hero-cover-card { position: absolute; bottom: 40px; right: 20px; background: white; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: bold; color: var(--brand-dark); box-shadow: 0 4px 12px rgba(0,0,0,0.1); z-index: 10; }

/* Quick Entries */
.quick-entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px; background: white; max-width: 1200px; margin: -30px auto 40px; position: relative; z-index: 10; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.entry-card { background: #F0F8FF; border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 12px; transition: transform 0.2s, box-shadow 0.2s; }
.entry-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(91,168,232,0.2); }
.entry-icon { font-size: 24px; }
.entry-text h3 { font-size: 15px; font-weight: bold; color: var(--brand-dark); margin-bottom: 4px; }
.entry-text p { font-size: 12px; color: var(--text-muted); }

/* Sections Shared */
.section { padding: 56px 24px; max-width: 1200px; margin: 0 auto; }
.bg-light { background: var(--bg-lighter); }
.bg-light2 { background: #F0F8FF; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section-title { font-size: 24px; font-weight: bold; color: var(--text-main); display: flex; align-items: center; gap: 12px; }
.section-title .dot { width: 8px; height: 8px; background: var(--mint-green); border-radius: 50%; }
.section-desc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.section-link { color: var(--brand-blue); font-size: 14px; font-weight: bold; }
.section-link:hover { color: var(--brand-dark); }

/* Update Section */
.update-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px; scrollbar-width: none; }
.update-scroll::-webkit-scrollbar { display: none; }
.update-card { min-width: 180px; background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0; }
.update-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.update-img-wrapper { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.update-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.badge-update { position: absolute; top: 8px; right: 8px; background: var(--mint-green); color: white; font-size: 11px; padding: 2px 6px; border-radius: 4px; font-weight: bold; }
.update-info { padding: 12px; }
.update-info h4 { font-size: 15px; font-weight: bold; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.update-info p.author { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.update-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.update-tag { background: #EBF8FF; color: var(--brand-dark); padding: 2px 6px; border-radius: 4px; }
.update-time { color: var(--text-muted); }

/* Rankings */
.rank-split { display: flex; gap: 32px; }
.rank-left { flex: 2; }
.rank-right { flex: 1; }
.rank-tabs { display: flex; gap: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 8px; }
.rank-tabs span { font-size: 15px; color: var(--text-muted); cursor: pointer; padding-bottom: 8px; border-bottom: 2px solid transparent; margin-bottom: -9px; }
.rank-tabs span.active { color: var(--accent-orange); border-bottom-color: var(--accent-orange); font-weight: bold; }
.rank-list { display: flex; flex-direction: column; gap: 16px; }
.rank-item { display: flex; align-items: center; gap: 16px; background: white; padding: 12px; border-radius: 12px; border: 1px solid var(--border-color); transition: transform 0.2s, box-shadow 0.2s; }
.rank-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.rank-num { font-size: 20px; font-weight: bold; width: 24px; text-align: center; color: var(--text-muted); font-style: italic; }
.rank-num.top1 { color: var(--accent-orange); font-size: 24px; }
.rank-num.top2, .rank-num.top3 { color: var(--brand-dark); }
.rank-item img { width: 48px; height: 64px; border-radius: 6px; object-fit: cover; }
.rank-info { flex: 1; }
.rank-info h4 { font-size: 16px; font-weight: bold; margin-bottom: 4px; }
.rank-info p { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.rank-trend { text-align: right; }
.trend-up { color: var(--mint-green); font-size: 12px; font-weight: bold; }
.trend-down { color: var(--text-muted); font-size: 12px; }

/* Editor Pick */
.editor-pick { background: linear-gradient(180deg, #F0F8FF, #FFFFFF); border-radius: 16px; padding: 24px; border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.editor-pick img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.editor-tag { display: inline-block; background: #FFF0F0; color: var(--accent-orange); font-size: 12px; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; font-weight: bold; }
.editor-pick h3 { font-size: 20px; font-weight: bold; margin-bottom: 8px; }
.editor-pick p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.editor-quote { font-size: 13px; color: var(--brand-dark); font-weight: bold; border-left: 3px solid var(--accent-orange); padding-left: 8px; margin-bottom: 16px; }
.editor-btn { display: inline-block; background: var(--accent-orange); color: white; padding: 8px 20px; border-radius: 16px; font-size: 14px; font-weight: bold; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.cat-card { background: linear-gradient(135deg, #F0F8FF, #FFFFFF); padding: 16px; border-radius: 12px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; transition: all 0.2s; cursor: pointer; }
.cat-card:hover { border-left: 3px solid var(--accent-orange); transform: translateX(4px); background: white; box-shadow: var(--shadow-hover); }
.cat-icon { font-size: 24px; }
.cat-info h4 { font-size: 16px; font-weight: bold; margin-bottom: 2px; }
.cat-info p { font-size: 12px; color: var(--text-muted); }
.editor-short { display: flex; gap: 16px; }
.short-card { flex: 1; background: white; border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; display: flex; gap: 12px; }
.short-card img { width: 60px; height: 80px; border-radius: 6px; object-fit: cover; }
.short-info h4 { font-size: 14px; font-weight: bold; margin-bottom: 4px; }
.short-tag { font-size: 10px; color: var(--brand-dark); background: #EBF8FF; padding: 2px 4px; border-radius: 4px; margin-bottom: 4px; display: inline-block; }
.short-info p { font-size: 12px; color: var(--text-muted); }

/* New Releases */
.new-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.new-card { display: flex; gap: 16px; background: white; border: 1px solid var(--border-color); border-radius: 12px; padding: 16px; transition: all 0.2s; }
.new-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-hover); }
.new-card img { width: 80px; height: 106px; border-radius: 8px; object-fit: cover; }
.new-info { flex: 1; }
.new-info h4 { font-size: 16px; font-weight: bold; margin-bottom: 4px; }
.new-info .author { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.new-info .desc { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.new-badge { font-size: 11px; color: #099268; background: #E6FCF5; padding: 2px 8px; border-radius: 4px; display: inline-block; }

/* Guide & FAQ */
.guide-section { background: linear-gradient(180deg, #F5FAFE, #E8F4FD); padding: 64px 24px; }
.guide-container { max-width: 1200px; margin: 0 auto; }
.step-cards { display: flex; gap: 24px; margin-bottom: 48px; }
.step-card { flex: 1; background: white; padding: 32px 24px; border-radius: 16px; text-align: center; position: relative; overflow: hidden; }
.step-num { position: absolute; top: -10px; right: -10px; font-size: 80px; font-weight: bold; color: #F0F8FF; z-index: 0; }
.step-card h3 { font-size: 18px; font-weight: bold; margin-bottom: 8px; position: relative; z-index: 1; }
.step-card p { font-size: 14px; color: var(--text-muted); position: relative; z-index: 1; }
.guide-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.quad-item { background: white; padding: 16px; border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.quad-item .q-icon { font-size: 24px; margin-bottom: 8px; }
.quad-item h4 { font-size: 15px; font-weight: bold; margin-bottom: 4px; }
.quad-item p { font-size: 12px; color: var(--text-muted); }

.faq-wrapper { display: flex; gap: 24px; }
.faq-sidebar { width: 200px; flex-shrink: 0; }
.faq-sidebar ul { list-style: none; }
.faq-sidebar li { padding: 12px 16px; border-radius: 8px; cursor: pointer; font-size: 14px; margin-bottom: 4px; transition: all 0.2s; }
.faq-sidebar li.active { background: white; color: var(--accent-orange); border-left: 3px solid var(--accent-orange); font-weight: bold; }
.faq-sidebar li:hover:not(.active) { background: rgba(255,255,255,0.5); }
.faq-content { flex: 1; }
.faq-search { display: flex; background: white; border-radius: 8px; padding: 8px 16px; margin-bottom: 16px; border: 1px solid var(--border-color); }
.faq-search input { border: none; outline: none; width: 100%; font-size: 14px; }
.faq-item { background: white; border-radius: 8px; margin-bottom: 12px; border: 1px solid var(--border-color); overflow: hidden; }
.faq-q { padding: 16px; font-size: 15px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '↓'; color: var(--text-muted); font-size: 12px; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a { padding: 0 16px; max-height: 0; overflow: hidden; transition: all 0.3s; font-size: 14px; color: var(--text-muted); }
.faq-item.open .faq-a { padding: 0 16px 16px; max-height: 300px; }
.faq-item.open .faq-q { border-left: 3px solid var(--accent-orange); }
.faq-help { background: white; padding: 24px; border-radius: 12px; margin-top: 24px; text-align: center; }
.faq-help h4 { font-size: 16px; margin-bottom: 8px; }
.faq-help p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.faq-help .btn { background: var(--accent-orange); color: white; padding: 8px 24px; border-radius: 20px; font-size: 14px; font-weight: bold; display: inline-block; }

/* Download Area */
.download-section { background: linear-gradient(135deg, #2B6CB0, #1A4A7A); color: white; padding: 64px 24px; }
.download-container { max-width: 1200px; margin: 0 auto; display: flex; gap: 48px; }
.download-left { flex: 1; }
.download-left h2 { font-size: 32px; margin-bottom: 12px; }
.download-left p.sub { font-size: 16px; opacity: 0.8; margin-bottom: 24px; }
.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.download-btns { display: flex; gap: 16px; }
.download-btns a { background: black; color: white; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.download-right { flex: 1; }
.info-card { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 16px; padding: 28px; }
.info-block { margin-bottom: 24px; }
.info-block h4 { font-size: 16px; margin-bottom: 8px; color: white; }
.info-block p { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.8; }
.info-block .quote { color: var(--accent-orange); font-weight: bold; }

/* Footer */
.site-footer { background: #E8F4FD; padding: 48px 24px 24px; color: var(--text-muted); font-size: 13px; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-cols { display: flex; justify-content: space-between; margin-bottom: 32px; border-bottom: 1px solid var(--border-color); padding-bottom: 32px; }
.footer-col h4 { font-size: 15px; color: var(--text-main); margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 12px; color: var(--text-muted); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom .links a { margin-left: 16px; color: var(--text-muted); }
.footer-bottom .links a:hover { color: var(--brand-dark); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { flex-direction: column; padding: 40px 24px; text-align: center; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-search { max-width: 600px; margin: 0 auto 16px; }
  .hot-tags { justify-content: center; }
  .quick-entries { grid-template-columns: repeat(2, 1fr); margin: -20px 16px 32px; }
  .rank-split { flex-direction: column; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .editor-short { flex-direction: column; }
  .new-grid { grid-template-columns: 1fr; }
  .step-cards { flex-direction: column; }
  .guide-quad { grid-template-columns: repeat(2, 1fr); }
  .faq-wrapper { flex-direction: column; }
  .faq-sidebar { width: 100%; display: flex; overflow-x: auto; gap: 8px; padding-bottom: 8px; margin-bottom: 16px; }
  .faq-sidebar li { white-space: nowrap; border-left: none !important; border-bottom: 2px solid transparent; border-radius: 0; }
  .faq-sidebar li.active { border-bottom: 2px solid var(--accent-orange); background: transparent; }
  .download-container { flex-direction: column; }
  .download-btns { flex-direction: column; }
  .download-btns a { justify-content: center; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom .links a { margin: 0 8px; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .update-card { min-width: 140px; }
  .mobile-download-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: white; padding: 12px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 200; justify-content: center; align-items: center; }
  .mobile-download-bar a { background: var(--accent-orange); color: white; padding: 10px 24px; border-radius: 20px; font-weight: bold; width: 100%; text-align: center; }
  .site-footer { padding-bottom: 80px; }
  .header-right .btn-outline, .header-right .btn-primary { display: none; }
}
@media (min-width: 769px) {
  .mobile-download-bar { display: none; }
}