:root {
    --bg-color: #0a0a0c;
    --bg-elevated: #141416;
    --bg-panel: #1a1a1d;
    --text-main: #f0f0f2;
    --text-muted: #8e8e93;
    --accent: #d4a34b;
    --accent-hover: #e5b862;
    --border-color: #2a2a2e;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; border-radius: 4px; }
  ul { list-style: none; }
  button { cursor: pointer; border: none; font-family: inherit; }
  
  .container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
  
  /* Header */
  header {
    position: sticky; top: 0; z-index: 100;
    background-color: rgba(10, 10, 12, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .logo-area { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 18px; }
  .logo-area img { height: 32px; border-radius: 0; }
  .nav-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-muted); }
  .nav-links a:hover { color: var(--text-main); }
  .header-actions { display: flex; align-items: center; gap: 16px; font-size: 14px; }
  .btn-download {
    background-color: var(--accent); color: #000; padding: 8px 16px;
    border-radius: 4px; font-weight: 600; transition: background 0.2s;
  }
  .btn-download:hover { background-color: var(--accent-hover); }
  .hamburger { display: none; font-size: 24px; background: none; color: var(--text-main); }
  
  /* Layout */
  .main-content {
    display: grid; grid-template-columns: 1fr 300px; gap: 40px;
    padding: 40px 0 80px;
  }
  
  /* Hero */
  .hero-section {
    position: relative; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border-color);
  }
  .hero-slide {
    position: relative; aspect-ratio: 21/9; min-height: 300px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 40px; background-color: #000;
  }
  .hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; opacity: 0.6; border-radius: 0;
  }
  .hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(10,10,12,1), rgba(10,10,12,0.4));
    z-index: 1;
  }
  .hero-content { position: relative; z-index: 2; max-width: 500px; }
  .hero-badge {
    display: inline-block; font-size: 12px; color: var(--accent);
    border: 1px solid var(--accent); padding: 2px 8px; border-radius: 4px;
    margin-bottom: 12px;
  }
  .hero-title { font-size: 36px; margin-bottom: 12px; line-height: 1.2; }
  .hero-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
  .hero-buttons { display: flex; gap: 12px; }
  .btn-primary {
    background-color: var(--accent); color: #000; padding: 10px 24px;
    border-radius: 4px; font-weight: 600; display: inline-block;
  }
  .btn-secondary {
    background-color: rgba(255,255,255,0.1); color: var(--text-main); padding: 10px 24px;
    border-radius: 4px; font-weight: 600; display: inline-block; border: 1px solid rgba(255,255,255,0.2);
  }
  
  /* Section Common */
  section { margin-bottom: 60px; }
  .section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
  h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
  h2::after { content: ''; display: block; width: 24px; height: 2px; background-color: var(--accent); margin-top: 6px; }
  
  /* Rank Grid */
  .rank-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  .poster-card {
    display: block; background: var(--bg-elevated); border-radius: 6px; overflow: hidden;
    border: 1px solid var(--border-color); transition: transform 0.2s, border-color 0.2s;
  }
  .poster-card:hover { transform: translateY(-4px); border-color: var(--accent); }
  .poster-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 0; }
  .poster-info { padding: 10px; }
  .poster-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .poster-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; }
  .score { color: var(--accent); }

  /* Selected Series */
  .selected-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .horizontal-card {
    display: flex; gap: 16px; background: var(--bg-elevated); border: 1px solid var(--border-color); 
    border-radius: 6px; overflow: hidden; padding: 12px;
  }
  .horizontal-card img { width: 100px; aspect-ratio: 3/4; object-fit: cover; }
  .h-card-info { display: flex; flex-direction: column; justify-content: center; }
  .h-card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
  .h-card-desc { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
  .tag-list { display: flex; gap: 8px; font-size: 12px; color: var(--accent); }

  /* Scroll Track */
  .scroll-track {
    display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px;
    scrollbar-width: thin; scrollbar-color: var(--border-color) transparent;
  }
  .scroll-track::-webkit-scrollbar { height: 4px; }
  .scroll-track::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
  .scroll-track .poster-card { flex: 0 0 160px; }
  
  /* Timeline */
  .timeline { border-left: 1px solid var(--border-color); margin-left: 8px; padding-left: 20px; position: relative; }
  .timeline-item { position: relative; margin-bottom: 24px; }
  .timeline-item::before {
    content: ''; position: absolute; left: -25px; top: 4px;
    width: 9px; height: 9px; border-radius: 50%; background-color: var(--accent);
    box-shadow: 0 0 0 4px var(--bg-color);
  }
  .timeline-time { font-size: 12px; color: var(--accent); margin-bottom: 4px; font-weight: 600; }
  .timeline-content { font-size: 14px; }

  /* Sidebar */
  .sidebar { position: relative; }
  .sidebar-inner { position: sticky; top: 84px; }
  .sidebar-widget {
    background: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 6px; padding: 20px;
  }
  .sidebar-widget h3 { font-size: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
  .update-list li { font-size: 13px; padding: 10px 0; border-bottom: 1px dashed var(--border-color); display: flex; justify-content: space-between; color: var(--text-muted); }
  .update-list li:last-child { border-bottom: none; padding-bottom: 0; }
  .update-title { color: var(--text-main); }

  /* Download Section */
  .download-section {
    background: radial-gradient(circle at 50% 50%, rgba(212, 163, 75, 0.1) 0%, var(--bg-color) 70%);
    border: 1px solid var(--border-color); border-radius: 8px; padding: 40px;
    display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 60px;
  }
  .dl-content { max-width: 500px; }
  .dl-content h2 { font-size: 24px; margin-bottom: 12px; }
  .dl-content h2::after { display: none; }
  .dl-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
  .dl-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
  .qr-area { background: #fff; padding: 10px; border-radius: 8px; width: 140px; text-align: center; }
  .qr-area img { width: 100%; height: auto; }
  .steps { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-muted); }
  .steps span { color: var(--accent); margin-right: 8px; font-weight: bold; }

  /* FAQ */
  .faq-list { display: flex; flex-direction: column; gap: 20px; }
  .faq-item { background: var(--bg-elevated); padding: 20px; border-radius: 6px; border: 1px solid var(--border-color); }
  .faq-q { font-weight: 600; font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; }
  .faq-q::before { content: 'Q'; color: var(--accent); }
  .faq-a { font-size: 14px; color: var(--text-muted); padding-left: 20px; }

  /* Brand Story */
  .brand-story {
    background: var(--bg-elevated); padding: 30px; border-radius: 6px; border: 1px solid var(--border-color);
    font-size: 15px; color: var(--text-muted); line-height: 1.8;
  }
  .brand-story p { text-indent: 2em; }

  /* Footer */
  footer {
    border-top: 1px solid var(--border-color); padding: 30px 20px; text-align: center;
    font-size: 12px; color: var(--text-muted);
  }
  footer p { margin-bottom: 8px; }
  footer a { color: var(--text-muted); text-decoration: underline; }
  footer a:hover { color: var(--text-main); }

  /* Mobile Bottom Bar */
  .mobile-download-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(20, 20, 22, 0.95); border-top: 1px solid var(--border-color);
    padding: 10px 20px; z-index: 100; backdrop-filter: blur(10px);
  }
  .mobile-download-bar .btn-primary { display: block; width: 100%; text-align: center; }

  /* Responsive */
  @media (max-width: 1023px) {
    .main-content { grid-template-columns: 1fr; }
    .nav-links, .header-actions .login-btn { display: none; }
    .hamburger { display: block; }
    .hero-title { font-size: 28px; }
    .sidebar { margin-top: 20px; }
    .sidebar-inner { position: static; }
    .download-section { flex-direction: column; text-align: center; padding: 30px 20px; }
    .dl-buttons { justify-content: center; }
    .qr-area { display: none; }
    .mobile-download-bar { display: flex; gap: 10px; }
    .mobile-download-bar .btn-primary { padding: 12px; font-size: 16px; }
    body { padding-bottom: 70px; }
  }
  @media (max-width: 860px) {
    .rank-grid { grid-template-columns: repeat(3, 1fr); }
    .selected-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .rank-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-slide { aspect-ratio: 4/3; padding: 20px; }
    .hero-title { font-size: 24px; }
    .hero-buttons { flex-direction: column; gap: 8px; }
    .hero-buttons a { text-align: center; }
    .scroll-track .poster-card { flex: 0 0 140px; }
    .dl-buttons { flex-direction: column; width: 100%; }
    .dl-buttons a { text-align: center; }
  }