/* roulang page: index */
:root {
  --bg: #0B0E14;
  --bg-elevated: #131722;
  --bg-inset: #1B212E;
  --bg-read: #F7F5F0;
  --brand: #00E5A0;
  --brand-hover: #2AF5B2;
  --brand-dim: rgba(0, 229, 160, 0.15);
  --accent: #FF6B35;
  --gold: #FFD166;
  --text-primary: #EEF2FF;
  --text-secondary: #A8B3CF;
  --text-on-brand: #06231B;
  --border: rgba(255, 255, 255, 0.08);
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(0, 229, 160, 0.35);
  --container: 1200px;
  --nav-h: 72px;
  --section-space: 90px;
  --section-space-sm: 56px;
  --font-title: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: Bahnschrift, "DIN Alternate", "Roboto Condensed", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
img {
  max-width: 100%;
  display: block;
}
button,
input {
  font-family: inherit;
  border: none;
  outline: none;
}
ul {
  list-style: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  padding: var(--section-space) 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 16px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--brand);
}
.section-more {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}
.section-more:hover {
  color: var(--brand);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 160, 0.5);
}
.btn-primary:active {
  transform: scale(0.98);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: #ff7d4d;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}
.btn-lg {
  height: 54px;
  padding: 0 36px;
  font-size: 17px;
  border-radius: 12px;
}
.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}

/* ===== 徽章 ===== */
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--brand-dim);
  color: var(--brand);
  white-space: nowrap;
}
.badge-hot {
  background: rgba(255, 107, 53, 0.18);
  color: var(--accent);
}
.badge-new {
  background: rgba(255, 209, 102, 0.15);
  color: var(--gold);
}
.badge-gold {
  background: rgba(255, 209, 102, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.3);
}
.badge-maintain {
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
}
.badge-activity {
  background: rgba(0, 229, 160, 0.15);
  color: var(--brand);
}

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.main-nav ul {
  display: flex;
  gap: 32px;
}
.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 2px;
}
.main-nav a:hover {
  color: var(--brand);
}
.main-nav a.active {
  color: var(--text-primary);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.server-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  background: rgba(255, 107, 53, 0.15);
  font-family: var(--font-num);
  font-size: 13px;
  color: #ffb39e;
  white-space: nowrap;
}
.server-timer::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 1.5s infinite;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(11, 14, 20, 0.97);
  padding: 20px 24px 30px;
  border-bottom: 1px solid var(--border);
  transform: translateY(-120%);
  transition: transform 0.35s ease;
  z-index: 999;
}
.mobile-drawer.open {
  transform: translateY(0);
  display: block;
}
.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}
.mobile-drawer a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.mobile-drawer a:hover,
.mobile-drawer a.active {
  background: var(--brand-dim);
  color: var(--brand);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  background, #0B0E14;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 20, 0.85) 0%, rgba(11, 14, 20, 0.45) 55%, rgba(11, 14, 20, 0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero h1 .highlight {
  color: var(--brand);
  text-shadow: 0 0 30px rgba(0, 229, 160, 0.4);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}
.stat-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.dot-orange { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.dot-gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }

/* ===== 横滑片库 ===== */
.swiper-section {
  padding-top: 0;
}
.swiper-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.swiper-track::-webkit-scrollbar {
  display: none;
}
.swiper-card {
  flex: 0 0 240px;
  min-width: 240px;
  display: block;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  position: relative;
}
.swiper-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
}
.swiper-cover {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.swiper-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.swiper-card:hover .swiper-cover img {
  transform: scale(1.03);
}
.swiper-cover .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.swiper-info {
  padding: 14px 16px 16px;
}
.swiper-info h3 {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.swiper-info span {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* ===== 资讯区 ===== */
.latest-news {
  border-top: 1px solid transparent;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-card {
  display: flex;
  gap: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: all 0.3s ease;
}
.news-card:hover {
  border-color: rgba(0, 229, 160, 0.4);
  box-shadow: var(--shadow-card);
}
.news-cover {
  flex: 0 0 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  align-self: flex-start;
}
.news-cover img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.news-card:hover .news-cover img {
  transform: scale(1.04);
}
.news-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body h3 a:hover {
  color: var(--brand);
}
.news-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.news-meta time {
  font-family: var(--font-num);
}
.news-meta .views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===== 空态 ===== */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.empty-state svg {
  opacity: 0.5;
  margin-bottom: 16px;
}
.empty-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.empty-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.empty-link {
  font-size: 14px;
  color: var(--brand);
  padding: 8px 20px;
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.empty-link:hover {
  background: var(--brand-dim);
}

/* ===== 热门推荐 ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.featured-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.featured-card:hover {
  border-color: rgba(0, 229, 160, 0.4);
  box-shadow: var(--shadow-card);
}
.featured-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.featured-large .featured-cover {
  height: 300px;
  overflow: hidden;
  position: relative;
}
.featured-large .featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-card:hover .featured-cover img {
  transform: scale(1.03);
}
.featured-large .featured-cover .badge {
  position: absolute;
  top: 16px;
  left: 16px;
}
.featured-info {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.featured-info h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}
.featured-info h3 a:hover {
  color: var(--brand);
}
.featured-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}
.featured-meta time {
  font-family: var(--font-num);
}
.featured-card:not(.featured-large) {
  display: flex;
  gap: 14px;
  padding: 14px;
}
.featured-card:not(.featured-large) .featured-cover {
  flex: 0 0 140px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.featured-card:not(.featured-large) .featured-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-card:not(.featured-large) .featured-info {
  padding: 0;
  gap: 4px;
  flex: 1;
}
.featured-card:not(.featured-large) .featured-info h3 {
  font-size: 15px;
  -webkit-line-clamp: 2;
}
.featured-card:not(.featured-large) .featured-info p {
  display: none;
}
.featured-card:not(.featured-large) .featured-meta {
  border: none;
  padding: 0;
  font-size: 12px;
}

/* ===== 片单分区 ===== */
.channel {
  border-top: 1px solid var(--border);
}
.channel-section + .channel-section {
  margin-top: 60px;
}
/* 新游中心 */
.channel-newgroup {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.channel-feature {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}
.channel-feature:hover {
  border-color: rgba(0, 229, 160, 0.4);
  box-shadow: var(--shadow-card);
}
.channel-feature .channel-cover {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.channel-feature .channel-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.channel-feature:hover .channel-cover img {
  transform: scale(1.03);
}
.channel-feature .channel-cover .badge {
  position: absolute;
  top: 14px;
  right: 14px;
}
.channel-feature-body {
  padding: 18px 20px 22px;
}
.channel-feature-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.channel-feature-body h3 a:hover {
  color: var(--brand);
}
.channel-feature-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.channel-sub-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.channel-sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: all 0.3s ease;
}
.channel-sub-item:hover {
  border-color: rgba(0, 229, 160, 0.4);
  background: var(--bg-inset);
}
.channel-sub-item .sub-cover {
  flex: 0 0 70px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}
.channel-sub-item .sub-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-sub-item .sub-info {
  flex: 1;
  min-width: 0;
}
.channel-sub-item .sub-info h4 {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.channel-sub-item .sub-info span {
  font-size: 12px;
  color: var(--text-secondary);
}
/* 攻略基地 */
.channel-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.channel-guide-left {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.guide-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.25s ease;
}
.guide-list-item:last-child {
  border-bottom: none;
}
.guide-list-item:hover {
  padding-left: 8px;
}
.guide-list-item .guide-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guide-list-item .guide-title:hover {
  color: var(--brand);
}
.guide-list-item .guide-meta {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  font-family: var(--font-num);
}
.channel-guide-right {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.channel-guide-right .guide-cover {
  height: 100%;
  min-height: 260px;
}
.channel-guide-right .guide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-guide-right .guide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(11, 14, 20, 0.9));
}
.channel-guide-right .guide-overlay h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.channel-guide-right .guide-overlay p {
  font-size: 13px;
  color: var(--text-secondary);
}
/* 官方公告 */
.channel-announce {
  max-width: 780px;
}
.announce-timeline {
  position: relative;
  padding-left: 28px;
}
.announce-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}
.announce-item {
  position: relative;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.announce-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}
.announce-item:hover {
  border-color: rgba(0, 229, 160, 0.4);
  background: var(--bg-inset);
}
.announce-item .announce-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.announce-item .announce-head time {
  font-family: var(--font-num);
  font-size: 13px;
  color: var(--text-secondary);
}
.announce-item .announce-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.announce-item .announce-title:hover {
  color: var(--brand);
}

/* ===== CTA横幅 ===== */
.cta-banner {
  position: relative;
  padding: 90px 0;
  background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 20, 0.92) 0%, rgba(11, 14, 20, 0.78) 50%, rgba(11, 14, 20, 0.92) 100%);
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}
.cta-content h2 {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-content .cta-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 64px;
  background: rgba(11, 14, 20, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 10px;
}
.count-item .count-num {
  font-family: var(--font-num);
  font-size: 32px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}
.count-item .count-label {
  font-size: 12px;
  color: var(--text-secondary);
}
.cta-content .btn {
  margin-bottom: 32px;
}
.subscribe-form {
  max-width: 440px;
  margin: 0 auto;
}
.subscribe-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-align: left;
}
.subscribe-form .form-row {
  display: flex;
  gap: 10px;
}
.subscribe-form input {
  flex: 1;
  height: 46px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}
.subscribe-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.2);
}
.subscribe-form input::placeholder {
  color: #5A6478;
}
.subscribe-form .btn {
  border-radius: var(--radius-md);
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(0, 229, 160, 0.3);
}
.faq-item[open] {
  border-left: 2px solid var(--brand);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .q-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-dim);
  color: var(--brand);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--brand);
}
.faq-item .faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 页脚 ===== */
.site-footer {
  background: #070A10;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand .footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--brand-dim);
  border-color: var(--brand);
  color: var(--brand);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-col ul a:hover {
  color: var(--brand);
}
.footer-col .footer-contact li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
}
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(19, 23, 34, 0.85);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  z-index: 999;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.back-top:hover {
  background: var(--brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-glow);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  :root {
    --section-space: 64px;
  }
  .main-nav ul {
    gap: 20px;
  }
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-large {
    grid-row: auto;
  }
  .featured-large .featured-cover {
    height: 240px;
  }
  .channel-newgroup,
  .channel-guide {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  :root {
    --section-space: 48px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .server-timer {
    display: none;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    flex-direction: column;
  }
  .news-cover {
    flex: none;
    width: 100%;
  }
  .news-cover img {
    height: 160px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .featured-large .featured-cover {
    height: 200px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .cta-banner {
    padding: 60px 0;
  }
  .countdown {
    flex-wrap: wrap;
  }
  .count-item {
    min-width: 56px;
    padding: 10px 8px;
  }
  .count-item .count-num {
    font-size: 24px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }
  .swiper-track {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .subscribe-form .form-row {
    flex-direction: column;
  }
  .subscribe-form .btn {
    width: 100%;
  }
  .channel-feature .channel-cover {
    height: 160px;
  }
  .featured-card:not(.featured-large) .featured-cover {
    flex: 0 0 100px;
    height: 80px;
  }
}

/* roulang page: category1 */
:root {
      --bg: #0B0E14;
      --bg-elevated: #131722;
      --bg-inset: #1B212E;
      --brand: #00E5A0;
      --brand-hover: #2AF5B2;
      --brand-dim: rgba(0, 229, 160, 0.15);
      --accent: #FF6B35;
      --accent-dim: rgba(255, 107, 53, 0.15);
      --gold: #FFD166;
      --gold-dim: rgba(255, 209, 102, 0.15);
      --text-primary: #EEF2FF;
      --text-secondary: #A8B3CF;
      --text-on-brand: #06231B;
      --border: rgba(255, 255, 255, 0.08);
      --radius-md: 10px;
      --radius-lg: 16px;
      --radius-xl: 24px;
      --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
      --shadow-glow: 0 0 24px rgba(0, 229, 160, 0.35);
      --container: 1200px;
      --nav-h: 72px;
      --section-space: 90px;
      --section-space-sm: 56px;
      --font-title: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
      --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
      --font-num: Bahnschrift, "DIN Alternate", "Roboto Condensed", sans-serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
    }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--text-primary);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    button {
      font-family: inherit;
      border: none;
      background: none;
      cursor: pointer;
    }

    input {
      font-family: inherit;
      border: none;
      outline: none;
    }

    ul,
    ol {
      list-style: none;
    }

    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== 导航 ===== */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      height: var(--nav-h);
      background: rgba(11, 14, 20, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }

    .header-inner {
      height: var(--nav-h);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
    }

    .logo-text {
      font-size: 20px;
      font-weight: 800;
      font-family: var(--font-title);
      letter-spacing: 0.02em;
      color: var(--text-primary);
      white-space: nowrap;
    }

    .logo-text::after {
      content: "";
      display: inline-block;
      width: 8px;
      height: 8px;
      background: var(--accent);
      border-radius: 50%;
      margin-left: 4px;
      vertical-align: middle;
      box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
    }

    .main-nav ul {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .main-nav a {
      display: block;
      padding: 8px 18px;
      font-size: 15px;
      font-weight: 500;
      color: var(--text-secondary);
      border-radius: 8px;
      position: relative;
      transition: color 0.3s ease, background 0.3s ease;
    }

    .main-nav a:hover {
      color: var(--brand);
      background: var(--brand-dim);
    }

    .main-nav a.active {
      color: var(--brand);
      font-weight: 600;
    }

    .main-nav a.active::after {
      content: "";
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: -1px;
      height: 2px;
      background: var(--brand);
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(0, 229, 160, 0.4);
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-md);
      transition: all 0.3s ease;
      line-height: 1;
    }

    .btn-primary {
      background: var(--brand);
      color: var(--text-on-brand);
      padding: 12px 24px;
      box-shadow: 0 4px 16px rgba(0, 229, 160, 0.25);
    }

    .btn-primary:hover {
      background: var(--brand-hover);
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
    }

    .btn-primary:active {
      transform: scale(0.98);
      box-shadow: none;
    }

    .btn-outline {
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-primary);
      padding: 10px 22px;
    }

    .btn-outline:hover {
      border-color: var(--brand);
      color: var(--brand);
    }

    .btn-lg {
      height: 54px;
      padding: 0 32px;
      font-size: 17px;
      border-radius: 12px;
    }

    .btn-sm {
      padding: 10px 18px;
      font-size: 14px;
      border-radius: 8px;
    }

    .btn-accent {
      background: var(--accent);
      color: #fff;
      padding: 12px 24px;
      box-shadow: 0 4px 16px rgba(255, 107, 53, 0.25);
    }

    .btn-accent:hover {
      background: #ff7d4d;
      transform: translateY(-2px);
    }

    .nav-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: var(--bg-inset);
      border: 1px solid var(--border);
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
    }

    .nav-toggle span {
      width: 18px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .nav-toggle.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* ===== Hero 横幅 ===== */
    .page-hero {
      position: relative;
      min-height: 260px;
      display: flex;
      align-items: center;
      padding-top: var(--nav-h);
      background-image: url('/assets/images/backpic/back-1.webp');
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }

    .page-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(11, 14, 20, 0.92) 30%, rgba(11, 14, 20, 0.5) 70%, transparent 100%);
    }

    .page-hero .container {
      position: relative;
      z-index: 2;
    }

    .page-hero h1 {
      font-family: var(--font-title);
      font-size: clamp(32px, 4vw, 48px);
      font-weight: 800;
      letter-spacing: 0.02em;
      line-height: 1.2;
      margin-bottom: 12px;
    }

    .page-hero .hero-sub {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 560px;
      margin-bottom: 24px;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 6px 16px;
      font-size: 13px;
      color: var(--text-secondary);
    }

    .hero-badge .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--brand);
      box-shadow: 0 0 6px rgba(0, 229, 160, 0.6);
    }

    .hero-badge .dot.accent {
      background: var(--accent);
      box-shadow: 0 0 6px rgba(255, 107, 53, 0.6);
    }

    .hero-badge .dot.gold {
      background: var(--gold);
      box-shadow: 0 0 6px rgba(255, 209, 102, 0.6);
    }

    .hero-badge .num {
      font-family: var(--font-num);
      font-weight: 600;
      font-size: 15px;
      color: var(--text-primary);
    }

    /* ===== 板块 ===== */
    .section {
      padding: var(--section-space) 0;
    }

    .section-alt {
      background: var(--bg-elevated);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 40px;
    }

    .section-head h2 {
      font-family: var(--font-title);
      font-size: clamp(22px, 2.6vw, 32px);
      font-weight: 800;
      letter-spacing: 0.01em;
      line-height: 1.3;
    }

    .section-head p {
      color: var(--text-secondary);
      font-size: 14px;
      margin-top: 6px;
    }

    .section-more {
      color: var(--text-secondary);
      font-size: 14px;
      font-weight: 500;
      white-space: nowrap;
    }

    .section-more:hover {
      color: var(--brand);
    }

    /* ===== 侧边栏 + 新游列表 ===== */
    .catalog-wrap {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 32px;
      align-items: start;
    }

    .catalog-sidebar {
      position: sticky;
      top: calc(var(--nav-h) + 24px);
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
    }

    .sidebar-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text-primary);
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 14px;
      font-family: var(--font-title);
    }

    .sidebar-list li + li {
      margin-top: 4px;
    }

    .sidebar-list a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 14px;
      color: var(--text-secondary);
      transition: all 0.3s ease;
    }

    .sidebar-list a:hover {
      background: var(--brand-dim);
      color: var(--brand);
    }

    .sidebar-list a.active {
      background: var(--brand-dim);
      color: var(--brand);
      font-weight: 600;
    }

    .sidebar-list .count {
      font-family: var(--font-num);
      font-size: 12px;
      background: var(--bg-inset);
      border-radius: 999px;
      padding: 2px 8px;
      color: var(--text-secondary);
    }

    .game-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .game-card {
      display: flex;
      gap: 20px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      transition: all 0.3s ease;
    }

    .game-card:hover {
      border-color: rgba(0, 229, 160, 0.4);
      box-shadow: var(--shadow-card), 0 0 20px rgba(0, 229, 160, 0.1);
      transform: translateY(-2px);
    }

    .game-cover {
      width: 200px;
      min-width: 200px;
      height: 130px;
      border-radius: 12px;
      object-fit: cover;
      background: var(--bg-inset);
    }

    .game-info {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
    }

    .game-info-top {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }

    .game-cat {
      display: inline-flex;
      align-items: center;
      height: 22px;
      padding: 0 10px;
      border-radius: 999px;
      background: var(--brand-dim);
      color: var(--brand);
      font-size: 12px;
      font-weight: 500;
    }

    .game-cat.gold {
      background: var(--gold-dim);
      color: var(--gold);
    }

    .game-cat.accent {
      background: var(--accent-dim);
      color: var(--accent);
    }

    .game-title {
      font-size: 18px;
      font-weight: 700;
      font-family: var(--font-title);
      color: var(--text-primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .game-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .game-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .game-tag {
      font-size: 12px;
      color: var(--text-secondary);
      background: var(--bg-inset);
      border-radius: 6px;
      padding: 3px 8px;
    }

    .game-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: auto;
      padding-top: 12px;
    }

    .game-meta {
      font-size: 13px;
      color: var(--text-secondary);
    }

    .game-meta .num {
      font-family: var(--font-num);
      font-weight: 600;
      color: var(--text-primary);
    }

    .game-play {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 600;
      color: var(--brand);
      padding: 8px 16px;
      background: var(--brand-dim);
      border-radius: 8px;
      transition: all 0.3s ease;
    }

    .game-play:hover {
      background: var(--brand);
      color: var(--text-on-brand);
      box-shadow: 0 0 16px rgba(0, 229, 160, 0.3);
    }

    /* ===== 卖点 ===== */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 28px 24px;
      transition: all 0.3s ease;
    }

    .feature-card:hover {
      border-color: rgba(0, 229, 160, 0.4);
      transform: translateY(-4px);
      box-shadow: var(--shadow-card);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: var(--brand-dim);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
    }

    .feature-icon svg {
      width: 24px;
      height: 24px;
      stroke: var(--brand);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .feature-card h3 {
      font-size: 18px;
      font-weight: 700;
      font-family: var(--font-title);
      margin-bottom: 8px;
    }

    .feature-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ===== 排行榜 ===== */
    .rank-wrap {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .rank-card {
      display: flex;
      align-items: center;
      gap: 16px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px 20px;
      transition: all 0.3s ease;
    }

    .rank-card:hover {
      border-color: rgba(255, 209, 102, 0.4);
      background: var(--bg-inset);
      transform: translateX(-2px);
    }

    .rank-num {
      font-family: var(--font-num);
      font-size: 32px;
      font-weight: 700;
      color: var(--gold);
      width: 56px;
      text-align: center;
      flex-shrink: 0;
    }

    .rank-num.top {
      color: var(--accent);
    }

    .rank-cover {
      width: 88px;
      height: 56px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      background: var(--bg-inset);
    }

    .rank-info {
      flex: 1;
      min-width: 0;
    }

    .rank-info h3 {
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 4px;
    }

    .rank-info .rank-meta {
      font-size: 13px;
      color: var(--text-secondary);
    }

    .rank-info .rank-meta .num {
      font-family: var(--font-num);
      color: var(--gold);
      font-weight: 600;
    }

    .rank-tag {
      display: inline-flex;
      align-items: center;
      height: 24px;
      padding: 0 10px;
      background: var(--gold-dim);
      color: var(--gold);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
      margin-left: 8px;
    }

    /* ===== 类型标签 ===== */
    .genre-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      max-width: 800px;
      margin: 0 auto;
    }

    .genre-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: 999px;
      font-size: 14px;
      color: var(--text-secondary);
      transition: all 0.3s ease;
    }

    .genre-item:hover {
      background: var(--brand-dim);
      border-color: rgba(0, 229, 160, 0.4);
      color: var(--brand);
      transform: translateY(-2px);
    }

    .genre-item .num {
      font-family: var(--font-num);
      font-size: 12px;
      color: var(--text-secondary);
      background: var(--bg-inset);
      border-radius: 999px;
      padding: 2px 8px;
    }

    /* ===== CTA 横幅 ===== */
    .cta-banner {
      position: relative;
      border-radius: var(--radius-xl);
      background-image: url('/assets/images/backpic/back-2.webp');
      background-size: cover;
      background-position: center;
      overflow: hidden;
      padding: 80px 48px;
      text-align: center;
    }

    .cta-banner::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(11, 14, 20, 0.88), rgba(11, 14, 20, 0.65));
    }

    .cta-banner .container {
      position: relative;
      z-index: 2;
    }

    .cta-banner h2 {
      font-family: var(--font-title);
      font-size: clamp(26px, 3.4vw, 40px);
      font-weight: 800;
      margin-bottom: 12px;
    }

    .cta-banner p {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto 32px;
    }

    .cta-banner .btn-group {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* ===== FAQ ===== */
    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .faq-item {
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      transition: border-color 0.3s ease;
    }

    .faq-item:hover {
      border-color: rgba(0, 229, 160, 0.3);
    }

    .faq-item summary {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 20px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      list-style: none;
      user-select: none;
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item .q-icon {
      width: 32px;
      height: 32px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--brand-dim);
      border-radius: 8px;
      font-family: var(--font-num);
      font-weight: 700;
      font-size: 14px;
      color: var(--brand);
    }

    .faq-item .faq-answer {
      padding: 0 20px 20px 64px;
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .faq-item[open] {
      border-color: rgba(0, 229, 160, 0.4);
    }

    .faq-item[open] summary .q-icon {
      background: var(--brand);
      color: var(--text-on-brand);
    }

    /* ===== 页脚 ===== */
    .site-footer {
      background: #070A10;
      border-top: 1px solid var(--border);
      padding: 64px 0 0;
      margin-top: var(--section-space);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
      gap: 40px;
    }

    .footer-brand .logo {
      margin-bottom: 16px;
    }

    .footer-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 20px;
      max-width: 360px;
    }

    .footer-social {
      display: flex;
      gap: 12px;
    }

    .footer-social a {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: var(--bg-inset);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      transition: all 0.3s ease;
    }

    .footer-social a:hover {
      background: var(--brand-dim);
      border-color: var(--brand);
      color: var(--brand);
      transform: translateY(-2px);
    }

    .footer-col h4 {
      font-size: 15px;
      font-weight: 700;
      font-family: var(--font-title);
      margin-bottom: 16px;
      color: var(--text-primary);
    }

    .footer-col ul li {
      margin-bottom: 10px;
    }

    .footer-col ul a {
      font-size: 14px;
      color: var(--text-secondary);
      transition: color 0.3s ease;
    }

    .footer-col ul a:hover {
      color: var(--brand);
    }

    .footer-contact li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: var(--text-secondary);
    }

    .footer-contact svg {
      flex-shrink: 0;
      color: var(--brand);
    }

    .footer-bottom {
      margin-top: 48px;
      padding: 20px 0 24px;
      border-top: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }

    .footer-copy {
      font-size: 13px;
      color: var(--text-secondary);
    }

    .footer-icp {
      font-size: 13px;
      color: var(--text-secondary);
    }

    .back-top {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--bg-elevated);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      z-index: 50;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-card);
    }

    .back-top:hover {
      background: var(--brand);
      color: var(--text-on-brand);
      border-color: var(--brand);
      transform: translateY(-3px);
      box-shadow: var(--shadow-glow);
    }

    .back-top svg {
      width: 20px;
      height: 20px;
    }

    /* ===== 响应式 ===== */
    @media (max-width: 1024px) {
      .features-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .catalog-wrap {
        grid-template-columns: 220px 1fr;
        gap: 24px;
      }

      .game-cover {
        width: 160px;
        min-width: 160px;
        height: 110px;
      }

      .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 32px;
      }
    }

    @media (max-width: 767px) {
      :root {
        --section-space: 56px;
      }

      .container {
        padding: 0 16px;
      }

      .main-nav {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(11, 14, 20, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 16px;
      }

      .main-nav.open {
        display: block;
      }

      .main-nav ul {
        flex-direction: column;
        gap: 8px;
      }

      .main-nav a {
        padding: 12px 16px;
        font-size: 16px;
      }

      .main-nav a.active::after {
        display: none;
      }

      .main-nav a.active {
        background: var(--brand-dim);
      }

      .nav-toggle {
        display: flex;
      }

      .header-actions .btn-primary {
        display: none;
      }

      .page-hero {
        min-height: 220px;
      }

      .page-hero h1 {
        font-size: 28px;
      }

      .hero-meta {
        gap: 8px;
      }

      .hero-badge {
        padding: 4px 10px;
        font-size: 12px;
      }

      .catalog-wrap {
        grid-template-columns: 1fr;
      }

      .catalog-sidebar {
        position: static;
        overflow-x: auto;
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 16px;
      }

      .sidebar-title {
        display: none;
      }

      .sidebar-list {
        display: flex;
        gap: 4px;
        padding: 0;
      }

      .sidebar-list li {
        margin: 0;
      }

      .sidebar-list a {
        white-space: nowrap;
      }

      .game-card {
        flex-direction: column;
      }

      .game-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .rank-wrap {
        grid-template-columns: 1fr;
      }

      .faq-grid {
        grid-template-columns: 1fr;
      }

      .cta-banner {
        padding: 48px 20px;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
      }

      .footer-brand {
        grid-column: 1 / -1;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }

      .back-top {
        width: 38px;
        height: 38px;
        right: 16px;
        bottom: 16px;
      }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      .main-nav a {
        padding: 8px 12px;
        font-size: 14px;
      }

      .logo-text {
        font-size: 17px;
      }
    }

/* roulang page: article */
:root {
  --bg:#0B0E14;
  --bg-elevated:#131722;
  --bg-inset:#1B212E;
  --bg-read:#F7F5F0;
  --brand:#00E5A0;
  --brand-hover:#2AF5B2;
  --brand-dim:rgba(0,229,160,0.15);
  --accent:#FF6B35;
  --gold:#FFD166;
  --text-primary:#EEF2FF;
  --text-secondary:#A8B3CF;
  --text-on-brand:#06231B;
  --border:rgba(255,255,255,0.08);
  --radius-md:10px;
  --radius-lg:16px;
  --radius-xl:24px;
  --shadow-card:0 8px 30px rgba(0,0,0,0.45);
  --shadow-glow:0 0 24px rgba(0,229,160,0.35);
  --container:1200px;
  --nav-h:72px;
  --section-space:90px;
  --section-space-sm:56px;
  --font-title:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif;
  --font-body:"PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",sans-serif;
  --font-num:Bahnschrift,"DIN Alternate","Roboto Condensed",sans-serif;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text-primary);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input{font-family:inherit;border:none;outline:none}
ul,ol{list-style:none}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:46px;padding:0 28px;border-radius:var(--radius-md);
  font-size:15px;font-weight:600;letter-spacing:.02em;
  cursor:pointer;transition:all .3s ease;gap:8px;white-space:nowrap;
}
.btn-primary{
  background:var(--brand);color:var(--text-on-brand);
  box-shadow:0 0 20px rgba(0,229,160,0.25);
}
.btn-primary:hover{background:var(--brand-hover);transform:translateY(-2px);box-shadow:var(--shadow-glow)}
.btn-primary:active{transform:scale(.98)}
.btn-outline{
  border:1px solid rgba(255,255,255,0.2);color:var(--text-primary);background:transparent;
}
.btn-outline:hover{border-color:var(--brand);color:var(--brand)}
.btn-accent{background:var(--accent);color:#fff}
.btn-accent:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(255,107,53,0.4)}
.btn-lg{height:54px;padding:0 36px;font-size:17px;border-radius:14px}
.btn-sm{height:38px;padding:0 20px;font-size:13px;border-radius:8px}
.badge{
  display:inline-flex;align-items:center;height:22px;padding:0 10px;
  background:var(--brand-dim);color:var(--brand);
  border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.03em;
}
.badge-gold{background:rgba(255,209,102,0.15);color:var(--gold)}
.badge-accent{background:rgba(255,107,53,0.15);color:var(--accent)}

/* Header */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:var(--nav-h);background:rgba(11,14,20,0.85);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.logo{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}
.logo-icon{flex-shrink:0}
.logo-text{
  font-family:var(--font-title);font-weight:800;font-size:20px;letter-spacing:.02em;color:var(--text-primary);
}
.logo-text::after{
  content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
  background:var(--accent);margin-left:4px;vertical-align:super;
}
.main-nav ul{display:flex;align-items:center;gap:6px}
.main-nav a{
  display:inline-flex;align-items:center;height:42px;padding:0 18px;
  border-radius:8px;font-size:15px;font-weight:500;color:var(--text-secondary);
  transition:all .3s ease;position:relative;
}
.main-nav a::after{
  content:"";position:absolute;bottom:0;left:18px;right:18px;height:2px;
  background:var(--brand);border-radius:2px;transform:scaleX(0);transition:transform .3s ease;
}
.main-nav a:hover{color:var(--brand);background:var(--brand-dim)}
.main-nav a.active{color:var(--brand);font-weight:600}
.main-nav a.active::after{transform:scaleX(1)}
.header-actions{display:flex;align-items:center;gap:14px}
.nav-toggle{
  display:none;width:40px;height:40px;border-radius:8px;
  background:var(--bg-inset);color:var(--text-primary);
  align-items:center;justify-content:center;font-size:18px;cursor:pointer;
}

/* Article Hero */
.article-hero{
  position:relative;background-color:var(--bg);
  padding:calc(var(--nav-h) + 56px) 0 64px;overflow:hidden;
}
.article-hero-bg{
  position:absolute;inset:0;background-size:cover;background-position:center;
  opacity:0.35;z-index:0;
}
.article-hero::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(11,14,20,0.92) 20%,rgba(11,14,20,0.55) 70%,transparent);
}
.article-hero .container{position:relative;z-index:2}
.breadcrumb{
  display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary);
  margin-bottom:20px;
}
.breadcrumb a{color:var(--text-secondary);transition:color .3s}
.breadcrumb a:hover{color:var(--brand)}
.breadcrumb .sep{opacity:.5}
.breadcrumb span{color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}
.article-hero h1{
  font-family:var(--font-title);font-size:clamp(28px,4vw,44px);
  font-weight:800;line-height:1.2;letter-spacing:.02em;
  max-width:840px;margin-bottom:20px;color:var(--text-primary);
}
.article-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:18px;
  font-size:13px;color:var(--text-secondary);
}
.meta-item{display:inline-flex;align-items:center;gap:6px}
.meta-item svg{width:15px;height:15px;opacity:.7}
.meta-divider{width:1px;height:14px;background:var(--border)}

/* Article Main */
.article-main{
  background:var(--bg-read);color:#1F2933;
  padding:56px 0 70px;border-radius:28px 28px 0 0;margin-top:-28px;
  position:relative;z-index:3;
}
.article-body-wrap{max-width:780px;margin:0 auto}
.article-body{font-size:17px;line-height:1.9;color:#2a333d}
.article-body p{margin-bottom:22px}
.article-body h2,.article-body h3{font-family:var(--font-title);color:#111827;margin:36px 0 16px}
.article-body h2{
  font-size:24px;font-weight:700;border-left:4px solid var(--brand);
  padding-left:16px;line-height:1.4;
}
.article-body h3{font-size:20px;font-weight:700}
.article-body h4{font-size:17px;font-weight:700;margin:24px 0 12px;color:#111827}
.article-body a{color:#008F6B;border-bottom:1px solid transparent;transition:all .3s}
.article-body a:hover{color:#00B37E;border-bottom-color:#00B37E}
.article-body img{border-radius:12px;margin:28px auto;box-shadow:0 4px 16px rgba(0,0,0,0.08)}
.article-body figure{margin:28px 0}
.article-body figcaption,.img-caption{
  text-align:center;font-size:13px;color:#8a8f98;margin-top:-14px;margin-bottom:24px;
}
.article-body blockquote{
  border-left:4px solid var(--brand);background:#f0f5f2;
  padding:18px 22px;border-radius:0 10px 10px 0;margin:26px 0;color:#3b4350;
}
.article-body ul,.article-body ol{margin:20px 0 22px;padding-left:24px}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body li{margin-bottom:8px}
.article-body table{
  width:100%;border-collapse:collapse;margin:26px 0;font-size:15px;border-radius:8px;overflow:hidden;
}
.article-body th{
  background:var(--bg-inset);color:#fff;padding:12px 14px;font-weight:600;text-align:left;
}
.article-body td{border:1px solid #e3ddD2;padding:11px 14px}
.article-body tr:nth-child(even) td{background:#faf8f4}
.article-body tr:hover td{background:#f0ede6}
.article-body pre{
  background:var(--bg-inset);color:#e8ecf3;padding:18px 20px;border-radius:10px;
  font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;
  font-size:14px;line-height:1.7;overflow-x:auto;margin:24px 0;
}
.article-body code{
  background:rgba(27,33,46,0.08);color:#1B212E;padding:2px 6px;border-radius:4px;
  font-size:14px;font-family:"SFMono-Regular",Consolas,monospace;
}
.article-body pre code{background:transparent;padding:0;color:inherit;font-size:14px}
.article-body hr{border:none;border-top:1px solid #e3ddd2;margin:36px 0}

/* Tags */
.article-tags{
  display:flex;flex-wrap:wrap;gap:10px;
  margin:40px 0 36px;padding-top:32px;border-top:1px solid rgba(139,145,155,0.2);
}
.article-tags .tag{
  display:inline-flex;align-items:center;height:32px;padding:0 14px;
  background:var(--brand-dim);color:#008F6B;border-radius:999px;
  font-size:13px;font-weight:500;transition:all .3s;
}
.article-tags .tag:hover{background:rgba(0,229,160,0.25);transform:translateY(-2px)}

/* Pager */
.article-pager{
  display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;
}
.pager-link{
  display:flex;flex-direction:column;gap:4px;padding:18px 22px;
  background:#fff;border:1px solid #ebe5dc;border-radius:14px;
  transition:all .3s ease;box-shadow:0 2px 10px rgba(0,0,0,0.03);
}
.pager-link:hover{border-color:var(--brand);box-shadow:0 6px 20px rgba(0,229,160,0.12)}
.pager-link.next{text-align:right}
.pager-label{font-size:12px;color:#9aa1ac;display:flex;align-items:center;gap:6px}
.pager-link.next .pager-label{flex-direction:row-reverse}
.pager-title{font-size:15px;font-weight:600;color:#1F2933;line-height:1.4}

/* Related */
.related-section{background:var(--bg-read);padding:0 0 var(--section-space)}
.related-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}
.related-head h2{
  font-family:var(--font-title);font-size:clamp(22px,2.6vw,32px);
  font-weight:800;color:#111827;letter-spacing:.01em;
}
.related-head h2 span{color:#008F6B}
.related-link{font-size:14px;color:#008F6B;font-weight:500;transition:color .3s}
.related-link:hover{color:#00B37E}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.related-card{
  background:#fff;border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid #ebe5dc;transition:all .35s ease;box-shadow:0 2px 12px rgba(0,0,0,0.04);
}
.related-card:hover{transform:translateY(-6px);box-shadow:0 12px 36px rgba(0,0,0,0.1);border-color:var(--brand)}
.related-cover{position:relative;height:180px;overflow:hidden;background:#e8e4dd}
.related-cover img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.related-card:hover .related-cover img{transform:scale(1.05)}
.related-cover .badge{
  position:absolute;top:12px;left:12px;z-index:1;
  background:rgba(11,14,20,0.7);color:#fff;backdrop-filter:blur(4px);
}
.related-info{padding:18px 20px 20px}
.related-info h3{
  font-family:var(--font-title);font-size:16px;font-weight:700;color:#111827;
  line-height:1.45;margin-bottom:8px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:46px;
}
.related-info h3 a{transition:color .3s}
.related-info h3 a:hover{color:#008F6B}
.related-info p{
  font-size:13px;color:#7c8494;line-height:1.7;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin-bottom:12px;min-height:42px;
}
.related-meta{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#9aa1ac}
.related-meta .meta-time{display:flex;align-items:center;gap:4px}

/* CTA */
.cta-section{
  position:relative;background:var(--bg);padding:76px 0;overflow:hidden;
}
.cta-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.25}
.cta-section::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(11,14,20,0.9),rgba(11,14,20,0.7));
}
.cta-inner{position:relative;z-index:2;text-align:center}
.cta-inner h2{
  font-family:var(--font-title);font-size:clamp(24px,3vw,36px);
  font-weight:800;letter-spacing:.02em;margin-bottom:12px;color:var(--text-primary);
}
.cta-inner p{color:var(--text-secondary);font-size:16px;margin-bottom:30px}
.cta-inner p strong{color:var(--brand);font-weight:600}
.cta-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

/* Footer */
.site-footer{
  background:#070A10;border-top:4px solid var(--brand);padding:60px 0 0;
}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:44px}
.footer-brand .logo{margin-bottom:16px}
.footer-desc{font-size:14px;color:#7c8494;line-height:1.8;max-width:320px;margin-bottom:20px}
.footer-social{display:flex;gap:10px}
.footer-social a{
  width:36px;height:36px;border-radius:10px;background:var(--bg-inset);
  display:inline-flex;align-items:center;justify-content:center;color:#7c8494;
  transition:all .3s ease;
}
.footer-social a:hover{background:var(--brand);color:var(--text-on-brand);transform:translateY(-2px)}
.footer-col h4{
  font-family:var(--font-title);font-size:15px;font-weight:700;color:var(--text-primary);
  margin-bottom:16px;
}
.footer-col ul li{margin-bottom:10px}
.footer-col ul a{font-size:14px;color:#7c8494;transition:color .3s}
.footer-col ul a:hover{color:var(--brand)}
.footer-contact li{display:flex;align-items:center;gap:8px;font-size:14px;color:#7c8494;margin-bottom:12px}
.footer-contact svg{flex-shrink:0;opacity:.6}
.footer-bottom{
  border-top:1px solid var(--border);padding:20px 0;display:flex;
  align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
}
.footer-bottom p{font-size:13px;color:#5a6270}
.footer-bottom p a{color:#7c8494}

/* Back Top */
.back-top{
  position:fixed;right:24px;bottom:24px;z-index:100;width:44px;height:44px;
  border-radius:50%;background:rgba(19,23,34,0.9);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-size:18px;
  border:1px solid var(--border);box-shadow:0 6px 20px rgba(0,0,0,0.4);
  transition:all .3s ease;opacity:0;visibility:hidden;
}
.back-top.show{opacity:1;visibility:visible}
.back-top:hover{background:var(--brand);color:var(--text-on-brand);transform:translateY(-3px)}

/* Empty state */
.article-empty{
  text-align:center;padding:70px 24px;background:#fff;border-radius:var(--radius-lg);
  border:1px solid #ebe5dc;
}
.article-empty svg{width:52px;height:52px;color:#c4c9d4;margin-bottom:16px}
.article-empty h3{font-size:17px;color:#1F2933;margin-bottom:8px}
.article-empty p{font-size:14px;color:#7c8494;margin-bottom:24px}
.article-empty .btn{display:inline-flex}

/* Responsive */
@media(max-width:1024px){
  .main-nav a{padding:0 13px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:768px){
  :root{--section-space:64px}
  .header-actions .btn{display:none}
  .nav-toggle{display:inline-flex}
  .main-nav{
    position:fixed;top:var(--nav-h);left:0;right:0;background:rgba(11,14,20,0.98);
    backdrop-filter:blur(16px);padding:16px 24px 24px;
    opacity:0;visibility:hidden;transform:translateY(-10px);
    transition:all .3s ease;border-bottom:1px solid var(--border);
  }
  .main-nav.open{opacity:1;visibility:visible;transform:translateY(0)}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:2px}
  .main-nav a{display:flex;height:48px;border-radius:10px;justify-content:space-between}
  .main-nav a::after{display:none}
  .main-nav a.active{background:var(--brand-dim)}
  .article-hero{padding:calc(var(--nav-h)+40px) 0 48px}
  .article-hero h1{font-size:28px}
  .article-main{border-radius:20px 20px 0 0;padding-top:40px}
  .article-body{font-size:16px}
  .related-grid{grid-template-columns:1fr 1fr;gap:16px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
}
@media(max-width:520px){
  .container{padding:0 16px}
  .related-grid{grid-template-columns:1fr}
  .article-pager{grid-template-columns:1fr}
  .article-meta{gap:12px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center;justify-content:center}
  .cta-actions{flex-direction:column;width:100%}
  .cta-actions .btn{width:100%}
  .breadcrumb span{max-width:180px}
  .article-body table{font-size:13px}
  .article-body td,.article-body th{padding:8px 10px}
}

/* roulang page: category3 */
:root {
  --bg: #0B0E14;
  --bg-elevated: #131722;
  --bg-inset: #1B212E;
  --bg-read: #F7F5F0;
  --brand: #00E5A0;
  --brand-hover: #2AF5B2;
  --brand-dim: rgba(0, 229, 160, 0.15);
  --accent: #FF6B35;
  --gold: #FFD166;
  --text-primary: #EEF2FF;
  --text-secondary: #A8B3CF;
  --text-on-brand: #06231B;
  --border: rgba(255, 255, 255, 0.08);
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 24px rgba(0, 229, 160, 0.35);
  --container: 1200px;
  --nav-h: 72px;
  --section-space: 90px;
  --section-space-sm: 56px;
  --font-title: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: Bahnschrift, "DIN Alternate", "Roboto Condensed", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
}
.btn-primary:active { transform: scale(0.98); }
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-accent {
  background: var(--accent);
  color: #1A0A00;
  font-weight: 800;
}
.btn-accent:hover { filter: brightness(1.12); transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; border-radius: 8px; }

/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--text-primary);
}
.logo-text::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--brand);
  vertical-align: super;
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
.main-nav a:hover { color: var(--brand); background: var(--brand-dim); }
.main-nav a.active { color: var(--brand); font-weight: 700; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -2px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.6);
}
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-secondary);
}
.timer-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.timer-label { font-size: 13px; }
.timer-num { font-family: var(--font-num); color: var(--accent); font-weight: 600; letter-spacing: 0.04em; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--brand); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--brand); }

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: 32px 24px;
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.4);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-nav ul { display: flex; flex-direction: column; gap: 4px; }
.drawer-nav a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.drawer-nav a:hover { background: var(--brand-dim); color: var(--brand); }
.drawer-nav a.active { background: var(--brand-dim); color: var(--brand); }
.drawer-nav .btn { width: 100%; margin-top: 28px; height: 50px; font-size: 16px; }

/* page banner */
.page-banner {
  position: relative;
  min-height: 340px;
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: url("/assets/images/backpic/back-1.webp") center center / cover no-repeat;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 14, 20, 0.93), rgba(11, 14, 20, 0.65), rgba(11, 14, 20, 0.35));
}
.page-banner .container { position: relative; z-index: 2; }
.banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-dim);
  border: 1px solid rgba(0, 229, 160, 0.3);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.banner-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.8);
}
.page-banner h1 {
  font-family: var(--font-title);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}
.page-banner .banner-desc {
  margin-top: 16px;
  max-width: 620px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* stat bar */
.stat-bar-section { padding-top: 40px; }
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: var(--section-space);
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

/* section head */
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
}
.section-head p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-tabs a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.25s;
}
.filter-tabs a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.filter-tabs a.active {
  background: var(--brand-dim);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 229, 160, 0.15);
}

/* news masonry */
.news-wall-section { padding: 0 0 var(--section-space); }
.news-masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.news-card {
  grid-column: span 2;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.news-card.featured { grid-column: span 3; border-color: rgba(255, 209, 102, 0.35); background: linear-gradient(145deg, #161B28, #131722); }
.news-card.featured.wide { grid-column: span 4; }
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--brand);
}
.news-card:hover img { transform: scale(1.04); }
.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card .card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.card-date-block { display: flex; align-items: baseline; gap: 8px; }
.card-day {
  font-family: var(--font-num);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}
.card-month { font-size: 13px; color: var(--text-secondary); }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--brand-dim);
  color: var(--brand);
  white-space: nowrap;
}
.badge.gold { background: rgba(255, 209, 102, 0.12); color: var(--gold); }
.badge.orange { background: rgba(255, 107, 53, 0.12); color: var(--accent); }
.badge.purple { background: rgba(167, 139, 250, 0.12); color: #A78BFA; }
.news-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 12px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.2s ease, color 0.2s ease;
}
.card-link:hover { gap: 10px; color: var(--brand-hover); }

/* subscribe cta */
.subscribe-cta {
  position: relative;
  padding: var(--section-space) 0;
  background: url("/assets/images/backpic/back-2.webp") center center / cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.subscribe-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 20, 0.87);
}
.subscribe-cta .container { position: relative; z-index: 2; }
.subscribe-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-inner h2 {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
}
.subscribe-inner > p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.subscribe-form {
  margin-top: 32px;
  text-align: left;
}
.subscribe-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-row {
  display: flex;
  gap: 12px;
}
.subscribe-form input[type="email"] {
  flex: 1;
  height: 50px;
  background: var(--bg-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subscribe-form input[type="email"]::placeholder { color: rgba(168, 179, 207, 0.5); }
.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.2);
}
.subscribe-form .btn { height: 50px; padding: 0 32px; border-radius: var(--radius-md); }
.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary) !important;
  text-align: center;
}

/* footer */
.site-footer {
  background: #070A10;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--brand-dim);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul a:hover { color: var(--brand); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-contact svg { color: var(--brand); flex-shrink: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-bottom a { color: var(--text-secondary); }
.footer-bottom a:hover { color: var(--brand); }

/* back to top */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(19, 23, 34, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 90;
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
}
.back-top:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-4px); }

/* responsive */
@media (max-width: 1023px) {
  .main-nav { display: none; }
  .timer-badge { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 16px; }
  .logo-text { font-size: 17px; }
  .stat-bar { padding: 24px; }
  .news-masonry { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .news-card.featured.wide { grid-column: span 2; }
  .news-card.featured { grid-column: span 2; }
  .news-card { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .header-inner { gap: 10px; }
  .logo-text { font-size: 15px; }
  .header-actions .btn { display: none; }
  .page-banner { min-height: 300px; padding: calc(var(--nav-h) + 36px) 0 40px; }
  .page-banner h1 { font-size: 30px; }
  .page-banner .banner-desc { font-size: 15px; }
  .stat-bar { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .stat-item + .stat-item::before { left: 50%; top: -9px; transform: translateX(-50%); width: 40px; height: 1px; }
  .news-masonry { grid-template-columns: 1fr; }
  .news-card.featured.wide { grid-column: span 1; }
  .news-card.featured { grid-column: span 1; }
  .news-card img { height: 180px; }
  .filter-tabs { gap: 8px; }
  .filter-tabs a { padding: 7px 14px; font-size: 13px; }
  .form-row { flex-direction: column; }
  .subscribe-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-head { margin-bottom: 28px; }
  .news-masonry { gap: 16px; }
  .subscribe-cta { padding: 56px 0; }
}

/* roulang page: category2 */
:root {
    --bg: #0B0E14;
    --bg-elevated: #131722;
    --bg-inset: #1B212E;
    --bg-read: #F7F5F0;
    --brand: #00E5A0;
    --brand-hover: #2AF5B2;
    --brand-dim: rgba(0, 229, 160, 0.15);
    --accent: #FF6B35;
    --accent-dim: rgba(255, 107, 53, 0.15);
    --gold: #FFD166;
    --gold-dim: rgba(255, 209, 102, 0.15);
    --text-primary: #EEF2FF;
    --text-secondary: #A8B3CF;
    --text-on-brand: #06231B;
    --border: rgba(255, 255, 255, 0.08);
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 24px rgba(0, 229, 160, 0.35);
    --container: 1200px;
    --nav-h: 72px;
    --section-space: 90px;
    --section-space-sm: 56px;
    --font-title: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
    --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
    --font-num: Bahnschrift, "DIN Alternate", "Roboto Condensed", sans-serif;
  }

  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    display: block;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  button {
    font-family: inherit;
    cursor: pointer;
  }

  input,
  select,
  textarea {
    font-family: inherit;
  }

  ul,
  ol {
    list-style: none;
  }

  .container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 10px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
  }

  .btn-brand {
    background: var(--brand);
    color: var(--text-on-brand);
    box-shadow: var(--shadow-glow);
  }

  .btn-brand:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
  }

  .btn-brand:active {
    transform: scale(0.98);
  }

  .btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
  }

  .btn-ghost:active {
    transform: scale(0.98);
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 14px;
  }

  .btn-lg {
    height: 54px;
    padding: 0 32px;
    font-size: 16px;
    border-radius: 12px;
  }

  .badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .badge-brand {
    background: var(--brand-dim);
    color: var(--brand);
  }

  .badge-accent {
    background: var(--accent-dim);
    color: var(--accent);
  }

  .badge-gold {
    background: var(--gold-dim);
    color: var(--gold);
  }

  .section {
    padding: var(--section-space) 0;
  }

  .section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
  }

  .section-head h2 {
    font-family: var(--font-title);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
  }

  .section-head p {
    color: var(--text-secondary);
    font-size: 15px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(11, 14, 20, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .logo-icon {
    flex-shrink: 0;
  }

  .logo-text {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    white-space: nowrap;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    gap: 34px;
  }

  .main-nav a {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
  }

  .main-nav a:hover {
    color: var(--brand);
  }

  .main-nav a.active {
    color: var(--brand);
  }

  .main-nav a.active::after {
    transform: scaleX(1);
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }

  .countdown-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: 999px;
    color: #FFB08A;
    font-size: 13px;
    font-weight: 500;
  }

  .countdown-num {
    font-family: var(--font-num);
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.04em;
  }

  .nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  body.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav-cta {
    display: none;
  }

  .page-hero {
    position: relative;
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 64px;
    min-height: 380px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, rgba(11, 14, 20, 0.9) 15%, rgba(11, 14, 20, 0.55) 55%, rgba(11, 14, 20, 0.25)), url('/assets/images/backpic/back-2.webp');
    background-size: cover;
    background-position: center;
  }

  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
    pointer-events: none;
  }

  .page-hero .container {
    position: relative;
    z-index: 1;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .hero-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
  }

  .page-hero h1 {
    font-family: var(--font-title);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
  }

  .hero-sub {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 14px;
  }

  .hero-search {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin-top: 30px;
  }

  .hero-search input {
    flex: 1;
    min-width: 0;
    height: 48px;
    background: var(--bg-inset);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px;
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-search input::placeholder {
    color: rgba(168, 179, 207, 0.6);
  }

  .hero-search input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 229, 160, 0.2);
  }

  .hero-search button {
    height: 48px;
    padding: 0 26px;
    flex-shrink: 0;
  }

  .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
  }

  .feature-row:last-child {
    margin-bottom: 0;
  }

  .feature-media {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-card);
  }

  .feature-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    transition: border-color 0.4s ease;
  }

  .feature-row:hover .feature-media::after {
    border-color: var(--brand);
  }

  .feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .feature-row:hover .feature-media img {
    transform: scale(1.03);
  }

  .feature-body .badge {
    margin-bottom: 14px;
  }

  .feature-body h3 {
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .feature-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .feature-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 22px;
  }

  .feature-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .feature-meta .meta-item::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
  }

  .feature-row-reverse .feature-media {
    order: 2;
  }

  .feature-row-reverse .feature-body {
    order: 1;
  }

  .guide-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 56px;
  }

  .guide-list-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    transition: all 0.3s ease;
  }

  .guide-list-item:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
  }

  .guide-list-rank {
    font-family: var(--font-num);
    font-size: 28px;
    font-weight: 600;
    color: var(--brand);
    width: 48px;
    text-align: center;
    opacity: 0.75;
    flex-shrink: 0;
  }

  .guide-list-info {
    flex: 1;
    min-width: 0;
  }

  .guide-list-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .guide-list-info p {
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .guide-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    flex-shrink: 0;
  }

  .guide-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  .guide-more:hover {
    border-color: var(--brand);
    color: var(--brand);
  }

  .stats-section {
    background: linear-gradient(180deg, rgba(27, 33, 46, 0.5), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .stat-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
  }

  .stat-card:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
  }

  .stat-num {
    font-family: var(--font-num);
    font-size: 44px;
    font-weight: 600;
    color: var(--brand);
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
  }

  .stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 0.04em;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-left: 2px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-item[open] {
    border-left-color: var(--brand);
  }

  .faq-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    transition: color 0.3s ease;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary::before {
    content: "Q";
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-dim);
    color: var(--brand);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
  }

  .faq-item:hover summary {
    color: var(--brand);
  }

  .faq-item p {
    padding: 0 20px 20px 56px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
  }

  .cta-box {
    position: relative;
    background: url('/assets/images/backpic/back-3.png') center/cover no-repeat;
    border-radius: var(--radius-xl);
    padding: 64px 56px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-card);
  }

  .cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(11, 14, 20, 0.88), rgba(19, 23, 34, 0.6));
  }

  .cta-box > * {
    position: relative;
    z-index: 1;
  }

  .cta-box h2 {
    font-family: var(--font-title);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 12px;
  }

  .cta-box p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 28px;
  }

  .cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .site-footer {
    background: #070A10;
    border-top: 4px solid var(--brand);
    margin-top: var(--section-space);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 0.9fr 1.1fr;
    gap: 40px;
    padding: 56px 0 40px;
  }

  .footer-brand .logo {
    margin-bottom: 16px;
  }

  .footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
    margin-top: 14px;
    max-width: 320px;
  }

  .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
  }

  .footer-social a:hover {
    color: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
  }

  .footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
  }

  .footer-col ul li {
    margin-bottom: 10px;
  }

  .footer-col ul a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.3s ease;
  }

  .footer-col ul a:hover {
    color: var(--brand);
  }

  .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--brand);
  }

  .footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 13px;
    flex-wrap: wrap;
  }

  .footer-bottom a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
  }

  .footer-bottom a:hover {
    color: var(--brand);
  }

  .back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
  }

  .back-top:hover {
    color: var(--brand);
    border-color: var(--brand);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
  }

  @media (max-width: 1023px) {
    .main-nav ul {
      gap: 20px;
    }

    .countdown-pill {
      display: none;
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
      gap: 32px;
    }

    .feature-body h3 {
      font-size: 20px;
    }
  }

  @media (max-width: 767px) {
    .section {
      padding: var(--section-space-sm) 0;
    }

    .container {
      padding: 0 16px;
    }

    .nav-toggle {
      display: flex;
    }

    .main-nav {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      right: 0;
      background: rgba(11, 14, 20, 0.97);
      border-bottom: 1px solid var(--border);
      padding: 16px 20px 24px;
      display: none;
      z-index: 99;
    }

    body.menu-open .main-nav {
      display: block;
    }

    .main-nav ul {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }

    .main-nav a {
      display: block;
      padding: 14px 0;
      border-bottom: 1px solid var(--border);
    }

    .main-nav a:last-child {
      border-bottom: none;
    }

    .main-nav a::after {
      display: none;
    }

    .mobile-nav-cta {
      display: flex;
      width: 100%;
      margin-top: 16px;
    }

    .header-actions .btn-brand {
      display: none;
    }

    .page-hero {
      padding-top: calc(var(--nav-h) + 36px);
      padding-bottom: 44px;
      min-height: 340px;
    }

    .hero-sub {
      font-size: 15px;
    }

    .hero-search {
      flex-direction: column;
      gap: 10px;
    }

    .hero-search button {
      width: 100%;
    }

    .feature-row {
      grid-template-columns: 1fr;
      gap: 24px;
      margin-bottom: 48px;
    }

    .feature-row-reverse .feature-media,
    .feature-row-reverse .feature-body {
      order: 0;
    }

    .feature-media {
      aspect-ratio: 16 / 10;
    }

    .feature-body h3 {
      font-size: 19px;
    }

    .guide-list {
      margin-top: 32px;
    }

    .guide-list-item {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      padding: 18px;
    }

    .guide-list-rank {
      width: auto;
      text-align: left;
    }

    .guide-list-info h3,
    .guide-list-info p {
      white-space: normal;
    }

    .guide-list-meta {
      justify-content: space-between;
    }

    .faq-grid {
      grid-template-columns: 1fr;
    }

    .cta-box {
      padding: 44px 24px;
    }

    .cta-actions {
      flex-direction: column;
    }

    .cta-actions .btn {
      width: 100%;
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      padding: 40px 0 32px;
    }

    .footer-brand {
      grid-column: 1 / -1;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }

    .back-top {
      bottom: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
    }
  }

  @media (max-width: 480px) {
    .logo-text {
      font-size: 16px;
    }

    .stats-grid {
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .stat-card {
      padding: 24px 16px;
    }

    .stat-num {
      font-size: 34px;
    }

    .page-hero h1 {
      font-size: 30px;
    }
  }
