/* roulang page: index */
:root {
  --color-primary: #162b47;
  --color-primary-light: #24456b;
  --color-primary-dark: #0e1e33;
  --color-accent: #d4a853;
  --color-accent-light: #f0d48a;
  --color-accent-dark: #b8893a;
  --color-bg: #f4f6fa;
  --color-bg-dark: #0e1e33;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #6b7a90;
  --color-border: #e3e8ef;
  --color-white: #ffffff;
  --color-success: #18a058;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 2px 10px rgba(15, 28, 46, 0.06);
  --shadow-md: 0 8px 28px rgba(15, 28, 46, 0.1);
  --shadow-lg: 0 18px 48px rgba(15, 28, 46, 0.14);
  --container-max: 1200px;
  --header-h: 72px;
  --transition: all .25s ease;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid rgba(212, 168, 83, .55);
  outline-offset: 2px;
  border-radius: 4px;
}
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.section {
  padding: 88px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, .12);
  color: var(--color-accent-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-header p {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--color-text-muted);
  font-size: .98rem;
}
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 4px rgba(15, 28, 46, .04);
}
.header-top {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 0;
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #fff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo i {
  color: var(--color-accent);
  font-size: 1.3rem;
}
.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .14);
  border-radius: 100px;
  padding: 3px 4px 3px 16px;
  transition: var(--transition);
}
.header-search:focus-within {
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: .85rem;
  padding: 7px 0;
}
.header-search input::placeholder {
  color: rgba(255, 255, 255, .55);
}
.header-search button {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  transition: var(--transition);
}
.header-search button:hover {
  background: var(--color-accent-light);
}
.header-hot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  white-space: nowrap;
}
.header-hot span {
  color: rgba(255, 255, 255, .6);
}
.header-hot a {
  background: rgba(255, 255, 255, .12);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: .76rem;
  color: #fff;
  transition: var(--transition);
}
.header-hot a:hover {
  background: rgba(255, 255, 255, .22);
  color: var(--color-accent-light);
}
.header-nav {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--color-border);
}
.header-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav__link i {
  font-size: .82rem;
  color: var(--color-text-muted);
}
.main-nav__link:hover {
  background: rgba(212, 168, 83, .12);
  color: var(--color-primary);
}
.main-nav__link.active {
  background: var(--color-primary);
  color: #fff;
}
.main-nav__link.active i {
  color: var(--color-accent);
}
.nav-toggle {
  display: none;
  color: var(--color-primary);
  font-size: 1.4rem;
  padding: 6px 10px;
  background: rgba(212, 168, 83, .15);
  border-radius: 10px;
}
/* Mobile nav panel */
.mobile-nav {
  display: none;
  background: #fff;
  padding: 12px 16px 18px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.mobile-nav.show {
  display: block;
}
.mobile-nav__link {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav__link:last-child {
  border-bottom: none;
}
.mobile-nav__link.active,
.mobile-nav__link:hover {
  background: rgba(212, 168, 83, .1);
  color: var(--color-primary);
}
/* Hero */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(14, 30, 51, .92), rgba(22, 43, 71, .82)), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  color: #fff;
  padding: 130px 0 110px;
}
.hero__inner {
  max-width: 780px;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 168, 83, .18);
  border: 1px solid rgba(212, 168, 83, .4);
  color: var(--color-accent-light);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: .04em;
}
.hero__tag i {
  font-size: .75rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 span {
  color: var(--color-accent);
}
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: .92rem;
  transition: var(--transition);
}
.btn--accent {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(212, 168, 83, .3);
}
.btn--accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 168, 83, .4);
}
.btn--ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.hero__features {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
}
.hero__features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__features i {
  color: var(--color-accent);
}
/* Stats */
.stats {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-item {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.stat-item:hover {
  background: rgba(212, 168, 83, .06);
  transform: translateY(-2px);
}
.stat-item .stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.stat-item .stat-num em {
  font-style: normal;
  color: var(--color-accent-dark);
  font-size: 1.4rem;
}
.stat-item .stat-label {
  color: var(--color-text-muted);
  font-size: .88rem;
  margin-top: 4px;
}
/* Categories */
.categories {
  background: var(--color-bg);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.category-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.category-card:hover .category-card__media img {
  transform: scale(1.05);
}
.category-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14, 30, 51, .1), rgba(14, 30, 51, .55));
}
.category-card__code {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: .75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.category-card__icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
}
.category-card__body {
  padding: 28px;
}
.category-card__body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.category-card__body p {
  color: var(--color-text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.category-card__link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.category-card__link:hover {
  gap: 12px;
  color: var(--color-primary);
}
/* Features */
.features {
  background: var(--color-surface);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
}
.feature-card:hover {
  background: #fff;
  border-color: rgba(212, 168, 83, .4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(22, 43, 71, .25);
  transition: var(--transition);
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.05) rotate(-3deg);
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.65;
}
/* News */
.news {
  background: var(--color-bg);
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-item {
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.news-item__media {
  flex: 0 0 200px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}
.news-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.news-item:hover .news-item__media img {
  transform: scale(1.04);
}
.news-item__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, rgba(14, 30, 51, .25));
}
.news-item__body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: .02em;
}
.badge--accent {
  background: rgba(212, 168, 83, .15);
  color: var(--color-accent-dark);
}
.badge--primary {
  background: rgba(22, 43, 71, .08);
  color: var(--color-primary);
}
.news-item__date {
  font-size: .78rem;
  color: var(--color-text-muted);
}
.news-item__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  transition: var(--transition);
}
.news-item__title a:hover {
  color: var(--color-accent-dark);
}
.news-item__desc {
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: .95rem;
}
/* Steps */
.steps {
  background: var(--color-primary-dark);
  background-image: linear-gradient(135deg, rgba(14, 30, 51, .97), rgba(22, 43, 71, .93)), url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  color: #fff;
}
.steps .section-header h2 {
  color: #fff;
}
.steps .section-header p {
  color: rgba(255, 255, 255, .7);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.step-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, .4);
}
.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(212, 168, 83, .5);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.step-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.step-card p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.6;
}
/* FAQ */
.faq {
  background: var(--color-surface);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--color-bg);
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(212, 168, 83, .3);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: .97rem;
  color: var(--color-primary);
  cursor: pointer;
}
.faq-item__question i {
  color: var(--color-accent-dark);
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-item__question i {
  transform: rotate(180deg);
}
.faq-item__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  color: var(--color-text-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.active .faq-item__answer {
  padding: 0 24px 22px;
  max-height: 300px;
}
/* CTA */
.cta {
  background: linear-gradient(120deg, rgba(22, 43, 71, .95), rgba(14, 30, 51, .88)), url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta__inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.3;
}
.cta__inner p {
  color: rgba(255, 255, 255, .75);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1rem;
  line-height: 1.7;
}
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* Footer */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand .logo {
  margin-bottom: 14px;
  font-size: 1.3rem;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 340px;
  margin-top: 8px;
}
.footer-brand .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  font-size: .85rem;
}
.footer-brand .footer-contact a:hover {
  color: var(--color-accent-light);
}
.footer-col h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 3px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: .87rem;
  transition: var(--transition);
}
.footer-col ul a:hover {
  color: var(--color-accent-light);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom a {
  color: rgba(255, 255, 255, .6);
}
/* Responsive */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }
  .headers-top__hot {
    display: none;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-item__media {
    flex: 0 0 160px;
  }
}
@media (max-width: 768px) {
  .header-top__inner {
    flex-wrap: wrap;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    flex: 1 1 100%;
    margin-top: 4px;
  }
  .header-hot {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
  }
  .hero {
    padding: 80px 0;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .news-item {
    flex-direction: column;
  }
  .news-item__media {
    flex: none;
    height: 170px;
  }
  .news-item__media::after {
    background: linear-gradient(to bottom, transparent 50%, rgba(14, 30, 51, .3));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-item__question {
    padding: 16px 18px;
  }
  .faq-item__answer {
    padding: 0 18px;
  }
  .faq-item.active .faq-item__answer {
    padding: 0 18px 18px;
  }
}
@media (max-width: 520px) {
  .section {
    padding: 48px 0;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-item .stat-num {
    font-size: 1.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .category-card__media {
    height: 170px;
  }
  .category-card__body {
    padding: 20px;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__features {
    flex-direction: column;
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* roulang page: category1 */
/* ========== 设计变量 ========== */
:root {
  --primary: #1a73e8;
  --primary-dark: #0d5bbd;
  --primary-light: #e8f0fe;
  --accent: #00c2a8;
  --accent-dark: #009688;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --bg-dark: #0f1c2e;
  --bg-dark-light: #1a2a3e;
  --text-main: #1e2a3a;
  --text-weak: #6b7a8f;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 28, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 28, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 28, 46, 0.12);
  --space-section: 80px;
  --font-main: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ========== Reset / Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); line-height: 1.7; color: var(--text-main); background: var(--bg-white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; color: var(--text-main); position: relative; display: inline-block; }
.section-header h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 44px; height: 4px; border-radius: 4px; background: var(--accent); }
.section-header p { color: var(--text-weak); font-size: 1.05rem; max-width: 680px; margin: 18px auto 0; line-height: 1.8; }
::selection { background: var(--primary); color: #fff; }

/* ========== 顶部信息条 ========== */
.topbar { background: var(--bg-dark); color: rgba(255,255,255,0.8); font-size: 0.82rem; padding: 7px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: rgba(255,255,255,0.75); display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--accent); }
.topbar-trend { display: flex; align-items: center; gap: 12px; }
.topbar-trend span { color: var(--accent); font-weight: 500; }

/* ========== Header / Nav ========== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); box-shadow: 0 2px 12px rgba(15,28,46,0.04); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.4rem; color: var(--primary); line-height: 1.2; letter-spacing: -0.02em; }
.logo i { font-size: 1.3rem; color: var(--accent); background: var(--primary-light); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.logo:hover i { background: var(--primary); color: #fff; transform: rotate(-8deg); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav__link { padding: 10px 18px; border-radius: 12px; font-size: 0.95rem; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; position: relative; }
.main-nav__link i { font-size: 0.85rem; color: var(--text-weak); transition: color 0.3s; }
.main-nav__link:hover { background: var(--primary-light); color: var(--primary); }
.main-nav__link:hover i { color: var(--primary); }
.main-nav__link.active { background: var(--primary); color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(26,115,232,0.3); }
.main-nav__link.active i { color: #fff; }
.header-search { display: flex; align-items: center; background: var(--bg-light); border-radius: 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--border); transition: all 0.3s; width: 240px; }
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,115,232,0.15); background: #fff; }
.header-search input { border: none; background: transparent; outline: none; flex: 1; font-size: 0.88rem; color: var(--text-main); }
.header-search button { width: 36px; height: 36px; border-radius: 9px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.header-search button:hover { background: var(--primary-dark); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; border-radius: 8px; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text-main); border-radius: 2px; transition: all 0.3s; }

/* ========== Banner ========== */
.category-banner { position: relative; padding: 80px 0 90px; background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-light) 60%, #233a52 100%); overflow: hidden; isolation: isolate; }
.category-banner::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/backpic/back-1.png') center/cover no-repeat; opacity: 0.3; z-index: -2; }
.category-banner::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(26,115,232,0.3), transparent 60%); z-index: -1; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.7rem; }
.banner-title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #fff; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 18px; }
.banner-title span { color: var(--accent); }
.banner-desc { color: rgba(255,255,255,0.8); font-size: 1.08rem; max-width: 660px; line-height: 1.9; margin-bottom: 32px; }
.banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 14px; font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease; line-height: 1.4; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(26,115,232,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(26,115,232,0.4); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(0,194,168,0.35); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,194,168,0.42); }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.banner-stats { display: flex; gap: 42px; margin-top: 44px; flex-wrap: wrap; }
.stat-item { color: #fff; }
.stat-item .num { font-size: 1.8rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.stat-item .num span { color: var(--accent); }
.stat-item .label { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ========== 分类导航卡片 ========== */
.guide-topics { padding: var(--space-section) 0; background: var(--bg-light); }
.topics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.topic-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 34px 28px; border: 1px solid var(--border); transition: all 0.4s ease; position: relative; overflow: hidden; }
.topic-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.topic-card:hover::before { transform: scaleX(1); }
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.topic-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--primary); margin-bottom: 20px; transition: all 0.4s; }
.topic-card:hover .topic-icon { background: var(--primary); color: #fff; transform: rotateY(180deg); }
.topic-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 12px; }
.topic-card p { color: var(--text-weak); font-size: 0.9rem; line-height: 1.75; margin-bottom: 16px; }
.topic-card .topic-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--primary); }
.topic-card .topic-link:hover { gap: 14px; }
.topic-card .topic-link i { font-size: 0.75rem; }
.topic-tag { position: absolute; top: 20px; right: 20px; font-size: 0.7rem; background: var(--bg-light); color: var(--text-weak); padding: 4px 12px; border-radius: 20px; font-weight: 500; }
.topic-tag.hot { background: #fff1f0; color: #e03131; }

/* ========== 图文指南区块 ========== */
.guide-feature { padding: var(--space-section) 0; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.6s ease; }
.feature-img:hover img { transform: scale(1.04); }
.feature-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,28,46,0.3), transparent); pointer-events: none; }
.feature-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin-bottom: 18px; line-height: 1.3; }
.feature-content p { color: var(--text-weak); font-size: 1rem; line-height: 1.9; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.feature-list li i { color: var(--accent); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }

/* ========== 指南文章卡片列表 ========== */
.article-grid-section { padding: var(--space-section) 0; background: var(--bg-light); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all 0.4s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.article-card__img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .article-card__img img { transform: scale(1.06); }
.article-card__badge { position: absolute; top: 16px; left: 16px; background: rgba(15,28,46,0.8); backdrop-filter: blur(8px); color: #fff; font-size: 0.74rem; padding: 5px 14px; border-radius: 20px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.article-card__badge.primary { background: var(--primary); }
.article-card__badge.accent { background: var(--accent); }
.article-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 14px; font-size: 0.78rem; color: var(--text-weak); margin-bottom: 12px; }
.article-card__meta span { display: flex; align-items: center; gap: 5px; }
.article-card__meta .read-count i { color: #ff922b; }
.article-card__meta .date i { color: var(--accent); }
.article-card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.article-card h3 a:hover { color: var(--primary); }
.article-card p { color: var(--text-weak); font-size: 0.88rem; line-height: 1.75; margin-bottom: 18px; flex: 1; }
.article-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.read-more { color: var(--primary); font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.read-more:hover { gap: 10px; }
.avatar-group { display: flex; align-items: center; }
.avatar-group img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.avatar-group img:first-child { margin-left: 0; }
.avatar-group span { font-size: 0.72rem; color: var(--text-weak); margin-left: 8px; }

/* ========== 新手指南流程 ========== */
.steps-section { padding: var(--space-section) 0; background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-light)); position: relative; overflow: hidden; }
.steps-section::before { content: ''; position: absolute; top: 0; right: 0; width: 400px; height: 400px; background: url('/assets/images/backpic/back-3.png') center/cover; opacity: 0.2; border-radius: 50%; filter: blur(60px); }
.steps-section .section-header h2 { color: #fff; }
.steps-section .section-header h2::after { background: var(--accent); }
.steps-section .section-header p { color: rgba(255,255,255,0.6); }
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 1; }
.step-card { text-align: center; padding: 32px 20px; background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); transition: all 0.4s; }
.step-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-6px); }
.step-num { width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(26,115,232,0.2); }
.step-card:nth-child(2n) .step-num { background: var(--accent); box-shadow: 0 0 0 6px rgba(0,194,168,0.2); }
.step-card h3 { color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.7; }
.step-arrow { position: absolute; top: 50%; right: -14px; transform: translateY(-50%); color: rgba(255,255,255,0.3); font-size: 1.2rem; z-index: 2; }

/* ========== 专家作者 / 达人排行 ========== */
.experts-section { padding: var(--space-section) 0; background: var(--bg-white); }
.experts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.expert-card { display: flex; align-items: center; gap: 18px; background: var(--bg-light); border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--border); transition: all 0.3s; }
.expert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary); }
.expert-avatar { position: relative; flex-shrink: 0; }
.expert-avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.expert-level { position: absolute; bottom: 0; right: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg-light); }
.expert-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.expert-info .role { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.expert-info p { font-size: 0.84rem; color: var(--text-weak); line-height: 1.6; }
.expert-top { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #fff3e0; color: #ff9800; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; }

/* ========== 热门话题标签 ========== */
.topics-tags { padding: 60px 0; background: var(--bg-light); }
.tags-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 860px; margin: 0 auto; }
.tag-item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 30px; font-size: 0.9rem; font-weight: 500; color: var(--text-main); transition: all 0.3s; }
.tag-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(26,115,232,0.2); }
.tag-item i { font-size: 0.8rem; opacity: 0.7; }
.tag-item .tag-count { background: var(--primary-light); color: var(--primary); font-size: 0.72rem; padding: 2px 10px; border-radius: 20px; font-weight: 700; }
.tag-item:hover .tag-count { background: rgba(255,255,255,0.25); color: #fff; }

/* ========== FAQ ========== */
.faq-section { padding: var(--space-section) 0; }
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px 28px; transition: all 0.3s; }
.faq-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: 1.02rem; font-weight: 600; display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.faq-item h3 .q-icon { width: 26px; height: 26px; border-radius: 8px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; flex-shrink: 0; }
.faq-item p { color: var(--text-weak); font-size: 0.9rem; line-height: 1.8; padding-left: 38px; }

/* ========== CTA ========== */
.cta-section { padding: 70px 0; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 0; position: relative; overflow: hidden; margin: 0; }
.cta-section::before { content: ''; position: absolute; top: -60px; right: -40px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.cta-section::after { content: ''; position: absolute; bottom: -80px; left: 10%; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.cta-inner { position: relative; z-index: 1; text-align: center; color: #fff; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 16px; }
.cta-inner p { font-size: 1rem; opacity: 0.9; max-width: 520px; margin: 0 auto 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-buttons .btn { background: #fff; color: var(--primary); }
.cta-buttons .btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.cta-buttons .btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: #fff; }
.cta-buttons .btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ========== Footer ========== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.75); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { font-size: 1.3rem; margin-bottom: 16px; }
.footer-brand .logo i { background: rgba(255,255,255,0.12); color: var(--accent); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.8; max-width: 420px; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-contact span { display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--accent); width: 16px; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 24px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: all 0.3s; padding: 4px 0; }
.footer-col ul li a i { font-size: 0.7rem; color: var(--accent); transition: transform 0.3s; }
.footer-col ul li a:hover { color: #fff; padding-left: 6px; }
.footer-col ul li a:hover i { transform: translateX(4px); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-img img { aspect-ratio: 16/9; }
  .step-arrow { display: none; }
}

@media (max-width: 768px) {
  :root { --space-section: 60px; }
  .header-search { display: none; }
  .main-nav { position: fixed; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateY(-140%); opacity: 0; transition: all 0.4s ease; border-radius: 0 0 20px 20px; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav__link { padding: 14px 18px; font-size: 1rem; border-radius: 10px; }
  .mobile-toggle { display: flex; }
  .topbar-links { display: none; }
  .topbar-trend span:last-child { display: none; }
  .banner-stats { gap: 24px; }
  .stat-item .num { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 32px; }
  .banner-actions { flex-direction: column; }
  .banner-actions .btn { justify-content: center; }
}

@media (max-width: 520px) {
  .container { width: 90%; }
  .topics-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.5rem; }
  .banner-title { font-size: 1.8rem; }
  .banner-desc { font-size: 0.95rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { justify-content: center; }
  .faq-item { padding: 18px; }
  .faq-item p { padding-left: 0; margin-top: 10px; }
}

/* roulang page: article */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --warm: #f59e0b;
  --bg: #f4f6fb;
  --bg-deep: #0f172a;
  --card: #ffffff;
  --text: #1e293b;
  --text-weak: #64748b;
  --border: #e2e8f0;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
  --space: 96px;
  --header-h: 118px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
button,
input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}
ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.32);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.40);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.btn-light:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 30px rgba(15, 23, 42, 0.04);
}
.header-top {
  background: var(--bg-deep);
  color: #e2e8f0;
}
.header-top__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.logo i {
  color: var(--accent-light);
  font-size: 24px;
}
.header-search {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 0 6px 0 18px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.header-search:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-light);
}
.header-search input {
  flex: 1;
  color: #f8fafc;
  font-size: 14px;
  background: transparent;
}
.header-search input::placeholder {
  color: rgba(226, 232, 240, 0.6);
}
.header-search button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.header-search button:hover {
  background: var(--accent-light);
}
.header-hot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--primary-light);
}
.header-hot span {
  color: #94a3b8;
}
.header-hot a {
  color: #c7d2fe;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.header-hot a:hover {
  background: var(--primary);
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.20);
}

.header-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  height: 54px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-weak);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.main-nav__link i {
  font-size: 14px;
  color: var(--primary-light);
  transition: color 0.3s ease;
}
.main-nav__link:hover {
  color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
}
.main-nav__link:hover i {
  color: var(--primary);
}
.main-nav__link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.main-nav__link.active i {
  color: var(--primary);
}

/* Hero / 文章头图 */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(79, 70, 229, 0.82)),
    url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  color: #fff;
  padding: 80px 0 72px;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.25), transparent 50%);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--accent-light);
}
.breadcrumb i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}
.article-hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  max-width: 860px;
  letter-spacing: 0.5px;
}
.article-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.article-hero__meta .cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.25);
  border: 1px solid rgba(6, 182, 212, 0.45);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #a5f3fc;
  font-size: 13px;
}
.article-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-hero__meta i {
  color: var(--accent-light);
}

/* 主体布局 */
.article-layout {
  margin-top: -38px;
  margin-bottom: var(--space);
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.article-main {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 46px;
  border: 1px solid rgba(226, 232, 240, 0.7);
}
.article-body:empty {
  display: none;
}

/* 正文排版 */
.article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #334155;
  word-break: break-word;
}
.article-content h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--text);
  margin: 38px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 18px;
}
.article-content ul {
  margin-bottom: 20px;
  padding-left: 4px;
}
.article-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(6, 182, 212, 0.06);
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  color: var(--text-weak);
  font-style: italic;
}
.article-content img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.article-content a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid var(--primary-light);
}
.article-content a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-content table th {
  background: rgba(79, 70, 229, 0.08);
  color: var(--text);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--primary-light);
}
.article-content table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}

/* 标签与分享 */
.article-footer {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}
.tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(79, 70, 229, 0.04);
  border-radius: var(--radius-sm);
}
.article-share__label {
  font-size: 14px;
  color: var(--text-weak);
  font-weight: 600;
}
.share-btns {
  display: flex;
  gap: 8px;
}
.share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  background: var(--primary);
  transition: all 0.3s ease;
}
.share-btn.wechat {
  background: #22c55e;
}
.share-btn.weibo {
  background: #ef4444;
}
.share-btn.qzone {
  background: #f59e0b;
}
.share-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 讨论互动 */
.discussion-panel {
  margin-top: 30px;
  background: #fbfcff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.discussion-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.discussion-panel__head h3 {
  font-size: 18px;
  font-weight: 800;
}
.discussion-panel__head h3 i {
  color: var(--accent);
  margin-right: 8px;
}
.discussion-count {
  font-size: 13px;
  color: var(--text-weak);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
}
.discussion-list {
  display: flex;
  flex-direction: column;
}
.discussion-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.discussion-item:last-child {
  border-bottom: none;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar.green {
  background: linear-gradient(135deg, #22c55e, #86efac);
}
.avatar.orange {
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
}
.discussion-body {
  flex: 1;
}
.discussion-body__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.discussion-body__name span {
  color: var(--text-weak);
  font-weight: 400;
  font-size: 12px;
  margin-left: 8px;
}
.discussion-body__text {
  font-size: 14px;
  color: #475569;
  margin-top: 5px;
  line-height: 1.6;
}
.discussion-body__actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-weak);
}
.discussion-body__actions span {
  cursor: pointer;
  transition: color 0.3s ease;
}
.discussion-body__actions span:hover {
  color: var(--primary);
}

/* 内容未找到 */
.not-found {
  text-align: center;
  padding: 80px 20px;
}
.not-found__icon {
  font-size: 64px;
  color: var(--primary-light);
  margin-bottom: 20px;
}
.not-found h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}
.not-found p {
  color: var(--text-weak);
  margin-bottom: 28px;
  font-size: 16px;
}

/* 侧边栏 */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.7);
  padding: 26px;
}
.sidebar-card__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-card__title i {
  color: var(--primary);
  font-size: 16px;
  margin-right: 8px;
}
.sidebar-card__title a {
  font-size: 13px;
  color: var(--text-weak);
  font-weight: 500;
}
.sidebar-card__title a:hover {
  color: var(--primary);
}
.sidebar-news__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-news__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s ease;
}
.sidebar-news__item:last-child {
  border-bottom: none;
}
.sidebar-news__item:hover {
  padding-left: 6px;
}
.sidebar-news__item:hover .sidebar-news__title {
  color: var(--primary);
}
.sidebar-news__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.sidebar-news__title {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
  font-weight: 500;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-news__meta {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  margin-top: 2px;
}

.sidebar-tags__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-tag {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(79, 70, 229, 0.05);
  border: 1px solid rgba(79, 70, 229, 0.12);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar-tag:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.sidebar-tag.hot {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #b45309;
}
.sidebar-tag.hot:hover {
  background: var(--warm);
  color: #fff;
}

.sidebar-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}
.sidebar-stats__item {
  background: rgba(79, 70, 229, 0.04);
  border-radius: 14px;
  padding: 16px 8px;
}
.sidebar-stats__num {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.sidebar-stats__label {
  font-size: 12px;
  color: var(--text-weak);
  margin-top: 4px;
}

.sidebar-promo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(79, 70, 229, 0.78)),
    url('/assets/images/coverpic/cover-1.png') center/cover no-repeat;
  padding: 30px 26px;
  color: #fff;
}
.sidebar-promo__tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.3);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #a5f3fc;
  margin-bottom: 14px;
}
.sidebar-promo h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}
.sidebar-promo p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 18px;
}
.sidebar-promo .btn {
  width: 100%;
}

/* 最新资讯区块 */
.latest-section {
  padding: var(--space) 0;
  background: var(--bg);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-head__left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.28);
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-weak);
  margin-top: 4px;
}
.section-more {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  transition: all 0.3s ease;
}
.section-more:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.news-card__img {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__img img {
  transform: scale(1.05);
}
.news-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent 60%);
}
.news-card__cat {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  background: rgba(6, 182, 212, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}
.news-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.news-card:hover .news-card__title {
  color: var(--primary);
}
.news-card__desc {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #94a3b8;
}
.news-card__meta i {
  margin-right: 4px;
  color: var(--primary-light);
}

/* FAQ */
.faq-section {
  padding: var(--space) 0;
  background: var(--bg-deep);
  color: #e2e8f0;
}
.faq-section .section-title {
  color: #fff;
}
.faq-section .section-subtitle {
  color: #94a3b8;
}
.faq-section .section-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: all 0.3s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(129, 140, 248, 0.4);
  transform: translateY(-3px);
}
.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.faq-item__q i {
  color: var(--accent-light);
  margin-top: 3px;
  font-size: 16px;
}
.faq-item__a {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.75;
  padding-left: 28px;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(130deg, rgba(79, 70, 229, 0.94), rgba(6, 182, 212, 0.88)),
    url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  color: #fff;
}
.cta-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 40px;
}
.footer-brand .logo {
  font-size: 22px;
  margin-bottom: 16px;
}
.footer-brand p {
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 420px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.footer-contact i {
  color: var(--accent-light);
}
.footer-col h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  transition: all 0.3s ease;
}
.footer-col a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}
.footer-col a i {
  font-size: 12px;
  color: var(--primary-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 22px 0;
  font-size: 13px;
  text-align: center;
  color: #64748b;
}
.footer-bottom a {
  color: #94a3b8;
}
.footer-bottom a:hover {
  color: var(--accent-light);
}

/* 响应式 */
@media (max-width: 1024px) {
  :root {
    --header-h: 108px;
    --space: 72px;
  }
  .header-hot {
    display: none;
  }
  .header-search {
    max-width: 320px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 96px;
    --space: 56px;
  }
  .header-top__inner {
    height: 56px;
    gap: 10px;
  }
  .logo {
    font-size: 18px;
  }
  .logo i {
    font-size: 20px;
  }
  .header-search {
    display: none;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .header-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  }
  .header-nav.open {
    max-height: 320px;
  }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 0;
    gap: 0;
  }
  .main-nav__link {
    height: 48px;
    padding: 0 24px;
    border-bottom: 1px solid var(--bg);
    border-left: 3px solid transparent;
  }
  .main-nav__link.active {
    border-left-color: var(--primary);
    border-bottom-color: var(--border);
    background: rgba(79, 70, 229, 0.04);
  }
  .article-main {
    padding: 28px 22px;
  }
  .article-content {
    font-size: 16px;
  }
  .article-content h2 {
    font-size: 21px;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0 30px;
  }
  .cta-btns {
    flex-direction: column;
  }
  .cta-btns .btn {
    width: 100%;
  }
  .discussion-panel {
    padding: 18px;
  }
  .article-hero__title {
    font-size: 24px;
  }
  .page-hero {
    padding: 56px 0 64px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .logo {
    font-size: 16px;
  }
  .logo i {
    font-size: 18px;
  }
  .article-main {
    padding: 22px 16px;
    border-radius: 14px;
  }
  .article-content {
    font-size: 15px;
    line-height: 1.75;
  }
  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-hero__meta {
    gap: 10px;
  }
  .sidebar-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-item {
    padding: 20px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
  .section-title {
    font-size: 23px;
  }
  .news-card__img {
    height: 160px;
  }
}

/* roulang page: category2 */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --accent-light: #fffbeb;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #0f172a;
  --text-weak: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.14);
  --container: 1200px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--gray {
  background: var(--bg);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-weak);
  font-size: 16px;
  margin-top: 12px;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
}

/* ========== 顶部导航 ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
}

.header-top {
  border-bottom: 1px solid var(--border);
}

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.logo i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 6px 0 18px;
  height: 40px;
  width: 260px;
  transition: var(--transition);
}

.header-search:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.header-search input {
  flex: 1;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}

.header-search input::placeholder {
  color: var(--text-weak);
}

.header-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.header-search button:hover {
  background: var(--primary-dark);
}

.nav-bar {
  background: var(--white);
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-weak);
  white-space: nowrap;
  transition: var(--transition);
}

.main-nav__link i {
  font-size: 13px;
  opacity: 0.8;
}

.main-nav__link:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav__link.active {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.nav-hot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-weak);
  white-space: nowrap;
}

.nav-hot i.fa-fire {
  color: #ef4444;
}

.nav-hot .hot-label {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.nav-hot a {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.nav-hot a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ========== 分类页 Banner ========== */
.cat-banner {
  position: relative;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.82)), url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  padding: 92px 0 84px;
  color: #fff;
  overflow: hidden;
}

.cat-banner::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cat-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.cat-banner h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.cat-banner .cat-banner__desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 36px;
}

.cat-banner__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.cat-banner__stats > div {
  display: flex;
  flex-direction: column;
}

.cat-banner__stats strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.cat-banner__stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== 话题标签 ========== */
.topic-tags {
  padding: 52px 0 40px;
  background: var(--white);
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-weak);
  transition: var(--transition);
}

.tag-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.tag-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* ========== 活动资讯卡片 ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.06);
}

.news-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tag-blue { background: rgba(37, 99, 235, 0.92); }
.tag-orange { background: rgba(245, 158, 11, 0.92); }
.tag-green { background: rgba(16, 185, 129, 0.92); }
.tag-purple { background: rgba(139, 92, 246, 0.92); }
.tag-red { background: rgba(239, 68, 68, 0.92); }
.tag-teal { background: rgba(20, 184, 166, 0.92); }

.news-card__body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-weak);
  margin-bottom: 10px;
}

.news-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-card__body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
  transition: var(--transition);
}

.news-card:hover .news-card__body h3 {
  color: var(--primary);
}

.news-card__body > p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.news-card__comments {
  font-size: 13px;
  color: var(--text-weak);
}

.news-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__link:hover {
  color: var(--primary-dark);
  gap: 10px;
}

/* ========== 排行板块 ========== */
.rank-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.rank-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

.rank-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.rank-panel__header h3 {
  font-size: 20px;
  font-weight: 800;
}

.rank-panel__header span {
  font-size: 13px;
  color: var(--text-weak);
}

.rank-list {
  display: flex;
  flex-direction: column;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.rank-item:hover {
  background: var(--primary-light);
}

.rank-item__num {
  font-size: 20px;
  font-weight: 800;
  color: var(--border);
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.rank-item:first-child .rank-item__num,
.rank-item:nth-child(2) .rank-item__num,
.rank-item:nth-child(3) .rank-item__num {
  color: var(--accent);
}

.rank-item__body {
  flex: 1;
  min-width: 0;
}

.rank-item__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.rank-item:hover .rank-item__title {
  color: var(--primary);
}

.rank-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-weak);
}

.rank-item__tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.rank-item__hot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #ef4444;
}

/* 排行右侧攻略卡 */
.rank-feature {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}

.rank-feature__media {
  position: absolute;
  inset: 0;
}

.rank-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
}

.rank-feature__content {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  color: #fff;
}

.rank-feature__content .badge {
  background: var(--accent);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}

.rank-feature__content h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.rank-feature__content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

.rank-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

/* ========== 社区讨论 ========== */
.community-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.community-overview {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  color: #fff;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.3);
}

.community-overview__top h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.community-overview__top p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.community-overview__avatars {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, #60a5fa, var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.community-overview__stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.community-overview__stats strong {
  font-size: 22px;
  font-weight: 800;
}

.community-overview__stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.community-topics {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

.community-topics h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.topic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.topic-item:last-child {
  border-bottom: none;
}

.topic-item:hover {
  padding-left: 10px;
}

.topic-item__info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.topic-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.topic-item__info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.topic-item:hover .topic-item__info h4 {
  color: var(--primary);
}

.topic-item__count {
  font-size: 13px;
  color: var(--text-weak);
  white-space: nowrap;
}

.topic-item__count i {
  color: var(--accent);
  margin-right: 4px;
}

/* ========== 参与流程 ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.step-card__num {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.05);
  line-height: 1;
}

.step-card__icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.step-card:nth-child(2) .step-card__icon {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.step-card:nth-child(3) .step-card__icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.step-card:nth-child(4) .step-card__icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 13px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.7;
}

/* ========== CTA ========== */
.cta-section {
  padding: 0;
}

.cta-box {
  position: relative;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.85)), url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  padding: 68px 56px;
  margin: 88px auto;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-box h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #0b1424;
  color: #94a3b8;
}

.site-footer .container {
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand .logo i {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--primary);
  font-size: 14px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-col a i {
  font-size: 12px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
}

.footer-bottom .container {
  padding-top: 0;
  padding-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rank-layout,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .rank-feature {
    min-height: 300px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .header-search {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .header-top__inner {
    height: 58px;
  }

  .header-search {
    display: none;
  }

  .header-actions .btn {
    padding: 7px 14px;
    font-size: 13px;
  }

  .nav-hot {
    display: none;
  }

  .main-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .cat-banner {
    padding: 64px 0 56px;
  }

  .cat-banner h1 {
    font-size: 34px;
  }

  .cat-banner__stats {
    gap: 22px;
  }

  .section-head h2 {
    font-size: 27px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-box {
    padding: 48px 24px;
    margin: 60px auto;
    border-radius: 18px;
  }

  .cta-box h2 {
    font-size: 27px;
  }
}

@media (max-width: 520px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .cat-banner h1 {
    font-size: 28px;
  }

  .cat-banner__stats {
    flex-direction: column;
    gap: 14px;
  }

  .cat-banner__stats > div {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .logo {
    font-size: 17px;
  }

  .logo i {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .header-actions .btn {
    display: none;
  }

  .cta-actions .btn {
    width: 100%;
  }
}
