/* roulang page: index */
:root {
  --primary: #6d5efc;
  --primary-dark: #5145d6;
  --primary-light: #8f83fd;
  --accent: #ff9f43;
  --accent-light: #ffb877;
  --teal: #3ddad7;
  --bg-body: #f7f8fc;
  --bg-white: #ffffff;
  --bg-soft: #f0f1fa;
  --text-dark: #1a1d2b;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7f0;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(23, 22, 48, 0.06);
  --shadow-md: 0 8px 28px rgba(23, 22, 48, 0.10);
  --shadow-lg: 0 18px 48px rgba(23, 22, 48, 0.14);
  --shadow-primary: 0 10px 24px rgba(109, 94, 252, 0.35);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --navbar-height: 76px;
  --content-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-body);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
button { cursor: pointer; }
input, textarea, select { font-family: inherit; }
.container { max-width: var(--content-max); padding-left: 24px; padding-right: 24px; }
.row { margin-left: -14px; margin-right: -14px; }
.row > * { padding-left: 14px; padding-right: 14px; }
::selection { background: rgba(109, 94, 252, 0.2); color: var(--primary-dark); }

/* ===== 玻璃拟态导航 ===== */
.navbar-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 20px rgba(23, 22, 48, 0.06);
  transition: var(--transition);
}

.navbar-glass.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 28px rgba(23, 22, 48, 0.11);
}

.navbar-glass .container-fluid, .navbar-glass .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-brand:hover { color: var(--primary); }

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #8b7bfd 60%, var(--teal) 120%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(109, 94, 252, 0.35);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .sub { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.08em; }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-menu .nav-link {
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.navbar-menu .nav-link:hover {
  color: var(--primary);
  background: rgba(109, 94, 252, 0.08);
}

.navbar-menu .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 6px 16px rgba(109, 94, 252, 0.28);
}

.navbar-menu .nav-link.active:hover { color: #fff; }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.navbar-search {
  position: relative;
  width: 190px;
}

.navbar-search input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  padding: 0 42px 0 18px;
  font-size: 0.85rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(23, 22, 48, 0.05);
}

.navbar-search input::placeholder { color: var(--text-light); }
.navbar-search input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.12);
}

.navbar-search .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-primary);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-brand:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(109, 94, 252, 0.4);
}

.btn-brand:active { transform: translateY(0) scale(0.97); }

.btn-outline-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: 50px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(109, 94, 252, 0.3);
}

.btn-outline-brand:active { transform: translateY(0) scale(0.97); }

.navbar-toggler {
  border: none;
  background: rgba(255, 255, 255, 0.6);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(23, 22, 48, 0.08);
  transition: var(--transition);
}

.navbar-toggler:hover { background: var(--primary); color: #fff; }

@media (max-width: 991px) {
  .navbar-toggler { display: flex; }
  .navbar-collapse {
    position: fixed;
    top: var(--navbar-height);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 18px;
    border: 1px solid var(--border);
    z-index: 1070;
  }
  .navbar-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .navbar-menu .nav-link {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 14px;
  }
  .navbar-actions {
    margin: 14px 0 0;
    gap: 10px;
    flex-wrap: wrap;
  }
  .navbar-search {
    width: 100%;
    margin-bottom: 8px;
  }
  .navbar-search input { background: #fff; border-color: var(--border); }
  .btn-brand { width: 100%; justify-content: center; }
}

/* ===== Hero 首屏 ===== */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + 40px);
  padding-bottom: 90px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef0ff 0%, #f7f8fc 100%);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(247,248,252,0.55) 55%, rgba(247,248,252,0.92) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(109, 94, 252, 0.1);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
}

.hero-badge i { color: var(--accent); }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light) 45%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 8px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(23, 22, 48, 0.05);
}

.hero-points i { color: var(--teal); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 2px;
}

.hero-stat p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.7);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: var(--transition);
}

.hero-visual-card:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px);
}

.hero-visual-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.hero-visual-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(109, 94, 252, 0.4);
}

.hero-visual-bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.hero-visual-bottom img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-visual-bottom .info .name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.hero-visual-bottom .info .desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual-bottom .play-btn {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff7e42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(255, 159, 67, 0.4);
  flex-shrink: 0;
  transition: var(--transition);
}

.hero-visual-bottom .play-btn:hover {
  transform: scale(1.12);
  color: #fff;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: floatUpDown 3s ease-in-out infinite;
}

.float-card .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}

.float-card-1 {
  top: 8%;
  left: -12px;
  animation-delay: 0s;
}
.float-card-2 {
  bottom: 16%;
  right: -8px;
  animation-delay: 1.4s;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
  .hero-section { text-align: center; padding-bottom: 60px; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 28px; }
  .hero-visual { margin-top: 50px; }
  .float-card-1 { left: 0; }
  .float-card-2 { right: 0; }
  .navbar-search { display: none; }
}

/* ===== 通用板块 ===== */
.section-padding { padding: 85px 0; }
.section-padding-sm { padding: 56px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(109, 94, 252, 0.08);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
}

.page-header-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(247,248,252,0.4));
}

/* ===== 平台说明 ===== */
.about-section {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  margin: -40px auto 30px;
  z-index: 2;
  box-shadow: var(--shadow-md);
  padding: 50px 40px;
  border: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about-list .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(61, 218, 215, 0.15);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 18px;
  box-shadow: var(--shadow-sm);
}

.about-image-badge .big {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.about-image-badge .small {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-section { padding: 36px 24px; }
}

/* ===== 分类入口 ===== */
.category-section {
  background: var(--bg-soft);
  border-radius: 40px;
  margin: 30px 0 20px;
  padding: 70px 40px;
}

.category-card {
  position: relative;
  background: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: block;
  padding: 30px 26px;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(109, 94, 252, 0.3);
}

.category-card .cat-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(109, 94, 252, 0.25);
  transition: var(--transition);
}

.category-card:hover .cat-icon {
  transform: scale(1.08) rotate(-6deg);
}

.cat-icon.gradient-purple {
  background: linear-gradient(135deg, #7c5cfc, #a78bfa);
}

.cat-icon.gradient-orange {
  background: linear-gradient(135deg, #ff9f43, #ff6b6b);
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.category-card .cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
}

.category-card .cat-link i {
  transition: var(--transition);
}

.category-card:hover .cat-link i {
  transform: translateX(4px);
}

/* ===== 游戏卡片 ===== */
.game-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.game-card-img {
  position: relative;
  overflow: hidden;
}

.game-card-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-card-img img {
  transform: scale(1.06);
}

.game-card-img .game-type {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.game-card-img .game-rating {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(23, 22, 48, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
}

.game-card-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-card-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-dark);
  line-height: 1.4;
}

.game-card-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: 4px;
}

.game-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.game-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.game-card-footer .players {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-play {
  padding: 7px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 12px rgba(109, 94, 252, 0.3);
  transition: var(--transition);
}

.btn-play:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(109, 94, 252, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-play:active { transform: translateY(0) scale(0.95); }

/* ===== 资讯列表 ===== */
.news-section {
  background: var(--bg-white);
  border-radius: 40px;
  margin: 30px 0 20px;
  padding: 70px 40px;
}

.news-list-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  align-items: flex-start;
}

.news-list-item:last-child { border-bottom: none; }

.news-list-item:hover {
  padding-left: 12px;
}

.news-list-item .news-date {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  border: 1px solid var(--border);
}

.news-list-item .news-date .day {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
}

.news-list-item .news-date .month {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.news-list-item .news-content {
  flex: 1;
}

.news-list-item .news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.news-list-item .news-meta .cat-tag {
  background: rgba(109, 94, 252, 0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.72rem;
}

.news-list-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.45;
}

.news-list-item h3 a { color: var(--text-dark); }
.news-list-item h3 a:hover { color: var(--primary); }

.news-list-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-empty {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 60px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.news-empty i {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: block;
}

@media (max-width: 768px) {
  .news-section, .category-section { padding: 45px 20px; border-radius: 24px; }
  .news-list-item { flex-direction: row; gap: 14px; }
  .news-list-item .news-date { width: 52px; height: 52px; border-radius: 12px; }
  .news-list-item .news-date .day { font-size: 1.1rem; }
}

/* ===== 数据统计 ===== */
.stats-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background-image: url('/assets/images/backpic/back-3.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 94, 252, 0.93), rgba(81, 69, 214, 0.96));
}

.stats-section .container { position: relative; z-index: 1; }

.stats-title {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 14px;
}

.stats-subtitle {
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 1.02rem;
  max-width: 600px;
  margin: 0 auto 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 30px 22px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
}

.stat-card .stat-icon {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

.stat-card .stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.stat-card .stat-num .unit {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 2px;
}

.stat-card .stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 6px;
  font-weight: 500;
}

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ===== 使用流程 ===== */
.steps-section { background: var(--bg-white); padding: 85px 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.step-item {
  position: relative;
  text-align: center;
  padding: 28px 18px;
  border-radius: 20px;
  transition: var(--transition);
}

.step-item:hover {
  background: var(--bg-soft);
}

.step-number {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(109, 94, 252, 0.3);
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary-light));
  transform: translateY(-50%);
  border-radius: 2px;
}

.step-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.step-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .step-item:nth-child(2)::after { display: none; }
}

@media (max-width: 576px) {
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-item::after { display: none !important; }
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-soft); padding: 85px 0; }

.faq-wrapper { max-width: 780px; margin: 0 auto; }

.faq-box {
  background: var(--bg-white);
  border-radius: 18px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-box:hover {
  border-color: rgba(109, 94, 252, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  cursor: pointer;
  gap: 16px;
  background: transparent;
  width: 100%;
  text-align: left;
  border: none;
  transition: var(--transition);
}

.faq-question i {
  color: var(--primary);
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-box.active .faq-question i {
  transform: rotate(180deg);
}

.faq-question:hover { color: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.faq-box.active .faq-answer {
  max-height: 240px;
  padding-bottom: 20px;
}

/* ===== CTA ===== */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 50%, var(--primary-light));
  border-radius: 32px;
  padding: 60px 50px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 24px 60px rgba(81, 69, 214, 0.35);
  margin: 40px 0 60px;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -20px;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-box .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 14px 34px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.cta-box .btn-cta:hover {
  transform: translateY(-3px);
  color: var(--primary-dark);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.cta-box .btn-cta:active { transform: translateY(-1px) scale(0.97); }

/* ===== 页脚 ===== */
.footer {
  background: #14162b;
  padding: 70px 0 0;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(109, 94, 252, 0.15), transparent 60%);
  pointer-events: none;
}

.footer .container { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}

.footer-brand .logo .brand-icon {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

.footer-brand .logo:hover { color: #fff; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary-light);
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 576px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-contact li { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== 通用工具类 ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-white { background-color: var(--bg-white); }
.bg-soft { background-color: var(--bg-soft); }

.btn-lg-brand {
  padding: 14px 34px;
  font-size: 1rem;
}

/* ===== 响应式断点 ===== */
@media (max-width: 1200px) {
  :root { --content-max: 1140px; }
  .navbar-search { width: 150px; }
}

@media (max-width: 991px) {
  .section-padding { padding: 60px 0; }
  .hero-section { min-height: auto; padding-top: calc(var(--navbar-height) + 30px); }
}

@media (max-width: 767px) {
  :root { --navbar-height: 66px; }
  .stats-section { background-attachment: scroll; }
  .cta-box { padding: 44px 24px; border-radius: 24px; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 2.2rem; }
  .hero-points span { font-size: 0.82rem; padding: 6px 12px; }
  .hero-actions .btn-brand, .hero-actions .btn-outline-brand { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 20px 14px; }
  .stat-card .stat-num { font-size: 1.8rem; }
  .btn-brand { padding: 9px 18px; }
}

/* roulang page: category1 */
:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #a5b4fc;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
            --bg: #f8faff;
            --bg-deep: #eef1ff;
            --text: #1e293b;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --border: #e2e8f0;
            --white: #ffffff;
            --radius: 18px;
            --radius-sm: 12px;
            --shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
            --shadow-hover: 0 20px 48px rgba(99, 102, 241, 0.16);
            --shadow-nav: 0 4px 24px rgba(30, 41, 59, 0.08);
            --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-family);
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.75;
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            max-width: 1240px;
            padding-left: 20px;
            padding-right: 20px;
        }

        ::selection {
            background: rgba(99, 102, 241, 0.2);
            color: var(--primary-dark);
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* ========== 导航 ========== */
        .navbar-glass {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1050;
            padding: 16px 0;
            background: rgba(255, 255, 255, 0.72);
            backdrop-filter: blur(18px) saturate(180%);
            -webkit-backdrop-filter: blur(18px) saturate(180%);
            border-bottom: 1px solid rgba(255, 255, 255, 0.6);
            box-shadow: 0 0 0 1px rgba(226, 232, 240, 0.4);
            transition: var(--transition);
        }

        .navbar-glass.scrolled {
            padding: 10px 0;
            background: rgba(255, 255, 255, 0.92);
            box-shadow: var(--shadow-nav);
            border-bottom-color: rgba(226, 232, 240, 0.8);
        }

        .navbar-glass .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .navbar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

        .brand-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            font-size: 20px;
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .brand-text .b-main {
            font-size: 20px;
            font-weight: 800;
            letter-spacing: -0.3px;
            color: var(--text);
        }

        .brand-text .sub {
            font-size: 11px;
            color: var(--text-light);
            letter-spacing: 0.5px;
        }

        .navbar-collapse {
            display: flex;
            align-items: center;
            gap: 28px;
            flex: 1;
            justify-content: flex-end;
        }

        .navbar-menu {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border-radius: 50px;
            font-size: 14.5px;
            font-weight: 600;
            color: var(--text-muted);
            background: transparent;
            border: 1px solid transparent;
            transition: var(--transition);
        }

        .nav-link:hover {
            color: var(--primary);
            background: rgba(99, 102, 241, 0.08);
            border-color: rgba(99, 102, 241, 0.12);
            transform: translateY(-1px);
        }

        .nav-link.active {
            color: var(--primary-dark);
            background: rgba(99, 102, 241, 0.12);
            border-color: rgba(99, 102, 241, 0.18);
            box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
        }

        .navbar-actions {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .navbar-search {
            position: relative;
            display: flex;
            align-items: center;
        }

        .navbar-search input {
            width: 180px;
            padding: 9px 38px 9px 16px;
            border-radius: 50px;
            border: 1px solid var(--border);
            background: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            transition: var(--transition);
            outline: none;
        }

        .navbar-search input:focus {
            width: 220px;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
        }

        .navbar-search .search-icon {
            position: absolute;
            right: 14px;
            color: var(--text-light);
            font-size: 14px;
            pointer-events: none;
        }

        .btn-brand {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 22px;
            border-radius: 50px;
            font-size: 14.5px;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            border: none;
            box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
            transition: var(--transition);
            white-space: nowrap;
        }

        .btn-brand:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(79, 70, 229, 0.4);
            color: #fff;
        }

        .btn-brand:active {
            transform: translateY(0);
        }

        .navbar-toggler {
            display: none;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 10px;
            width: 42px;
            height: 42px;
            font-size: 18px;
            color: var(--text);
            cursor: pointer;
            transition: var(--transition);
        }

        .navbar-toggler:hover {
            background: rgba(99, 102, 241, 0.08);
            border-color: var(--primary-light);
            color: var(--primary);
        }

        @media (max-width: 992px) {
            .navbar-collapse {
                position: fixed;
                top: 0;
                right: -100%;
                width: 320px;
                min-height: 100vh;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(24px);
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                padding: 90px 28px 40px;
                box-shadow: -20px 0 50px rgba(30, 41, 59, 0.12);
                transition: right 0.4s ease;
                gap: 20px;
                z-index: 1040;
                border-radius: 0 0 0 24px;
            }

            .navbar-collapse.show {
                right: 0;
            }

            .navbar-menu {
                flex-direction: column;
                align-items: flex-start;
                width: 100%;
                gap: 4px;
            }

            .nav-link {
                width: 100%;
                padding: 12px 16px;
                border-radius: 12px;
                font-size: 15px;
            }

            .navbar-actions {
                flex-direction: column;
                align-items: stretch;
                width: 100%;
                gap: 12px;
            }

            .navbar-search input {
                width: 100%;
                max-width: 320px;
            }

            .navbar-search button {
                padding: 12px;
            }

            .btn-brand {
                justify-content: center;
            }

            .navbar-toggler {
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
        }

        @media (max-width: 576px) {
            .brand-text .sub {
                display: none;
            }

            .navbar-search {
                display: none;
            }
        }

        /* ========== 分类页 Banner ========== */
        .category-hero {
            position: relative;
            padding: 180px 0 100px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(245, 158, 11, 0.1)),
                url('/assets/images/backpic/back-1.png') center/cover no-repeat;
            overflow: hidden;
        }

        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(99, 102, 241, 0.35) 100%);
        }

        .category-hero .container {
            position: relative;
            z-index: 2;
        }

        .category-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 20px;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.16);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.24);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 24px;
            letter-spacing: 0.5px;
        }

        .category-hero h1 {
            font-size: 48px;
            font-weight: 800;
            color: #fff;
            line-height: 1.15;
            margin-bottom: 18px;
            letter-spacing: -1px;
        }

        .category-hero .hero-sub {
            font-size: 18px;
            color: rgba(255, 255, 255, 0.85);
            max-width: 620px;
            line-height: 1.8;
            margin-bottom: 34px;
        }

        .hero-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .hero-meta .meta-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.14);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            color: #fff;
            font-size: 14px;
            font-weight: 500;
        }

        .hero-meta .meta-item i {
            color: var(--accent-light);
            font-size: 16px;
        }

        @media (max-width: 768px) {
            .category-hero {
                padding: 140px 0 64px;
            }

            .category-hero h1 {
                font-size: 32px;
            }

            .category-hero .hero-sub {
                font-size: 16px;
            }
        }

        /* ========== 分类标签 ========== */
        .category-tags {
            padding: 60px 0 20px;
            position: relative;
            z-index: 3;
            margin-top: -20px;
        }

        .tags-card {
            background: var(--white);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 32px 36px;
            border: 1px solid rgba(226, 232, 240, 0.7);
        }

        .tags-card .tags-title {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 20px;
        }

        .tags-title i {
            color: var(--primary);
            font-size: 20px;
        }

        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 18px;
            border-radius: 50px;
            background: var(--bg);
            border: 1px solid var(--border);
            font-size: 14px;
            font-weight: 500;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition);
        }

        .tag-item:hover {
            background: rgba(99, 102, 241, 0.08);
            border-color: var(--primary-light);
            color: var(--primary);
            transform: translateY(-2px);
        }

        .tag-item.active {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            border-color: transparent;
            box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
        }

        @media (max-width: 768px) {
            .tags-card {
                padding: 24px 20px;
            }
        }

        /* ========== 游戏卡片网格 ========== */
        .section-padding {
            padding: 70px 0;
        }

        .section-header {
            margin-bottom: 44px;
        }

        .section-header .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--primary);
            background: rgba(99, 102, 241, 0.08);
            padding: 6px 16px;
            border-radius: 50px;
            margin-bottom: 14px;
        }

        .section-header h2 {
            font-size: 34px;
            font-weight: 800;
            color: var(--text);
            line-height: 1.2;
            letter-spacing: -0.5px;
            margin-bottom: 12px;
        }

        .section-header p {
            font-size: 16px;
            color: var(--text-muted);
            max-width: 640px;
        }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .game-card {
            background: var(--white);
            border-radius: var(--radius);
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.8);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            height: 100%;
        }

        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(99, 102, 241, 0.25);
        }

        .game-card .card-img {
            position: relative;
            height: 178px;
            overflow: hidden;
        }

        .game-card .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .game-card:hover .card-img img {
            transform: scale(1.08);
        }

        .card-img .game-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(8px);
            border-radius: 8px;
            padding: 4px 12px;
            font-size: 12px;
            font-weight: 700;
            color: var(--primary-dark);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .card-img .hot-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: linear-gradient(135deg, #f43f5e, #fb7185);
            color: #fff;
            border-radius: 8px;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .game-card .card-body {
            padding: 20px 20px 24px;
        }

        .game-card .card-body h3 {
            font-size: 18px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }

        .game-card .card-body .game-cat {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 12px;
        }

        .game-card .card-body .game-desc {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 18px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .game-card .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 20px;
            background: rgba(248, 250, 255, 0.7);
            border-top: 1px solid rgba(226, 232, 240, 0.6);
        }

        .game-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 13px;
            color: var(--accent);
            font-weight: 600;
        }

        .game-rating i {
            font-size: 12px;
            color: var(--accent);
        }

        .game-card .btn-play {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 18px;
            border-radius: 50px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: #fff;
            font-size: 13px;
            font-weight: 650;
            box-shadow: 0 3px 10px rgba(79, 70, 229, 0.25);
            transition: var(--transition);
            border: none;
        }

        .game-card .btn-play:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
        }

        @media (max-width: 992px) {
            .game-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .game-grid {
                grid-template-columns: 1fr;
            }

            .game-card .card-img {
                height: 200px;
            }
        }

        /* ========== 排行榜单 ========== */
        .ranking-section {
            background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
            padding: 90px 0;
        }

        .ranking-wrap {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 28px;
        }

        .ranking-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 34px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(226, 232, 240, 0.7);
            transition: var(--transition);
        }

        .ranking-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }

        .ranking-card h3 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .ranking-card h3 i {
            color: var(--accent);
        }

        .ranking-list {
            list-style: none;
        }

        .ranking-list li {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px 0;
            border-bottom: 1px dashed var(--border);
            transition: var(--transition);
        }

        .ranking-list li:last-child {
            border-bottom: none;
        }

        .ranking-list li:hover {
            padding-left: 8px;
        }

        .rank-num {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 800;
            background: var(--bg);
            color: var(--text-muted);
            flex-shrink: 0;
        }

        .rank-num.top {
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
            color: #fff;
            box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
        }

        .rank-info {
            flex: 1;
        }

        .rank-info .g-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--text);
        }

        .rank-info .g-type {
            font-size: 13px;
            color: var(--text-light);
        }

        .rank-heat {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        @media (max-width: 768px) {
            .ranking-wrap {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .ranking-card {
                padding: 24px;
            }
        }

        /* ========== 精选大图展示 ========== */
        .feature-section {
            padding: 90px 0;
        }

        .feature-card {
            position: relative;
            border-radius: 24px;
            overflow: hidden;
            min-height: 420px;
            display: flex;
            align-items: flex-end;
            box-shadow: var(--shadow);
            border: none;
            transition: var(--transition);
        }

        .feature-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .feature-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            top: 0;
            left: 0;
        }

        .feature-card .feature-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: 48px 40px 36px;
            background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
            color: #fff;
        }

        .feature-overlay .f-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.18);
            border: 1px solid rgba(255, 255, 255, 0.22);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            padding: 5px 14px;
            border-radius: 50px;
            margin-bottom: 14px;
        }

        .feature-overlay h3 {
            font-size: 26px;
            font-weight: 800;
            margin-bottom: 10px;
        }

        .feature-overlay p {
            font-size: 15px;
            color: rgba(255, 255, 255, 0.75);
            max-width: 480px;
            margin-bottom: 20px;
        }

        .feature-overlay .btn-outline-light {
            background: transparent;
            border: 1.5px solid rgba(255, 255, 255, 0.8);
            color: #fff;
            border-radius: 50px;
            padding: 9px 24px;
            font-size: 14px;
            font-weight: 650;
            transition: var(--transition);
        }

        .feature-overlay .btn-outline-light:hover {
            background: #fff;
            color: var(--text);
            transform: translateY(-2px);
        }

        .feature-grid-right {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
            height: 100%;
        }

        .feature-sm-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            min-height: 198px;
            display: flex;
            align-items: flex-end;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .feature-sm-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-4px);
        }

        .feature-sm-card img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .feature-sm-card .sm-overlay {
            position: relative;
            z-index: 2;
            width: 100%;
            padding: 24px 20px 18px;
            background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.82));
            color: #fff;
        }

        .sm-overlay h4 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .sm-overlay p {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0;
        }

        @media (max-width: 992px) {
            .feature-grid-right {
                grid-template-columns: repeat(2, 1fr);
                margin-top: 24px;
            }

            .feature-card {
                min-height: 360px;
            }
        }

        @media (max-width: 576px) {
            .feature-grid-right {
                grid-template-columns: 1fr;
            }

            .feature-overlay {
                padding: 30px 24px 24px;
            }
        }

        /* ========== CTA 区块 ========== */
        .cta-section {
            padding: 40px 0 90px;
        }

        .cta-box {
            position: relative;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #312e81 100%);
            border-radius: 28px;
            padding: 60px 48px;
            text-align: center;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(79, 70, 229, 0.3);
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: -40%;
            right: -20%;
            width: 420px;
            height: 420px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
        }

        .cta-box::after {
            content: '';
            position: absolute;
            bottom: -60%;
            left: -10%;
            width: 360px;
            height: 360px;
            border-radius: 50%;
            background: rgba(245, 158, 11, 0.15);
        }

        .cta-box .cta-content {
            position: relative;
            z-index: 2;
        }

        .cta-box h2 {
            font-size: 34px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 16px;
            letter-spacing: -0.5px;
        }

        .cta-box p {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            max-width: 480px;
            margin: 0 auto 32px;
            line-height: 1.7;
        }

        .btn-cta {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 38px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 700;
            background: #fff;
            color: var(--primary-dark);
            border: none;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            transition: var(--transition);
        }

        .btn-cta:hover {
            background: var(--accent-light);
            color: #312e81;
            transform: translateY(-3px);
            box-shadow: 0 12px 32px rgba(245, 158, 11, 0.25);
        }

        @media (max-width: 768px) {
            .cta-box {
                padding: 40px 24px;
                border-radius: 20px;
            }

            .cta-box h2 {
                font-size: 26px;
            }
        }

        /* ========== FAQ ========== */
        .faq-section {
            padding: 40px 0 90px;
        }

        .faq-wrap {
            max-width: 820px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--white);
            border-radius: var(--radius);
            padding: 0;
            margin-bottom: 16px;
            border: 1px solid rgba(226, 232, 240, 0.7);
            box-shadow: 0 2px 12px rgba(30, 41, 59, 0.03);
            overflow: hidden;
            transition: var(--transition);
        }

        .faq-item:hover {
            box-shadow: var(--shadow);
            border-color: rgba(99, 102, 241, 0.3);
        }

        .faq-item .faq-q {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 22px 28px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 650;
            color: var(--text);
            background: transparent;
            border: none;
            width: 100%;
            text-align: left;
            transition: var(--transition);
        }

        .faq-item .faq-q:hover {
            color: var(--primary);
        }

        .faq-q .faq-icon {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: var(--transition);
        }

        .faq-item.active .faq-icon {
            background: var(--primary);
            color: #fff;
            transform: rotate(45deg);
        }

        .faq-item .faq-a {
            padding: 0 28px 24px;
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.8;
            display: none;
        }

        .faq-item.active .faq-a {
            display: block;
        }

        @media (max-width: 576px) {
            .faq-item .faq-q {
                padding: 18px 20px;
                font-size: 15px;
            }

            .faq-item .faq-a {
                padding: 0 20px 20px;
                font-size: 14px;
            }
        }

        /* ========== 页脚 ========== */
        .footer {
            background: #0f172a;
            color: rgba(255, 255, 255, 0.7);
            padding: 74px 0 0;
            margin-top: 0;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
            gap: 40px;
            padding-bottom: 48px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-brand .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            margin-bottom: 18px;
        }

        .footer-brand .logo .brand-icon {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            font-size: 18px;
        }

        .footer-brand p {
            font-size: 14px;
            line-height: 1.8;
            color: rgba(255, 255, 255, 0.5);
            max-width: 320px;
            margin-bottom: 20px;
        }

        .footer-col h4 {
            font-size: 16px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.55);
            font-size: 14px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
        }

        .footer-col ul li a:hover {
            color: #fff;
            padding-left: 4px;
        }

        .footer-col ul li a i {
            color: var(--primary-light);
            font-size: 12px;
        }

        .footer-contact li {
            color: rgba(255, 255, 255, 0.55);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-contact li i {
            color: var(--primary-light);
            font-size: 15px;
        }

        .footer-bottom {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 24px 0;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.35);
        }

        .footer-bottom a {
            color: rgba(255, 255, 255, 0.4);
        }

        .footer-bottom a:hover {
            color: #fff;
        }

        @media (max-width: 992px) {
            .footer-top {
                grid-template-columns: repeat(2, 1fr);
                gap: 32px;
            }
        }

        @media (max-width: 576px) {
            .footer-top {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ========== 动画 ========== */
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(24px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate {
            animation: fadeUp 0.7s ease both;
        }

        .delay-1 {
            animation-delay: 0.1s;
        }

        .delay-2 {
            animation-delay: 0.2s;
        }

        .delay-3 {
            animation-delay: 0.3s;
        }

/* roulang page: article */
:root {
  --primary: #4361ee;
  --primary-light: #7b9cff;
  --primary-dark: #3250d6;
  --secondary: #ff6b6b;
  --accent: #ffd166;
  --dark: #1e2130;
  --body-bg: #f5f7fc;
  --text: #2d3350;
  --text-light: #6b7385;
  --border: #e6e9f2;
  --bg-soft: #edf0fa;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(30, 42, 98, 0.08);
  --shadow-hover: 0 16px 48px rgba(30, 42, 98, 0.14);
  --transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; background: var(--body-bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input { font-family: inherit; }
.container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }
ul, ol { list-style: none; }
::selection { background: rgba(67, 97, 238, 0.18); }

/* —— 导航 —— */
.navbar-glass { position: sticky; top: 0; z-index: 1080; background: rgba(255,255,255,0.86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.45); box-shadow: 0 8px 32px rgba(31, 45, 100, 0.08); transition: var(--transition); }
.navbar-glass .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { width: 44px; height: 44px; border-radius: 13px; 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 6px 18px rgba(67, 97, 238, 0.35); transition: var(--transition); }
.navbar-brand:hover .brand-icon { transform: rotate(-8deg) scale(1.05); }
.brand-text { font-size: 22px; font-weight: 800; color: var(--dark); line-height: 1.15; display: flex; flex-direction: column; }
.brand-text .sub { font-size: 11px; font-weight: 500; color: var(--text-light); letter-spacing: 1px; }
.navbar-collapse { display: flex; align-items: center; gap: 28px; }
.navbar-menu { display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text); transition: var(--transition); }
.nav-link i { font-size: 13px; opacity: 0.75; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(67, 97, 238, 0.08); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-search { position: relative; display: flex; align-items: center; }
.navbar-search input { width: 170px; height: 40px; border: 1px solid var(--border); border-radius: 999px; background: #fff; padding: 0 40px 0 42px; font-size: 14px; color: var(--text); outline: none; transition: var(--transition); }
.navbar-search input::placeholder { color: #a0a8b8; }
.navbar-search .search-icon { position: absolute; left: 16px; color: #a0a8b8; font-size: 14px; pointer-events: none; transition: var(--transition); }
.navbar-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.12); width: 220px; background: #f8faff; }
.navbar-search input:focus + .search-icon { color: var(--primary); }
.btn-brand { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 14.5px; font-weight: 700; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(67, 97, 238, 0.32); transition: var(--transition); }
.btn-brand:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 10px 28px rgba(67, 97, 238, 0.42); }
.btn-brand:active { transform: translateY(0); }
.btn-brand:focus-visible { outline: 3px solid rgba(67, 97, 238, 0.35); outline-offset: 2px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--primary); color: var(--primary) !important; background: transparent; font-size: 14.5px; font-weight: 700; transition: var(--transition); }
.btn-outline:hover { background: rgba(67, 97, 238, 0.08); color: var(--primary); transform: translateY(-1px); }
.navbar-toggler { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.8); color: var(--dark); font-size: 18px; cursor: pointer; align-items: center; justify-content: center; transition: var(--transition); }
.navbar-toggler:hover { background: var(--bg-soft); color: var(--primary); }

/* —— 文章 Banner —— */
.article-hero { position: relative; padding: 100px 0 70px; background: linear-gradient(130deg, rgba(24, 28, 46, 0.92) 12%, rgba(43, 58, 128, 0.78) 55%, rgba(67, 97, 238, 0.65)), url('/assets/images/backpic/back-1.png') center/cover no-repeat; color: #fff; overflow: hidden; }
.article-hero::before { content: ''; position: absolute; top: -80px; right: -40px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,0.07); filter: blur(10px); pointer-events: none; }
.article-hero::after { content: ''; position: absolute; bottom: -100px; left: -30px; width: 320px; height: 320px; border-radius: 50%; background: rgba(67, 97, 238, 0.22); filter: blur(30px); pointer-events: none; }
.article-hero .container { position: relative; z-index: 2; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,0.7); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb-nav a { color: rgba(255,255,255,0.8); }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav i { font-size: 12px; color: rgba(255,255,255,0.4); }
.badge-category { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border-radius: 999px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.5px; margin-bottom: 16px; }
.article-hero h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.35; margin-bottom: 18px; max-width: 900px; text-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.article-meta-hero { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.75); }
.article-meta-hero .meta-item { display: inline-flex; align-items: center; gap: 8px; }
.article-meta-hero .meta-item i { font-size: 14px; color: rgba(255,255,255,0.5); }

/* —— 文章主体 —— */
.article-main { padding: 70px 0 80px; position: relative; }
.article-main .row { align-items: flex-start; }
.article-content-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid #fff; overflow: hidden; }
.article-body-wrap { padding: 42px 44px; }
.article-body { color: var(--text); font-size: 1.06rem; line-height: 1.9; word-wrap: break-word; }
.article-body > *:last-child { margin-bottom: 0; }
.article-body h2 { font-size: 1.55rem; font-weight: 800; color: var(--dark); margin: 2.2rem 0 1rem; padding-bottom: 0.55rem; border-bottom: 2px solid var(--bg-soft); position: relative; }
.article-body h2::before { content: ''; position: absolute; left: 0; bottom: -2px; width: 58px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); border-radius: 2px; }
.article-body h3 { font-size: 1.28rem; font-weight: 700; color: var(--dark); margin: 1.8rem 0 0.8rem; }
.article-body h4 { font-size: 1.12rem; font-weight: 700; color: var(--dark); margin: 1.4rem 0 0.6rem; }
.article-body p { margin-bottom: 1.25rem; color: #3d4358; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(67, 97, 238, 0.35); }
.article-body a:hover { color: var(--primary-dark); text-decoration-color: var(--primary); }
.article-body img { max-width: 100%; border-radius: 14px; margin: 1.4rem 0; box-shadow: var(--shadow); }
.article-body ul, .article-body ol { margin-bottom: 1.3rem; padding-left: 1.6rem; }
.article-body ul li, .article-body ol li { margin-bottom: 0.55rem; position: relative; }
.article-body ul { list-style: none; }
.article-body ul li { padding-left: 12px; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 0.58em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--bg-soft); padding: 1.1rem 1.6rem; border-radius: 0 14px 14px 0; margin: 1.6rem 0; color: var(--text); }
.article-body blockquote p { margin-bottom: 0.3rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; border-radius: 12px; overflow: hidden; }
.article-body table th, .article-body table td { border: 1px solid var(--border); padding: 0.65rem 1rem; text-align: left; }
.article-body table th { background: var(--bg-soft); font-weight: 700; color: var(--dark); }
.article-body code { background: var(--bg-soft); padding: 2px 8px; border-radius: 6px; font-size: 0.92em; color: var(--primary-dark); }
.article-body pre { background: #171c2b; color: #e2e8f0; padding: 1.4rem; border-radius: 14px; overflow-x: auto; margin: 1.6rem 0; font-size: 0.92rem; }
.article-body pre code { background: transparent; color: inherit; padding: 0; }

.article-footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 28px 44px; border-top: 1px solid var(--border); background: #fafbff; gap: 16px; }
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-tags i { color: var(--primary); font-size: 15px; margin-right: 2px; }
.tag { display: inline-flex; padding: 5px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--text); font-size: 12.5px; font-weight: 600; transition: var(--transition); cursor: default; }
.tag:hover { background: rgba(67, 97, 238, 0.12); color: var(--primary); }
.article-share { display: flex; align-items: center; gap: 8px; }
.share-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); color: var(--text-light); font-size: 15px; transition: var(--transition); }
.share-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(67, 97, 238, 0.15); }

/* —— 侧边栏 —— */
.article-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid #fff; padding: 26px; transition: var(--transition); }
.sidebar-card:hover { box-shadow: var(--shadow-hover); }
.sidebar-title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--bg-soft); }
.sidebar-title i { color: var(--primary); font-size: 18px; }
.sidebar-top { background: linear-gradient(145deg, #fff, #f8f9ff); }
.recommend-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-radius: 12px; transition: var(--transition); }
.recommend-item:hover { transform: translateX(4px); background: var(--bg-soft); padding-left: 12px; }
.recommend-item + .recommend-item { border-top: 1px dashed var(--border); }
.recommend-img { width: 70px; height: 56px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.recommend-img img { width: 100%; height: 100%; object-fit: cover; }
.recommend-info { flex: 1; min-width: 0; }
.recommend-info .recommend-name { display: block; font-size: 14.5px; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recommend-info .recommend-type { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; }
.category-chip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--bg-soft); color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 10px; transition: var(--transition); }
.category-chip:last-child { margin-bottom: 0; }
.category-chip i { color: var(--primary); width: 20px; text-align: center; }
.category-chip:hover { background: var(--primary); color: #fff; transform: translateX(3px); box-shadow: 0 8px 20px rgba(67, 97, 238, 0.25); }
.category-chip:hover i { color: #fff; }
.sidebar-tip { background: linear-gradient(135deg, rgba(255, 209, 102, 0.1), rgba(255, 107, 107, 0.06)); border: 1px dashed rgba(255, 107, 107, 0.2); text-align: center; }
.sidebar-tip i { font-size: 28px; color: var(--accent); margin-bottom: 10px; }
.sidebar-tip p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 0; }

/* —— 内容未找到 —— */
.not-found { text-align: center; padding: 70px 20px; }
.not-found i { font-size: 64px; color: #c3c9dd; margin-bottom: 18px; display: block; }
.not-found h2 { font-size: 26px; color: var(--dark); font-weight: 800; margin-bottom: 8px; }
.not-found p { color: var(--text-light); margin-bottom: 24px; }
.not-found .btn-brand { display: inline-flex; }

/* —— 相关推荐 —— */
.related-section { padding: 70px 0; background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.section-head .title-area { display: flex; align-items: center; gap: 14px; }
.section-icon { width: 50px; height: 50px; border-radius: 15px; 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 24px rgba(67, 97, 238, 0.3); flex-shrink: 0; }
.section-head h2 { font-size: 26px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.section-head .section-sub { font-size: 13px; color: var(--text-light); }
.section-more { font-size: 14px; color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.section-more i { transition: var(--transition); }
.section-more:hover i { transform: translateX(4px); }
.game-card { background: #fff; border-radius: 18px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; display: block; }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(67, 97, 238, 0.25); }
.game-card-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover .game-card-img img { transform: scale(1.05); }
.game-card-img .card-badge { position: absolute; top: 14px; left: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(30, 33, 48, 0.7); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }
.game-card-body { padding: 20px 22px 24px; }
.game-card-body h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.45; }
.game-card-body p { font-size: 13.5px; color: var(--text-light); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-card-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--bg-soft); padding-top: 14px; }
.game-card-meta .date { font-size: 12.5px; color: #a0a8b8; }
.game-card-meta .read-more { font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.game-card-meta .read-more i { font-size: 11px; }

/* —— FAQ —— */
.faq-section { padding: 70px 0; background: var(--body-bg); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; transition: var(--transition); border: 1px solid transparent; }
.faq-item:hover { border-color: rgba(67, 97, 238, 0.15); }
.faq-q { padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--dark); }
.faq-q i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: var(--bg-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: var(--transition); }
.faq-q:hover i { background: var(--primary); color: #fff; }
.faq-a { padding: 0 28px; max-height: 0; overflow: hidden; font-size: 14.5px; color: var(--text-light); line-height: 1.85; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 28px 20px; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--primary); color: #fff; }

/* —— CTA —— */
.cta-section { position: relative; padding: 0 0 80px; background: var(--body-bg); }
.cta-card { position: relative; border-radius: 28px; overflow: hidden; padding: 80px 60px; text-align: center; background: linear-gradient(130deg, #1c2240 0%, #283153 50%, #1a3f8c 100%); color: #fff; box-shadow: 0 16px 60px rgba(30, 45, 90, 0.35); }
.cta-card::before { content: ''; position: absolute; inset: 0; background: url('/assets/images/backpic/back-2.png') center/cover no-repeat; opacity: 0.18; }
.cta-card::after { content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.08); pointer-events: none; }
.cta-card .cta-content { position: relative; z-index: 2; }
.cta-card .cta-label { display: inline-block; padding: 6px 20px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); font-size: 13px; letter-spacing: 1px; margin-bottom: 20px; color: rgba(255,255,255,0.9); }
.cta-card h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta-card p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 30px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-card .btn-white { display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px; border-radius: 999px; background: #fff; color: var(--dark) !important; font-size: 15px; font-weight: 800; box-shadow: 0 8px 30px rgba(0,0,0,0.2); transition: var(--transition); }
.cta-card .btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.3); }
.cta-card .btn-ghost { display: inline-flex; align-items: center; gap: 10px; margin-left: 14px; padding: 14px 36px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.5); color: #fff !important; font-size: 15px; font-weight: 700; transition: var(--transition); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); border-color: #fff; }

/* —— 页脚 —— */
.footer { background: #171a26; color: rgba(255,255,255,0.7); padding: 70px 0 30px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 0.8fr 0.9fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.footer-brand .logo .brand-icon { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.55); max-width: 320px; margin-bottom: 0; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--primary); border-radius: 2px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13.5px; color: rgba(255,255,255,0.55); display: inline-flex; align-items: center; gap: 5px; transition: var(--transition); }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-col ul a i { font-size: 11px; }
.footer-contact li { font-size: 13.5px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 10px; }
.footer-contact li i { color: var(--primary-light); width: 18px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.4); }

/* —— 响应式 —— */
@media (max-width: 992px) {
  .navbar-collapse { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: stretch; padding: 20px; box-shadow: 0 20px 40px rgba(31, 45, 100, 0.12); border-top: 1px solid var(--border); }
  .navbar-collapse.show { display: flex; }
  .navbar-toggler { display: inline-flex; }
  .navbar-menu { flex-direction: column; gap: 4px; }
  .nav-link { justify-content: flex-start; width: 100%; }
  .navbar-actions { flex-direction: column; gap: 14px; }
  .navbar-search input { width: 100%; }
  .navbar-search input:focus { width: 100%; }
  .btn-brand { justify-content: center; }
  .article-body-wrap { padding: 30px 24px; }
  .article-footer-bar { padding: 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-card { padding: 60px 30px; }
  .cta-card .btn-ghost { margin-left: 0; margin-top: 12px; }
}
@media (max-width: 768px) {
  .article-hero { padding: 80px 0 50px; }
  .article-main { padding: 50px 0 60px; }
  .article-sidebar { position: static; margin-top: 28px; }
  .related-section { padding: 50px 0; }
  .faq-section { padding: 50px 0; }
  .cta-section { padding: 0 0 60px; }
  .footer { padding: 50px 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-meta-hero { gap: 14px; }
  .cta-card { padding: 50px 22px; border-radius: 20px; }
}
@media (max-width: 520px) {
  .brand-text { font-size: 18px; }
  .brand-icon { width: 38px; height: 38px; }
  .article-body-wrap { padding: 24px 18px; }
  .article-footer-bar { flex-direction: column; align-items: flex-start; padding: 18px; }
  .cta-card { padding: 44px 18px; }
  .cta-card .btn-white, .cta-card .btn-ghost { padding: 12px 24px; font-size: 14px; width: 100%; justify-content: center; }
  .cta-card .btn-ghost { margin-left: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 22px; }
  .faq-q { padding: 16px 18px; font-size: 14px; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 16px; }
}

/* roulang page: category2 */
:root {
    --primary: #6C5CE7;
    --primary-light: #a29bfe;
    --primary-dark: #5040c9;
    --secondary: #00b894;
    --secondary-light: #55efc4;
    --accent: #fdcb6e;
    --bg-light: #f6f7fc;
    --bg-white: #ffffff;
    --bg-dark: #1a2333;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e8ecf3;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 35px rgba(76, 68, 179, 0.08);
    --shadow-hover: 0 18px 45px rgba(76, 68, 179, 0.14);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img,
  svg {
    max-width: 100%;
    display: block;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }

  a:hover {
    color: var(--primary);
  }

  button,
  input,
  textarea {
    font-family: inherit;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .section {
    padding: 90px 0;
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(0, 184, 148, 0.12));
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(108, 92, 231, 0.15);
  }

  .section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.8;
  }

  /* ===================== 导航 ===================== */
  .navbar-glass {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1080;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: background 0.35s ease, box-shadow 0.35s ease;
    padding: 14px 0;
  }

  .navbar-glass.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
  }

  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
  }

  .navbar-brand:hover {
    color: var(--primary);
  }

  .brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.28);
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .brand-text .sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
  }

  .navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 1;
  }

  .navbar-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
  }

  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition);
  }

  .nav-link i {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
  }

  .nav-link:hover {
    background: rgba(108, 92, 231, 0.08);
    color: var(--primary);
    border-color: rgba(108, 92, 231, 0.12);
  }

  .nav-link:hover i {
    color: var(--primary);
  }

  .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(108, 92, 231, 0.3);
  }

  .nav-link.active i {
    color: #fff;
  }

  .navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .navbar-search {
    position: relative;
    display: flex;
    align-items: center;
  }

  .navbar-search input {
    width: 200px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
    padding: 0 16px 0 40px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
  }

  .navbar-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
    width: 230px;
  }

  .navbar-search .search-icon {
    position: absolute;
    left: 15px;
    font-size: 14px;
    color: var(--text-muted);
    pointer-events: none;
  }

  .btn-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--secondary), #00a381);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0, 184, 148, 0.3);
    transition: var(--transition);
    white-space: nowrap;
  }

  .btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 184, 148, 0.35);
    color: #fff;
  }

  .navbar-toggler {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 991px) {
    .navbar-collapse {
      position: fixed;
      top: 74px;
      left: 16px;
      right: 16px;
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
      padding: 24px;
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
      display: none;
      max-height: calc(100vh - 100px);
      overflow-y: auto;
      border: 1px solid var(--border);
    }

    .navbar-collapse.show {
      display: flex;
    }

    .navbar-menu {
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
      margin: 0;
    }

    .nav-link {
      justify-content: flex-start;
      padding: 12px 16px;
      font-size: 15px;
    }

    .navbar-actions {
      flex-direction: column;
      align-items: stretch;
    }

    .navbar-search input {
      width: 100%;
    }

    .navbar-search input:focus {
      width: 100%;
    }

    .btn-brand {
      justify-content: center;
    }

    .navbar-toggler {
      display: inline-flex;
    }
  }

  @media (max-width: 440px) {
    .navbar-glass {
      padding: 12px 0;
    }

    .brand-text .sub {
      display: none;
    }

    .navbar-collapse {
      top: 66px;
    }
  }

  /* ===================== 分类页 Banner ===================== */
  .page-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 35, 51, 0.82), rgba(80, 64, 201, 0.75)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
    padding: 170px 0 90px;
    color: #fff;
    margin-top: 0;
    overflow: hidden;
  }

  .page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 184, 148, 0.25), transparent 50%);
    pointer-events: none;
  }

  .page-banner .container {
    position: relative;
    z-index: 2;
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 22px;
    flex-wrap: wrap;
  }

  .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
  }

  .breadcrumb a:hover {
    color: #fff;
  }

  .breadcrumb i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
  }

  .breadcrumb .current {
    color: #fff;
    font-weight: 600;
  }

  .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);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
  }

  .page-banner h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 18px;
    max-width: 720px;
  }

  .page-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 0;
  }

  .banner-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
  }

  .banner-stat {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .banner-stat .num {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
  }

  .banner-stat .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
  }

  @media (max-width: 767px) {
    .page-banner {
      padding: 140px 0 60px;
    }

    .page-banner h1 {
      font-size: 30px;
    }

    .banner-stats {
      gap: 18px;
    }
  }

  /* ===================== 教程分类卡片 ===================== */
  .tutorial-categories {
    background: var(--bg-light);
    padding: 90px 0;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 44px;
  }

  .tutorial-category-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
  }

  .tutorial-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
  }

  .tutorial-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(108, 92, 231, 0.25);
  }

  .tutorial-category-card:hover::before {
    opacity: 1;
  }

  .tutorial-category-card .icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
  }

  .icon-purple {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.25);
  }

  .icon-teal {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    box-shadow: 0 8px 20px rgba(0, 184, 148, 0.25);
  }

  .icon-orange {
    background: linear-gradient(135deg, #f39c12, #fdcb6e);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.25);
  }

  .icon-red {
    background: linear-gradient(135deg, #e17055, #fab1a0);
    box-shadow: 0 8px 20px rgba(225, 112, 85, 0.25);
  }

  .tutorial-category-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
  }

  .tutorial-category-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
  }

  .tutorial-category-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 16px;
  }

  @media (max-width: 991px) {
    .category-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 560px) {
    .category-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===================== 新手入门流程 ===================== */
  .quick-start {
    background: #fff;
    padding: 90px 0;
    position: relative;
  }

  .quick-start .container {
    position: relative;
    z-index: 2;
  }

  .timeline-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
    position: relative;
  }

  .timeline-wrap::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.4), rgba(0, 184, 148, 0.4), rgba(0, 184, 148, 0.1));
    border-radius: 2px;
    z-index: 0;
  }

  .step-item {
    text-align: center;
    padding: 20px 16px 10px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    transition: var(--transition);
  }

  .step-item:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 10px 28px rgba(108, 92, 231, 0.3);
    border: 4px solid #fff;
  }

  .step-item:nth-child(2) .step-num {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    box-shadow: 0 10px 28px rgba(9, 132, 227, 0.3);
  }

  .step-item:nth-child(3) .step-num {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    box-shadow: 0 10px 28px rgba(0, 184, 148, 0.3);
  }

  .step-item:nth-child(4) .step-num {
    background: linear-gradient(135deg, #e17055, #fab1a0);
    box-shadow: 0 10px 28px rgba(225, 112, 85, 0.3);
  }

  .step-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .step-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
  }

  @media (max-width: 991px) {
    .timeline-wrap {
      grid-template-columns: repeat(2, 1fr);
    }

    .timeline-wrap::before {
      display: none;
    }
  }

  @media (max-width: 520px) {
    .timeline-wrap {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }

  /* ===================== 热门教程卡片 ===================== */
  .featured-tutorials {
    background: var(--bg-light);
    padding: 90px 0;
  }

  .tutorial-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
  }

  .tutorial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
  }

  .tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(108, 92, 231, 0.18);
  }

  .tutorial-card .card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
  }

  .tutorial-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .tutorial-card:hover .card-img-wrap img {
    transform: scale(1.05);
  }

  .card-img-wrap .badge-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
  }

  .card-body {
    padding: 22px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .card-body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-main);
  }

  .card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
  }

  .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
  }

  .card-meta .views i {
    margin-right: 4px;
  }

  .card-meta .read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .card-meta .read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .card-meta .read-more:hover i {
    transform: translateX(4px);
  }

  @media (max-width: 991px) {
    .tutorial-card-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .tutorial-card-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===================== 进阶技巧 ===================== */
  .advanced-tips {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #222f43 50%, #1a2333 100%);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
  }

  .advanced-tips::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2), transparent 70%);
  }

  .advanced-tips .section-title {
    color: #fff;
  }

  .advanced-tips .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
  }

  .tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 46px;
  }

  .tip-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    display: flex;
    gap: 16px;
    transition: var(--transition);
    backdrop-filter: blur(6px);
  }

  .tip-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(108, 92, 231, 0.4);
  }

  .tip-item .tip-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(0, 184, 148, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
  }

  .tip-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
  }

  .tip-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin: 0;
  }

  @media (max-width: 991px) {
    .tips-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 560px) {
    .tips-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ===================== FAQ ===================== */
  .faq-section {
    background: #fff;
    padding: 90px 0;
  }

  .faq-wrap {
    max-width: 760px;
    margin: 46px auto 0;
  }

  .faq-item {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
  }

  .faq-item:hover {
    border-color: rgba(108, 92, 231, 0.3);
  }

  .faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
    color: var(--text-main);
    user-select: none;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::after {
    content: "\f077";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    background: rgba(108, 92, 231, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .faq-item[open] summary::after {
    transform: rotate(180deg);
  }

  .faq-item .faq-answer {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
  }

  /* ===================== CTA ===================== */
  .cta-section {
    background: var(--bg-light);
    padding: 70px 0;
  }

  .cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #3c2f9d 100%);
    border-radius: var(--radius-lg);
    padding: 56px 54px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.35);
  }

  .cta-banner::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  }

  .cta-banner h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
  }

  .cta-banner p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 480px;
  }

  .cta-banner .cta-btns {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    flex-wrap: wrap;
  }

  .btn-white {
    background: #fff;
    color: var(--primary-dark);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
  }

  .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    color: var(--primary);
  }

  .btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
  }

  .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
  }

  @media (max-width: 767px) {
    .cta-banner {
      flex-direction: column;
      text-align: center;
      padding: 42px 24px;
    }

    .cta-banner p {
      margin: 0 auto;
    }

    .cta-btns {
      justify-content: center;
    }
  }

  /* ===================== 页脚 ===================== */
  .footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 70px 0 0;
    position: relative;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-brand .logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
  }

  .footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
  }

  .footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-col ul li {
    margin-bottom: 10px;
  }

  .footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
  }

  .footer-col ul li a:hover {
    color: #fff;
    padding-left: 4px;
  }

  .footer-col ul li a i {
    font-size: 12px;
    color: var(--primary-light);
  }

  .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
  }

  .footer-contact li i {
    color: var(--secondary-light);
    margin-top: 4px;
  }

  .footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
  }

  .footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
  }

  .footer-bottom a:hover {
    color: #fff;
  }

  @media (max-width: 991px) {
    .footer-top {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 560px) {
    .footer-top {
      grid-template-columns: 1fr;
    }
  }

  /* ===================== 响应式补充 ===================== */
  @media (max-width: 767px) {
    .section {
      padding: 60px 0;
    }

    .section-title {
      font-size: 26px;
    }

    .section-subtitle {
      font-size: 14px;
    }
  }
