/* roulang page: index */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --gradient-main: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --bg-body: #f8fafc;
  --bg-dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.14);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-family);
  background: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ===== 浮动Dock导航 ===== */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: calc(100% - 32px);
  max-width: 1280px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.header-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.header-nav li a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  background: transparent;
}

.header-nav li a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.header-nav li a.active {
  color: #fff;
  background: var(--gradient-main);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-search {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-search:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-header {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-main);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--primary-light);
}

/* 移动端导航 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 86px;
  left: 16px;
  right: 16px;
  z-index: 998;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-12px);
  transition: var(--transition);
  pointer-events: none;
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* ===== Hero首屏 ===== */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(37, 99, 235, 0.65) 100%), url('/assets/images/backpic/back-1.png') center center / cover no-repeat;
  padding: 140px 0 90px;
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.hero-badge i {
  color: var(--accent);
}

.hero h1 {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

/* ===== 通用板块 ===== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-main);
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== 平台优势 ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.feature-icon.icon-accent {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.28);
}

.feature-icon.icon-green {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.28);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ===== 分类入口 ===== */
.category-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.cat-card:hover .cat-card-bg {
  transform: scale(1.06);
}

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
}

.cat-card-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
}

.cat-card-content .badge {
  background: var(--accent);
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.cat-card-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.cat-card-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.btn-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 22px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-cat:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  gap: 12px;
}

/* ===== 最新资讯 ===== */
.news-section {
  background: var(--bg-body);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-cat {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
}

.badge-cat.cat-hot {
  background: #fee2e2;
  color: #dc2626;
}

.badge-cat.cat-guide {
  background: #dcfce7;
  color: #16a34a;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
}

.news-item h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.news-item h3 a {
  color: var(--text-main);
}

.news-item h3 a:hover {
  color: var(--primary);
}

.news-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.news-more {
  text-align: center;
  margin-top: 42px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border);
  color: var(--text-main);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  transition: var(--transition);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ===== 数据统计 ===== */
.stats-section {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/images/backpic/back-2.png') center center / cover no-repeat;
  opacity: 0.12;
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
}

/* ===== 精选推荐 ===== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.featured-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.featured-img {
  position: relative;
  padding-top: 66%;
  overflow: hidden;
}

.featured-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-card:hover .featured-img img {
  transform: scale(1.08);
}

.featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.45), transparent 55%);
}

.featured-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  z-index: 2;
}

.featured-body {
  padding: 20px 22px 24px;
}

.featured-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text-main);
  transition: var(--transition);
}

.featured-card:hover .featured-body h3 {
  color: var(--primary);
}

.featured-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.featured-rating i {
  font-size: 14px;
}

.featured-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  user-select: none;
}

.faq-q i {
  color: var(--primary);
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 28px 24px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

.faq-item.active .faq-a {
  max-height: 300px;
}

/* ===== CTA ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e40af 0%, #6d28d9 100%), url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  color: #fff;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  line-height: 1.7;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary) !important;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 42px;
  border-radius: 50px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.3);
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-brand .logo-text .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  .hero h1 {
    font-size: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .hero {
    min-height: auto;
    padding: 120px 0 70px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stat .num {
    font-size: 26px;
  }
  .section-header h2 {
    font-size: 30px;
  }
  .cats-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 18px;
  }
  .site-header {
    padding: 0 18px;
    height: 58px;
  }
  .header-logo {
    font-size: 17px;
  }
  .header-cta .btn-header {
    display: none;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-primary,
  .btn-hero-ghost {
    justify-content: center;
  }
  .cat-card-content h3 {
    font-size: 22px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item .stat-num {
    font-size: 34px;
  }
  .cta-content h2 {
    font-size: 28px;
  }
  .faq-q {
    padding: 18px 20px;
    font-size: 15px;
  }
}

/* roulang page: article */
:root {
            --primary: #5b4cff;
            --primary-dark: #4738e0;
            --primary-light: #efeefe;
            --accent: #ff7a45;
            --accent-light: #fff1eb;
            --bg: #f7f7fb;
            --bg-deep: #15142b;
            --card: #ffffff;
            --text: #1b1b2f;
            --text-weak: #60607a;
            --border: #e8e8f2;
            --radius-lg: 24px;
            --radius-md: 16px;
            --radius-sm: 12px;
            --shadow-card: 0 12px 36px rgba(28, 25, 72, 0.08);
            --shadow-hover: 0 22px 48px rgba(28, 25, 72, 0.14);
            --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.8;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        button,
        input,
        textarea {
            font-family: inherit;
            outline: none;
        }

        .container {
            max-width: 1240px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

        .site-header {
            position: sticky;
            top: 18px;
            z-index: 100;
            max-width: 1180px;
            margin: 0 auto;
            margin-top: 18px;
            padding: 12px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(18px);
            border: 1px solid rgba(255, 255, 255, 0.75);
            border-radius: 60px;
            box-shadow: 0 12px 40px rgba(31, 29, 78, 0.12);
            left: 15px;
            right: 15px;
        }

        .header-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.16rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            color: var(--text);
            white-space: nowrap;
        }

        .logo-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 12px;
            background: linear-gradient(145deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-size: 1rem;
            box-shadow: 0 10px 22px rgba(91, 76, 255, 0.35);
        }

        .header-nav {
            display: flex;
            align-items: center;
            list-style: none;
            gap: 6px;
            margin: 0;
            padding: 0;
        }

        .header-nav li a {
            display: inline-flex;
            align-items: center;
            padding: 9px 18px;
            border-radius: 40px;
            font-size: 0.94rem;
            font-weight: 600;
            color: var(--text-weak);
            transition: var(--transition);
        }

        .header-nav li a:hover {
            color: var(--primary-dark);
            background: var(--primary-light);
        }

        .header-nav li a.active {
            color: #fff;
            background: linear-gradient(145deg, var(--primary), var(--primary-dark));
            box-shadow: 0 10px 24px rgba(91, 76, 255, 0.28);
        }

        .header-cta {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-search {
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 0;
            background: var(--bg);
            color: var(--text);
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
        }

        .btn-search:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .btn-header {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 22px;
            border-radius: 40px;
            background: linear-gradient(145deg, var(--accent), #ff5f2e);
            color: #fff;
            font-weight: 700;
            font-size: 0.92rem;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 10px 24px rgba(255, 122, 69, 0.3);
        }

        .btn-header:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 32px rgba(255, 122, 69, 0.4);
        }

        .menu-toggle {
            display: none;
            width: 42px;
            height: 42px;
            border: 0;
            background: var(--bg);
            color: var(--text);
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.1rem;
            align-items: center;
            justify-content: center;
        }

        .page-hero {
            position: relative;
            margin-top: 18px;
            background-size: cover;
            background-position: center;
            border-radius: 32px;
            overflow: hidden;
            min-height: 430px;
            display: flex;
            align-items: center;
            margin-left: 15px;
            margin-right: 15px;
            box-shadow: var(--shadow-card);
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(20, 18, 45, 0.87) 0%, rgba(20, 18, 45, 0.55) 55%, rgba(20, 18, 45, 0.3) 100%);
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            padding: 70px 28px 64px;
            max-width: 900px;
            margin-left: 0;
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 10px;
            color: rgba(255, 255, 255, 0.68);
            font-size: 0.88rem;
            margin-bottom: 22px;
        }

        .breadcrumb a {
            color: rgba(255, 255, 255, 0.85);
            transition: color 0.3s ease;
        }

        .breadcrumb a:hover {
            color: #fff;
        }

        .breadcrumb-sep {
            color: rgba(255, 255, 255, 0.4);
        }

        .badge {
            display: inline-flex;
            align-items: center;
            padding: 6px 16px;
            border-radius: 40px;
            font-size: 0.84rem;
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .badge-light {
            background: rgba(255, 255, 255, 0.16);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(10px);
            margin-bottom: 18px;
        }

        .hero-inner h1 {
            font-size: 2.6rem;
            line-height: 1.25;
            color: #fff;
            font-weight: 800;
            margin: 0 0 16px;
            letter-spacing: 0.01em;
        }

        .hero-desc {
            color: rgba(255, 255, 255, 0.82);
            font-size: 1.06rem;
            max-width: 700px;
            line-height: 1.75;
            margin-bottom: 24px;
        }

        .meta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            align-items: center;
        }

        .meta-row span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .article-section {
            padding: 70px 15px 40px;
        }

        .article-main {
            margin-bottom: 30px;
        }

        .article-card {
            background: var(--card);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-card);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: var(--transition);
        }

        .article-cover {
            width: 100%;
            max-height: 380px;
            overflow: hidden;
        }

        .article-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .article-card:hover .article-cover img {
            transform: scale(1.02);
        }

        .article-content {
            padding: 38px 42px 24px;
        }

        .article-content p {
            margin-bottom: 20px;
            font-size: 1.02rem;
            line-height: 1.9;
            color: #383848;
        }

        .article-content h2,
        .article-content h3,
        .article-content h4 {
            color: var(--text);
            margin: 30px 0 14px;
            line-height: 1.4;
            font-weight: 800;
        }

        .article-content h2 {
            font-size: 1.5rem;
            padding-left: 14px;
            border-left: 4px solid var(--primary);
        }

        .article-content h3 {
            font-size: 1.24rem;
        }

        .article-content blockquote {
            border-left: 4px solid var(--accent);
            background: var(--accent-light);
            padding: 18px 22px;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            color: #6b3a22;
            margin: 24px 0;
            font-style: normal;
        }

        .article-content ul,
        .article-content ol {
            padding-left: 22px;
            margin-bottom: 20px;
        }

        .article-content li {
            margin-bottom: 8px;
        }

        .article-content img {
            border-radius: var(--radius-md);
            margin: 24px 0;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            padding: 24px 42px 10px;
            align-items: center;
        }

        .tag-title {
            font-weight: 700;
            color: var(--text);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .tag {
            display: inline-flex;
            align-items: center;
            padding: 7px 16px;
            border-radius: 40px;
            background: var(--bg);
            color: var(--text-weak);
            font-size: 0.84rem;
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .tag:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .article-cta-box {
            margin: 30px 42px 42px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            background: linear-gradient(135deg, var(--primary-light), #faf8ff);
            border: 1px solid rgba(91, 76, 255, 0.2);
            border-radius: var(--radius-md);
            padding: 24px 28px;
        }

        .article-cta-box strong {
            font-size: 1.05rem;
            color: var(--text);
        }

        .article-cta-box p {
            margin: 4px 0 0;
            color: var(--text-weak);
            font-size: 0.94rem;
        }

        .btn-primary,
        .btn-secondary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 13px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.95rem;
            border: none;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }

        .btn-primary {
            background: linear-gradient(145deg, var(--primary), var(--primary-dark));
            color: #fff;
            box-shadow: 0 14px 34px rgba(91, 76, 255, 0.34);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 22px 44px rgba(91, 76, 255, 0.42);
            color: #fff;
        }

        .btn-secondary {
            background: var(--bg);
            color: var(--text);
            border: 1px solid var(--border);
        }

        .btn-secondary:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
            border-color: var(--primary);
        }

        .btn-block {
            width: 100%;
            margin-top: 12px;
        }

        .article-sidebar {
            margin-bottom: 30px;
        }

        .sidebar-card {
            background: var(--card);
            border-radius: var(--radius-lg);
            border: 1px solid var(--border);
            padding: 26px;
            margin-bottom: 22px;
            box-shadow: 0 8px 24px rgba(28, 25, 72, 0.05);
            transition: var(--transition);
        }

        .sidebar-card:hover {
            box-shadow: var(--shadow-card);
        }

        .sidebar-card-header {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 1rem;
            color: var(--text);
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }

        .sidebar-card-header i {
            color: var(--primary);
        }

        .about-sidebar p {
            color: var(--text-weak);
            font-size: 0.94rem;
            margin-bottom: 8px;
        }

        .sidebar-list {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .sidebar-list li {
            padding: 10px 0;
            border-bottom: 1px solid #f2f2f9;
        }

        .sidebar-list li:last-child {
            border-bottom: none;
        }

        .link-arrow {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: var(--text-weak);
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .link-arrow::after {
            content: "→";
            opacity: 0;
            transform: translateX(-6px);
            transition: var(--transition);
            color: var(--primary);
        }

        .link-arrow:hover {
            color: var(--primary);
        }

        .link-arrow:hover::after {
            opacity: 1;
            transform: translateX(0);
        }

        .faq-mini {
            padding: 14px 0;
            border-bottom: 1px solid #f2f2f9;
        }

        .faq-mini:last-child {
            border-bottom: none;
        }

        .faq-mini h5 {
            margin: 0 0 6px;
            font-size: 0.96rem;
            font-weight: 700;
            color: var(--text);
        }

        .faq-mini p {
            margin: 0;
            font-size: 0.88rem;
            color: var(--text-weak);
            line-height: 1.7;
        }

        .not-found {
            padding: 70px 42px;
            text-align: center;
        }

        .not-found i {
            font-size: 2.4rem;
            color: var(--primary);
            margin-bottom: 14px;
        }

        .not-found h2 {
            font-size: 1.7rem;
            margin: 0 0 8px;
        }

        .not-found p {
            color: var(--text-weak);
            margin-bottom: 26px;
        }

        .entry-section {
            padding: 80px 15px;
            background: var(--card);
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .section-header {
            margin-bottom: 40px;
            text-align: center;
        }

        .section-header .section-tag {
            display: inline-block;
            padding: 6px 18px;
            background: var(--primary-light);
            color: var(--primary-dark);
            border-radius: 40px;
            font-size: 0.82rem;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .section-header h2 {
            font-size: 1.9rem;
            font-weight: 800;
            margin: 0 0 10px;
            letter-spacing: -0.02em;
        }

        .section-header p {
            color: var(--text-weak);
            max-width: 620px;
            margin: 0 auto;
            font-size: 1.02rem;
        }

        .entry-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 26px;
        }

        .entry-card {
            position: relative;
            min-height: 250px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            display: flex;
            align-items: flex-end;
            background-size: cover;
            background-position: center;
            box-shadow: var(--shadow-card);
            transition: var(--transition);
            border: 1px solid var(--border);
        }

        .entry-card::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(21, 20, 43, 0) 30%, rgba(21, 20, 43, 0.88) 100%);
        }

        .entry-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-hover);
        }

        .entry-content {
            position: relative;
            z-index: 2;
            padding: 26px;
            width: 100%;
            color: #fff;
        }

        .entry-content h3 {
            margin: 0 0 6px;
            font-size: 1.35rem;
            font-weight: 800;
        }

        .entry-content p {
            margin: 0 0 16px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 0.92rem;
        }

        .entry-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 18px;
            background: rgba(255, 255, 255, 0.16);
            border: 1px solid rgba(255, 255, 255, 0.28);
            color: #fff;
            border-radius: 40px;
            font-size: 0.86rem;
            font-weight: 700;
            backdrop-filter: blur(10px);
            transition: var(--transition);
        }

        .entry-link:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        .cta-section {
            padding: 80px 15px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .cta-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(21, 20, 43, 0.82);
        }

        .cta-inner {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 720px;
            margin: 0 auto;
            color: #fff;
        }

        .cta-inner h2 {
            font-size: 2rem;
            margin: 0 0 16px;
            font-weight: 800;
        }

        .cta-inner p {
            color: rgba(255, 255, 255, 0.82);
            font-size: 1.05rem;
            margin-bottom: 28px;
        }

        .cta-btn-group {
            display: flex;
            gap: 16px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 30px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 0.96rem;
            background: linear-gradient(145deg, var(--accent), #ff5f2e);
            color: #fff;
            box-shadow: 0 14px 34px rgba(255, 122, 69, 0.4);
            transition: var(--transition);
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 22px 44px rgba(255, 122, 69, 0.5);
            color: #fff;
        }

        .cta-btn-ghost {
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: none;
            color: #fff;
        }

        .cta-btn-ghost:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #fff;
        }

        .faq-section {
            padding: 80px 15px;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            max-width: 1060px;
            margin: 0 auto;
        }

        .faq-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 26px 28px;
            transition: var(--transition);
        }

        .faq-card:hover {
            box-shadow: var(--shadow-card);
            transform: translateY(-4px);
        }

        .faq-card i {
            color: var(--primary);
            font-size: 1.2rem;
            margin-bottom: 12px;
        }

        .faq-card h3 {
            font-size: 1.05rem;
            font-weight: 700;
            margin: 0 0 10px;
        }

        .faq-card p {
            margin: 0;
            color: var(--text-weak);
            font-size: 0.93rem;
        }

        .site-footer {
            background: var(--bg-deep);
            color: rgba(255, 255, 255, 0.75);
            padding: 60px 24px 20px;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 1.4fr 1fr 1fr;
            gap: 40px;
            padding-bottom: 36px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-brand .logo-text {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-size: 1.2rem;
            font-weight: 800;
            margin-bottom: 14px;
        }

        .footer-brand p {
            font-size: 0.92rem;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.62);
            max-width: 360px;
            margin: 0;
        }

        .footer-col h4 {
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .footer-col ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .footer-col li {
            margin-bottom: 10px;
        }

        .footer-col a {
            color: rgba(255, 255, 255, 0.62);
            font-size: 0.92rem;
            transition: var(--transition);
        }

        .footer-col a:hover {
            color: var(--accent);
            padding-left: 6px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 26px;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.84rem;
        }

        @media (max-width: 1024px) {
            .site-header {
                left: 12px;
                right: 12px;
            }

            .hero-inner h1 {
                font-size: 2.2rem;
            }

            .article-content {
                padding: 30px 30px 18px;
            }

            .article-tags {
                padding: 18px 30px 8px;
            }

            .article-cta-box {
                margin: 24px 30px 30px;
            }
        }

        @media (max-width: 768px) {
            .site-header {
                top: 10px;
                margin-top: 10px;
                padding: 10px 16px;
                border-radius: 40px;
            }

            .header-logo {
                font-size: 1rem;
            }

            .logo-icon {
                width: 34px;
                height: 34px;
                font-size: 0.9rem;
            }

            .header-nav {
                position: absolute;
                top: calc(100% + 8px);
                left: 0;
                right: 0;
                background: rgba(255, 255, 255, 0.97);
                backdrop-filter: blur(20px);
                flex-direction: column;
                align-items: stretch;
                border-radius: 24px;
                box-shadow: 0 24px 60px rgba(21, 20, 43, 0.18);
                padding: 14px;
                gap: 4px;
                display: none;
            }

            .header-nav.open {
                display: flex;
            }

            .menu-toggle {
                display: inline-flex;
            }

            .btn-header {
                padding: 9px 16px;
                font-size: 0.85rem;
            }

            .page-hero {
                min-height: 360px;
                margin-left: 10px;
                margin-right: 10px;
                border-radius: 24px;
            }

            .hero-inner {
                padding: 48px 22px 44px;
            }

            .hero-inner h1 {
                font-size: 1.7rem;
            }

            .hero-desc {
                font-size: 0.96rem;
            }

            .meta-row {
                gap: 12px;
                font-size: 0.82rem;
                flex-direction: column;
                align-items: flex-start;
            }

            .article-section {
                padding-top: 40px;
            }

            .article-content {
                padding: 24px 22px 14px;
            }

            .article-tags {
                padding: 16px 22px 6px;
            }

            .article-cta-box {
                margin: 20px 22px 24px;
                flex-direction: column;
                align-items: flex-start;
            }

            .entry-grid,
            .faq-grid {
                grid-template-columns: 1fr;
            }

            .footer-main {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .cta-inner h2 {
                font-size: 1.6rem;
            }

            .not-found {
                padding: 50px 26px;
            }
        }

        @media (max-width: 520px) {
            .container {
                padding: 0 16px;
            }

            .site-header {
                padding: 9px 14px;
            }

            .btn-header {
                display: none;
            }

            .page-hero {
                min-height: 320px;
                margin-left: 6px;
                margin-right: 6px;
            }

            .hero-inner {
                padding: 38px 18px 34px;
            }

            .hero-inner h1 {
                font-size: 1.4rem;
            }

            .hero-desc {
                font-size: 0.9rem;
            }

            .badge {
                font-size: 0.76rem;
                padding: 5px 12px;
            }

            .article-content p {
                font-size: 0.96rem;
            }

            .article-content h2 {
                font-size: 1.28rem;
            }

            .article-cta-box {
                padding: 20px;
            }

            .cta-btn-group {
                flex-direction: column;
            }
        }

/* roulang page: category1 */
:root {
  --primary: #6C5CE7;
  --primary-dark: #5547D1;
  --primary-soft: #EDEBFC;
  --accent: #FF6B9D;
  --accent-dark: #F04E82;
  --accent-soft: #FFF0F5;
  --bg: #F7F8FE;
  --bg-dark: #141126;
  --surface: #FFFFFF;
  --text: #1E1A3C;
  --text-muted: #6E6A8C;
  --border: #E6E4F2;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(30, 26, 60, 0.08);
  --shadow-lg: 0 18px 48px rgba(30, 26, 60, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; border: none; outline: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--text); }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

.container { width: min(1200px, 92%); margin: 0 auto; }
.grid-container { max-width: 1200px; }

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 60px;
  box-shadow: 0 10px 44px rgba(20, 15, 60, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 10px 22px;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header:hover { box-shadow: 0 14px 52px rgba(20, 15, 60, 0.2); }
.header-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); white-space: nowrap; }
.logo-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border-radius: 12px; font-size: 17px;
  box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}
.header-nav { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.header-nav a {
  display: inline-block; padding: 8px 16px; border-radius: 30px;
  font-weight: 600; font-size: 15px; color: var(--text-muted);
  transition: all var(--transition);
}
.header-nav a:hover { color: var(--text); background: var(--primary-soft); }
.header-nav a.active {
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.35);
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-search {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.btn-search:hover { background: var(--primary-soft); color: var(--primary); transform: scale(1.05); }
.btn-header {
  padding: 9px 20px; border-radius: 30px;
  background: linear-gradient(135deg, var(--accent), #FF4D7E);
  color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 18px rgba(255, 107, 157, 0.35);
  transition: all var(--transition);
}
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 107, 157, 0.46); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--text); align-items: center; justify-content: center; font-size: 18px; }

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 40px; font-weight: 700; font-size: 15px;
  transition: all var(--transition); border: none; cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 8px 24px rgba(108, 92, 231, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(108, 92, 231, 0.46); }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: 0 8px 24px rgba(255, 107, 157, 0.35); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 107, 157, 0.46); }

main { padding-top: 96px; }

/* ===== 页面 Banner ===== */
.page-banner {
  position: relative;
  background:
    linear-gradient(120deg, rgba(20, 17, 38, 0.93) 0%, rgba(85, 71, 209, 0.84) 55%, rgba(255, 107, 157, 0.72) 100%),
    url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  padding: 110px 0 100px;
  color: #fff;
  border-radius: 0 0 36px 36px;
  overflow: hidden;
}
.banner-inner { max-width: 720px; }
.banner-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px; font-weight: 600; color: #fff;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.page-banner h1 { color: #fff; font-size: 44px; margin-bottom: 16px; }
.page-banner p { font-size: 17px; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 28px; }
.banner-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.banner-stats {
  display: flex; gap: 40px; margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-item .stat-num { font-size: 28px; font-weight: 800; color: #fff; }
.stat-item .stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* ===== 筛选标签 ===== */
.filter-section { padding: 44px 0 0; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-tab {
  padding: 9px 22px; border-radius: 30px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text-muted);
  font-weight: 600; font-size: 14px; transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(108, 92, 231, 0.3);
}

/* ===== 游戏卡片 ===== */
.games-section { padding: 64px 0 30px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-tag {
  display: inline-block; padding: 5px 16px; border-radius: 30px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 13px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-muted); font-size: 15px; }
.game-grid > .cell { margin-bottom: 28px; }
.game-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%; display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.game-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.game-card:hover .game-cover img { transform: scale(1.06); }
.game-type {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 13px; border-radius: 20px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.9); color: var(--primary);
  backdrop-filter: blur(4px); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.game-score {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.game-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.game-title-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.game-title-row h3 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-payment { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-dark); white-space: nowrap; }
.game-desc { font-size: 14px; color: var(--text-muted); margin: 10px 0 16px; line-height: 1.6; flex: 1; }
.game-footer { display: flex; justify-content: space-between; align-items: center; }
.game-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-muted); }
.game-link {
  font-size: 14px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px; transition: gap var(--transition);
}
.game-link:hover { gap: 8px; }

/* ===== 排行榜 ===== */
.ranking-section { background: var(--bg-dark); padding: 80px 0; color: #fff; border-radius: 36px; margin: 40px 0; }
.ranking-section .section-tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ranking-section h2 { color: #fff; margin-bottom: 12px; }
.ranking-section p { color: rgba(255, 255, 255, 0.65); }
.ranking-list { display: flex; flex-direction: column; gap: 12px; }
.ranking-item {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}
.ranking-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(4px); }
.ranking-num { font-size: 24px; font-weight: 900; color: var(--accent); min-width: 34px; }
.ranking-info { flex: 1; }
.ranking-info h4 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.ranking-info span { color: rgba(255, 255, 255, 0.55); font-size: 13px; }
.ranking-heat { font-size: 14px; font-weight: 700; color: #fff; background: rgba(255, 107, 157, 0.25); padding: 4px 14px; border-radius: 20px; white-space: nowrap; }

/* ===== 数据统计 ===== */
.stats-section { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px 24px; text-align: center;
  transition: all var(--transition);
}
.stats-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.stats-card .stat-icon { font-size: 28px; color: var(--primary); margin-bottom: 14px; }
.stats-card .stat-value { font-size: 34px; font-weight: 800; color: var(--text); line-height: 1.2; }
.stats-card .stat-name { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* ===== 特色服务 ===== */
.features-section { padding: 50px 0 70px; }
.features-grid > .cell { margin-bottom: 24px; }
.feature-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 30px 28px; height: 100%;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ===== FAQ ===== */
.faq-section { padding: 0 0 70px; }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 12px; overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary {
  padding: 18px 22px; font-weight: 600; font-size: 15px; cursor: pointer;
  list-style: none; position: relative; padding-right: 48px;
  color: var(--text); transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--primary); transition: transform var(--transition); font-size: 14px;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item[open] { border-color: rgba(108, 92, 231, 0.3); }
.faq-answer { padding: 0 22px 18px; color: var(--text-muted); font-size: 15px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 0; }

/* ===== CTA ===== */
.cta-section {
  background:
    linear-gradient(120deg, rgba(20, 17, 38, 0.92), rgba(108, 92, 231, 0.78)),
    url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  padding: 90px 0; border-radius: 36px; margin-bottom: 80px; text-align: center; color: #fff;
}
.cta-section h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.cta-section p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.site-footer { background: #141126; color: rgba(255, 255, 255, 0.7); padding: 70px 0 30px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; margin-bottom: 44px; }
.footer-brand .logo-text { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.65); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255, 255, 255, 0.45);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  .page-banner { padding: 90px 0 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .site-header { top: 12px; width: calc(100% - 20px); padding: 10px 14px; }
  .header-nav {
    position: fixed; top: 76px; left: 10px; right: 10px;
    background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 12px;
    gap: 4px; display: none; z-index: 999;
  }
  .site-header.menu-open .header-nav { display: flex; }
  .header-nav a { padding: 12px 16px; border-radius: 12px; }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }
  main { padding-top: 76px; }
  .page-banner { padding: 70px 0 60px; border-radius: 0 0 24px 24px; }
  .page-banner h1 { font-size: 30px; }
  .page-banner p { font-size: 15px; }
  .banner-stats { gap: 20px; flex-wrap: wrap; }
  .stat-item .stat-num { font-size: 22px; }
  .section-head h2 { font-size: 26px; }
  .ranking-section { padding: 56px 0; border-radius: 24px; }
  .features-grid > .cell { margin-bottom: 20px; }
  .cta-section { padding: 64px 0; border-radius: 24px; margin-bottom: 50px; }
  .cta-section h2 { font-size: 26px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .header-logo { font-size: 17px; }
  .logo-icon { width: 32px; height: 32px; font-size: 14px; border-radius: 10px; }
  .page-banner { padding: 56px 0 48px; }
  .page-banner h1 { font-size: 25px; }
  .stats-grid { grid-template-columns: 1fr; }
  .filter-tab { padding: 8px 16px; font-size: 13px; }
  .banner-actions .btn { width: 100%; }
  .ranking-item { padding: 12px 14px; gap: 10px; }
  .ranking-num { font-size: 20px; min-width: 26px; }
  .ranking-heat { font-size: 12px; padding: 3px 10px; }
  .game-title-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* roulang page: category2 */
:root {
  --primary: #6d28d9;
  --primary-light: #8b5cf6;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #1e1b2e;
  --dark-light: #2d2a3e;
  --bg: #f5f6fa;
  --surface: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e6e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(30, 27, 46, 0.06);
  --shadow: 0 10px 32px rgba(30, 27, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 27, 46, 0.14);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.35, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; border: none; background: none; outline: none; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }

/* 导航 Dock */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 24px 0;
  pointer-events: none;
}
.site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(30,27,46,0.08);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: auto;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(255,255,255,0.6);
}
.site-header.scrolled .header-inner {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 10px 40px rgba(30,27,46,0.14);
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.header-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(109,40,217,0.3);
}
.header-nav { display: flex; align-items: center; gap: 6px; margin: 0; }
.header-nav li { margin: 0; }
.header-nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}
.header-nav a:hover { color: var(--primary); background: rgba(109,40,217,0.08); }
.header-nav a.active { color: var(--primary); background: rgba(109,40,217,0.12); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn-search {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  background: rgba(0,0,0,0.04);
}
.btn-search:hover { background: rgba(109,40,217,0.1); color: var(--primary); }
.btn-header {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(109,40,217,0.3);
}
.btn-header:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(109,40,217,0.4); }
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  background: rgba(0,0,0,0.04);
  transition: var(--transition);
}
.menu-toggle:hover { background: rgba(109,40,217,0.1); }

/* Hero */
.page-hero {
  min-height: 560px;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  padding: 170px 0 90px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,10,40,0.85) 0%, rgba(20,10,40,0.65) 40%, rgba(20,10,40,0.35) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 22px;
}
.hero-content h1 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(109,40,217,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(109,40,217,0.45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,158,11,0.35); }

/* 通用板块 */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--surface); }
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-tag {
  display: inline-block;
  background: rgba(109,40,217,0.08);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-head p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* 攻略分类卡片 */
.topics-grid { margin-top: 8px; }
.topic-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.topic-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.topic-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.topic-card:hover::after { transform: scaleX(1); }
.topic-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(109,40,217,0.25);
}
.topic-card h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.topic-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.topic-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topic-link i { font-size: 12px; transition: transform 0.3s; }
.topic-card:hover .topic-link i { transform: translateX(4px); }

/* 最新攻略 */
.guide-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: transparent; }
.card-cover {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.guide-card:hover .card-cover img { transform: scale(1.05); }
.card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,10,40,0.4));
}
.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 10px; }
.card-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.card-meta {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.card-meta i { font-size: 13px; }

/* 热门排行 */
.ranking-section { background: var(--dark); }
.ranking-section .section-head h2 { color: #fff; }
.ranking-section .section-head p { color: rgba(255,255,255,0.6); }
.ranking-section .section-tag { background: rgba(255,255,255,0.1); color: var(--accent); }
.ranking-list { margin: 0; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 14px;
  transition: var(--transition);
  cursor: pointer;
}
.ranking-item:hover { background: rgba(255,255,255,0.08); transform: translateX(8px); }
.ranking-no {
  font-size: 26px;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  min-width: 52px;
  font-style: italic;
  letter-spacing: -1px;
}
.ranking-item:nth-child(1) .ranking-no { color: #ffd700; }
.ranking-item:nth-child(2) .ranking-no { color: #c0c0c0; }
.ranking-item:nth-child(3) .ranking-no { color: #cd7f32; }
.ranking-body { flex: 1; }
.ranking-body h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; line-height: 1.4; }
.ranking-body span { font-size: 13px; color: rgba(255,255,255,0.5); }
.ranking-arrow { color: rgba(255,255,255,0.3); font-size: 16px; transition: var(--transition); }
.ranking-item:hover .ranking-arrow { color: var(--accent); transform: translateX(4px); }

/* 深度专题 */
.feature-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-img { position: relative; height: 320px; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feature-card:hover .feature-img img { transform: scale(1.04); }
.feature-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,10,40,0.3));
}
.feature-label {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
}
.feature-body { padding: 32px; }
.feature-body h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.4; }
.feature-body p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.feature-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature-link i { font-size: 13px; transition: transform 0.3s; }
.feature-link:hover i { transform: translateX(4px); }
.feature-spacer { height: 32px; }

/* FAQ */
.faq-section { background: var(--surface); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-list .accordion-item {
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-list .accordion-item.is-active { box-shadow: var(--shadow-sm); border-color: rgba(109,40,217,0.3); }
.faq-list .accordion-title {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  background: transparent;
}
.faq-list .accordion-title::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(109,40,217,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 12px;
  color: var(--primary);
}
.faq-list .accordion-title::after {
  content: '\f078';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--text-light);
  transition: transform 0.3s ease;
}
.faq-list .accordion-item.is-active .accordion-title::after { transform: rotate(180deg); }
.faq-list .accordion-content {
  padding: 0 28px 20px 68px;
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  background: transparent;
}

/* CTA */
.cta-section { padding: 100px 0; position: relative; }
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  filter: saturate(0.8);
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,27,46,0.92), rgba(109,40,217,0.7));
}
.cta-box {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.cta-box .cta-icon {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--dark);
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
}
.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.cta-box p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 页脚 */
.site-footer {
  background: #14121a;
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
  position: relative;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand .logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 360px; }
.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--accent); padding-left: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* 响应式 */
@media (max-width: 1024px) {
  .page-hero { min-height: 480px; padding: 150px 0 70px; }
  .hero-content h1 { font-size: 36px; }
  .section { padding: 70px 0; }
  .section-head h2 { font-size: 28px; }
  .feature-img { height: 260px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) {
  .header-nav { display: flex !important; }
}
@media (max-width: 768px) {
  .site-header { padding: 12px 14px 0; }
  .site-header .header-inner { padding: 10px 18px; border-radius: 24px; }
  .header-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .header-nav.open { display: flex; }
  .header-nav a { padding: 12px 18px; }
  .menu-toggle { display: flex; }
  .btn-header { display: none; }
  .page-hero { min-height: 440px; padding: 130px 0 60px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 24px; }
  .section-tag { font-size: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 26px; }
  .ranking-item { padding: 16px 20px; gap: 16px; }
  .ranking-no { font-size: 22px; min-width: 40px; }
  .feature-body { padding: 24px; }
  .feature-img { height: 220px; }
}
@media (max-width: 520px) {
  .site-header { padding: 8px 12px 0; }
  .site-header .header-inner { padding: 8px 14px; }
  .header-logo { font-size: 16px; }
  .header-logo .logo-icon { width: 32px; height: 32px; font-size: 13px; }
  .header-cta { gap: 8px; }
  .page-hero { min-height: 400px; padding: 110px 0 50px; }
  .hero-content h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 46px 0; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 14px; }
  .topic-card { padding: 24px 20px; }
  .card-body { padding: 18px; }
  .card-body h3 { font-size: 16px; }
  .ranking-item { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .ranking-no { font-size: 20px; min-width: 36px; }
  .ranking-body h3 { font-size: 15px; }
  .cta-section { padding: 60px 0; }
  .cta-box { padding: 32px 20px; }
  .footer-main { gap: 28px; }
  .footer-bottom { font-size: 12px; }
}
