:root {
    --bg: #f5f7fb;
    --card-bg: #ffffff;
    --text-main: #1a1d24;
    --text-sub: #5c6370;
    --brand: #2f6bff;
    --brand-light: #eaf0ff;
    --accent: #ff7a45;
    --border: #e3e7ef;
    --radius: 16px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    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; }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .logo-wrap { display: flex; align-items: center; gap: 10px; }
  .logo-wrap img { height: 34px; width: auto; border-radius: 6px; }
  .logo-wrap span { font-size: 20px; font-weight: 700; letter-spacing: 1px; }
  nav ul { display: flex; gap: 28px; list-style: none; }
  nav a {
    font-size: 15px; color: var(--text-sub); font-weight: 500;
    transition: color 0.2s; padding: 6px 0; position: relative;
  }
  nav a:hover, nav a.active { color: var(--brand); }
  nav a.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%;
    height: 2px; background: var(--brand); border-radius: 2px;
  }
  .mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

  /* Hero */
  .hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #eef3ff 0%, #f5f7fb 100%);
    border-bottom: 1px solid var(--border);
  }
  .hero-inner { display: flex; align-items: center; gap: 50px; }
  .hero-text { flex: 1; min-width: 0; }
  .hero-text h1 {
    font-size: 44px; line-height: 1.2; margin-bottom: 16px;
    font-weight: 800; letter-spacing: -0.5px;
  }
  .hero-text h1 em { font-style: normal; color: var(--brand); }
  .hero-sub { font-size: 20px; color: var(--text-sub); margin-bottom: 20px; }
  .hero-desc { max-width: 560px; font-size: 16px; color: var(--text-sub); margin-bottom: 28px; }
  .hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
  .hero-tags span {
    background: #fff; padding: 8px 16px; border-radius: 100px;
    font-size: 14px; font-weight: 600; color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 32px; border-radius: 12px; font-size: 16px;
    font-weight: 600; cursor: pointer; transition: all 0.2s;
    border: none; font-family: inherit;
  }
  .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 16px rgba(47,107,255,0.3); }
  .btn-primary:hover { background: #1f56e0; transform: translateY(-1px); }
  .btn-outline { background: #fff; color: var(--text-main); border: 1px solid var(--border); }
  .btn-outline:hover { border-color: var(--brand); color: var(--brand); }

  .hero-card {
    width: 320px; flex-shrink: 0;
    background: #fff; border-radius: 24px; padding: 24px;
    box-shadow: 0 20px 50px rgba(47,107,255,0.12);
    border: 1px solid var(--border);
    text-align: center;
  }
  .hero-card-badge {
    display: inline-block; background: var(--brand-light); color: var(--brand);
    font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 100px;
    margin-bottom: 16px;
  }
  .hero-card-img { width: 160px; margin: 0 auto 20px; border-radius: 20px; overflow: hidden; }
  .hero-card h3 { font-size: 18px; margin-bottom: 6px; }
  .hero-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
  .hero-card-btns { display: flex; flex-direction: column; gap: 10px; }
  .hero-card-btns .btn { width: 100%; font-size: 15px; padding: 10px; }

  /* Section shared */
  section { padding: 60px 0; }
  .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
  .section-header h2 { font-size: 28px; font-weight: 800; }
  .section-header p { color: var(--text-sub); font-size: 15px; margin-top: 4px; }
  .section-header .more { color: var(--brand); font-weight: 600; font-size: 15px; }

  /* Grid cards */
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .anime-card {
    background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s;
  }
  .anime-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
  .anime-card .cover { aspect-ratio: 3/4; overflow: hidden; background: #e2e6ee; position: relative; }
  .anime-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
  .anime-card:hover .cover img { transform: scale(1.04); }
  .anime-card .info { padding: 14px 16px; }
  .anime-card .info h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .anime-card .meta-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-sub); }
  .anime-card .score { color: var(--accent); font-weight: 700; }
  .status-tag {
    display: inline-block; background: var(--brand-light); color: var(--brand);
    font-size: 12px; padding: 2px 8px; border-radius: 4px; font-weight: 600;
  }

  /* Ranking */
  .ranking-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .ranking-list { display: flex; flex-direction: column; gap: 12px; }
  .rank-item {
    display: flex; align-items: center; gap: 20px;
    background: var(--bg); border-radius: 12px; padding: 14px 20px;
    transition: background 0.2s;
  }
  .rank-item:hover { background: var(--brand-light); }
  .rank-num {
    font-size: 22px; font-weight: 800; color: #b0b8c8; width: 32px; text-align: center;
    font-style: italic;
  }
  .rank-item:nth-child(1) .rank-num { color: #ff4d4f; }
  .rank-item:nth-child(2) .rank-num { color: #ff9f43; }
  .rank-item:nth-child(3) .rank-num { color: #fdcb6e; }
  .rank-info { flex: 1; min-width: 0; }
  .rank-info h3 { font-size: 16px; font-weight: 700; }
  .rank-info p { font-size: 13px; color: var(--text-sub); }
  .rank-score { font-size: 18px; font-weight: 800; color: var(--accent); }

  /* Q&A */
  .qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .qa-card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
  }
  .qa-user { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
  .qa-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light);
    color: var(--brand); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; flex-shrink: 0;
  }
  .qa-user-info h4 { font-size: 15px; font-weight: 700; }
  .qa-user-info span { font-size: 12px; color: var(--text-sub); }
  .qa-question { font-size: 15px; margin-bottom: 16px; color: var(--text-main); }
  .qa-reply {
    background: var(--bg); border-radius: 10px; padding: 12px 16px;
    font-size: 14px; color: var(--text-sub); border-left: 3px solid var(--brand);
  }
  .qa-reply strong { color: var(--brand); }

  /* FAQ */
  .faq-section { background: #fff; border-top: 1px solid var(--border); }
  .faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-item:last-child { border-bottom: none; }
  .faq-q {
    width: 100%; text-align: left; background: #fff; border: none;
    padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text-main);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-family: inherit;
  }
  .faq-q:hover { background: var(--bg); }
  .faq-q .arrow { transition: transform 0.2s; color: var(--text-sub); font-size: 14px; }
  .faq-item.open .faq-q .arrow { transform: rotate(180deg); }
  .faq-a {
    display: none; padding: 0 24px 20px; font-size: 15px; color: var(--text-sub);
    line-height: 1.7;
  }
  .faq-item.open .faq-a { display: block; }

  /* Showcase */
  .showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .showcase-item { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
  .showcase-item img { width: 100%; height: 100%; object-fit: cover; }

  /* CTA */
  .cta-section {
    background: linear-gradient(135deg, #1a2a6c 0%, #2f6bff 100%);
    color: #fff; text-align: center; border-radius: 24px;
    margin: 60px auto; max-width: 1160px;
    padding: 70px 24px;
  }
  .cta-section h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
  .cta-section p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
  .cta-btns .btn { background: #fff; color: #1a2a6c; font-weight: 700; padding: 14px 32px; }
  .cta-btns .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

  /* Footer */
  footer {
    background: #f0f2f7; border-top: 1px solid var(--border);
    padding: 40px 0 30px; font-size: 13px; color: #8a92a3;
  }
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
  .footer-brand span { font-size: 16px; font-weight: 700; color: var(--text-main); }
  .footer-brand img { height: 24px; border-radius: 4px; }
  footer a { color: #8a92a3; }
  footer a:hover { color: var(--brand); }
  .footer-meta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
  .footer-time { font-size: 12px; color: #a0a8b8; }

  /* Floating download */
  .float-download {
    position: fixed; bottom: 30px; right: 30px; z-index: 99;
    background: var(--brand); color: #fff; border-radius: 50px;
    padding: 12px 24px; display: flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px;
    box-shadow: 0 8px 24px rgba(47,107,255,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .float-download:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(47,107,255,0.5); }
  .float-download svg { width: 18px; height: 18px; fill: currentColor; }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-text h1 { font-size: 36px; }
    .hero-card { width: 280px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    nav ul { gap: 20px; }
  }
  @media (max-width: 768px) {
    .header-inner { height: 56px; }
    .logo-wrap img { height: 28px; }
    .logo-wrap span { font-size: 17px; }
    nav { display: none; }
    .mobile-toggle { display: block; }
    nav.open {
      display: block; position: absolute; top: 56px; left: 0; width: 100%;
      background: #fff; border-bottom: 1px solid var(--border);
      padding: 16px 0;
    }
    nav.open ul { flex-direction: column; gap: 0; }
    nav.open li { padding: 0 20px; }
    nav.open a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bg); }
    .hero { padding: 40px 0; }
    .hero-inner { flex-direction: column; gap: 32px; }
    .hero-text h1 { font-size: 30px; }
    .hero-sub { font-size: 17px; }
    .hero-card { width: 100%; max-width: 360px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .anime-card .info h3 { font-size: 14px; }
    .qa-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 22px; }
    .rank-item { gap: 12px; padding: 12px 14px; }
    .rank-info h3 { font-size: 14px; }
    .rank-score { font-size: 16px; }
    .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cta-section { margin: 40px 16px; padding: 50px 20px; border-radius: 20px; }
    .cta-section h2 { font-size: 26px; }
    .float-download { bottom: 20px; right: 16px; padding: 10px 18px; font-size: 14px; }
    section { padding: 40px 0; }
  }
  @media (max-width: 480px) {
    .hero-text h1 { font-size: 26px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
  }