:root {
    --brand-yellow: #F59E0B;
    --brand-blue: #0EA5E9;
    --navy: #12263A;
    --bg: #F3F7FB;
    --card: #FFFFFF;
    --border: #D7E3EF;
    --text-main: #12263A;
    --text-sub: #6B7F94;
    --mint: #34D399;
    --pink: #F472B6;
    --light-blue: #E0F2FE;
    --yellow-light: #FEF3C7;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
  
  /* Header */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    height: 72px;
  }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
  }
  .brand { display: flex; align-items: center; gap: 10px; }
  .brand img { height: 36px; width: auto; border-radius: 8px; }
  .brand-text h1 { font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.2; }
  .brand-text p { font-size: 11px; color: var(--brand-blue); font-weight: 600; letter-spacing: 1px; }
  nav.main-nav { display: flex; gap: 24px; }
  nav.main-nav a { font-size: 15px; font-weight: 500; color: var(--navy); transition: color 0.2s; }
  nav.main-nav a:hover { color: var(--brand-blue); }
  .header-actions { display: flex; gap: 12px; align-items: center; }
  .btn-outline {
    padding: 8px 20px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 14px; font-weight: 600; color: var(--navy); transition: all 0.2s;
  }
  .btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
  .btn-primary {
    padding: 8px 20px; background: var(--navy); border-radius: 8px;
    font-size: 14px; font-weight: 600; color: #fff; transition: all 0.2s;
  }
  .btn-primary:hover { background: var(--brand-blue); transform: translateY(-1px); }
  .menu-toggle { display: none; font-size: 24px; background: none; border: none; color: var(--navy); cursor: pointer; }

  /* Aside Data Bar */
  .data-bar {
    background: var(--navy); color: #fff; margin-top: 72px;
    padding: 24px 0;
  }
  .data-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    text-align: center;
  }
  .data-item .num { font-size: 32px; font-weight: 900; line-height: 1.2; }
  .data-item:nth-child(1) .num { color: var(--brand-yellow); }
  .data-item:nth-child(2) .num { color: var(--brand-blue); }
  .data-item:nth-child(3) .num { color: var(--mint); }
  .data-item:nth-child(4) .num { color: var(--pink); }
  .data-item .label { font-size: 13px; color: #9CA3AF; margin-top: 4px; }

  /* Section shared */
  section { padding: 64px 0; }
  .section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
  .section-title { font-size: 28px; font-weight: 900; color: var(--navy); }
  .section-sub { font-size: 13px; color: var(--brand-blue); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; display: block; }
  .section-link { font-size: 14px; font-weight: 600; color: var(--brand-blue); }

  /* Hero */
  .hero { background: transparent; padding-top: 32px; }
  .hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
  .hero-card {
    background: var(--navy); border-radius: 24px; padding: 48px;
    position: relative; overflow: hidden; color: #fff;
    display: flex; flex-direction: column; justify-content: center;
  }
  .hero-deco { position: absolute; border-radius: 50%; pointer-events: none; }
  .hero-deco.d1 { width: 200px; height: 200px; background: var(--brand-yellow); top: -60px; right: -40px; opacity: 0.8; border-radius: 40px; transform: rotate(25deg); }
  .hero-deco.d2 { width: 140px; height: 140px; background: var(--brand-blue); bottom: -30px; left: -20px; border-radius: 50%; opacity: 0.7; }
  .hero-deco.d3 { width: 80px; height: 80px; background: var(--mint); bottom: 40px; right: 100px; border-radius: 20px; transform: rotate(15deg); opacity: 0.6; }
  .hero-tag {
    display: inline-block; background: var(--brand-yellow); color: var(--navy);
    font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 6px; width: fit-content; margin-bottom: 16px;
  }
  .hero-card h2 { font-size: 36px; font-weight: 900; line-height: 1.2; margin-bottom: 16px; position: relative; z-index: 1; }
  .hero-card p { font-size: 15px; color: #D1D5DB; margin-bottom: 28px; max-width: 480px; position: relative; z-index: 1; }
  .hero-actions { display: flex; gap: 12px; position: relative; z-index: 1; }
  .btn-yellow {
    padding: 12px 28px; background: var(--brand-yellow); color: var(--navy);
    font-weight: 700; border-radius: 10px; font-size: 15px; transition: all 0.2s;
  }
  .btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(245,158,11,0.4); }
  .btn-ghost {
    padding: 12px 28px; border: 1px solid rgba(255,255,255,0.3); color: #fff;
    font-weight: 600; border-radius: 10px; font-size: 15px; transition: all 0.2s;
  }
  .btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
  .hero-dots { position: absolute; bottom: 24px; right: 32px; display: flex; gap: 6px; }
  .hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
  .hero-dots span.active { background: var(--brand-yellow); width: 24px; border-radius: 4px; }
  
  .search-card {
    background: var(--card); border-radius: 24px; padding: 32px;
    border: 1px solid var(--border); display: flex; flex-direction: column;
  }
  .search-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
  .search-box { display: flex; gap: 8px; margin-bottom: 20px; }
  .search-box input {
    flex: 1; padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 14px; outline: none; transition: border 0.2s;
  }
  .search-box input:focus { border-color: var(--brand-blue); }
  .search-box button {
    padding: 10px 20px; background: var(--brand-yellow); color: var(--navy);
    border: none; border-radius: 8px; font-weight: 700; cursor: pointer;
  }
  .filter-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
  .filter-group label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-sub); cursor: pointer; }
  .hot-tags { margin-top: auto; }
  .hot-tags p { font-size: 12px; color: var(--text-sub); margin-bottom: 8px; }
  .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
  .tag-cloud span { background: var(--light-blue); color: var(--brand-blue); font-size: 12px; padding: 4px 12px; border-radius: 20px; cursor: pointer; }

  /* Category Nav */
  .cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
  .cat-card {
    background: var(--light-blue); border: 1px solid var(--border); border-radius: 16px;
    padding: 20px 12px; text-align: center; transition: all 0.2s;
  }
  .cat-card:hover { transform: translateY(-4px); border-color: var(--brand-blue); box-shadow: 0 4px 12px rgba(14,165,233,0.1); }
  .cat-icon { font-size: 28px; margin-bottom: 8px; }
  .cat-name { font-size: 14px; font-weight: 700; color: var(--navy); }
  .cat-count { font-size: 11px; color: var(--text-sub); margin-top: 2px; }

  /* Filter Pills */
  .filter-pills { display: flex; gap: 8px; }
  .pill { padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; background: var(--card); border: 1px solid var(--border); color: var(--text-sub); }
  .pill.active { background: var(--brand-yellow); color: var(--navy); border-color: var(--brand-yellow); }

  /* Anime Grid Cards */
  .anime-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .anime-card {
    background: var(--card); border-radius: 16px; border: 1px solid var(--border);
    overflow: hidden; transition: all 0.25s;
  }
  .anime-card:hover { transform: translateY(-6px); border-color: var(--brand-blue); box-shadow: 0 8px 24px rgba(14,165,233,0.15); }
  .card-cover { height: 180px; background: linear-gradient(135deg, #E0F2FE, #BAE6FD); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .card-cover img { width: 100%; height: 100%; object-fit: cover; }
  .status-badge { position: absolute; top: 12px; left: 12px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; }
  .status-badge.on-going { background: var(--brand-blue); }
  .status-badge.finished { background: var(--mint); }
  .status-badge.hot { background: var(--brand-yellow); color: var(--navy); }
  .card-info { padding: 16px; }
  .card-title { font-size: 16px; font-weight: 800; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card-desc { font-size: 12px; color: var(--text-sub); margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-meta { display: flex; justify-content: space-between; align-items: center; }
  .card-score { font-size: 14px; font-weight: 800; color: var(--brand-yellow); }
  .card-genre { font-size: 11px; color: var(--brand-blue); background: var(--light-blue); padding: 2px 8px; border-radius: 4px; }

  /* Table */
  .data-table-wrap { background: var(--card); border-radius: 16px; border: 1px solid var(--border); overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; }
  th { background: var(--navy); color: #fff; padding: 14px 16px; text-align: left; font-size: 14px; font-weight: 600; white-space: nowrap; }
  td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
  tr:nth-child(even) td { background: #F8FAFC; }
  .table-state { padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }
  .state-green { background: #D1FAE5; color: #065F46; }
  .state-yellow { background: var(--yellow-light); color: #92400E; }
  .state-gray { background: #F3F4F6; color: #4B5563; }
  .table-score { color: var(--brand-yellow); font-weight: 800; font-size: 15px; }

  /* Calendar & Rank */
  .split-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
  .calendar-card, .rank-card { background: var(--card); border-radius: 20px; border: 1px solid var(--border); padding: 24px; }
  .date-nav { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 20px; }
  .date-pill { text-align: center; padding: 12px 0; border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; background: var(--bg); color: var(--text-sub); }
  .date-pill.active { background: var(--brand-yellow); color: var(--navy); }
  .timeline-list { display: flex; flex-direction: column; gap: 12px; }
  .timeline-item { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 12px; border: 1px solid transparent; }
  .timeline-item:hover { background: var(--bg); border-color: var(--border); }
  .time-num { font-size: 16px; font-weight: 800; color: var(--navy); width: 60px; }
  .time-title { flex: 1; font-size: 14px; font-weight: 600; }
  .time-title span { font-size: 12px; color: var(--text-sub); font-weight: 400; margin-left: 8px; }
  
  .rank-list { display: flex; flex-direction: column; gap: 8px; }
  .rank-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .rank-item:last-child { border-bottom: none; }
  .rank-num { font-size: 20px; font-weight: 900; width: 30px; text-align: center; color: var(--text-sub); }
  .rank-item:nth-child(1) .rank-num { color: var(--brand-yellow); }
  .rank-item:nth-child(2) .rank-num { color: #9CA3AF; }
  .rank-item:nth-child(3) .rank-num { color: #F97316; }
  .rank-info { flex: 1; }
  .rank-title { font-size: 14px; font-weight: 700; }
  .rank-genre { font-size: 11px; color: var(--text-sub); }

  /* Guochuang Companies */
  .company-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .company-pill { background: var(--card); border: 1px solid var(--border); padding: 10px 20px; border-radius: 30px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .company-pill span { font-size: 11px; color: var(--text-sub); }

  /* Editorial */
  .topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .topic-card { background: var(--card); border-radius: 24px; border: 1px solid var(--border); padding: 32px; transition: all 0.25s; }
  .topic-card:hover { transform: translateY(-4px); border-color: var(--brand-blue); }
  .topic-icon { font-size: 36px; margin-bottom: 16px; }
  .topic-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
  .topic-desc { font-size: 14px; color: var(--text-sub); margin-bottom: 16px; }
  .topic-link { font-size: 14px; font-weight: 600; color: var(--brand-blue); }

  /* News */
  .news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .news-card { background: var(--card); border-radius: 16px; border: 1px solid var(--border); padding: 24px; }
  .news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .news-tag { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 4px; }
  .news-tag.blue { background: var(--light-blue); color: var(--brand-blue); }
  .news-tag.yellow { background: var(--yellow-light); color: #92400E; }
  .news-date { font-size: 12px; color: var(--text-sub); }
  .news-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
  .news-desc { font-size: 13px; color: var(--text-sub); }

  /* Community */
  .community-section { background: var(--navy); color: #fff; }
  .community-section .section-title, .community-section .section-sub { color: #fff; }
  .community-section .section-sub { color: var(--brand-blue); }
  .community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .comm-left h3 { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
  .comm-left p { font-size: 15px; color: #D1D5DB; margin-bottom: 24px; }
  .comm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
  .comm-stat { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 16px; text-align: center; }
  .comm-stat strong { display: block; font-size: 20px; color: var(--brand-yellow); }
  .comm-stat span { font-size: 12px; color: #9CA3AF; }
  .comm-btn { display: inline-block; padding: 12px 24px; background: var(--brand-blue); color: #fff; border-radius: 8px; font-weight: 700; font-size: 14px; }
  .comm-btn:hover { background: var(--brand-yellow); color: var(--navy); }
  .post-list { display: flex; flex-direction: column; gap: 16px; }
  .post-card { background: rgba(255,255,255,0.08); border-radius: 16px; padding: 20px; border: 1px solid rgba(255,255,255,0.1); }
  .post-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; }
  .avatar.a1 { background: var(--brand-blue); }
  .avatar.a2 { background: var(--brand-yellow); color: var(--navy); }
  .avatar.a3 { background: var(--pink); }
  .post-name { font-size: 14px; font-weight: 600; }
  .post-time { font-size: 11px; color: #9CA3AF; }
  .post-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
  .post-desc { font-size: 13px; color: #D1D5DB; margin-bottom: 12px; }
  .post-actions { display: flex; gap: 16px; font-size: 12px; color: #9CA3AF; }

  /* Char & Voice */
  .char-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .char-card { background: var(--card); border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
  .char-avatar { height: 160px; background: linear-gradient(135deg, #FEF3C7, #FDE68A); display: flex; align-items: center; justify-content: center; }
  .char-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .char-info { padding: 16px; text-align: center; }
  .char-name { font-size: 16px; font-weight: 800; }
  .char-anime { font-size: 12px; color: var(--text-sub); margin-bottom: 4px; }
  .char-cv { font-size: 12px; color: var(--brand-blue); margin-bottom: 12px; }
  .char-fans { font-size: 13px; font-weight: 700; color: var(--brand-yellow); }

  /* Tags & Playlist */
  .tags-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
  .tags-box h3, .playlist-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
  .tags-box .en, .playlist-box .en { font-size: 12px; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; display: block; }
  .all-tags { display: flex; flex-wrap: wrap; gap: 10px; }
  .all-tags span { background: var(--light-blue); color: var(--brand-blue); padding: 8px 18px; border-radius: 30px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
  .all-tags span:hover { background: var(--navy); color: #fff; }
  .playlist-list { display: flex; flex-direction: column; gap: 12px; }
  .playlist-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
  .playlist-name { font-size: 15px; font-weight: 700; }
  .playlist-count { font-size: 12px; color: var(--text-sub); }

  /* FAQ & Subscribe */
  .bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .faq-card { background: var(--card); border-radius: 20px; border: 1px solid var(--border); padding: 24px; }
  .faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
  .faq-item:last-child { border-bottom: none; }
  .faq-q { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .faq-a { font-size: 13px; color: var(--text-sub); }
  .subscribe-card { background: var(--card); border-radius: 20px; border: 1px solid var(--brand-blue); padding: 32px; }
  .sub-icon { font-size: 32px; margin-bottom: 12px; }
  .subscribe-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
  .subscribe-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 20px; }
  .sub-form { display: flex; gap: 8px; }
  .sub-form input { flex: 1; padding: 12px; border: 1px solid var(--border); border-radius: 8px; outline: none; }
  .sub-form button { padding: 12px 24px; background: var(--navy); color: #fff; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }

  /* About */
  .about-section { background: #fff; }
  .about-content { max-width: 800px; margin-bottom: 40px; }
  .about-content p { font-size: 15px; color: var(--text-sub); margin-bottom: 16px; line-height: 1.8; }
  .advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .adv-card { background: var(--bg); border-radius: 16px; padding: 24px; border: 1px solid var(--border); }
  .adv-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
  .adv-desc { font-size: 13px; color: var(--text-sub); }

  /* Footer */
  footer { background: var(--navy); color: #fff; padding: 64px 0 24px; margin-top: 32px; }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
  .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .footer-brand img { height: 32px; border-radius: 6px; }
  .footer-brand span { font-size: 18px; font-weight: 800; }
  .footer-desc { font-size: 13px; color: #9CA3AF; margin-bottom: 16px; line-height: 1.6; }
  .footer-social { display: flex; gap: 12px; margin-bottom: 16px; }
  .social-dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
  .social-dot.s1 { background: var(--brand-blue); }
  .social-dot.s2 { background: var(--brand-yellow); color: var(--navy); }
  .social-dot.s3 { background: var(--pink); }
  .footer-domain { font-size: 12px; color: #6B7280; }
  .footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: #fff; }
  .footer-links a { display: block; font-size: 13px; color: #9CA3AF; margin-bottom: 10px; transition: color 0.2s; }
  .footer-links a:hover { color: var(--brand-yellow); }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: #6B7280; }

  /* Responsive */
  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(4, 1fr); }
    .anime-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .char-grid { grid-template-columns: repeat(2, 1fr); }
    .tags-layout { grid-template-columns: 1fr; }
    .bottom-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    nav.main-nav { display: none; }
    .menu-toggle { display: block; }
  }
  @media (max-width: 768px) {
    .container { padding: 0 16px; }
    section { padding: 40px 0; }
    .data-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hero-card { padding: 32px 24px; }
    .hero-card h2 { font-size: 26px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .anime-grid { grid-template-columns: 1fr; }
    .topic-grid { grid-template-columns: 1fr; }
    .char-grid { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .filter-pills { overflow-x: auto; padding-bottom: 4px; }
  }