/* roulang page: index */
:root {
  --primary: #7B55F6;
  --primary-light: #9A7CFF;
  --primary-dark: #6943E0;
  --accent: #D9A25F;
  --bg: #0C0D10;
  --surface: #151720;
  --surface-light: #1C1E26;
  --border: #262B36;
  --text-primary: #F5F6F8;
  --text-secondary: #9AA2B0;
  --text-weak: #6C7380;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --radius-card: 16px;
  --radius-btn: 12px;
  --shadow-card: 0 8px 30px rgba(0,0,0,0.30), 0 1px 0 rgba(255,255,255,0.04);
  --shadow-primary: 0 8px 24px rgba(123,85,246,0.25);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, button { font-family: inherit; }
ul { list-style: none; }

/* 焦点可见性 */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid rgba(123, 85, 246, 0.5);
  outline-offset: 2px;
}

/* 左侧 App Shell */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 100vh;
  background: #101116;
  border-right: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.sidebar-logo {
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text .logo-dot {
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 12px rgba(123,85,246,0.7);
}
.sidebar-nav {
  flex: 1;
  padding: 18px 12px;
  overflow-y: auto;
}
.nav-group-label {
  font-size: 12px;
  color: var(--text-weak);
  letter-spacing: 2px;
  padding: 0 12px;
  margin-bottom: 10px;
  font-weight: 600;
}
.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
  margin-bottom: 4px;
  position: relative;
}
.sidebar-nav .nav-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.sidebar-nav .nav-link.active {
  background: rgba(123,85,246,0.10);
  color: var(--primary-light);
}
.sidebar-nav .nav-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 20px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}
.sidebar-nav .nav-link svg {
  flex-shrink: 0;
}
.sidebar-footer {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-weak);
  line-height: 1.6;
}
.sidebar-footer .domain {
  color: var(--text-secondary);
  font-weight: 600;
}

/* 移动端头部 */
.mobile-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: #101116;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.mobile-header .logo-text { font-size: 22px; }
.menu-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: border-color 0.2s;
}
.menu-toggle:hover { border-color: var(--primary); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100vh;
  background: #101116;
  border-right: 1px solid var(--border);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer .sidebar-logo { height: 64px; }
.drawer .sidebar-nav { flex: 1; }
.drawer .sidebar-footer { border-top: 1px solid var(--border); }

/* 主内容区 */
.main-content {
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 区块间距 */
.section {
  padding: 96px 0;
}
.section-tight { padding: 64px 0; }
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
}

/* 画像 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* 标题 */
h1.display {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
}
h2.section-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}
h3.card-title { font-size: 18px; font-weight: 600; }
.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
  max-width: 560px;
}
@media (max-width: 1023px) {
  h1.display { font-size: 48px; }
}
@media (max-width: 767px) {
  h1.display { font-size: 40px; }
  h2.section-title { font-size: 24px; }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 14px 28px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  line-height: 1.4;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(123,85,246,0.05);
}
.btn-lg { padding: 18px 36px; font-size: 16px; min-height: 56px; min-width: 180px; }

/* 卡片 */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--easing), border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(123,85,246,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06);
}

/* 卖点卡 */
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 28px 32px;
  transition: transform 0.3s var(--easing), border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123,85,246,0.4);
}
.feature-card .num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  opacity: 0.6;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}
.feature-card:nth-child(2) { transform: translateY(16px); }
@media (max-width: 1023px) {
  .feature-card:nth-child(2) { transform: none; }
}

/* 数据统计 */
.stat-num {
  font-size: 52px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-num .unit { font-size: 20px; color: var(--accent); font-weight: 700; margin-left: 2px; }

/* 徽章 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  color: var(--text-primary);
  backdrop-filter: blur(4px);
}
.badge-accent {
  background: rgba(217,162,95,0.2);
  color: var(--accent);
}

/* 标签 */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-light);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}
.tag:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* 列表 */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}
.check-list li svg { flex-shrink: 0; margin-top: 4px; color: var(--primary-light); }

/* 热榜数据面板 */
.rank-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
}
.rank-panel::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(123,85,246,0.15), transparent 70%);
  border-radius: 50%;
}
.rank-panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rank-panel-header .title { font-size: 15px; font-weight: 700; }
.rank-panel .live-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: rgba(123,85,246,0.05); }
.rank-item .rank {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-weak);
  font-variant-numeric: tabular-nums;
  width: 30px;
  text-align: center;
}
.rank-item:nth-child(2) .rank { color: var(--accent); }
.rank-item:nth-child(3) .rank { color: var(--accent); }
.rank-item:nth-child(4) .rank { color: var(--accent); }
.rank-item .info { flex: 1; min-width: 0; }
.rank-item .info .name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-item .info .meta {
  font-size: 12px;
  color: var(--text-weak);
}
.rank-item .score {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(217,162,95,0.12);
  padding: 4px 10px;
  border-radius: 8px;
}

/* 图文交错块 */
.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.demo-row:last-child { margin-bottom: 0; }
.demo-row .demo-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.demo-row .demo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}
.demo-row .demo-img:hover img { transform: scale(1.04); }
.demo-row .demo-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.2), transparent 60%);
  pointer-events: none;
}
.demo-row.reverse .demo-img { order: 2; }
.demo-row.reverse .demo-text { order: 1; }
@media (max-width: 1023px) {
  .demo-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .demo-row.reverse .demo-img { order: 1; }
  .demo-row.reverse .demo-text { order: 2; }
}
@media (max-width: 767px) {
  .demo-row { gap: 24px; margin-bottom: 48px; }
}

/* 图文链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-light);
  transition: gap 0.2s, color 0.2s;
  margin-top: 12px;
}
.text-link:hover { gap: 10px; color: var(--primary); }

/* 用户评价 */
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s var(--easing);
}
.review-card:hover { border-color: rgba(123,85,246,0.4); transform: translateY(-4px); }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4B2FA8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }

/* 资讯区 */
.news-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s;
}
.news-list li:hover { padding-left: 8px; }
.news-list .news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  transition: color 0.2s;
}
.news-list li:hover .news-title { color: var(--primary-light); }
.news-list .news-date {
  font-size: 12px;
  color: var(--text-weak);
  margin-top: 4px;
}
.recommend-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
}
.recommend-box .topic {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s, padding-left 0.2s;
}
.recommend-box .topic:last-child { border-bottom: none; }
.recommend-box .topic:hover { color: var(--primary-light); padding-left: 8px; }
.recommend-box .topic .arrow { color: var(--primary); font-size: 12px; }

/* FAQ */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(123,85,246,0.3); }
.faq-item.open { border-color: rgba(123,85,246,0.5); }
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-light); }
.faq-question .icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
  border-color: var(--primary);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--easing);
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 固定转化条 */
.conversion-bar {
  position: fixed;
  bottom: 0; left: 260px; right: 0;
  background: rgba(16,17,22,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s var(--easing);
  max-height: 72px;
}
.conversion-bar.visible { transform: translateY(0); }
.conversion-bar .text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.conversion-bar .text span { color: var(--primary-light); }
@media (max-width: 1023px) {
  .conversion-bar { left: 0; max-height: 64px; padding: 10px 16px; }
  .conversion-bar .text { font-size: 13px; }
  .conversion-bar .btn { padding: 10px 18px; font-size: 13px; }
}

/* 页脚 */
.site-footer {
  background: #101116;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: auto;
}
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand .logo-text { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text-weak); max-width: 320px; line-height: 1.7; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.footer-social a:hover { color: var(--primary); border-color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--text-weak); }
@media (max-width: 767px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* CTA 区块 */
.cta-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(123,85,246,0.2), transparent 70%);
  pointer-events: none;
}

/* 滚动进入动画 */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--easing), transform 0.6s var(--easing);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* 响应式断点 */
@media (max-width: 1023px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; }
  .conversion-bar { left: 0; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .rank-panel { margin-top: 32px; }
  .cta-section { padding: 48px 24px; }
  .feature-card:nth-child(2) { transform: none; }
  .stat-num { font-size: 40px; }
}

@keyframes float {
        0%, 100% { transform: translate(-50%, 0); }
        50% { transform: translate(-50%, 8px); }
      }

/* roulang page: category1 */
:root {
  --primary: #7B55F6;
  --primary-light: #9A7CFF;
  --primary-dark: #6943E0;
  --accent: #D9A25F;
  --bg: #0C0D10;
  --surface: #151720;
  --surface-light: #1C1E26;
  --border: #262B36;
  --text-primary: #F5F6F8;
  --text-secondary: #9AA2B0;
  --text-weak: #6C7380;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;
  --radius-card: 16px;
  --radius-btn: 12px;
  --shadow-card: 0 8px 30px rgba(0,0,0,0.30), 0 1px 0 rgba(255,255,255,0.04);
  --shadow-primary: 0 8px 24px rgba(123,85,246,0.25);
  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, button { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid rgba(123, 85, 246, 0.5);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary-light);
  letter-spacing: 1px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; }
h2.section-title { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
h3.card-title { font-size: 18px; font-weight: 600; }
.section-desc { color: var(--text-secondary); font-size: 16px; line-height: 1.75; max-width: 560px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; border-radius: var(--radius-btn);
  padding: 14px 28px; border: 1px solid transparent;
  transition: all 0.25s ease; cursor: pointer; line-height: 1.4;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(123,85,246,0.05); }
.btn-lg { padding: 18px 36px; font-size: 16px; min-height: 56px; min-width: 180px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: transform 0.3s var(--easing), border-color 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(123,85,246,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.06); }
.sidebar {
  position: fixed; top: 0; left: 0; width: 260px; height: 100vh;
  background: #101116; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; z-index: 900;
}
.sidebar-logo {
  height: 68px; display: flex; align-items: center; padding: 0 24px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.logo-text { font-size: 26px; font-weight: 800; color: var(--text-primary); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.logo-text .logo-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; display: inline-block; box-shadow: 0 0 12px rgba(123,85,246,0.7); }
.sidebar-nav { flex: 1; padding: 18px 12px; overflow-y: auto; }
.nav-group-label { font-size: 12px; color: var(--text-weak); letter-spacing: 2px; padding: 0 12px; margin-bottom: 10px; font-weight: 600; }
.sidebar-nav .nav-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-secondary);
  transition: background 0.2s, color 0.2s; margin-bottom: 4px; position: relative;
}
.sidebar-nav .nav-link:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.sidebar-nav .nav-link.active { background: rgba(123,85,246,0.10); color: var(--primary-light); }
.sidebar-nav .nav-link.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; background: var(--primary); border-radius: 0 4px 4px 0; }
.sidebar-nav .nav-link svg { flex-shrink: 0; }
.sidebar-footer { padding: 18px 24px 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-weak); line-height: 1.6; }
.sidebar-footer .domain { color: var(--text-secondary); font-weight: 600; }
.mobile-header {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  background: #101116; border-bottom: 1px solid var(--border);
  z-index: 1000; display: none; align-items: center; justify-content: space-between; padding: 0 20px;
}
.mobile-header .logo-text { font-size: 22px; }
.menu-toggle {
  background: transparent; border: 1px solid var(--border); border-radius: 10px;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  color: var(--text-primary); transition: border-color 0.2s;
}
.menu-toggle:hover { border-color: var(--primary); }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1100;
  opacity: 0; visibility: hidden; transition: opacity 0.24s ease, visibility 0.24s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; width: 280px; height: 100vh;
  background: #101116; border-right: 1px solid var(--border);
  z-index: 1200; transform: translateX(-100%); transition: transform 0.24s ease;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer .sidebar-logo { height: 64px; justify-content: space-between; }
.drawer .sidebar-logo .logo-text { font-size: 22px; }
.drawer .sidebar-nav { flex: 1; }
.drawer .sidebar-footer { border-top: 1px solid var(--border); }
.drawer-close {
  background: transparent; border: none; color: var(--text-secondary);
  font-size: 24px; line-height: 1; padding: 4px 8px; border-radius: 8px; transition: color 0.2s;
}
.drawer-close:hover { color: var(--text-primary); }
.main-content { margin-left: 260px; min-height: 100vh; display: flex; flex-direction: column; }
@media (max-width: 1023px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; padding-top: 64px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 40px 0; }
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-weak);
  padding: 20px 0 0;
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { color: var(--text-weak); opacity: 0.5; }
.breadcrumb .current { color: var(--text-primary); font-weight: 600; }
.page-hero {
  position: relative; padding: 80px 0 64px; overflow: hidden;
  background-size: cover; background-position: center;
  background-image: linear-gradient(90deg, rgba(12,13,16,0.94) 0%, rgba(12,13,16,0.80) 55%, rgba(12,13,16,0.65) 100%), url('/assets/images/backpic/back-1.jpg');
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
}
.hero-copy h1 {
  font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: 0.5px;
}
.hero-copy h1 .highlight { color: var(--primary-light); }
.hero-copy p { font-size: 16px; line-height: 1.8; color: var(--text-secondary); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; }
.hero-stats .stat-item .num { font-size: 36px; font-weight: 800; color: var(--text-primary); line-height: 1.1; }
.hero-stats .stat-item .num em { font-style: normal; color: var(--accent); font-size: 18px; font-weight: 600; margin-left: 2px; }
.hero-stats .stat-item .label { font-size: 13px; color: var(--text-weak); margin-top: 4px; }
.hero-panel {
  background: rgba(21,23,32,0.85); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 28px;
  backdrop-filter: blur(12px);
}
.hero-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.hero-panel-header .panel-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.hero-panel-header .panel-badge { background: rgba(217,162,95,0.15); color: var(--accent); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.hero-rank-list { list-style: none; padding: 0; margin: 0; }
.hero-rank-list li {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid rgba(38,43,54,0.5);
}
.hero-rank-list li:last-child { border-bottom: none; }
.hero-rank-list .rank-num { font-size: 16px; font-weight: 800; color: var(--text-weak); width: 28px; }
.hero-rank-list li:nth-child(1) .rank-num,
.hero-rank-list li:nth-child(2) .rank-num,
.hero-rank-list li:nth-child(3) .rank-num { color: var(--accent); }
.hero-rank-list .rank-name { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.hero-rank-list .rank-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.hero-rank-list .rank-bar span { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.hero-rank-list .rank-val { font-size: 14px; font-weight: 700; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .page-hero { padding: 48px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy h1 { font-size: 30px; }
}
@media (max-width: 520px) {
  .hero-copy h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; flex-wrap: wrap;
}
.toolbar-tabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.toolbar-tabs .tab {
  padding: 8px 18px; font-size: 14px; font-weight: 600; color: var(--text-secondary);
  border-radius: 8px; transition: all 0.2s; background: transparent; border: none;
}
.toolbar-tabs .tab:hover { color: var(--text-primary); }
.toolbar-tabs .tab.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(123,85,246,0.3); }
.toolbar-search { display: flex; gap: 8px; }
.toolbar-search input {
  height: 42px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-primary); font-size: 14px; width: 220px; transition: border-color 0.2s, box-shadow 0.2s;
}
.toolbar-search input::placeholder { color: var(--text-weak); }
.toolbar-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(123,85,246,0.2); }
.toolbar-search button {
  height: 42px; padding: 0 20px; background: var(--primary); color: #fff; border: none;
  border-radius: 10px; font-size: 14px; font-weight: 600; transition: background 0.2s, transform 0.1s;
}
.toolbar-search button:hover { background: var(--primary-light); }
.toolbar-search button:active { transform: scale(0.97); }
@media (max-width: 640px) {
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-search { width: 100%; }
  .toolbar-search input { flex: 1; width: auto; }
}
.media-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.media-card { overflow: hidden; display: flex; flex-direction: column; }
.media-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--surface-light); }
.media-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--easing); }
.media-card:hover .media-cover img { transform: scale(1.05); }
.media-badge {
  position: absolute; right: 12px; bottom: 12px; padding: 3px 10px;
  background: rgba(0,0,0,0.72); color: var(--text-primary); font-size: 12px; font-weight: 600;
  border-radius: 999px; backdrop-filter: blur(4px);
}
.media-badge.badge-score { background: rgba(12,13,16,0.8); color: var(--accent); border: 1px solid rgba(217,162,95,0.3); }
.media-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(12,13,16,0.6) 0%, rgba(12,13,16,0.2) 60%, transparent 100%);
  opacity: 0; transition: opacity 0.3s;
}
.media-card:hover .media-overlay { opacity: 1; }
.media-overlay .btn { opacity: 0; transform: translateY(8px); transition: all 0.3s var(--easing); }
.media-card:hover .media-overlay .btn { opacity: 1; transform: translateY(0); }
.media-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.media-card-title {
  font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--text-primary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.media-meta { font-size: 13px; color: var(--text-weak); font-variant-numeric: tabular-nums; }
.media-meta .dot { margin: 0 4px; opacity: 0.4; }
.media-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.tag {
  display: inline-flex; align-items: center; padding: 2px 10px; font-size: 12px;
  background: rgba(123,85,246,0.1); color: var(--primary-light); border-radius: 999px; font-weight: 600;
}
.tag-alt { background: rgba(217,162,95,0.1); color: var(--accent); }
@media (max-width: 1023px) {
  .media-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 520px) {
  .media-grid { grid-template-columns: 1fr; gap: 16px; }
}
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-btn {
  min-width: 42px; height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-secondary); font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.pagination .page-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.pagination .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 14px rgba(123,85,246,0.3); }
.pagination .page-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.pagination .page-btn.disabled:hover { border-color: var(--border); color: var(--text-secondary); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.feature-card { padding: 32px; position: relative; overflow: hidden; }
.feature-card:nth-child(2) { margin-top: 16px; }
.feature-num { font-size: 56px; font-weight: 800; color: rgba(123,85,246,0.25); line-height: 1; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(123,85,246,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--primary-light); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.feature-card p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
@media (max-width: 1023px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(3) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(3) { grid-column: auto; }
  .feature-card:nth-child(2) { margin-top: 0; }
}
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  margin-bottom: 72px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse .showcase-media { order: 2; }
.showcase-media { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.showcase-media img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s var(--easing); }
.showcase-media:hover img { transform: scale(1.03); }
.showcase-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,13,16,0.25) 0%, transparent 50%); pointer-events: none; }
.showcase-copy .showcase-label { font-size: 13px; font-weight: 600; color: var(--primary-light); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; letter-spacing: 1px; }
.showcase-copy .showcase-label::before { content: ''; width: 18px; height: 2px; background: var(--primary); border-radius: 2px; }
.showcase-copy h3 { font-size: 26px; font-weight: 700; margin-bottom: 14px; color: var(--text-primary); line-height: 1.3; }
.showcase-copy p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.showcase-list { list-style: none; padding: 0; margin: 0 0 20px; }
.showcase-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; }
.showcase-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; margin-top: 9px; }
.showcase-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--primary-light); transition: gap 0.2s, color 0.2s; }
.showcase-link:hover { gap: 10px; color: var(--primary); }
.showcase-link svg { transition: transform 0.2s; }
.showcase-link:hover svg { transform: translateX(2px); }
@media (max-width: 1023px) {
  .showcase-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .showcase-row.reverse .showcase-media { order: initial; }
  .showcase-copy h3 { font-size: 22px; }
}
.related-tags { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.related-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text-secondary); transition: all 0.25s;
}
.related-tag:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(123,85,246,0.06); transform: translateY(-2px); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.active { border-color: rgba(123,85,246,0.4); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: transparent; border: none; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--text-primary); transition: color 0.2s;
}
.faq-question:hover { color: var(--primary-light); }
.faq-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--text-secondary); border-radius: 2px; transition: all 0.3s; }
.faq-icon::before { left: 3px; right: 3px; top: 9px; height: 2px; }
.faq-icon::after { top: 3px; bottom: 3px; left: 9px; width: 2px; }
.faq-item.active .faq-icon::before { background: var(--primary); transform: rotate(45deg); }
.faq-item.active .faq-icon::after { background: var(--primary); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--easing); }
.faq-answer-inner { padding: 0 22px 20px; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.cta-section { position: relative; padding: 80px 0; overflow: hidden; background-image: linear-gradient(135deg, rgba(123,85,246,0.12) 0%, rgba(12,13,16,0.7) 60%), url('/assets/images/backpic/back-2.jpg'); background-size: cover; background-position: center; }
.cta-box {
  max-width: 680px; margin: 0 auto; text-align: center; background: rgba(12,13,16,0.6);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 48px 40px;
  backdrop-filter: blur(10px);
}
.cta-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-box p { font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; }
.site-footer { background: #101116; border-top: 1px solid var(--border); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-top: 14px; max-width: 340px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-secondary); transition: all 0.25s;
}
.footer-social a:hover { color: var(--primary-light); border-color: var(--primary); transform: translateY(-2px); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-secondary); padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px;
  font-size: 13px; color: var(--text-weak);
}
.footer-bottom .domain { color: var(--text-secondary); font-weight: 600; }
@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
