/* roulang page: index */
:root {
  --color-primary: #F43F5E;
  --color-primary-hover: #FF6B81;
  --color-secondary: #F5B31A;
  --color-accent: #8B5CF6;
  --color-bg: #0C0D12;
  --color-surface: #15171E;
  --color-surface-2: #1D2029;
  --color-border: rgba(255,255,255,0.09);
  --color-text: #F2F3F8;
  --color-muted: #9AA2B5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 30px rgba(244,63,94,0.15);
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-hover);
}

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ===== Layout Structure ===== */
.site-shell {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: 260px;
  max-width: 1200px;
  padding: 0 40px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Left Sidebar Nav ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.sidebar-brand {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.sidebar-brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  font-weight: 900;
  flex-shrink: 0;
}

.sidebar-brand-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-brand-sub {
  font-size: 10px;
  color: var(--color-muted);
  letter-spacing: 2px;
}

.sidebar-nav {
  flex: 1;
  padding: 24px 0;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 24px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: all var(--transition);
  border-left: 4px solid transparent;
}

.sidebar-nav li a i {
  width: 20px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav li a:hover {
  color: var(--color-text);
  background: rgba(244, 63, 94, 0.06);
}

.sidebar-nav li a.active {
  color: var(--color-primary);
  background: rgba(244, 63, 94, 0.1);
  border-left-color: var(--color-primary);
  font-weight: 600;
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.sidebar-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-badge i {
  color: var(--color-secondary);
}

/* ===== Mobile Top Nav ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  z-index: 1100;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-hamburger {
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  z-index: 1090;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer ul {
  padding: 8px 0;
}

.mobile-drawer li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: var(--color-muted);
  font-size: 15px;
  border-left: 4px solid transparent;
}

.mobile-drawer li a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: rgba(244, 63, 94, 0.08);
}

.mobile-drawer li a i {
  width: 20px;
  text-align: center;
}

/* ===== Hero Section ===== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(244, 63, 94, 0.08), transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(245, 179, 26, 0.06), transparent 40%);
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-copy {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 63, 94, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 12px;
}

.hero-title {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.3);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 63, 94, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(244, 63, 94, 0.05);
}

.btn-outline:active {
  transform: scale(0.98);
}

.btn-gold {
  background: var(--color-secondary);
  color: #0C0D12;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 179, 26, 0.2);
}

.btn-gold:hover {
  background: #FFCA3A;
  color: #0C0D12;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 179, 26, 0.35);
}

/* Hero vertical card */
.hero-phone {
  width: 380px;
  height: 520px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(29, 32, 41, 0.9) 0%, rgba(21, 23, 30, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(244, 63, 94, 0.1);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.hero-phone-cover {
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.webp') center center / cover;
  z-index: 0;
}

.hero-phone-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 13, 18, 0.9) 100%);
}

.hero-phone-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

.hero-phone-live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-phone-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px;
}

.hero-phone-playbar {
  background: rgba(255, 255, 255, 0.12);
  height: 4px;
  border-radius: 2px;
  margin-bottom: 14px;
  overflow: hidden;
}

.hero-phone-playbar-fill {
  width: 65%;
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
}

.hero-phone-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-phone-title {
  font-size: 15px;
  font-weight: 600;
}

.hero-phone-icons {
  display: flex;
  gap: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.hero-phone-icons i {
  cursor: pointer;
  transition: color 0.2s;
}

.hero-phone-icons i:hover {
  color: var(--color-primary);
}

/* ===== Section Common ===== */
.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 30px;
}

.section-heading {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  position: relative;
  padding-left: 16px;
}

.section-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.section-heading small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  margin-top: 6px;
  letter-spacing: 1px;
}

.section-link {
  font-size: 14px;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.section-link i {
  transition: transform var(--transition);
}

.section-link:hover i {
  transform: translateX(4px);
}

/* ===== Trending Cards ===== */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trending-grid .trending-card:nth-child(2) {
  grid-row: span 1;
}

.trend-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.trend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(244, 63, 94, 0.3);
}

.trend-card-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.trend-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trend-card:hover .trend-card-cover img {
  transform: scale(1.03);
}

.trend-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  transition: background var(--transition);
}

.trend-card:hover .trend-card-tag {
  background: var(--color-secondary);
  color: #0C0D12;
}

.trend-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trend-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--color-text);
}

.trend-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.trend-card-meta i {
  color: var(--color-secondary);
  margin-right: 4px;
}

.trend-card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trend-card-link i {
  transition: transform var(--transition);
}

.trend-card-link:hover i {
  transform: translateX(4px);
}

/* ===== Recommendation List ===== */
.reco-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 40px;
}

.reco-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}

.reco-item:hover {
  background: rgba(244, 63, 94, 0.03);
}

.reco-number {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--color-primary), rgba(244, 63, 94, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 50px;
  font-variant-numeric: tabular-nums;
}

.reco-body {
  flex: 1;
}

.reco-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reco-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.2);
  color: var(--color-accent);
}

.reco-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.reco-link {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 500;
}

/* ===== Review Strip ===== */
.review-section {
  background: radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.06), transparent 50%);
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
  padding: 24px 32px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.review-score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-big-number {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--color-secondary), #FFCA3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.review-stars {
  color: var(--color-secondary);
  font-size: 17px;
  letter-spacing: 2px;
}

.review-count {
  font-size: 14px;
  color: var(--color-muted);
}

.review-divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
}

.review-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.review-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 280px;
  max-width: 320px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.review-card:hover {
  border-color: rgba(245, 179, 26, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.review-user {
  flex: 1;
}

.review-name {
  font-size: 14px;
  font-weight: 600;
}

.review-badge-sm {
  font-size: 10px;
  color: var(--color-secondary);
  background: rgba(245, 179, 26, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 2px;
}

.review-card-text {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ===== One-click CTA ===== */
.cta-band {
  background: radial-gradient(ellipse at 20% 80%, rgba(244, 63, 94, 0.1), transparent 50%);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
  border-radius: 50%;
}

.cta-copy {
  flex: 1;
}

.cta-copy h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-copy p {
  color: var(--color-muted);
  font-size: 15px;
}

.cta-controls {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.cta-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-tag {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.cta-tag:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.cta-tag.selected {
  background: var(--color-secondary);
  color: #0C0D12;
  font-weight: 600;
  border-color: var(--color-secondary);
}

/* ===== News List ===== */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  border-bottom: 1px solid var(--color-border);
}

.news-item:hover {
  background: var(--color-surface);
}

.news-date {
  font-size: 14px;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
  min-width: 90px;
  font-weight: 500;
}

.news-date span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.news-item:hover .news-title {
  color: var(--color-primary);
}

.news-excerpt {
  font-size: 13px;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-cat {
  font-size: 12px;
  background: rgba(244, 63, 94, 0.12);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
  font-weight: 500;
}

.news-arrow {
  color: var(--color-muted);
  font-size: 14px;
  transition: all 0.2s;
}

.news-item:hover .news-arrow {
  color: var(--color-primary);
  transform: translateX(4px);
}

.news-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-muted);
  font-size: 15px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-border);
}

.news-empty i {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  color: var(--color-border);
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
  font-size: 18px;
  color: var(--color-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  display: block;
  border-top-color: var(--color-border);
  padding-top: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: #08090C;
  border-top: 1px solid rgba(244, 63, 94, 0.2);
  padding: 60px 0 0;
  margin-left: 260px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 4fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
}

.footer-brand-text {
  font-size: 18px;
  font-weight: 800;
}

.footer-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 14px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--color-text);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: var(--color-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-contact {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 2;
}

.footer-contact i {
  color: var(--color-primary);
  width: 20px;
  margin-right: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
}

/* ===== Responsive Breakpoints ===== */
@media screen and (max-width: 1024px) {
  .main-content {
    margin-left: 0;
    padding: 0 24px;
  }

  .site-footer {
    margin-left: 0;
  }

  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-layout {
    flex-direction: column;
    gap: 40px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-phone {
    width: 320px;
    height: 440px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-band {
    flex-direction: column;
    padding: 36px;
    align-items: flex-start;
  }

  .cta-controls {
    align-items: flex-start;
  }

  .cta-tags {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media screen and (max-width: 767px) {
  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding: 64px 16px 0;
  }

  .site-footer {
    margin-left: 0;
  }

  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-phone {
    width: 90%;
    max-width: 320px;
    height: 420px;
  }

  .section {
    padding: 44px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-heading {
    font-size: 22px;
  }

  .trending-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reco-list {
    grid-template-columns: 1fr;
  }

  .review-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }

  .review-divider {
    display: none;
  }

  .review-card {
    min-width: 240px;
  }

  .cta-band {
    padding: 28px 20px;
  }

  .cta-copy h2 {
    font-size: 22px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 12px;
  }

  .news-date {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: auto;
  }

  .news-date span {
    font-size: 16px;
  }

  .news-cat {
    font-size: 11px;
    padding: 3px 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }
}

@media screen and (max-width: 520px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .trend-card-cover {
    height: 160px;
  }

  .reco-number {
    font-size: 26px;
    min-width: 40px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  .footer-contact {
    font-size: 12px;
  }
}

/* ===== Focus Accessibility ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== Scrollbar Custom ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* roulang page: category1 */
:root {
  --color-primary: #F43F5E;
  --color-primary-hover: #FF6B81;
  --color-secondary: #F5B31A;
  --color-accent: #8B5CF6;
  --color-bg: #0C0D12;
  --color-surface: #15171E;
  --color-surface-2: #1D2029;
  --color-border: rgba(255,255,255,0.09);
  --color-text: #F2F3F8;
  --color-muted: #9AA2B5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-card-hover: 0 8px 30px rgba(244,63,94,0.15);
  --font-base: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 15px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============ Sidebar Navigation ============ */
.sidebar-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  height: 72px;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 20px rgba(244,63,94,0.3);
}

.brand-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}

.sidebar-nav ul {
  padding: 0;
  flex: 1;
}

.sidebar-nav ul li {
  margin-bottom: 4px;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.sidebar-nav ul li a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.sidebar-nav ul li a:hover {
  color: var(--color-text);
  background: rgba(244,63,94,0.05);
}

.sidebar-nav ul li a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: rgba(244,63,94,0.1);
  font-weight: 600;
}

.nav-badge {
  margin: auto 24px 24px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  text-align: center;
}

/* ============ Main Content Wrapper ============ */
.main-wrapper {
  margin-left: 260px;
  min-height: 100vh;
}

/* ============ Page Hero / Banner ============ */
.page-hero {
  position: relative;
  padding: 80px 40px 60px;
  background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
  background-color: rgba(12,13,18,0.88);
  background-blend-mode: overlay;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 40%, rgba(244,63,94,0.15), transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(139,92,246,0.1), transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #fff 60%, var(--color-primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-hover);
  box-shadow: 0 4px 20px rgba(244,63,94,0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.9);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(244,63,94,0.05);
}

.btn-outline:active {
  transform: scale(0.98);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-secondary), #ffd700);
  color: #1a1a1a;
}

.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 20px rgba(245,179,26,0.35);
  transform: translateY(-2px);
}

.btn-gold:active {
  transform: translateY(0);
}

/* ============ Section / Block Layout ============ */
.section-block {
  padding: 80px 40px;
}

.section-block + .section-block {
  border-top: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 2px;
}

.section-header p {
  color: var(--color-muted);
  font-size: 15px;
  margin-top: 16px;
  max-width: 720px;
}

/* ============ Card Grid (玩法卡片) ============ */
.playcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.play-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.35s ease;
  position: relative;
}

.play-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(244,63,94,0.4);
}

.play-card-cover {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.play-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.play-card:hover .play-card-cover img {
  transform: scale(1.04);
}

.play-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  z-index: 2;
  transition: background 0.3s ease;
}

.play-card:hover .play-card-tag {
  background: var(--color-secondary);
  color: #1a1a1a;
}

.play-card-heat {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.play-card-body {
  padding: 20px 20px 16px;
}

.play-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.play-card-body p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.play-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.play-card-link:hover {
  gap: 10px;
  color: var(--color-primary-hover);
}

/* ============ 图文交错区 ============ */
.alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0;
}

.alt-block + .alt-block {
  margin-top: 64px;
}

.alt-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.alt-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.alt-img:hover img {
  transform: scale(1.03);
}

.alt-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(12,13,18,0.6));
}

.alt-content {
  padding: 20px;
}

.alt-content .step-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.alt-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}

.alt-content p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.alt-content ul {
  margin: 16px 0;
}

.alt-content ul li {
  position: relative;
  padding-left: 20px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

.alt-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ============ 数据统计条 ============ */
.stats-band {
  padding: 48px 40px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-item .stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-secondary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 8px;
}

/* ============ FAQ ============ */
.faq-section {
  padding: 80px 40px;
}

.faq-list {
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(244,63,94,0.3);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  user-select: none;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question .faq-icon {
  font-size: 18px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  width: 24px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
}

/* ============ CTA Band ============ */
.cta-band {
  position: relative;
  padding: 64px 40px;
  background: var(--color-surface);
  border-top: 1px solid rgba(244,63,94,0.2);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(244,63,94,0.12), transparent 60%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-band .btn {
  min-width: 180px;
  justify-content: center;
}

/* ============ 面包屑 ============ */
.breadcrumbs {
  padding: 20px 40px 0;
  font-size: 13px;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-muted);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs .sep {
  color: var(--color-muted);
  opacity: 0.5;
}

.breadcrumbs .current {
  color: var(--color-primary);
  font-weight: 500;
}

/* ============ Footer ============ */
.site-footer {
  background: #08090C;
  border-top: 1px solid rgba(244,63,94,0.2);
  padding: 64px 40px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 4fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}

.footer-brand-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-muted);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 2.2;
}

.footer-contact i {
  color: var(--color-muted);
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-muted);
}

/* ============ 移动端导航 ============ */
.mobile-nav-toggle {
  display: none;
}

.mobile-nav-menu {
  display: none;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .playcard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .alt-block {
    gap: 32px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
    position: fixed;
    z-index: 2000;
  }
  
  .sidebar-nav.open {
    transform: translateX(0);
  }
  
  .main-wrapper {
    margin-left: 0;
  }
  
  .mobile-nav-toggle {
    display: flex;
    position: fixed;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    z-index: 2001;
    cursor: pointer;
  }
  
  .page-hero {
    padding: 80px 20px 40px;
  }
  
  .page-hero h1 {
    font-size: 30px;
  }
  
  .section-block {
    padding: 60px 20px;
  }
  
  .playcard-grid {
    grid-template-columns: 1fr;
  }
  
  .alt-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .alt-block.reversed .alt-img {
    order: -1;
  }
  
  .alt-content h3 {
    font-size: 22px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-band {
    padding: 32px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-band {
    padding: 48px 20px;
  }
  
  .cta-band h2 {
    font-size: 24px;
  }
  
  .faq-section {
    padding: 60px 20px;
  }
  
  .breadcrumbs {
    padding: 16px 20px 0;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .page-hero h1 {
    font-size: 26px;
  }
  
  .page-hero p {
    font-size: 14px;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .play-card-cover {
    height: 180px;
  }
  
  .alt-img img {
    height: 220px;
  }
  
  .stat-item .stat-number {
    font-size: 30px;
  }
  
  .faq-question {
    font-size: 14px;
  }
  
  .footer-bottom {
    margin-top: 32px;
  }
}

/* ============ 移动端顶栏兼容 ============ */
.mobile-nav-toggle i {
  pointer-events: none;
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
  }
}

/* roulang page: article */
/* ========== 设计变量 ========== */
:root {
    --color-primary: #F43F5E;
    --color-primary-hover: #FF6B81;
    --color-secondary: #F5B31A;
    --color-accent: #8B5CF6;
    --color-bg: #0C0D12;
    --color-surface: #15171E;
    --color-surface-2: #1D2029;
    --color-border: rgba(255,255,255,0.09);
    --color-text: #F2F3F8;
    --color-muted: #9AA2B5;
    --radius-small: 8px;
    --radius-card: 14px;
    --radius-hero: 20px;
    --shadow-card: 0 4px 20px rgba(0,0,0,0.35);
    --shadow-hover: 0 8px 30px rgba(244,63,94,0.15);
    --sidebar-width: 260px;
    --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --content-max: 1200px;
    --read-max: 720px;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s ease, border-color .2s, background .2s; }
a:hover { color: var(--color-primary-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ========== 布局 ========== */
.app-layout { display: flex; min-height: 100vh; }

/* ========== 左侧导航 ========== */
.sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.sidebar-brand {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.brand-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 900; color: #fff;
    flex-shrink: 0;
}
.brand-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: .5px;
    white-space: nowrap;
}
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}
.sidebar-nav ul { padding: 0 12px; }
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-small);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    transition: background .2s, color .2s, border-color .2s;
    border-left: 3px solid transparent;
}
.sidebar-nav a i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: var(--color-muted);
    transition: color .2s;
}
.sidebar-nav a:hover {
    color: var(--color-text);
    background: var(--color-surface);
}
.sidebar-nav a:hover i { color: var(--color-primary); }
.sidebar-nav a.active {
    color: var(--color-primary);
    background: rgba(244,63,94,0.12);
    border-left-color: var(--color-primary);
    font-weight: 600;
}
.sidebar-nav a.active i { color: var(--color-primary); }
.sidebar-tip {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
}
.sidebar-tip span {
    display: inline-block;
    font-size: 12px;
    color: var(--color-secondary);
    background: rgba(245,179,26,0.1);
    border: 1px solid rgba(245,179,26,0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    line-height: 1.4;
}
.hamburger {
    display: none;
    width: 40px; height: 40px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-small);
    transition: background .2s;
}
.hamburger:hover { background: var(--color-surface); }

/* ========== 内容区 ========== */
.content-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ========== 文章页 ========== */
.article-wrap {
    padding: 40px 0 72px;
    flex: 1;
}
.breadcrumb {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--color-primary); font-weight: 500; }

.article-header { margin-bottom: 32px; }
.article-header h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--color-text);
    letter-spacing: .3px;
}
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-muted);
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--color-border);
    align-items: center;
}
.article-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-meta .meta-item i { color: var(--color-primary); font-size: 13px; }
.article-meta .cat-tag {
    display: inline-block;
    background: rgba(244,63,94,0.15);
    color: var(--color-primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.article-cover {
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--shadow-card);
    aspect-ratio: 16 / 8;
    background: var(--color-surface);
}
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    max-width: var(--read-max);
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
}
.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--color-text);
    line-height: 1.4;
}
.article-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--color-text);
}
.article-body p {
    margin: 0 0 1.2em;
}
.article-body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-body ul, .article-body ol {
    margin: 0 0 1.2em 1.4em;
    padding: 0;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
    border-left: 4px solid var(--color-primary);
    background: var(--color-surface);
    margin: 24px 0;
    padding: 16px 20px;
    border-radius: var(--radius-small);
    font-size: 15px;
    color: var(--color-muted);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body img {
    border-radius: var(--radius-small);
    margin: 24px auto;
    height: auto;
}
.article-body pre, .article-body code {
    background: var(--color-surface);
    border-radius: 6px;
    font-family: "SF Mono", "Consolas", monospace;
    font-size: 14px;
}
.article-body pre {
    padding: 16px;
    overflow-x: auto;
    border: 1px solid var(--color-border);
}
.article-body code {
    padding: 2px 6px;
    color: var(--color-secondary);
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}
.article-body th, .article-body td {
    border: 1px solid var(--color-border);
    padding: 10px 14px;
    text-align: left;
}
.article-body th {
    background: var(--color-surface);
    font-weight: 600;
}
.article-body figcaption, .article-body .wp-caption-text {
    text-align: center;
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 8px;
}

.article-tags {
    max-width: var(--read-max);
    margin: 32px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.article-tags .tag {
    display: inline-block;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    transition: all .2s;
}
.article-tags .tag:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(244,63,94,0.06);
}

/* ===== 相关推荐 ===== */
.related-section {
    max-width: var(--content-max);
    margin: 64px auto 0;
}
.related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.related-head h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}
.related-more {
    font-size: 13px;
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}
.related-more:hover { color: var(--color-primary); }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-card {
    display: block;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.related-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-hover);
}
.related-card .related-cover {
    height: 120px;
    overflow: hidden;
}
.related-card .related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.related-card:hover .related-cover img { transform: scale(1.03); }
.related-card .related-info { padding: 16px; }
.related-card .related-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card .related-cat {
    display: inline-block;
    font-size: 12px;
    color: var(--color-primary);
    background: rgba(244,63,94,0.12);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.related-card .related-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 500;
}
.related-card .related-link i { font-size: 12px; transition: transform .2s; }
.related-card .related-link:hover i { transform: translateX(4px); }

.back-wrap {
    text-align: center;
    margin-top: 40px;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--color-border);
    border-radius: 30px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(244,63,94,0.06);
}
.btn-outline:active { transform: scale(0.97); }

/* ===== 内容未找到 ===== */
.not-found {
    text-align: center;
    padding: 60px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    margin: 20px 0;
}
.not-found .nf-icon {
    font-size: 48px;
    color: var(--color-muted);
    margin-bottom: 16px;
}
.not-found p {
    font-size: 16px;
    color: var(--color-muted);
    margin-bottom: 20px;
}

/* ========== 页脚 ========== */
.site-footer {
    background: #08090C;
    border-top: 1px solid rgba(244,63,94,0.2);
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 4fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-brand-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 900; color: #fff;
}
.footer-brand-text {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-text);
}
.footer-desc {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 280px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-muted);
    font-size: 14px;
    transition: all .2s;
}
.footer-social a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 13px;
    color: var(--color-muted);
    transition: color .2s;
}
.footer-links a:hover { color: var(--color-primary); }
.footer-contact {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.8;
}
.footer-contact i {
    color: var(--color-secondary);
    margin-right: 6px;
    width: 16px;
    text-align: center;
}
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    :root { --sidebar-width: 240px; }
    .container { padding: 0 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .sidebar {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 64px;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        flex-direction: row;
        align-items: center;
        padding: 0;
    }
    .sidebar-brand {
        height: 64px;
        border-bottom: none;
        padding: 0 16px;
    }
    .hamburger { display: flex; }
    .sidebar-nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--color-surface);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        padding: 0;
    }
    .sidebar-nav.open { max-height: 400px; }
    .sidebar-nav ul { padding: 8px 0; }
    .sidebar-nav a { height: 48px; border-radius: 0; }
    .sidebar-nav a.active { border-left-width: 4px; }
    .sidebar-tip { display: none; }
    .content-area { margin-left: 0; padding-top: 64px; }
    .container { padding: 0 16px; }
    .article-wrap { padding: 24px 0 48px; }
    .article-header h1 { font-size: 26px; }
    .article-meta { gap: 10px; }
    .article-cover { aspect-ratio: 16 / 10; }
    .article-body { font-size: 15px; }
    .related-grid { grid-template-columns: 1fr; }
    .related-card .related-cover { height: 140px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom p { font-size: 12px; }
    .footer-contact { line-height: 1.9; }
}

@media (max-width: 520px) {
    .brand-text { font-size: 16px; }
    .article-header h1 { font-size: 22px; }
    .related-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* roulang page: category2 */
:root {
  --color-primary: #F43F5E;
  --color-primary-hover: #FF6B81;
  --color-secondary: #F5B31A;
  --color-accent: #8B5CF6;
  --color-bg: #0C0D12;
  --color-surface: #15171E;
  --color-surface-2: #1D2029;
  --color-border: rgba(255,255,255,0.09);
  --color-text: #F2F3F8;
  --color-muted: #9AA2B5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.35);
  --shadow-hover: 0 8px 30px rgba(244,63,94,0.15);
  --sidebar-width: 260px;
  --font-sans: "Noto Sans SC","PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ===== 左侧导航 ===== */
.site-nav {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--color-bg);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.nav-brand {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.nav-brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  color: #fff;
}
.nav-brand-text {
  font-size: 19px;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.5px;
}
.sidebar-nav { flex: 1; padding: 24px 0; overflow-y: auto; }
.sidebar-nav ul { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-muted);
  border-left: 4px solid transparent;
  transition: all 0.25s ease;
}
.sidebar-nav a i { width: 22px; text-align: center; font-size: 16px; }
.sidebar-nav a:hover { color: var(--color-text); background: rgba(255,255,255,0.04); }
.sidebar-nav a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  background: rgba(244,63,94,0.08);
  font-weight: 600;
}
.nav-badge {
  padding: 18px 24px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}
.nav-badge span {
  font-size: 12px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.nav-badge i { color: var(--color-secondary); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}

/* ===== 主内容区 ===== */
.main-wrapper { margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }

/* ===== Hero ===== */
.page-hero {
  position: relative;
  padding: 90px 0 80px;
  background-image: url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,13,18,0.7) 0%, rgba(12,13,18,0.88) 65%, var(--color-bg) 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(244,63,94,0.18), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,63,94,0.12);
  border: 1px solid rgba(244,63,94,0.35);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.page-hero h1 {
  font-size: 44px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.page-hero h1 .highlight {
  color: var(--color-primary);
  background: linear-gradient(120deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.4;
  gap: 8px;
}
.btn i { font-size: 14px; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-outline { background: transparent; color: var(--color-text); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }
.btn-secondary { background: var(--color-secondary); color: #12131A; }
.btn-secondary:hover { background: #ffc93d; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,179,26,0.25); }
.btn:focus-visible {
  outline: 3px solid rgba(244,63,94,0.4);
  outline-offset: 2px;
}

/* ===== 板块通用 ===== */
.section-heading {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  position: relative;
}
.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  margin-top: 10px;
}
.section-sub {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 600px;
}

/* ===== 时间线 ===== */
.timeline-section { padding: 64px 0 30px; }
.timeline-list { display: flex; flex-direction: column; }
.timeline-item {
  display: flex;
  gap: 22px;
  padding-bottom: 34px;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 58px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), rgba(244,63,94,0.08));
}
.timeline-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-secondary);
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-card);
}
.timeline-body { padding-top: 2px; }
.timeline-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.timeline-body p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 520px;
}
.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 8px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.timeline-link:hover { color: var(--color-primary-hover); gap: 10px; }

/* ===== 适用场景 ===== */
.scenario-section { padding: 30px 0 50px; }
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scenario-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.scenario-item:hover {
  border-color: rgba(244,63,94,0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.scenario-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(244,63,94,0.1);
  border: 1px solid rgba(244,63,94,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 16px;
}
.scenario-item h3 { font-size: 15px; font-weight: 700; color: var(--color-text); margin-bottom: 4px; }
.scenario-item p { font-size: 13px; color: var(--color-muted); line-height: 1.6; }

/* ===== 侧边栏 ===== */
.side-col { padding-top: 64px; }
.side-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.side-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.side-card h3 i { color: var(--color-primary); font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(244,63,94,0.08);
  border: 1px solid rgba(244,63,94,0.15);
  color: var(--color-muted);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.tag:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}
.side-recommend {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  transition: background 0.2s ease;
  border-radius: 8px;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
}
.side-recommend:last-child { border-bottom: none; }
.side-recommend:hover { background: var(--color-surface-2); }
.side-recommend img {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.side-recommend-info { flex: 1; }
.side-recommend-info span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 2px;
}
.side-recommend-info small {
  font-size: 11px;
  color: var(--color-primary);
}
.side-mini-card {
  border-radius: var(--radius-md);
  padding: 18px;
  background: linear-gradient(135deg, rgba(244,63,94,0.12), rgba(139,92,246,0.08));
  border: 1px solid rgba(244,63,94,0.2);
  margin-top: 8px;
}
.side-mini-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.side-mini-card p { font-size: 12px; color: var(--color-muted); line-height: 1.6; margin-bottom: 12px; }
.side-mini-card .btn { width: 100%; padding: 10px 16px; font-size: 13px; }

/* ===== 底部横向图文块 ===== */
.horizontal-block { padding: 64px 0; border-top: 1px solid var(--color-border); }
.horizontal-inner {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}
.horizontal-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}
.horizontal-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.horizontal-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.horizontal-content h2 span { color: var(--color-secondary); }
.horizontal-content p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 420px;
}

/* ===== FAQ ===== */
.faq-section { padding: 64px 0 40px; }
.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.accordion-item:hover { border-color: rgba(244,63,94,0.2); }
.accordion-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.25s ease;
  user-select: none;
}
.accordion-title:hover { background: var(--color-surface-2); }
.accordion-title::after {
  content: '+';
  font-size: 22px;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.accordion-item.open { border-color: rgba(244,63,94,0.35); }
.accordion-item.open .accordion-title::after { transform: rotate(45deg); }
.accordion-content {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.8;
  display: none;
}
.accordion-item.open .accordion-content { display: block; }

/* ===== CTA带 ===== */
.cta-band {
  padding: 64px 0;
  background:
    radial-gradient(ellipse at left top, rgba(244,63,94,0.16), transparent 55%),
    radial-gradient(ellipse at right bottom, rgba(139,92,246,0.1), transparent 50%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 12px;
}
.cta-inner p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== 页脚 ===== */
.site-footer {
  background: #08090C;
  border-top: 1px solid rgba(244,63,94,0.2);
  padding: 56px 0 24px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 4fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900;
  color: #fff;
}
.footer-brand-text { font-size: 17px; font-weight: 900; color: var(--color-text); }
.footer-desc {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 300px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-muted);
  font-size: 14px;
  transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-2px); }
.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--color-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover { color: var(--color-primary); padding-left: 4px; }
.footer-contact {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 2;
}
.footer-contact i {
  color: var(--color-secondary);
  width: 18px;
  margin-right: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--color-muted);
}

/* ===== 返回顶部 ===== */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(244,63,94,0.35);
  z-index: 90;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.back-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(244,63,94,0.45);
}
.back-to-top:active { transform: translateY(0); }

/* ===== 焦点可见性 ===== */
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(244,63,94,0.4);
  outline-offset: 2px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 0 16px;
  }
  .nav-brand { height: 64px; border-bottom: none; padding: 0; }
  .nav-brand-icon { width: 34px; height: 34px; font-size: 16px; }
  .nav-brand-text { font-size: 16px; }
  .menu-toggle { display: block; }
  .sidebar-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--color-surface);
    display: none;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-bottom: 1px solid var(--color-border);
    z-index: 99;
  }
  .sidebar-nav.open { display: block; }
  .sidebar-nav a { height: 48px; font-size: 15px; }
  .nav-badge { display: none; }
  .main-wrapper { margin-left: 0; padding-top: 64px; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 30px; }
  .hero-sub { font-size: 14px; }
  .hero-buttons .btn { padding: 11px 22px; font-size: 14px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .horizontal-inner { grid-template-columns: 1fr; }
  .horizontal-inner img { min-height: 200px; }
  .horizontal-content { padding: 28px 24px; }
  .horizontal-content h2 { font-size: 22px; }
  .section-heading { font-size: 23px; }
  .timeline-section, .scenario-section, .faq-section { padding: 40px 0 20px; }
  .side-col { padding-top: 30px; }
  .cta-inner h2 { font-size: 24px; }
  .cta-band { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 26px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; }
  .timeline-item { gap: 14px; }
  .timeline-num { width: 44px; height: 44px; font-size: 16px; border-radius: 10px; }
  .timeline-item:not(:last-child)::before { left: 21px; }
  .timeline-body h3 { font-size: 16px; }
  .timeline-body p { font-size: 13px; }
  .scenario-item { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom p { font-size: 11px; }
  .accordion-title { padding: 14px 18px; font-size: 14px; }
  .accordion-content { padding: 0 18px 16px; font-size: 13px; }
}
