/* roulang page: index */
:root {
  --color-primary: #FF7A00;
  --color-secondary: #FFB800;
  --color-accent: #FFC53D;
  --color-bg: #0E0D11;
  --color-card: #1B1920;
  --color-surface: #221F28;
  --color-text: #F7F2E9;
  --color-text-sub: #AFA7A0;
  --color-text-weak: #756E68;
  --color-success: #34D399;
  --color-warning: #FF8A3D;
  --color-line: rgba(255,255,255,0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-hover: 0 14px 40px rgba(0,0,0,0.5);
  --gradient-brand: linear-gradient(135deg, #FF7A00, #FFB800);
  --transition: all 0.3s ease;
  --font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --space-section: 80px;
  --space-section-mobile: 48px;
  --container-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  border-radius: 4px;
}

ul, ol {
  list-style-position: inside;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: var(--space-section) 0;
}

@media (max-width: 640px) {
  .section {
    padding: var(--space-section-mobile) 0;
  }
  .container {
    padding: 0 16px;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.25);
  line-height: 1.4;
  min-height: 44px;
}

.btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 28px rgba(255, 122, 0, 0.35);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 12px rgba(255, 122, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-text);
  box-shadow: none;
}

.btn-secondary:hover {
  background: rgba(255, 184, 0, 0.12);
  color: var(--color-text);
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--color-line);
  color: var(--color-text-sub);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 184, 0, 0.35);
  color: var(--color-text);
  box-shadow: none;
}

/* ---------- NAVIGATION ---------- */
.floating-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: var(--container-width);
  width: calc(100% - 40px);
  border-radius: var(--radius-pill);
  background: rgba(27, 25, 32, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.floating-nav.scrolled {
  background: rgba(27, 25, 32, 0.9);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.floating-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 20px;
  gap: 12px;
}

.floating-nav .brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.floating-nav .brand span {
  color: var(--color-text-sub);
  font-weight: 500;
}

.floating-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.floating-nav .nav-links a {
  position: relative;
  color: var(--color-text-sub);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.floating-nav .nav-links a:hover,
.floating-nav .nav-links a.active {
  color: var(--color-secondary);
}

.floating-nav .nav-links a.active::after,
.floating-nav .nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-secondary);
}

.floating-nav .nav-cta {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(255, 122, 0, 0.25);
}

.floating-nav .nav-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
}

.floating-nav .hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.3rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.floating-nav .hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .floating-nav {
    width: calc(100% - 24px);
    top: 10px;
  }

  .floating-nav .nav-inner {
    padding: 4px 8px 4px 16px;
  }

  .floating-nav .brand {
    font-size: 1rem;
  }

  .floating-nav .brand span {
    display: none;
  }

  .floating-nav .nav-cta {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .floating-nav .hamburger {
    display: flex;
  }

  .floating-nav .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(27, 25, 32, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    gap: 2px;
    display: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .floating-nav.menu-open .nav-links {
    display: flex;
  }

  .floating-nav .nav-links a {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
    color: var(--color-text-sub);
  }

  .floating-nav .nav-links a:hover,
  .floating-nav .nav-links a.active {
    background: rgba(255, 184, 0, 0.08);
    color: var(--color-secondary);
  }

  .floating-nav .nav-links a.active::after,
  .floating-nav .nav-links a:hover::after {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
  background: linear-gradient(135deg, rgba(14, 13, 17, 0.92), rgba(14, 13, 17, 0.6)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero-section h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.hero-section h1 .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-sub);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats .stat-badge {
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  min-width: 100px;
  text-align: center;
}

.hero-stats .stat-badge .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.hero-stats .stat-badge .stat-label {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-visual img {
  width: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-visual .visual-float-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(14, 13, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-visual .visual-float-card .icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: #fff;
}

.hero-visual .visual-float-card .float-text {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

.hero-visual .visual-float-card .float-text small {
  display: block;
  color: var(--color-text-sub);
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .hero-section {
    padding: 120px 0 48px;
    min-height: auto;
  }

  .hero-section h1 {
    font-size: 2.1rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 8px;
  }

  .hero-stats .stat-badge {
    padding: 8px 12px;
    min-width: calc(50% - 4px);
  }

  .hero-visual {
    margin-top: 36px;
  }
}

/* ---------- STATS BAND ---------- */
.stats-band {
  background: var(--color-card);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 36px 0;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.stats-grid .stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
}

.stats-grid .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--color-line);
}

.stats-grid .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stats-grid .stat-value .suffix {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-left: 2px;
}

.stats-grid .stat-label {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .stats-grid {
    gap: 16px;
  }

  .stats-grid .stat-item {
    min-width: calc(50% - 8px);
  }

  .stats-grid .stat-item:not(:last-child)::after {
    display: none;
  }

  .stats-grid .stat-value {
    font-size: 1.5rem;
  }
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 8px;
}

.section-header .section-sub {
  color: var(--color-text-sub);
  font-size: 0.95rem;
  max-width: 500px;
}

.section-header .header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-secondary);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 184, 0, 0.3);
  transition: var(--transition);
  background: transparent;
}

.section-header .header-action:hover {
  background: rgba(255, 184, 0, 0.1);
}

/* ---------- HOW TO PLAY ---------- */
.how-section {
  background: var(--color-bg);
}

.how-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.how-text-col {
  flex: 1;
  min-width: 0;
}

.how-text-col .how-lead {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 24px;
  font-weight: 500;
}

.how-timeline {
  position: relative;
  padding-left: 24px;
  margin-top: 20px;
}

.how-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(255, 184, 0, 0.2));
  border-radius: 2px;
}

.how-step {
  position: relative;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.how-step:hover {
  border-color: rgba(255, 184, 0, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.how-step .step-num {
  position: absolute;
  left: -24px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.3);
  z-index: 1;
}

.how-step .step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 122, 0, 0.12);
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.how-step .step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.how-step .step-desc {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.5;
}

.how-visual-col {
  flex: 0 0 44%;
  position: sticky;
  top: 100px;
}

.how-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.how-visual-card img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.how-visual-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 13, 17, 0.85), rgba(14, 13, 17, 0.2));
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.how-visual-card .overlay-content {
  width: 100%;
}

.how-visual-card .overlay-tag {
  display: inline-block;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.how-visual-card .overlay-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.how-visual-card .overlay-desc {
  font-size: 0.85rem;
  color: var(--color-text-sub);
}

@media (max-width: 1024px) {
  .how-layout {
    flex-direction: column;
    gap: 32px;
  }

  .how-visual-col {
    flex: 1;
    width: 100%;
    position: static;
  }

  .how-visual-card img {
    min-height: 280px;
  }
}

/* ---------- REWARDS ---------- */
.rewards-section {
  background: var(--color-card);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.rewards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.reward-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
}

.reward-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 183, 0, 0.25);
}

.reward-card.reward-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.reward-card .reward-img {
  min-height: 200px;
  overflow: hidden;
}

.reward-card .reward-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.reward-card.reward-card-large .reward-img {
  min-height: 300px;
}

.reward-card .reward-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reward-body .reward-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-brand);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
}

.reward-body .reward-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: rgba(255, 122, 0, 0.12);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.reward-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.reward-body p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
}

.reward-body .reward-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.reward-body .reward-value i {
  font-size: 0.75rem;
}

@media (max-width: 840px) {
  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .reward-card.reward-card-large {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .reward-card.reward-card-large .reward-img {
    min-height: 200px;
  }

  .reward-card .reward-body {
    padding: 22px 24px;
  }
}

/* ---------- TASKS ---------- */
.tasks-section {
  background: linear-gradient(160deg, rgba(14, 13, 17, 0.9), rgba(14, 13, 17, 0.65)), url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
}

.tasks-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.task-list-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
}

.task-list-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.task-list-card h3 i {
  color: var(--color-primary);
}

.task-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.task-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.task-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}

.task-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.task-status {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.task-status.status-doing {
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  background: transparent;
}

.task-status.status-done {
  background: rgba(52, 211, 153, 0.15);
  color: var(--color-success);
  border: 1px solid transparent;
}

.task-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  transition: width 0.6s ease;
}

.progress-fill.fill-done {
  background: var(--color-success);
}

.progress-pct {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  font-variant-numeric: tabular-nums;
  min-width: 38px;
  text-align: right;
}

.daily-panel {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.daily-panel h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.daily-ring {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
}

.daily-ring .ring-svg {
  transform: rotate(-90deg);
}

.daily-ring .ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.daily-ring .ring-value {
  stroke: url(#brandGradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.daily-ring .ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.daily-ring .ring-center strong {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-secondary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.daily-ring .ring-center span {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 4px;
}

.daily-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.daily-stat-item {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 12px 8px;
  border: 1px solid var(--color-line);
}

.daily-stat-item .ds-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.daily-stat-item .ds-label {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

@media (max-width: 800px) {
  .tasks-layout {
    grid-template-columns: 1fr;
  }

  .task-list-card,
  .daily-panel {
    padding: 20px;
  }
}

/* ---------- NEWS SECTION ---------- */
.news-section {
  background: var(--color-bg);
}

.news-grid .news-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.news-grid .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 183, 0, 0.25);
}

.news-grid .news-card .news-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.news-grid .news-card .news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-grid .news-card .news-title a {
  color: inherit;
  transition: var(--transition);
}

.news-grid .news-card .news-title a:hover {
  color: var(--color-secondary);
}

.news-grid .news-card .news-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-grid .news-card .news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
}

.news-grid .news-card .news-date {
  font-size: 0.8rem;
  color: var(--color-text-weak);
  font-variant-numeric: tabular-nums;
}

.news-grid .news-card .news-read {
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.news-grid .news-card .news-read:hover {
  gap: 10px;
  color: var(--color-accent);
}

.empty-state {
  background: var(--color-card);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  color: var(--color-text-sub);
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--color-text-weak);
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .news-grid .news-card {
    padding: 18px 20px;
  }
}

/* ---------- FAQ ---------- */
.faq-section {
  background: var(--color-card);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-line);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-family);
  letter-spacing: 0.01em;
}

.faq-question:hover {
  background: rgba(255, 184, 0, 0.06);
  color: var(--color-secondary);
}

.faq-item.faq-open .faq-question {
  background: rgba(255, 184, 0, 0.06);
  color: var(--color-secondary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--color-text-sub);
}

.faq-item.faq-open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-secondary);
  background: rgba(255, 184, 0, 0.15);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  padding-left: 28px;
}

@media (max-width: 640px) {
  .faq-question {
    padding: 18px 16px;
    font-size: 0.875rem;
  }

  .faq-answer-inner {
    padding: 0 16px 18px;
  }
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(160deg, rgba(14, 13, 17, 0.9), rgba(14, 13, 17, 0.65)), url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.cta-inner .cta-desc {
  font-size: 1rem;
  color: var(--color-text-sub);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-section {
    padding: 64px 0;
  }

  .cta-inner h2 {
    font-size: 1.7rem;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0B0A0E;
  border-top: 1px solid var(--color-line);
  padding-top: 64px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: inline-block;
  letter-spacing: -0.01em;
}

.footer-brand .footer-logo span {
  color: var(--color-text-sub);
  font-weight: 500;
}

.footer-brand .footer-desc {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-brand .site-domain {
  font-size: 0.8rem;
  color: var(--color-text-weak);
  letter-spacing: 0.04em;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-line);
  padding: 20px 0;
  font-size: 0.8rem;
  color: var(--color-text-weak);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- MISC ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-card);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--color-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-surface);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

/* ---------- FOUNDATION OVERRIDES ---------- */
.row {
  max-width: var(--container-width);
  margin: 0 auto;
}

.columns {
  padding-left: 12px;
  padding-right: 12px;
}

body {
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--color-text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

a {
  color: var(--color-secondary);
}

input, textarea, select {
  font-family: var(--font-family);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 520px) {
  body {
    font-size: 0.875rem;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-visual .visual-float-card .float-text {
    font-size: 0.8rem;
  }

  .how-visual-card .card-overlay {
    padding: 18px;
  }

  .cta-buttons .btn {
    min-width: 0;
  }
}

/* roulang page: category1 */
:root {
  --primary: #FF7A00;
  --secondary: #FFB800;
  --accent: #FFC53D;
  --bg: #0E0D11;
  --card-bg: #1B1920;
  --surface: #221F28;
  --text-main: #F7F2E9;
  --text-secondary: #AFA7A0;
  --text-weak: #756E68;
  --success: #34D399;
  --warning: #FF8A3D;
  --border: rgba(255,255,255,0.09);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-hover: 0 14px 40px rgba(0,0,0,0.5);
  --gradient: linear-gradient(135deg, #FF7A00 0%, #FFB800 100%);
  --spacing-section: 80px;
  --spacing-mobile: 48px;
  --font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent); }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }
.tabular { font-variant-numeric: tabular-nums; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: var(--spacing-section) 0; position: relative; }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: rgba(255,184,0,0.1);
  border: 1px solid rgba(255,184,0,0.25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: 4px;
}
.floating-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 1200px;
  width: calc(100% - 32px);
  border-radius: 999px;
  background: rgba(27,25,32,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.floating-nav.scrolled {
  background: rgba(27,25,32,0.92);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 60px;
}
.brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.brand span { font-weight: 400; color: var(--text-secondary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--secondary);
  background: rgba(255,184,0,0.08);
}
.nav-links a.active {
  color: var(--secondary);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
}
.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--gradient);
  padding: 10px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(255,122,0,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,122,0,0.5);
  filter: brightness(1.1);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.3s ease;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hero {
  padding: 160px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-1.png') center/cover no-repeat;
  opacity: 0.35;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,13,17,0.92) 0%, rgba(14,13,17,0.65) 50%, rgba(14,13,17,0.4) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-content { flex: 1; }
.hero-visual { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--secondary);
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 20px;
}
.hero h1 .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: #fff !important;
  box-shadow: 0 6px 24px rgba(255,122,0,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,122,0,0.55);
  filter: brightness(1.08);
}
.btn-outline {
  background: transparent;
  color: var(--text-main) !important;
  border: 2px solid var(--secondary);
}
.btn-outline:hover {
  background: rgba(255,184,0,0.15);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(1px); box-shadow: 0 2px 10px rgba(255,122,0,0.3); }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stat-badge {
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  text-align: center;
  min-width: 100px;
}
.stat-badge .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
  display: block;
}
.stat-badge .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.hero-visual .visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}
/* Guide Intro */
.guide-intro { background: var(--bg); position: relative; }
.guide-intro::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,0.08) 0%, transparent 65%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.intro-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.intro-main {
  flex: 7;
  min-width: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.intro-main h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}
.intro-main p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.intro-main p:last-child { margin-bottom: 0; }
.intro-side {
  flex: 5;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.intro-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.intro-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,183,0,0.25);
}
.intro-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,184,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 16px;
}
.intro-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: var(--text-main); }
.intro-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
/* Steps */
.steps-section { background: var(--bg); position: relative; }
.steps-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,184,0,0.06) 0%, transparent 60%);
  bottom: 0;
  left: -100px;
  pointer-events: none;
}
.steps-wrapper { position: relative; max-width: 800px; margin: 0 auto; }
.step-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  position: relative;
}
.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 80px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,184,0,0.4), rgba(255,184,0,0.05));
}
.step-num {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.step-card {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.step-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }
/* Rewards */
.rewards-section { background: var(--bg); }
.rewards-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.reward-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.reward-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(255,183,0,0.25); }
.reward-card.large { flex: 8; min-width: 0; }
.reward-card.small { flex: 4; min-width: 0; }
.reward-card.pull-right { order: 2; }
.reward-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(255,122,0,0.3);
}
.reward-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-main); margin-bottom: 12px; }
.reward-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; }
.reward-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--secondary);
  background: rgba(255,184,0,0.1);
  border: 1px solid rgba(255,184,0,0.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.reward-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.reward-sub { font-size: 0.85rem; color: var(--text-weak); }
.reward-list { margin-top: 16px; }
.reward-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.reward-list li:last-child { border-bottom: none; }
.reward-list li i { color: var(--success); font-size: 0.75rem; }
/* Tasks */
.tasks-section { background: var(--bg); position: relative; }
.tasks-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,0,0.06) 0%, transparent 60%);
  top: 100px;
  right: -150px;
  pointer-events: none;
}
.tasks-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.tasks-left { flex: 6; min-width: 0; }
.tasks-right { flex: 6; min-width: 0; }
.task-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.task-item:hover { border-color: rgba(255,184,0,0.25); transform: translateY(-2px); }
.task-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.task-label .name { font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.task-label .pct { font-size: 0.85rem; color: var(--secondary); font-variant-numeric: tabular-nums; }
.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.status-badge {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.status-badge.doing { color: var(--secondary); background: rgba(255,184,0,0.12); border: 1px solid rgba(255,184,0,0.25); }
.status-badge.done { color: var(--success); background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.3); }
.tips-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.tips-panel h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; color: var(--text-main); }
.tip-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tip-list li:last-child { border-bottom: none; }
.tip-list li i { color: var(--secondary); margin-top: 4px; font-size: 0.8rem; }
/* Scenarios */
.scenario-section { background: var(--bg); }
.scenario-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.scenario-visual { flex: 5; min-width: 0; }
.scenario-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.scenario-content { flex: 7; min-width: 0; }
.scenario-content h2 { font-size: clamp(1.75rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 20px; color: var(--text-main); }
.scenario-content p { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; }
.scenario-cards { display: flex; flex-wrap: wrap; gap: 16px; }
.scenario-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  flex: 1;
  min-width: 180px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.scenario-card:hover { transform: translateY(-3px); border-color: rgba(255,183,0,0.3); }
.scenario-card .icon { color: var(--secondary); font-size: 1.2rem; margin-bottom: 10px; }
.scenario-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.scenario-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }
/* FAQ */
.faq-section { background: var(--bg); }
.faq-wrapper { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(255,184,0,0.3); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: background 0.3s ease, color 0.3s ease;
}
.faq-question:hover { color: var(--secondary); }
.faq-item.open .faq-question { color: var(--secondary); background: rgba(255,184,0,0.06); }
.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(255,184,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--secondary);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 28px;
}
.faq-item.open .faq-answer { padding: 0 28px 22px; }
.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-left: 3px solid var(--secondary);
  padding-left: 16px;
  opacity: 0.8;
}
.faq-item.open .faq-answer p { opacity: 1; }
/* CTA */
.cta-section {
  background: var(--bg);
  padding: var(--spacing-section) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/backpic/back-2.webp') center/cover no-repeat;
  opacity: 0.25;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,13,17,0.9) 0%, rgba(14,13,17,0.7) 100%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 32px;
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-inner p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
/* Footer */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { flex: 4; min-width: 240px; }
.footer-col { flex: 2; min-width: 140px; }
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  display: inline-block;
  margin-bottom: 14px;
}
.footer-logo span { font-weight: 400; color: var(--text-secondary); }
.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.site-domain {
  font-size: 0.82rem;
  color: var(--text-weak);
  font-family: monospace;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col ul li a:hover { color: var(--secondary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.footer-bottom span { font-size: 0.82rem; color: var(--text-weak); }
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; }
  .hero-visual { margin-top: 24px; }
  .nav-links a { padding: 8px 10px; font-size: 0.82rem; }
  .nav-cta { padding: 10px 16px; font-size: 0.8rem; }
}
@media (max-width: 768px) {
  :root { --spacing-section: 48px; }
  .nav-links {
    position: fixed;
    top: 88px;
    left: 16px;
    right: 16px;
    background: rgba(27,25,32,0.96);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-radius: 12px;
    display: block;
    text-align: center;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: rgba(255,184,0,0.1); }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .brand { font-size: 0.95rem; padding: 0 8px; }
  .hero { padding: 120px 0 48px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-visual img { height: 260px; }
  .intro-main, .intro-card, .step-card, .reward-card, .tips-panel { padding: 24px; }
  .step-item { gap: 16px; }
  .step-num { width: 44px; height: 44px; min-width: 44px; border-radius: 14px; font-size: 1rem; }
  .step-item:not(:last-child)::before { left: 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-inner { padding: 40px 20px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .intro-grid, .tasks-grid, .scenario-grid { gap: 20px; }
  .reward-card.large, .reward-card.small { flex: 100%; }
  .scenario-visual img { height: 220px; }
  .footer-content { flex-direction: column; gap: 32px; }
  .footer-brand, .footer-col { flex: 100%; min-width: 0; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: auto; min-width: 140px; }
  .stat-badge { min-width: 80px; padding: 10px 14px; }
  .step-card { padding: 20px; }
}
@media (max-width: 375px) {
  .stat-badge { min-width: 72px; padding: 8px 10px; }
  .stat-badge .num { font-size: 1.2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .section-header h2 { font-size: 1.4rem; }
  .faq-question { padding: 18px 20px; font-size: 0.9rem; }
  .faq-item.open .faq-answer { padding: 0 20px 18px; }
}

/* roulang page: article */
:root {
  --primary: #FF7A00;
  --primary-light: #FF8A3D;
  --accent: #FFB800;
  --highlight: #FFC53D;
  --bg-dark: #0E0D11;
  --bg-card: #1B1920;
  --bg-panel: #221F28;
  --text-main: #F7F2E9;
  --text-secondary: #AFA7A0;
  --text-weak: #756E68;
  --success: #34D399;
  --warning: #FF8A3D;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(255, 184, 0, 0.25);
  --radius-large: 24px;
  --radius-medium: 16px;
  --radius-small: 8px;
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.5);
  --font-stack: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", sans-serif;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-stack);
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--highlight);
}

button, input, select, textarea {
  font-family: var(--font-stack);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-container {
  max-width: 1200px;
}

section {
  position: relative;
}

.dark-bg {
  background: var(--bg-dark);
}

.card-bg {
  background: var(--bg-card);
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 640px) {
  .section-padding {
    padding: 48px 0;
  }
}

/* ========== 导航 ========== */
.floating-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 24px);
  max-width: 1200px;
  border-radius: 999px;
  background: rgba(27, 25, 32, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.floating-nav.scrolled {
  background: rgba(27, 25, 32, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 24px;
}
.brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.brand span {
  color: var(--text-weak);
  font-weight: 500;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 12px;
}
.nav-links a {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.3s ease, background 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent);
  background: rgba(255, 184, 0, 0.06);
}
.nav-links a.active {
  color: var(--highlight);
  background: rgba(255, 184, 0, 0.08);
}
.nav-links a.active::after {
  width: 18px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 122, 0, 0.45);
  color: #fff;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .nav-links a {
    padding: 7px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 840px) {
  .nav-inner {
    padding: 10px 16px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    margin: 0;
    box-shadow: var(--shadow-card);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
  }
  .nav-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .hamburger {
    display: block;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1rem;
  }
  .nav-cta i {
    display: none;
  }
}

/* ========== 按钮 ========== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  min-height: 44px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 122, 0, 0.5);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: rgba(255, 184, 0, 0.12);
  color: var(--highlight);
  border-color: var(--highlight);
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(1px);
  box-shadow: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========== 文章 Hero ========== */
.article-hero {
  padding: 140px 0 56px;
  background: url('/assets/images/backpic/back-1.png') center top / cover no-repeat;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 13, 17, 0.88) 0%, rgba(14, 13, 17, 0.72) 50%, rgba(14, 13, 17, 0.5) 100%);
}
.article-hero .grid-container {
  position: relative;
  z-index: 2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-weak);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .sep {
  color: var(--text-weak);
}
.breadcrumb .current {
  color: var(--accent);
  font-weight: 600;
}
.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
  max-width: 820px;
  margin-bottom: 16px;
}
.article-hero-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 640px;
}

/* ========== 文章主体 ========== */
.article-main {
  padding: 48px 0 24px;
  position: relative;
  scroll-margin-top: 100px;
}
.article-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 122, 0, 0.14);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.meta-item i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ========== 正文排版 ========== */
.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-main);
}
.article-body p {
  margin-bottom: 1.2em;
}
.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 2em 0 0.9em;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.6em 0 0.7em;
  color: var(--highlight);
}
.article-body h4 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 1.4em 0 0.6em;
}
.article-body ul, .article-body ol {
  margin: 1em 0;
  padding-left: 1.6em;
}
.article-body li {
  margin-bottom: 0.5em;
}
.article-body li::marker {
  color: var(--accent);
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(255, 184, 0, 0.05);
  padding: 18px 22px;
  border-radius: 0 14px 14px 0;
  margin: 1.6em 0;
  color: var(--text-secondary);
  font-style: normal;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}
.article-body img {
  border-radius: 16px;
  margin: 1.6em 0;
  box-shadow: var(--shadow-card);
  width: auto;
  max-width: 100%;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--highlight);
}
.article-body code {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.88em;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.article-body pre {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 20px;
  margin: 1.6em 0;
  overflow-x: auto;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.88rem;
}
.article-body th,
.article-body td {
  border: 1px solid var(--border-subtle);
  padding: 11px 14px;
  text-align: left;
}
.article-body th {
  background: var(--bg-panel);
  color: var(--accent);
  font-weight: 600;
}
.article-body tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 2em 0;
}

/* ========== 内容未找到 ========== */
.not-found {
  text-align: center;
  padding: 48px 24px;
}
.not-found i {
  font-size: 2.4rem;
  color: var(--text-weak);
  margin-bottom: 18px;
}
.not-found h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.not-found p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ========== 亮点速览 ========== */
.insight-section {
  padding: 60px 0;
  scroll-margin-top: 90px;
}
.section-title {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 600px;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  scroll-margin-top: 110px;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}
.insight-card .card-cover {
  height: 150px;
  overflow: hidden;
  position: relative;
}
.insight-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.insight-card:hover .card-cover img {
  transform: scale(1.04);
}
.insight-card .card-body {
  padding: 24px;
}
.insight-card .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.2), rgba(255, 184, 0, 0.2));
  border: 1px solid rgba(255, 184, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 14px;
}
.insight-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.insight-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========== 相关推荐 ========== */
.related-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: 90px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-accent);
}
.related-card .card-cover {
  height: 140px;
  overflow: hidden;
  position: relative;
}
.related-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.related-card:hover .card-cover img {
  transform: scale(1.05);
}
.related-card .card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 13, 17, 0.8);
  border: 1px solid rgba(255, 184, 0, 0.5);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.related-card .card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.related-card:hover .card-title {
  color: var(--accent);
}
.related-card .card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card .card-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease, color 0.3s ease;
}
.related-card .card-link:hover {
  gap: 10px;
  color: var(--highlight);
}

/* ========== FAQ ========== */
.faq-section {
  padding: 70px 0;
  scroll-margin-top: 90px;
}
.faq-list {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 0;
}
.faq-question:hover {
  background: rgba(255, 184, 0, 0.04);
}
.faq-question.open {
  background: rgba(255, 184, 0, 0.06);
  color: var(--accent);
}
.faq-question i {
  font-size: 0.85rem;
  color: var(--text-weak);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.faq-question.open i {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
  padding-left: 0;
}

/* ========== CTA ========== */
.cta-section {
  padding: 80px 0;
  background: url('/assets/images/backpic/back-3.png') center center / cover no-repeat;
  position: relative;
  text-align: center;
  scroll-margin-top: 90px;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 13, 17, 0.9) 0%, rgba(14, 13, 17, 0.75) 60%, rgba(20, 17, 14, 0.65) 100%);
}
.cta-section .grid-container {
  position: relative;
  z-index: 2;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== 页脚 ========== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 24px;
  position: relative;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand .footer-logo span {
  color: var(--text-weak);
  font-weight: 500;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 340px;
}
.site-domain {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-weak);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 4px 12px;
  font-family: "SFMono-Regular", Consolas, monospace;
}
.footer-col h4 {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}
.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span {
  color: var(--text-weak);
  font-size: 0.75rem;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .article-hero {
    padding: 120px 0 40px;
  }
  .article-wrapper {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .insight-section, .related-section, .faq-section {
    padding: 44px 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px;
  }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 375px) {
  .nav-inner {
    padding: 8px 12px;
  }
  .article-title {
    font-size: 1.6rem;
  }
  .breadcrumb {
    font-size: 0.72rem;
  }
}
