/* roulang page: index */
:root {
  --primary: #C6FF4A;
  --primary-hover: #D4FF6E;
  --accent: #FF6B35;
  --accent-hover: #FF8559;
  --bg-dark: #0A0E0C;
  --bg-deep: #0B0F0D;
  --bg-secondary: #121812;
  --card-bg: #151C17;
  --border: #243126;
  --border-hover: #3A4A3E;
  --text-title: #E6EDE8;
  --text-body: #C2CBC6;
  --text-weak: #8FA396;
  --text-muted: #5A655E;
  --success: #00E676;
  --error: #FF4D4F;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-badge: 999px;
  --shadow-default: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 12px rgba(198,255,74,0.15);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "DIN Alternate", "Bebas Neue", "Roboto Mono", monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

input, button, textarea, select {
  font-size: inherit;
}

/* ===== Layout ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: var(--bg-deep);
  border-right: 1px solid #1F2A22;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.main-content {
  margin-left: 240px;
  min-height: 100vh;
  background: var(--bg-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-block {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  position: relative;
  padding-left: 18px;
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-head p {
  margin: 0;
  color: var(--text-weak);
  font-size: 15px;
}

/* ===== Sidebar ===== */
.sidebar-brand {
  padding: 28px 20px 20px;
  border-bottom: 1px solid #1F2A22;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(198,255,74,0.5);
  flex-shrink: 0;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-weak);
  letter-spacing: 1px;
  margin-top: 2px;
}

.brand-sub {
  margin: 10px 0 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-weak);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  background: rgba(198,255,74,0.06);
  color: var(--text-title);
}

.nav-item.active {
  color: var(--primary);
  background: rgba(198,255,74,0.08);
  border-left-color: var(--primary);
  font-weight: 600;
}

.nav-icon {
  margin-right: 10px;
  font-size: 16px;
  opacity: 0.8;
}

.sidebar-bottom {
  padding: 20px;
  border-top: 1px solid #1F2A22;
}

.sidebar-bottom .btn {
  width: 100%;
}

.sidebar-copyright {
  margin: 14px 0 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Mobile Header ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-deep);
  border-bottom: 1px solid #1F2A22;
  z-index: 99;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-brand .logo-text {
  font-size: 16px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  transition: border-color 0.2s;
}

.menu-toggle:hover {
  border-color: var(--border-hover);
}

.menu-toggle .bar {
  display: block;
  height: 2px;
  background: var(--text-title);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  outline-offset: 4px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 16px rgba(198,255,74,0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-body);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(198,255,74,0.04);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.btn-accent {
  background: var(--accent);
  color: var(--bg-dark);
}

.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(255,107,53,0.25);
  transform: translateY(-1px);
}

.btn-accent:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: rgba(255,107,53,0.1);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.btn-block {
  width: 100%;
}

/* ===== Badge ===== */
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-dark);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,0,0,0.3); }
  50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(0,0,0,0.1); }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-weak);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: var(--radius-badge);
}

.badge-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-badge);
}

.badge-online::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center right;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0A0E0C 0%, rgba(10,14,12,0.92) 40%, rgba(10,14,12,0.4) 75%, rgba(10,14,12,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
}

.hero-content .badge-live {
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin: 0 0 18px 0;
  letter-spacing: 0.5px;
  max-width: 620px;
}

.hero-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 32px 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Countdown ===== */
.countdown-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
}

.countdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.countdown-label {
  display: block;
  font-size: 13px;
  color: var(--text-weak);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.time-block span {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.time-block em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-weak);
  letter-spacing: 1px;
  margin-top: 2px;
}

.time-sep {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--text-muted);
  font-weight: 700;
  padding-bottom: 18px;
}

/* ===== Highlights Timeline ===== */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.timeline-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.timeline-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(198,255,74,0.08);
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.timeline-body h3 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
}

.timeline-body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.6;
}

/* ===== Subscribe ===== */
.subscribe-section {
  position: relative;
  background-color: var(--bg-secondary);
  overflow: hidden;
}

.subscribe-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.subscribe-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,12,0.9) 0%, rgba(18,24,18,0.95) 100%);
}

.subscribe-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 22px;
}

.subscribe-inner h2 {
  font-size: 28px;
  color: var(--text-title);
  margin: 0 0 12px 0;
}

.subscribe-inner > p {
  color: var(--text-weak);
  font-size: 15px;
  margin: 0 0 32px 0;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  height: 48px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0 16px;
  color: var(--text-title);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.subscribe-form input::placeholder {
  color: var(--text-muted);
}

.subscribe-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(198,255,74,0.12);
}

.subscribe-form input.input-error {
  border-color: var(--error);
}

.subscribe-form .btn {
  height: 48px;
  flex-shrink: 0;
}

.form-note {
  margin: 12px 0 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Entry Cards ===== */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.entry-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.entry-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.entry-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(198,255,74,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.entry-card h3 {
  font-size: 20px;
  color: var(--text-title);
  margin: 0 0 8px 0;
}

.entry-card p {
  font-size: 14px;
  color: var(--text-weak);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s, gap 0.2s;
}

.card-link:hover {
  color: var(--primary-hover);
  gap: 12px;
}

.entry-thumb {
  margin: 16px 0 0 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
}

.entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== News Grid ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.news-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.news-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.02);
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-content .badge-tag {
  align-self: flex-start;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-content p {
  font-size: 14px;
  color: var(--text-weak);
  margin: 0 0 16px 0;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.news-meta time {
  font-size: 13px;
  color: var(--text-muted);
}

.read-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
}

.read-more:hover {
  color: var(--primary-hover);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: var(--card-bg);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-card);
}

.empty-icon {
  display: block;
  font-size: 36px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-weak);
  font-size: 15px;
  margin: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: rgba(198,255,74,0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(198,255,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: var(--primary);
  transition: transform 0.3s ease, background 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: rgba(198,255,74,0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--text-weak);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 24px;
}

.cta-inner h2 {
  font-size: 30px;
  color: var(--text-title);
  margin: 0 0 12px 0;
}

.cta-inner p {
  font-size: 15px;
  color: var(--text-weak);
  margin: 0 0 28px 0;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid #1F2A22;
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
}

.footer-brand p {
  margin: 12px 0 0 0;
  font-size: 13px;
  color: var(--text-weak);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links .footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-weak);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-meta p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-weak);
  transition: color 0.2s;
}

.back-top:hover {
  color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
    width: 260px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-header {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding-top: 56px;
  }

  .hero {
    min-height: 400px;
  }

  .hero-content {
    padding: 48px 24px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .countdown-inner {
    justify-content: center;
  }

  .time-block span {
    font-size: 28px;
  }

  .section-block {
    padding: 56px 0;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .section-block {
    padding: 48px 0;
  }

  .hero {
    min-height: 320px;
  }

  .hero-content {
    padding: 36px 20px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .countdown-bar {
    padding: 20px;
  }

  .countdown-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .time-block {
    min-width: 48px;
  }

  .time-block span {
    font-size: 24px;
  }

  .time-sep {
    font-size: 22px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .timeline-num {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input {
    width: 100%;
  }

  .subscribe-form .btn {
    width: 100%;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .entry-card p {
    font-size: 13px;
  }

  .faq-question {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .cta-inner {
    padding: 48px 20px;
  }

  .cta-inner h2 {
    font-size: 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 24px;
  }
}

@media (max-width: 519px) {
  .hero-content h1 {
    font-size: 23px;
  }

  .badge-live {
    font-size: 12px;
    padding: 5px 12px;
  }

  .countdown-digits {
    gap: 4px;
  }

  .time-block em {
    font-size: 11px;
  }

  .news-content {
    padding: 16px;
  }
}

/* ===== Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* roulang page: category1 */
:root {
  --primary: #C6FF4A;
  --primary-hover: #D4FF6E;
  --accent: #FF6B35;
  --accent-hover: #FF8559;
  --bg: #0A0E0C;
  --bg-soft: #121812;
  --bg-side: #0B0F0D;
  --card: #151C17;
  --border: #243126;
  --border-strong: #3A4A3E;
  --title: #E6EDE8;
  --text: #C2CBC6;
  --muted: #8FA396;
  --disabled: #5A655E;
  --success: #00E676;
  --danger: #FF4D4F;
  --radius: 12px;
  --radius-btn: 8px;
  --radius-badge: 999px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
  --glow: 0 0 12px rgba(198, 255, 74, 0.15);
  --gap-lg: 80px;
  --gap-md: 48px;
  --gap-sm: 24px;
  --sidebar-w: 240px;
  --content-max: 1200px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "DIN Alternate", "Bebas Neue", "Roboto Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #0A0E0C;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(198, 255, 74, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: #0A0E0C;
}

.btn-accent:hover {
  background: var(--accent-hover);
}

.btn-block {
  width: 100%;
}

/* ===== 侧边栏 ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-side);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 120;
  transition: transform 0.3s ease;
}

.sidebar-brand {
  padding: 32px 24px 20px;
  border-bottom: 1px solid var(--border);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--title);
  letter-spacing: 1px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: var(--glow);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  padding-left: 20px;
}

.sidebar-nav {
  padding: 24px 0;
  flex: 1;
}

.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-item:hover {
  color: var(--title);
  background: rgba(198, 255, 74, 0.04);
}

.nav-item.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(198, 255, 74, 0.05);
}

.nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

/* ===== 移动端头部 ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-side);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 130;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
  transition: background 0.2s;
}

.menu-toggle:hover span {
  background: var(--primary);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ===== 主内容区 ===== */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Hero ===== */
.category-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background-image: url('/assets/images/backpic/back-1.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}

.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 20%, rgba(10, 14, 12, 0.78) 55%, rgba(10, 14, 12, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: 60px 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #0A0E0C;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-badge);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #0A0E0C;
  border-radius: 50%;
  animation: pulse-dot 1.6s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.category-hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text);
  max-width: 580px;
  line-height: 1.8;
}

/* ===== 页面主体 ===== */
.page-body {
  flex: 1;
  padding: var(--gap-lg) 0;
}

.section-block {
  margin-bottom: var(--gap-lg);
}

.section-block:last-child {
  margin-bottom: 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--gap-md);
}

.section-head::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 4px;
  flex-shrink: 0;
}

.section-head h2 {
  font-size: 26px;
  color: var(--title);
  font-weight: 700;
  line-height: 1.3;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  margin-top: -14px;
  margin-bottom: var(--gap-md);
  max-width: 720px;
  line-height: 1.8;
}

/* ===== 资讯内容清单 ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

.info-card-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: rgba(198, 255, 74, 0.08);
  border: 1px solid rgba(198, 255, 74, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--primary);
}

.info-card h3 {
  font-size: 17px;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 6px;
}

.info-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== 步骤流程 ===== */
.steps-wrap {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding-top: 44px;
}

.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  opacity: 0.85;
}

.step-item::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 52px;
  right: 24px;
  height: 1px;
  background: var(--border);
}

.step-item:last-child::after {
  display: none;
}

.step-item h3 {
  font-size: 16px;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.step-tip {
  margin-top: 28px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 107, 53, 0.06);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== 图文场景 ===== */
.scene-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.scene-img {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.scene-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.scene-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.scene-list li:last-child {
  border-bottom: none;
}

.scene-list-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(198, 255, 74, 0.1);
  border: 1px solid rgba(198, 255, 74, 0.22);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.scene-list h3 {
  font-size: 15px;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 2px;
}

.scene-list p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* ===== CTA区 ===== */
.cta-panel {
  background-image: url('/assets/images/backpic/back-2.png');
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 60px 48px;
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.88);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-inner h2 {
  font-size: 26px;
  color: var(--title);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-inner p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
}

.cta-form input {
  flex: 1;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 0 16px;
  color: var(--title);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-form input::placeholder {
  color: var(--disabled);
}

.cta-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(198, 255, 74, 0.12);
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.6;
}

.form-success {
  display: none;
  font-size: 14px;
  color: var(--success);
  margin-top: 12px;
  align-items: center;
  gap: 8px;
}

.form-success.show {
  display: flex;
}

.form-success i {
  font-style: normal;
  font-size: 16px;
}

/* ===== FAQ ===== */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--title);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--muted);
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.25s ease;
}

.faq-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

.faq-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background: var(--primary);
}

.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer-inner {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  padding: 0 4px 20px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== 相关入口 ===== */
.entry-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.entry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.entry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.entry-card span {
  font-size: 14px;
  color: var(--title);
  font-weight: 600;
}

.entry-arrow {
  color: var(--primary);
  font-size: 16px;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-side);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  margin-left: var(--sidebar-w);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
  max-width: 360px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.back-top {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.back-top:hover {
  color: var(--primary);
}

.footer-meta p {
  font-size: 13px;
  color: var(--disabled);
}

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
  }

  .mobile-header {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding-top: 56px;
  }

  .site-footer {
    margin-left: 0;
  }

  .category-hero {
    min-height: 280px;
  }

  .hero-inner {
    padding: 40px 24px;
  }

  .page-body {
    padding: 48px 24px;
  }

  .section-block {
    margin-bottom: 56px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step-item::after {
    display: none;
  }

  .scene-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  .scene-img img {
    height: 220px;
  }

  .entry-links {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 0 24px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .category-hero {
    min-height: 240px;
  }

  .hero-inner {
    padding: 32px 16px;
  }

  .category-hero h1 {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 4px 12px;
  }

  .page-body {
    padding: 40px 16px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  .section-desc {
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 28px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-card {
    padding: 20px;
  }

  .steps-wrap {
    padding: 24px 20px;
  }

  .scene-wrap {
    padding: 20px;
    gap: 20px;
  }

  .scene-img img {
    height: 180px;
  }

  .scene-list li {
    padding: 14px 0;
  }

  .cta-panel {
    padding: 36px 20px;
  }

  .cta-inner h2 {
    font-size: 22px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form .btn {
    width: 100%;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px 2px;
  }

  .faq-answer-inner {
    font-size: 13px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: left;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand-sub {
    display: none;
  }

  .mobile-header {
    padding: 0 14px;
  }
}

/* roulang page: article */
:root {
    --primary: #C6FF4A;
    --primary-bright: #D4FF6E;
    --accent: #FF6B35;
    --accent-bright: #FF8559;
    --bg: #0A0E0C;
    --bg-deep: #0B0F0D;
    --bg-secondary: #121812;
    --card-bg: #151C17;
    --border: #243126;
    --border-hover: #3A4A3E;
    --text-heading: #E6EDE8;
    --text-body: #C2CBC6;
    --text-muted: #8FA396;
    --text-dim: #5A655E;
    --success: #00E676;
    --error: #FF4D4F;
    --radius-card: 12px;
    --radius-btn: 8px;
    --radius-full: 999px;
    --shadow-default: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 12px rgba(198, 255, 74, 0.15);
    --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    --font-mono: "DIN Alternate", "Bebas Neue", "Roboto Mono", monospace;
    --sidebar-width: 240px;
    --space-lg: 80px;
    --space-md: 48px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(ellipse at 90% 10%, rgba(198, 255, 74, 0.025) 0%, transparent 55%);
    background-attachment: fixed;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-bright);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: rgba(198, 255, 74, 0.25);
    color: var(--text-heading);
}

.layout {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
}

/* ===== 左侧导航 ===== */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: 100vh;
    position: sticky;
    top: 0;
    background: var(--bg-deep);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 28px 0 0;
    z-index: 200;
}

.sidebar-brand {
    padding: 0 24px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: var(--glow-primary);
    display: inline-block;
    animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.15); }
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 14px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-btn);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    line-height: 1.4;
}

.nav-item:hover {
    color: var(--text-heading);
    background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(198, 255, 74, 0.06);
    border-left-color: var(--primary);
    font-weight: 600;
}

.nav-icon {
    font-size: 15px;
    width: 22px;
    text-align: center;
    opacity: 0.85;
}

.nav-item.active .nav-icon {
    opacity: 1;
    color: var(--primary);
}

.sidebar-footer {
    padding: 18px 24px 24px;
    border-top: 1px solid var(--border);
}

.side-btn {
    display: block;
    text-align: center;
    padding: 11px 0;
    background: transparent;
    border: 1px solid var(--border-hover);
    color: var(--text-heading);
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.side-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--glow-primary);
}

.side-btn:active {
    transform: translateY(1px);
}

/* ===== 主内容区 ===== */
.main-content {
    flex: 1;
    min-width: 0;
    background: var(--bg);
}

/* ===== 移动端顶栏 ===== */
.mobile-header {
    display: none;
    position: sticky;
    top: 0;
    z-index: 300;
    height: 56px;
    background: rgba(11, 15, 13, 0.96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
}

.menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.07);
}

.burger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-heading);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 250;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* ===== 文章页 ===== */
.article-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 32px 72px;
    position: relative;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    line-height: 1.6;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--text-dim);
    font-size: 12px;
}

.breadcrumb .current {
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 260px;
}

.article-header {
    margin-bottom: 32px;
}

.article-title {
    font-size: 30px;
    line-height: 1.35;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.meta-divider {
    width: 3px;
    height: 3px;
    min-width: 3px;
    border-radius: 50%;
    background: var(--text-dim);
}

.article-meta a {
    color: var(--text-muted);
}

.article-meta a:hover {
    color: var(--primary);
}

/* ===== 正文 ===== */
.article-body {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-body);
    padding-top: 30px;
}

.article-body p {
    margin-bottom: 1.2em;
}

.article-body h2 {
    font-size: 24px;
    color: var(--text-heading);
    margin: 2em 0 1em;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    line-height: 1.4;
    font-weight: 700;
}

.article-body h3 {
    font-size: 19px;
    color: var(--text-heading);
    margin: 1.8em 0 0.8em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    line-height: 1.4;
    font-weight: 600;
}

.article-body h4 {
    font-size: 17px;
    color: var(--text-heading);
    margin: 1.6em 0 0.6em;
    font-weight: 600;
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    margin: 24px 0;
}

.article-body figcaption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: -16px;
    margin-bottom: 24px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-secondary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    margin: 24px 0;
    color: var(--text-body);
    font-style: normal;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.2em;
    padding-left: 1.6em;
}

.article-body li {
    margin-bottom: 0.5em;
    line-height: 1.75;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.article-body a:hover {
    color: var(--primary-bright);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.article-body th,
.article-body td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: left;
}

.article-body th {
    background: var(--bg-secondary);
    color: var(--text-heading);
    font-weight: 600;
}

/* ===== 标签区 ===== */
.article-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tag-label {
    font-size: 14px;
    color: var(--text-heading);
    font-weight: 600;
    margin-right: 4px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.2s ease;
    line-height: 1.4;
}

.tag:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(198, 255, 74, 0.04);
}

/* ===== 相关推荐 ===== */
.related-section {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.section-title {
    font-size: 22px;
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    min-width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-default);
}

.related-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
    color: inherit;
}

.related-card h3 {
    font-size: 15px;
    color: var(--text-heading);
    margin-bottom: 8px;
    line-height: 1.5;
    font-weight: 600;
    transition: color 0.2s ease;
}

.related-card:hover h3 {
    color: var(--primary);
}

.related-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 12px;
    color: var(--text-dim);
    display: block;
}

/* ===== 返回入口 ===== */
.back-link-wrap {
    margin-top: 44px;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    padding: 10px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    transition: all 0.2s ease;
    background: transparent;
}

.back-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

/* ===== 内容未找到 ===== */
.article-not-found {
    text-align: center;
    padding: 72px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    margin-top: 24px;
}

.nf-icon {
    font-size: 56px;
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1;
}

.article-not-found p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-not-found .nf-sub {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 24px;
}

/* ===== 页脚 ===== */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid #1F2A22;
    padding: 48px 0 40px;
    width: 100%;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-brand {
    max-width: 360px;
    flex-shrink: 0;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease, padding-left 0.2s ease;
    line-height: 1.6;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.back-top {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.back-top:hover {
    color: var(--primary);
}

.footer-meta p {
    font-size: 13px;
    color: var(--text-dim);
    margin: 0;
}

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
    .mobile-header {
        display: flex;
    }

    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        transition: left 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    }

    .sidebar.open {
        left: 0;
    }

    .layout {
        flex-direction: column;
        align-items: stretch;
    }

    .main-content {
        width: 100%;
    }

    .article-page {
        padding: 36px 24px 56px;
    }

    .article-title {
        font-size: 26px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 28px;
    }

    .footer-meta {
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .article-page {
        padding: 28px 16px 48px;
    }

    .breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    .breadcrumb .current {
        max-width: 160px;
    }

    .article-title {
        font-size: 23px;
        line-height: 1.4;
    }

    .article-meta {
        font-size: 12px;
        gap: 8px;
    }

    .article-body {
        font-size: 15px;
        line-height: 1.85;
    }

    .article-body h2 {
        font-size: 20px;
        margin: 1.6em 0 0.8em;
    }

    .article-body h3 {
        font-size: 17px;
    }

    .section-title {
        font-size: 19px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .related-card {
        padding: 18px;
    }

    .article-tags {
        gap: 8px;
    }

    .tag {
        font-size: 12px;
        padding: 5px 12px;
    }

    .article-not-found {
        padding: 48px 16px;
    }

    .footer-inner {
        padding: 0 16px;
    }
}

/* roulang page: category2 */
:root {
  --primary: #C6FF4A;
  --primary-hover: #D4FF6E;
  --accent: #FF6B35;
  --accent-hover: #FF8559;
  --bg-deep: #0A0E0C;
  --bg-panel: #121812;
  --bg-card: #151C17;
  --border-card: #243126;
  --border-hover: #3A4A3E;
  --text-title: #E6EDE8;
  --text-body: #C2CBC6;
  --text-muted: #8FA396;
  --text-disabled: #5A655E;
  --success: #00E676;
  --error: #FF4D4F;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 8px;
  --radius-badge: 999px;
  --shadow-default: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.5);
  --glow-primary: 0 0 12px rgba(198,255,74,0.15);
  --space-section: 80px;
  --space-card-pad: 20px;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: "DIN Alternate", "Bebas Neue", "Roboto Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

.wrapper { display: flex; min-height: 100vh; }

/* ===== 左侧导航 ===== */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 240px;
  height: 100vh;
  background: #0B0F0D;
  border-right: 1px solid #1F2A22;
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.sidebar-inner { display: flex; flex-direction: column; height: 100%; padding: 28px 20px 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-dot {
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(198,255,74,0.5);
  flex-shrink: 0;
}
.logo-text {
  font-size: 20px; font-weight: 700;
  color: var(--text-title);
  letter-spacing: 0.5px;
}
.brand-sub { margin-top: 8px; font-size: 12px; color: var(--text-muted); padding-left: 20px; }
.sidebar-nav { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  border-radius: 0 8px 8px 0;
}
.nav-item .nav-icon { font-size: 14px; width: 20px; text-align: center; opacity: 0.9; }
.nav-item:hover { color: var(--text-title); background: rgba(198,255,74,0.05); }
.nav-item.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: rgba(198,255,74,0.06);
}
.sidebar-bottom { margin-top: auto; }
.sidebar-btn { display: block; width: 100%; text-align: center; margin-bottom: 16px; }
.sidebar-copy { font-size: 12px; color: var(--text-disabled); text-align: center; }

/* ===== 按钮体系 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.btn-primary { background: var(--primary); color: #0A0E0C; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 8px 24px rgba(198,255,74,0.2); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: transparent; border: 1px solid var(--border-hover); color: var(--text-body); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #0A0E0C; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px rgba(255,107,53,0.25); }
.btn-accent:active { transform: translateY(1px); }

/* ===== 主内容 ===== */
.main-wrapper { margin-left: 240px; flex: 1; min-width: 0; }

/* ===== 移动顶栏 ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: #0B0F0D;
  border-bottom: 1px solid #1F2A22;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 200;
}
.mobile-brand { display: flex; align-items: center; gap: 8px; }
.mobile-brand .logo-text { font-size: 18px; }
.menu-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-body);
  font-size: 22px;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu-toggle:hover { background: rgba(198,255,74,0.08); color: var(--primary); }
.menu-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ===== 抽屉菜单 ===== */
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-mask.show { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; left: 0;
  width: 264px;
  height: 100vh;
  background: #0B0F0D;
  border-right: 1px solid #1F2A22;
  z-index: 310;
  padding: 24px 16px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer.show { transform: translateX(0); }
.drawer .sidebar-nav { margin-top: 32px; }
.drawer-bottom { margin-top: auto; }
.drawer .sidebar-btn { margin-bottom: 12px; }
.drawer .sidebar-copy { font-size: 12px; color: var(--text-disabled); text-align: center; }

/* ===== 页面Hero ===== */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(10,14,12,0.95) 0%, rgba(10,14,12,0.65) 60%, rgba(10,14,12,0.2) 100%), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  background-color: var(--bg-deep);
  border-bottom: 1px solid var(--border-card);
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 64px 40px; width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #0A0E0C;
  font-size: 12px; font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.5px;
}
.hero-badge .pulse-dot { width: 6px; height: 6px; background: #0A0E0C; border-radius: 50%; animation: pulse 1.6s ease infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.page-hero h1 {
  margin-top: 20px;
  font-size: 38px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: 0.5px;
}
.page-hero h1 .highlight { color: var(--primary); }
.hero-desc { margin-top: 16px; font-size: 16px; color: var(--text-body); max-width: 560px; line-height: 1.8; }

/* ===== 通用section ===== */
.section { padding: var(--space-section) 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { margin-bottom: 40px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  border: 1px solid rgba(198,255,74,0.4);
  padding: 3px 12px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 28px; font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}
.section-sub { margin-top: 12px; font-size: 15px; color: var(--text-muted); max-width: 640px; }

/* ===== 图文交替区 ===== */
.alternate-section { background: var(--bg-deep); border-bottom: 1px solid #1F2A22; }
.alternate-rows { display: flex; flex-direction: column; gap: 72px; }
.alternate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.alternate-row.reverse .text-col { order: -1; }
.image-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-default);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.image-wrap:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); }
.image-wrap img { width: 100%; height: 280px; object-fit: cover; }
.text-col h3 { font-size: 22px; font-weight: 700; color: var(--text-title); margin-bottom: 14px; }
.text-col p { font-size: 15px; line-height: 1.85; color: var(--text-body); margin-bottom: 18px; }
.feature-list { list-style: none; margin-top: 8px; }
.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  background: rgba(198,255,74,0.12);
  border: 1px solid var(--primary);
  border-radius: 50%;
}
.feature-list li::after {
  content: '';
  position: absolute;
  left: 6px; top: 15px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
}

/* ===== 步骤区 ===== */
.steps-section { background: var(--bg-panel); border-bottom: 1px solid #1F2A22; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  counter-reset: step;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.step-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-num);
  font-size: 44px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  opacity: 0.9;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 18px; font-weight: 700; color: var(--text-title); margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== 设备适配区 ===== */
.devices-section { background: var(--bg-deep); border-bottom: 1px solid #1F2A22; }
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: var(--space-card-pad);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.device-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); }
.device-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(198,255,74,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.device-card h3 { font-size: 17px; font-weight: 700; color: var(--text-title); margin-bottom: 10px; }
.device-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== FAQ区 ===== */
.faq-section { background: var(--bg-panel); border-bottom: 1px solid #1F2A22; }
.faq-list { max-width: 860px; margin-top: 40px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.open { border-color: rgba(198,255,74,0.4); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  font-size: 15px; font-weight: 700;
  color: var(--text-title);
  background: transparent;
  text-align: left;
  gap: 16px;
  min-height: 52px;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--primary); }
.faq-q .faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.faq-item.open .faq-icon {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-inner { padding: 0 20px 20px; font-size: 14px; line-height: 1.75; color: var(--text-muted); }

/* ===== CTA区 ===== */
.cta-section { background: var(--bg-deep); border-bottom: 1px solid #1F2A22; }
.cta-panel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(10,14,12,0.95) 0%, rgba(18,24,18,0.9) 100%), url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 56px;
  text-align: center;
  overflow: hidden;
}
.cta-panel h2 { font-size: 26px; font-weight: 700; color: var(--text-title); margin-bottom: 12px; }
.cta-panel p { font-size: 15px; color: var(--text-body); max-width: 520px; margin: 0 auto 28px; line-height: 1.8; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== 相关入口 ===== */
.related-section { background: var(--bg-panel); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.related-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(198,255,74,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.related-info h3 { font-size: 16px; font-weight: 700; color: var(--text-title); margin-bottom: 4px; }
.related-info span { font-size: 13px; color: var(--text-muted); }

/* ===== 页脚 ===== */
.site-footer {
  background: #0B0F0D;
  border-top: 1px solid #1F2A22;
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--text-title); }
.footer-brand p { margin-top: 14px; font-size: 13px; color: var(--text-muted); line-height: 1.75; max-width: 360px; }
.footer-col-title { display: block; font-size: 13px; color: var(--text-body); font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-meta { text-align: right; }
.back-top {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  transition: color 0.2s ease;
}
.back-top:hover { color: var(--primary); }
.footer-meta p { margin-top: 24px; font-size: 12px; color: var(--text-disabled); }

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .sidebar { display: none; }
  .main-wrapper { margin-left: 0; }
  .mobile-header { display: flex; }
  .page-hero { min-height: 280px; }
  .hero-inner { padding: 56px 24px; }
  .page-hero h1 { font-size: 32px; }
  .section { padding: 56px 24px; }
  .alternate-row { grid-template-columns: 1fr; gap: 28px; }
  .alternate-row.reverse .text-col { order: 0; }
  .image-wrap img { height: 240px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .device-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cta-panel { padding: 40px 24px; }
  .cta-panel h2 { font-size: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 767px) {
  .page-hero { min-height: 240px; }
  .hero-inner { padding: 40px 16px; }
  .page-hero h1 { font-size: 26px; }
  .hero-desc { font-size: 14px; }
  .section { padding: 48px 16px; }
  .section-title { font-size: 22px; }
  .section-sub { font-size: 14px; }
  .alternate-rows { gap: 48px; }
  .alternate-row { gap: 20px; }
  .text-col h3 { font-size: 20px; }
  .text-col p { font-size: 14px; }
  .feature-list li { font-size: 13px; }
  .image-wrap img { height: 200px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { padding: 22px 18px; }
  .device-grid { grid-template-columns: 1fr; }
  .device-card { padding: 16px; }
  .faq-q { padding: 16px; font-size: 14px; }
  .faq-inner { padding: 0 16px 16px; font-size: 13px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-meta { text-align: left; }
}

@media (max-width: 519px) {
  .mobile-header { padding: 0 12px; }
  .hero-inner { padding: 32px 16px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero .hero-badge { font-size: 11px; padding: 4px 10px; }
  .section { padding: 40px 14px; }
  .section-title { font-size: 20px; padding-left: 12px; }
  .alternate-rows { gap: 36px; }
  .image-wrap img { height: 180px; }
  .step-num { font-size: 38px; }
  .faq-q { min-height: 48px; }
  .cta-panel { padding: 32px 18px; }
  .cta-panel h2 { font-size: 20px; }
  .footer-inner { padding: 0; }
}
