:root {
  --c-yellow: #F59E0B;
  --c-blue: #0EA5E9;
  --c-navy: #12263A;
  --c-bg: #F3F7FB;
  --c-white: #FFFFFF;
  --c-border: #D7E3EF;
  --c-text: #12263A;
  --c-text-sub: #64748B;
  --radius: 16px;
  --radius-lg: 24px;
  --font-title: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* 布局容器 */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.header { position: fixed; top: 0; left: 0; width: 100%; background: var(--c-white); border-bottom: 1px solid var(--c-border); z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.brand-text h1 { font-size: 20px; font-weight: 800; color: var(--c-navy); line-height: 1.2; font-family: var(--font-title); }
.brand-text span { font-size: 12px; color: var(--c-text-sub); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--c-text); transition: color 0.2s; }
.nav-links a:hover { color: var(--c-blue); }
.header-actions { display: flex; gap: 12px; }
.btn-outline { padding: 8px 16px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 14px; color: var(--c-navy); background: transparent; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--c-blue); color: var(--c-blue); }
.btn-primary { padding: 8px 18px; border-radius: 8px; font-size: 14px; background: var(--c-navy); color: var(--c-white); font-weight: 500; transition: background 0.2s; }
.btn-primary:hover { background: #1e3a5f; }
.mobile-toggle { display: none; font-size: 24px; color: var(--c-navy); cursor: pointer; }

/* 站点数据条 */
.site-stats { margin-top: 72px; background: var(--c-navy); color: var(--c-white); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .stat-num { font-size: 28px; font-weight: 800; font-family: var(--font-title); }
.stat-item:nth-child(1) .stat-num { color: var(--c-yellow); }
.stat-item:nth-child(2) .stat-num { color: #38BDF8; }
.stat-item:nth-child(3) .stat-num { color: #34D399; }
.stat-item:nth-child(4) .stat-num { color: #F472B6; }
.stat-item .stat-label { font-size: 13px; color: #94A3B8; margin-top: 4px; }

/* 通用区块 */
.section { padding: 60px 0; }
.section-alt { background: var(--c-white); }
.section-header { margin-bottom: 32px; }
.section-header.flex { display: flex; justify-content: space-between; align-items: flex-end; }
.section-sub { font-size: 13px; color: var(--c-blue); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.section-title { font-size: 26px; font-weight: 800; font-family: var(--font-title); color: var(--c-navy); margin-top: 4px; }
.section-link { font-size: 14px; color: var(--c-blue); font-weight: 500; }
.section-link:hover { text-decoration: underline; }

/* 首屏焦点与搜索 */
.hero { padding: 40px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; }
.hero-focus { background: var(--c-navy); border-radius: var(--radius-lg); padding: 48px; position: relative; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: center; }
.hero-focus::before { content: ''; position: absolute; top: -50px; right: -50px; width: 250px; height: 250px; border-radius: 50%; background: rgba(245, 158, 11, 0.15); }
.hero-focus::after { content: ''; position: absolute; bottom: -30px; left: -30px; width: 180px; height: 180px; border-radius: 50%; background: rgba(14, 165, 233, 0.15); }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.1); color: var(--c-yellow); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px; position: relative; z-index: 1; width: fit-content; }
.hero-title { font-size: 36px; font-weight: 800; color: var(--c-white); font-family: var(--font-title); line-height: 1.3; margin-bottom: 16px; position: relative; z-index: 1; }
.hero-desc { font-size: 15px; color: #CBD5E1; margin-bottom: 28px; max-width: 480px; position: relative; z-index: 1; }
.hero-btns { display: flex; gap: 12px; position: relative; z-index: 1; }
.btn-hero-primary { background: var(--c-yellow); color: var(--c-navy); padding: 12px 24px; border-radius: 10px; font-weight: 700; transition: transform 0.2s; }
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-outline { border: 1px solid rgba(255,255,255,0.3); color: var(--c-white); padding: 12px 24px; border-radius: 10px; font-weight: 500; transition: background 0.2s; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.1); }
.hero-dots { position: absolute; bottom: 24px; right: 32px; display: flex; gap: 6px; z-index: 1; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.hero-dots span.active { background: var(--c-yellow); width: 20px; border-radius: 4px; }

.search-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.search-box { display: flex; gap: 8px; margin-bottom: 20px; }
.search-box input { flex: 1; padding: 10px 16px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 14px; outline: none; transition: border 0.2s; }
.search-box input:focus { border-color: var(--c-blue); }
.search-box button { background: var(--c-blue); color: var(--c-white); padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.filter-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.filter-label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--c-text-sub); cursor: pointer; }
.filter-label input { accent-color: var(--c-blue); width: 16px; height: 16px; }
.hot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.hot-tags span { font-size: 12px; color: var(--c-text-sub); background: var(--c-bg); padding: 4px 10px; border-radius: 20px; cursor: pointer; transition: background 0.2s; }
.hot-tags span:hover { background: var(--c-blue); color: var(--c-white); }

/* 分类导航 */
.category-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.category-card { background: #EFF6FF; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px 10px; text-align: center; transition: all 0.3s; cursor: pointer; }
.category-card:hover { transform: translateY(-4px); border-color: var(--c-blue); background: var(--c-white); box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1); }
.category-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.category-name { font-size: 14px; font-weight: 700; color: var(--c-navy); margin-bottom: 4px; }
.category-count { font-size: 12px; color: var(--c-text-sub); }

/* 通用卡片网格 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* 热门推荐 / 国创卡片 */
.anime-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; display: flex; flex-direction: column; }
.anime-card:hover { transform: translateY(-6px); border-color: var(--c-navy); box-shadow: 0 10px 20px rgba(18, 38, 58, 0.08); }
.card-img { width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-status { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; color: var(--c-white); }
.status-green { background: #10B981; }
.status-yellow { background: var(--c-yellow); color: var(--c-navy); }
.status-gray { background: #94A3B8; }
.card-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 16px; font-weight: 700; color: var(--c-navy); margin-bottom: 6px; }
.card-desc { font-size: 13px; color: var(--c-text-sub); margin-bottom: 12px; flex: 1; 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 { color: var(--c-yellow); font-weight: 700; font-size: 15px; }
.card-tags { display: flex; gap: 6px; }
.card-tags span { font-size: 11px; color: var(--c-text-sub); background: var(--c-bg); padding: 2px 6px; border-radius: 4px; }

/* 筛选胶囊 */
.filter-pills { display: flex; gap: 10px; }
.pill { padding: 6px 16px; border-radius: 20px; font-size: 14px; color: var(--c-text-sub); background: var(--c-bg); cursor: pointer; transition: all 0.2s; }
.pill.active { background: var(--c-navy); color: var(--c-white); }
.pill:hover:not(.active) { background: #E2E8F0; }

/* 表格 */
.styled-table { width: 100%; border-collapse: collapse; background: var(--c-white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(18,38,58,0.04); }
.styled-table thead { background: var(--c-navy); color: var(--c-white); }
.styled-table th { padding: 14px 16px; text-align: left; font-weight: 500; font-size: 14px; }
.styled-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--c-border); }
.styled-table tbody tr:nth-child(even) { background: #F8FAFC; }
.styled-table tbody tr:hover { background: #EFF6FF; }
.table-score { color: var(--c-yellow); font-weight: 700; }

/* 追番日历与排行 */
.split-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.white-card { background: var(--c-white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--c-border); }
.calendar-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.calendar-day { padding: 6px 12px; border-radius: 20px; font-size: 13px; color: var(--c-text-sub); cursor: pointer; text-align: center; transition: all 0.2s; }
.calendar-day.active { background: var(--c-yellow); color: var(--c-navy); font-weight: 700; }
.timeline-item { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.timeline-item:last-child { border-bottom: none; }
.t-time { width: 50px; font-weight: 700; color: var(--c-navy); font-size: 15px; }
.t-info { flex: 1; }
.t-title { font-weight: 600; font-size: 14px; }
.t-ep { font-size: 12px; color: var(--c-text-sub); }
.t-status { font-size: 12px; padding: 2px 8px; border-radius: 4px; }
.t-status.updated { background: #D1FAE5; color: #047857; }
.t-status.waiting { background: #FEF3C7; color: #B45309; }

.rank-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.rank-item:last-child { border-bottom: none; }
.rank-num { width: 30px; font-size: 18px; font-weight: 800; font-family: var(--font-title); text-align: center; }
.rank-num.top1 { color: var(--c-yellow); font-size: 22px; }
.rank-num.top2 { color: #94A3B8; font-size: 20px; }
.rank-num.top3 { color: #F97316; font-size: 20px; }
.rank-info { flex: 1; margin-left: 12px; }
.rank-title { font-size: 14px; font-weight: 600; }
.rank-tag { font-size: 11px; color: var(--c-text-sub); }
.rank-score { color: var(--c-yellow); font-weight: 700; font-size: 15px; }

/* 制作公司 */
.company-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.company-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 30px; padding: 10px 24px; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.company-card:hover { border-color: var(--c-blue); color: var(--c-blue); }

/* 编辑专题 / 资讯 */
.topic-card { background: var(--c-white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--c-border); transition: transform 0.3s; }
.topic-card:hover { transform: translateY(-4px); border-color: var(--c-blue); }
.topic-icon { font-size: 32px; margin-bottom: 16px; }
.topic-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.topic-desc { font-size: 14px; color: var(--c-text-sub); margin-bottom: 20px; }
.read-link { color: var(--c-blue); font-size: 14px; font-weight: 500; }

.news-card { background: var(--c-white); padding: 24px; border-radius: var(--radius); border: 1px solid var(--c-border); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-cat { font-size: 12px; padding: 2px 8px; border-radius: 4px; color: var(--c-white); }
.news-date { font-size: 12px; color: var(--c-text-sub); }
.news-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.news-summary { font-size: 14px; color: var(--c-text-sub); }

/* 社区 */
.community-section { background: var(--c-navy); border-radius: var(--radius-lg); padding: 48px; color: var(--c-white); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.community-intro h2 { font-size: 28px; font-family: var(--font-title); margin-bottom: 16px; }
.community-intro p { color: #CBD5E1; margin-bottom: 24px; }
.community-stats { display: flex; gap: 24px; margin-bottom: 32px; }
.comm-stat { background: rgba(255,255,255,0.05); padding: 16px 24px; border-radius: 12px; }
.comm-stat .num { font-size: 24px; font-weight: 800; color: var(--c-yellow); font-family: var(--font-title); }
.comm-stat .lbl { font-size: 12px; color: #94A3B8; }
.comm-btns { display: flex; gap: 16px; }
.btn-yellow { background: var(--c-yellow); color: var(--c-navy); padding: 10px 24px; border-radius: 8px; font-weight: 700; }
.btn-trans { border: 1px solid rgba(255,255,255,0.3); color: var(--c-white); padding: 10px 24px; border-radius: 8px; }

.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-card { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 20px; }
.post-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-white); font-size: 14px; }
.post-user { font-size: 14px; font-weight: 600; }
.post-time { font-size: 12px; color: #94A3B8; }
.post-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.post-summary { font-size: 13px; color: #CBD5E1; margin-bottom: 12px; }
.post-actions { display: flex; gap: 16px; font-size: 13px; color: #94A3B8; }
.post-actions span { cursor: pointer; }
.post-actions span:hover { color: var(--c-yellow); }

/* 角色卡片 */
.role-card { background: var(--c-white); border-radius: var(--radius); border: 1px solid var(--c-border); overflow: hidden; transition: all 0.3s; }
.role-card:hover { transform: translateY(-4px); border-color: var(--c-yellow); }
.role-img { aspect-ratio: 1; background: linear-gradient(135deg, #E2E8F0, #F8FAFC); position: relative; overflow: hidden; }
.role-img img { width: 100%; height: 100%; object-fit: cover; }
.role-info { padding: 16px; text-align: center; }
.role-name { font-size: 16px; font-weight: 700; }
.role-anime { font-size: 12px; color: var(--c-text-sub); margin-bottom: 8px; }
.role-voice { font-size: 13px; color: var(--c-blue); margin-bottom: 8px; }
.role-votes { font-size: 13px; color: var(--c-yellow); font-weight: 700; }

/* 标签与片单 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: #E0F2FE; color: var(--c-blue); padding: 8px 16px; border-radius: 20px; font-size: 14px; transition: all 0.2s; cursor: pointer; }
.tag:hover { background: var(--c-navy); color: var(--c-white); }
.playlist-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: 12px; padding: 16px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; transition: all 0.2s; }
.playlist-card:hover { border-color: var(--c-blue); }
.pl-title { font-weight: 600; font-size: 15px; }
.pl-meta { font-size: 12px; color: var(--c-text-sub); }
.pl-fav { font-size: 13px; color: var(--c-yellow); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q { width: 100%; text-align: left; padding: 16px 0; font-size: 15px; font-weight: 600; background: none; color: var(--c-navy); display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 18px; color: var(--c-text-sub); transition: transform 0.3s; }
.faq-q.active::after { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 16px; font-size: 14px; color: var(--c-text-sub); }
.faq-a.show { display: block; }

/* 订阅 */
.subscribe-card { background: #F0F9FF; border: 1px solid var(--c-blue); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.sub-icon { font-size: 36px; margin-bottom: 16px; }
.sub-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.sub-desc { font-size: 14px; color: var(--c-text-sub); margin-bottom: 20px; }
.sub-form { display: flex; gap: 8px; max-width: 320px; margin: 0 auto; }
.sub-form input { flex: 1; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: 8px; font-size: 14px; outline: none; }
.sub-form button { background: var(--c-navy); color: var(--c-white); padding: 0 20px; border-radius: 8px; font-weight: 500; }

/* 关于 */
.about-text { font-size: 16px; color: var(--c-text-sub); max-width: 800px; margin: 0 auto 40px; text-align: center; line-height: 1.8; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; text-align: center; }
.adv-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.adv-desc { font-size: 13px; color: var(--c-text-sub); }
.adv-card:nth-child(1) .adv-title { color: var(--c-yellow); }
.adv-card:nth-child(2) .adv-title { color: var(--c-blue); }
.adv-card:nth-child(3) .adv-title { color: #10B981; }
.adv-card:nth-child(4) .adv-title { color: #F472B6; }

/* 页脚 */
.footer { background: var(--c-navy); color: var(--c-white); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 32px; }
.footer-brand span { font-size: 18px; font-weight: 700; font-family: var(--font-title); }
.footer-desc { font-size: 14px; color: #94A3B8; max-width: 300px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-social a { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.social-yellow { background: var(--c-yellow); color: var(--c-navy); }
.social-blue { background: var(--c-blue); color: var(--c-white); }
.social-pink { background: #F472B6; color: var(--c-white); }
.footer-domain { font-size: 13px; color: #64748B; }
.footer-links h4 { font-size: 15px; margin-bottom: 16px; color: var(--c-white); }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #94A3B8; transition: color 0.2s; }
.footer-links a:hover { color: var(--c-white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748B; }
.footer-bottom time { font-size: 12px; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .community-section { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .header-actions { display: none; }
  .mobile-toggle { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero-focus { padding: 32px 24px; }
  .hero-title { font-size: 28px; }
  .community-section { padding: 32px 24px; }
  .community-stats { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .advantage-grid { grid-template-columns: 1fr; }
  .nav-mobile-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; width: 100%; background: var(--c-white); padding: 20px; border-bottom: 1px solid var(--c-border); z-index: 999; }
}