/* roulang page: index */
:root {
    --bg-night: #0B0D10;
    --bg-panel: #14181F;
    --bg-input: #1B2028;
    --gold: #F5B744;
    --gold-dark: #D97706;
    --cyan: #2DD4BF;
    --text-primary: #EDEDED;
    --text-secondary: #8B93A1;
    --text-muted: #565E6D;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);
    --success: #34D399;
    --warning: #F87171;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 0 24px rgba(245, 183, 68, 0.15);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background-color: var(--bg-night);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }

  .container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  @media (max-width: 767px) {
    .container-custom {
      padding-left: 20px;
      padding-right: 20px;
    }
  }

  /* ========== 导航 ========== */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 22px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
  }

  .site-header.scrolled {
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  .nav-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
  }

  .nav-logo .logo-gold {
    color: var(--gold);
  }

  .nav-logo .logo-white {
    color: #fff;
  }

  .nav-link {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 2px;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .nav-link:hover {
    color: #fff;
  }

  .nav-link.active {
    color: #fff;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(245, 183, 68, 0.4);
  }

  .btn-nav {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(245, 183, 68, 0.4);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .btn-nav:hover {
    background: rgba(245, 183, 68, 0.1);
    box-shadow: 0 0 20px rgba(245, 183, 68, 0.15);
    color: var(--gold);
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #EDEDED;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(11, 13, 16, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu a {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color 0.2s;
  }

  .mobile-menu a:hover {
    color: var(--gold);
  }

  .mobile-menu .mobile-cta {
    margin-top: 16px;
    font-size: 18px;
    color: var(--gold);
    border: 1px solid rgba(245, 183, 68, 0.4);
    border-radius: 999px;
    padding: 10px 36px;
  }

  /* ========== Hero ========== */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: linear-gradient(90deg, rgba(11, 13, 16, 0.85) 0%, rgba(11, 13, 16, 0.55) 55%, rgba(11, 13, 16, 0.35) 100%),
      url('/assets/images/backpic/back-1.webp');
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg-night));
    pointer-events: none;
  }

  .hero-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 183, 68, 0.1);
    border: 1px solid rgba(245, 183, 68, 0.3);
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
  }

  .hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(245, 183, 68, 0.6);
  }

  .hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.02em;
  }

  .hero h1 .highlight {
    color: var(--gold);
    position: relative;
  }

  .hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
  }

  .btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold);
    color: #1A1A1A;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(245, 183, 68, 0.2);
  }

  .btn-primary:hover {
    background: #EAA83A;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 183, 68, 0.3);
  }

  .btn-primary:active {
    transform: translateY(0px);
  }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(245, 183, 68, 0.1);
  }

  .btn-secondary:active {
    background: rgba(245, 183, 68, 0.15);
  }

  /* ========== 数据指标条 ========== */
  .stats-section {
    background: var(--bg-panel);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 48px 0;
    position: relative;
    z-index: 3;
  }

  .stat-item {
    text-align: center;
    padding: 8px 16px;
    position: relative;
  }

  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
  }

  @media (max-width: 767px) {
    .stat-item:nth-child(2)::after {
      display: none;
    }
    .stat-item:nth-child(3)::after {
      display: none;
    }
  }

  .stat-num {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
  }

  .stat-num span {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin-left: 2px;
  }

  .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
    font-weight: 500;
  }

  /* ========== 通用 section ========== */
  .section {
    padding: 100px 0;
  }

  @media (max-width: 767px) {
    .section {
      padding: 64px 0;
    }
  }

  .section-header {
    margin-bottom: 56px;
  }

  .section-header.center {
    text-align: center;
  }

  .section-header .eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: inline-block;
  }

  .section-header h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
  }

  .section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
  }

  .section-header.center p {
    margin-left: auto;
    margin-right: auto;
  }

  /* ========== 玩法介绍 ========== */
  .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
  }

  .feature-row.reversed .feature-img {
    order: 2;
  }

  .feature-row.reversed .feature-content {
    order: 1;
  }

  .feature-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--bg-panel);
    aspect-ratio: 4/3;
  }

  .feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .feature-img:hover img {
    transform: scale(1.03);
  }

  .feature-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }

  .feature-num::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
  }

  .feature-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .feature-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 400px;
  }

  @media (max-width: 1023px) {
    .feature-row {
      grid-template-columns: 1fr;
      gap: 32px;
      margin-bottom: 56px;
    }
    .feature-row.reversed .feature-img {
      order: 1;
    }
    .feature-row.reversed .feature-content {
      order: 2;
    }
  }

  /* ========== 奖励预览 ========== */
  .rewards-section {
    background: linear-gradient(180deg, var(--bg-night) 0%, rgba(20, 24, 31, 0.5) 50%, var(--bg-night) 100%);
    padding: 100px 0;
  }

  @media (max-width: 767px) {
    .rewards-section {
      padding: 64px 0;
    }
  }

  .reward-card {
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
  }

  .reward-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
    transition: opacity 0.25s ease;
  }

  .reward-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 183, 68, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(245, 183, 68, 0.08);
  }

  .reward-card:hover::before {
    opacity: 1;
  }

  .reward-icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
  }

  .reward-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
  }

  .reward-condition {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .rarity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
  }

  .rarity.gold {
    color: var(--gold);
    background: rgba(245, 183, 68, 0.1);
    border: 1px solid rgba(245, 183, 68, 0.3);
  }

  .rarity.cyan {
    color: var(--cyan);
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid rgba(45, 212, 191, 0.25);
  }

  .rarity.silver {
    color: #C0C4CC;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* ========== 任务进度 ========== */
  .missions-section {
    padding: 100px 0;
    position: relative;
  }

  @media (max-width: 767px) {
    .missions-section {
      padding: 64px 0;
    }
  }

  .mission-list {
    max-width: 720px;
    margin: 0 auto;
  }

  .mission-item {
    background: var(--bg-panel);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }

  .mission-item:hover {
    border-color: rgba(245, 183, 68, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }

  .mission-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .mission-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }

  .mission-status {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
  }

  .mission-status.success {
    color: var(--success);
    background: rgba(52, 211, 153, 0.1);
  }

  .mission-status.progress {
    color: var(--gold);
    background: rgba(245, 183, 68, 0.1);
  }

  .mission-status.locked {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
  }

  .progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
  }

  .progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    box-shadow: 0 0 8px rgba(245, 183, 68, 0.3);
    transition: width 0.6s ease;
  }

  .progress-fill.cyan {
    background: linear-gradient(90deg, #0F766E, var(--cyan));
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
  }

  .mission-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mission-reward {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mission-reward .reward-val {
    color: var(--gold);
    font-weight: 600;
  }

  /* ========== CMS 内容列表 ========== */
  .latest-section {
    background: linear-gradient(0deg, rgba(20, 24, 31, 0.3) 0%, transparent 100%);
    padding: 100px 0;
  }

  @media (max-width: 767px) {
    .latest-section {
      padding: 64px 0;
    }
  }

  .content-card {
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
  }

  .content-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 183, 68, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(245, 183, 68, 0.05);
  }

  .content-card:hover::after {
    opacity: 1;
  }

  .card-tags {
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
    color: var(--gold);
    background: rgba(245, 183, 68, 0.1);
    border: 1px solid rgba(245, 183, 68, 0.2);
  }

  .badge.cyan {
    color: var(--cyan);
    background: rgba(45, 212, 191, 0.08);
    border-color: rgba(45, 212, 191, 0.2);
  }

  .content-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
  }

  .content-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    flex-grow: 1;
  }

  .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-top: auto;
  }

  .card-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
  }

  .read-more:hover {
    gap: 8px;
  }

  .empty-state {
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted);
  }

  .empty-state .empty-icon {
    font-size: 40px;
    margin-bottom: 16px;
    opacity: 0.5;
  }

  .empty-state p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* ========== FAQ ========== */
  .faq-section {
    padding: 100px 0;
  }

  @media (max-width: 767px) {
    .faq-section {
      padding: 64px 0;
    }
  }

  .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    transition: border-color 0.2s ease;
  }

  .faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .faq-item.open {
    border-bottom-color: rgba(245, 183, 68, 0.3);
  }

  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s ease;
    line-height: 1.4;
  }

  .faq-question:hover {
    color: var(--gold);
  }

  .faq-icon {
    font-size: 22px;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.2s ease;
    display: inline-block;
    width: 24px;
    text-align: center;
    line-height: 1;
  }

  .faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--gold);
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding-left: 0;
  }

  .faq-item.open .faq-answer {
    max-height: 300px;
    padding-top: 12px;
  }

  .faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 480px;
  }

  /* ========== CTA ========== */
  .cta-section {
    padding: 100px 0;
    position: relative;
    background-image: linear-gradient(rgba(11, 13, 16, 0.8), rgba(11, 13, 16, 0.92)),
      url('/assets/images/backpic/back-2.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
  }

  @media (max-width: 767px) {
    .cta-section {
      padding: 64px 0;
    }
  }

  .cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .cta-section p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: #1A1A1A;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 44px;
    border-radius: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 30px rgba(245, 183, 68, 0.25);
  }

  .btn-primary-large:hover {
    background: #EAA83A;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(245, 183, 68, 0.35);
  }

  .btn-primary-large:active {
    transform: translateY(0);
  }

  /* ========== 页脚 ========== */
  .site-footer {
    background: #090B0E;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }

  @media (max-width: 1023px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 767px) {
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  .footer-brand .nav-logo {
    margin-bottom: 16px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 260px;
  }

  .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    transition: all 0.2s ease;
  }

  .footer-social a:hover {
    color: var(--gold);
    border-color: rgba(245, 183, 68, 0.3);
    background: rgba(245, 183, 68, 0.08);
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
  }

  .footer-col ul {
    list-style: none;
  }

  .footer-col li {
    margin-bottom: 10px;
  }

  .footer-col li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
  }

  .footer-col li a:hover {
    color: var(--gold);
  }

  .footer-col li span {
    font-size: 14px;
    color: var(--text-muted);
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* ========== 响应式 ========== */
  @media (max-width: 1023px) {
    .hero h1 {
      font-size: 40px;
    }
    .stat-num {
      font-size: 32px;
    }
    .feature-row {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .section-header h2 {
      font-size: 28px;
    }
  }

  @media (max-width: 767px) {
    .hero {
      background-image: linear-gradient(rgba(11, 13, 16, 0.8), rgba(11, 13, 16, 0.95)),
        url('/assets/images/backpic/back-1.webp');
      background-position: center;
    }
    .hero h1 {
      font-size: 32px;
      line-height: 1.2;
    }
    .hero-sub {
      font-size: 16px;
    }
    .btn-group {
      flex-direction: column;
      width: 100%;
    }
    .btn-group .btn-primary,
    .btn-group .btn-secondary {
      width: 100%;
    }
    .stat-num {
      font-size: 28px;
    }
    .stat-label {
      font-size: 13px;
    }
    .section-header h2 {
      font-size: 26px;
    }
    .reward-card {
      padding: 20px 16px;
    }
    .cta-section h2 {
      font-size: 28px;
    }
  }

  /* ========== 辅助 ========== */
  .divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    max-width: 1280px;
    margin: 0 auto;
  }

  .focus-visible:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
  }

/* roulang page: category1 */
:root {
            --bg: #0B0D10;
            --panel: #12161C;
            --panel-light: #1B2028;
            --gold: #F5B744;
            --gold-dark: #D97706;
            --teal: #2DD4BF;
            --text: #EDEDED;
            --text-secondary: #8B93A1;
            --text-muted: #565E6D;
            --border: rgba(255, 255, 255, 0.08);
            --radius-large: 16px;
            --radius-medium: 12px;
            --radius-small: 8px;
            --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
            --shadow-gold: 0 0 24px rgba(245, 183, 68, 0.15);
            --transition: all 0.25s ease;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.8;
            -webkit-font-smoothing: antialiased;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            display: block;
        }
        button {
            cursor: pointer;
            font-family: inherit;
        }
        .container-custom {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 32px;
        }
        @media (max-width: 768px) {
            .container-custom {
                padding: 0 20px;
            }
        }
        @media (max-width: 520px) {
            .container-custom {
                padding: 0 16px;
            }
        }

        /* Header */
        .site-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
            border-bottom: 1px solid transparent;
            background: transparent;
        }
        .site-header.scrolled {
            background: rgba(11, 13, 16, 0.85);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }
        .nav-logo {
            font-size: 24px;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: 0;
            display: inline-flex;
            align-items: center;
        }
        .logo-gold {
            color: var(--gold);
        }
        .logo-white {
            color: var(--text);
        }
        .nav-link {
            font-size: 14px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s;
            position: relative;
            padding: 6px 0;
            font-weight: 500;
        }
        .nav-link:hover {
            color: var(--text);
        }
        .nav-link.active {
            color: var(--text);
        }
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            border-radius: 3px;
            background: var(--gold);
            box-shadow: 0 0 8px rgba(245, 183, 68, 0.5);
        }
        .nav-cta {
            font-size: 14px;
            color: var(--text);
            text-decoration: none;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 8px;
            padding: 8px 18px;
            transition: var(--transition);
            font-weight: 600;
        }
        .nav-cta:hover {
            border-color: var(--gold);
            color: var(--gold);
            box-shadow: 0 0 16px rgba(245, 183, 68, 0.15);
        }

        /* Mobile menu */
        .mobile-menu-panel {
            background: rgba(11, 13, 16, 0.97);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
        }
        .mobile-menu-panel a {
            font-size: 16px;
            color: var(--text-secondary);
            padding: 12px 0;
            display: block;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            transition: color 0.2s;
        }
        .mobile-menu-panel a:hover {
            color: var(--gold);
        }
        .mobile-menu-panel a.active {
            color: var(--gold);
        }

        /* Buttons */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--gold);
            color: #1A1A1A;
            font-weight: 700;
            font-size: 16px;
            padding: 14px 32px;
            border-radius: 8px;
            border: none;
            transition: var(--transition);
            text-decoration: none;
            line-height: 1.4;
        }
        .btn-primary:hover {
            background: var(--gold-dark);
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(245, 183, 68, 0.25);
        }
        .btn-primary:active {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(245, 183, 68, 0.2);
        }
        .btn-ghost {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: transparent;
            color: var(--text);
            font-weight: 600;
            font-size: 16px;
            padding: 14px 32px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            transition: var(--transition);
            text-decoration: none;
            line-height: 1.4;
        }
        .btn-ghost:hover {
            border-color: var(--gold);
            color: var(--gold);
            background: rgba(245, 183, 68, 0.06);
        }
        .btn-ghost:active {
            background: rgba(245, 183, 68, 0.1);
            transform: scale(0.98);
        }

        /* Hero */
        .category-hero {
            position: relative;
            min-height: 70vh;
            display: flex;
            align-items: center;
            background-size: cover;
            background-position: center;
            padding: 140px 0 80px;
        }
        .category-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(11, 13, 16, 0.82) 0%, rgba(11, 13, 16, 0.6) 50%, rgba(11, 13, 16, 0.35) 100%);
        }
        .category-hero::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 120px;
            background: linear-gradient(to bottom, transparent, var(--bg));
        }
        .category-hero>* {
            position: relative;
            z-index: 2;
        }

        /* Cards */
        .game-card {
            background: var(--panel);
            border-radius: var(--radius-large);
            overflow: hidden;
            border: 1px solid transparent;
            transition: var(--transition);
            height: 100%;
        }
        .game-card:hover {
            transform: translateY(-4px);
            border-color: rgba(245, 183, 68, 0.4);
            box-shadow: var(--shadow-gold);
        }
        .game-card .card-image {
            aspect-ratio: 16/10;
            overflow: hidden;
            position: relative;
        }
        .game-card .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .game-card:hover .card-image img {
            transform: scale(1.04);
        }

        /* Tag pill */
        .tag-pill {
            display: inline-flex;
            align-items: center;
            font-size: 12px;
            font-weight: 600;
            padding: 2px 10px;
            border-radius: 999px;
            letter-spacing: 0;
            line-height: 1.6;
        }
        .tag-hot {
            background: rgba(245, 183, 68, 0.15);
            color: var(--gold);
            border: 1px solid rgba(245, 183, 68, 0.3);
        }
        .tag-new {
            background: rgba(45, 212, 191, 0.12);
            color: var(--teal);
            border: 1px solid rgba(45, 212, 191, 0.3);
        }
        .tag-limit {
            background: rgba(241, 113, 113, 0.12);
            color: #F87171;
            border: 1px solid rgba(241, 113, 113, 0.3);
        }
        .tag-bonus {
            background: rgba(52, 211, 153, 0.12);
            color: #34D399;
            border: 1px solid rgba(52, 211, 153, 0.3);
        }

        /* Stats */
        .stat-item {
            position: relative;
            padding: 20px 0;
            text-align: center;
        }
        .stat-divider {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 1px;
            height: 48px;
            background: rgba(255, 255, 255, 0.08);
        }
        @media (max-width: 768px) {
            .stat-divider:nth-child(2n) {
                display: none;
            }
        }

        /* Feature blocks */
        .feature-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            padding: 80px 0;
        }
        .feature-block.reverse {
            direction: rtl;
        }
        .feature-block.reverse>* {
            direction: ltr;
        }
        @media (max-width: 1024px) {
            .feature-block {
                grid-template-columns: 1fr;
                gap: 32px;
                padding: 56px 0;
            }
            .feature-block.reverse {
                direction: ltr;
            }
        }
        .feature-image {
            border-radius: var(--radius-large);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            position: relative;
        }
        .feature-image::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: var(--radius-large);
            border: 1px solid rgba(255, 255, 255, 0.06);
            pointer-events: none;
        }

        /* CTA strip */
        .cta-strip {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            background: linear-gradient(135deg, rgba(245, 183, 68, 0.12), rgba(245, 183, 68, 0.04));
            border: 1px solid rgba(245, 183, 68, 0.35);
            border-radius: var(--radius-large);
            padding: 28px 40px;
        }
        @media (max-width: 768px) {
            .cta-strip {
                flex-direction: column;
                padding: 24px;
                text-align: center;
            }
        }

        /* FAQ */
        .faq-item {
            border-bottom: 1px solid var(--border);
            transition: border-color 0.3s;
        }
        .faq-item:first-child {
            border-top: 1px solid var(--border);
        }
        .faq-item[open] {
            border-color: rgba(245, 183, 68, 0.3);
        }
        .faq-item summary {
            list-style: none;
            cursor: pointer;
            padding: 20px 40px 20px 0;
            font-size: 16px;
            font-weight: 600;
            color: var(--text);
            position: relative;
            transition: color 0.2s;
            user-select: none;
        }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary:hover {
            color: var(--gold);
        }
        .faq-item summary::after {
            content: '+';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            font-size: 22px;
            font-weight: 400;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 1px solid var(--border);
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .faq-item[open] summary {
            color: var(--gold);
        }
        .faq-item[open] summary::after {
            content: '−';
            border-color: rgba(245, 183, 68, 0.4);
            color: var(--gold);
            box-shadow: 0 0 12px rgba(245, 183, 68, 0.1);
        }
        .faq-answer {
            padding: 0 40px 20px 0;
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.8;
        }

        /* Footer */
        .site-footer {
            background: var(--bg);
            padding-top: 80px;
            border-top: 1px solid var(--border);
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 48px;
            padding-bottom: 48px;
        }
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }
        }
        @media (max-width: 640px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }
        .footer-grid h4 {
            font-size: 14px;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 12px;
            letter-spacing: 0;
        }
        .footer-grid ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .footer-grid ul li {
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text-secondary);
        }
        .footer-grid ul li a {
            color: var(--text-secondary);
            transition: color 0.2s;
        }
        .footer-grid ul li a:hover {
            color: var(--gold);
        }
        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 16px;
        }
        .footer-social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: var(--transition);
        }
        .footer-social a:hover {
            border-color: var(--gold);
            color: var(--gold);
            box-shadow: 0 0 12px rgba(245, 183, 68, 0.2);
        }
        .footer-social svg {
            width: 16px;
            height: 16px;
        }
        .footer-bottom {
            border-top: 1px solid var(--border);
            padding: 20px 0 32px;
            display: flex;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        .footer-bottom p {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
        }

        /* Focus */
        .focus-visible:focus-visible {
            outline: 2px solid var(--gold);
            outline-offset: 2px;
            border-radius: 4px;
        }

        /* Utility */
        .section-padding {
            padding: 80px 0;
        }
        @media (max-width: 768px) {
            .section-padding {
                padding: 56px 0;
            }
        }
        .section-label {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--gold);
            margin-bottom: 8px;
            display: block;
        }
        .section-title {
            font-size: 32px;
            font-weight: 800;
            line-height: 1.3;
            color: var(--text);
            margin-bottom: 16px;
        }
        .section-desc {
            font-size: 16px;
            color: var(--text-secondary);
            line-height: 1.8;
            max-width: 720px;
            margin-bottom: 40px;
        }
        .text-gradient-gold {
            background: linear-gradient(135deg, #F5B744 40%, #D97706 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .divider-line {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border), transparent);
            border: none;
            margin: 0;
        }

        /* Scroll reveal */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* CTA section */
        .cta-banner {
            position: relative;
            padding: 100px 0;
            background-size: cover;
            background-position: center;
            text-align: center;
        }
        .cta-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(11, 13, 16, 0.92), rgba(11, 13, 16, 0.75));
        }
        .cta-banner>* {
            position: relative;
            z-index: 1;
        }

/* roulang page: article */
:root {
  --bg: #0B0D10;
  --panel: #14181F;
  --panel-light: #1B2028;
  --gold: #F5B744;
  --gold-dark: #D97706;
  --neon: #2DD4BF;
  --text: #EDEDED;
  --text-secondary: #8B93A1;
  --text-muted: #565E6D;
  --border: rgba(255,255,255,0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-gold: 0 0 24px rgba(245,183,68,0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #0B0D10;
  background-image: linear-gradient(rgba(11,13,16,0.94), rgba(11,13,16,0.97)), url('/assets/images/backpic/back-2.webp');
  background-size: cover;
  background-position: center;
  color: var(--text);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }
.container-custom { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.focus-visible:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ===== 导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.logo-gold { color: var(--gold); }
.logo-white { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: 8px 2px;
  transition: color .2s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid rgba(245,183,68,0.3);
  border-radius: 8px;
  transition: all .2s;
}
.nav-cta:hover { background: rgba(245,183,68,0.1); border-color: var(--gold); color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all .2s; }
.mobile-menu { display: none; background: var(--bg); border-top: 1px solid var(--border); padding: 16px 0; }
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: 16px;
  color: var(--text-secondary);
  padding: 14px 24px;
  border-left: 2px solid transparent;
}
.mobile-menu a:hover, .mobile-menu a.active { color: #fff; border-left-color: var(--gold); }

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb .current {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

/* ===== 文章主体 ===== */
.article-main { max-width: 780px; margin: 0 auto; }
.article-header { margin-bottom: 40px; }
.article-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  color: #fff;
}
.article-excerpt {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.meta-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(245,183,68,0.12);
  border: 1px solid rgba(245,183,68,0.25);
  color: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* ===== 正文内容 ===== */
.article-content { font-size: 16px; line-height: 1.9; color: #D8DDE5; word-wrap: break-word; }
.article-content p { margin-bottom: 1.5em; }
.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 2em 0 1em;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 1.5em 0 0.8em;
}
.article-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 1.2em 0 0.6em;
}
.article-content img { border-radius: 12px; margin: 2em 0; box-shadow: var(--shadow-card); }
.article-content blockquote {
  background: var(--panel);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 1.5em 0;
  border-radius: 0 12px 12px 0;
  color: var(--text-secondary);
}
.article-content pre {
  background: var(--panel-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  overflow-x: auto;
  margin: 1.5em 0;
  font-size: 14px;
  line-height: 1.7;
}
.article-content code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.article-content pre code { background: none; padding: 0; border-radius: 0; }
.article-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245,183,68,0.4);
  transition: color .2s;
}
.article-content a:hover { color: var(--gold-dark); }
.article-content ul, .article-content ol { margin: 1em 0 1.5em; padding-left: 1.5em; }
.article-content li { margin-bottom: 0.5em; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }

/* ===== 返回链接 ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .2s;
}
.back-link:hover { color: var(--gold); }
.back-link svg { width: 16px; height: 16px; transition: transform .2s; }
.back-link:hover svg { transform: translateX(-4px); }

/* ===== 空态 ===== */
.not-found {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 32px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.15);
}
.not-found-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  opacity: 0.6;
}
.not-found-title { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.not-found-text { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: all .25s ease;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}
.btn-primary { background: var(--gold); color: #1A1A1A; }
.btn-primary:hover { background: #EAA83A; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,183,68,0.25); color: #1A1A1A; }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,183,68,0.06); }

/* ===== 相关推荐 ===== */
.related-section { margin-top: 100px; padding-top: 56px; border-top: 1px solid var(--border); }
.related-title { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 36px; letter-spacing: -0.3px; }
.rel-card {
  background: var(--panel);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: block;
  height: 100%;
}
.rel-card:hover { transform: translateY(-4px); border-color: rgba(245,183,68,0.4); box-shadow: var(--shadow-gold); color: inherit; }
.rel-card-image { aspect-ratio: 16/9; overflow: hidden; position: relative; background: var(--panel-light); }
.rel-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rel-card:hover .rel-card-image img { transform: scale(1.04); }
.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(11,13,16,0.8);
  border: 1px solid rgba(245,183,68,0.3);
  color: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.rel-card-body { padding: 20px; }
.rel-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.rel-card:hover .rel-card-title { color: var(--gold); }
.rel-card-meta { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; justify-content: space-between; }
.rel-card-meta .read-more { color: var(--text-muted); transition: color .2s; }
.rel-card:hover .read-more { color: var(--gold); }

/* ===== 页脚 ===== */
.site-footer { margin-top: 120px; border-top: 1px solid var(--border); background: rgba(11,13,16,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; padding-top: 80px; }
.footer-brand p { margin-top: 16px; color: var(--text-secondary); font-size: 14px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); box-shadow: var(--shadow-gold); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: var(--text-muted); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .related-section { margin-top: 80px; padding-top: 44px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .article-title { font-size: 32px; }
  .article-main { max-width: 100%; }
  .breadcrumb .current { max-width: 180px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 640px) {
  .container-custom { padding: 0 20px; }
  .article-title { font-size: 28px; }
  .article-meta { gap: 12px; }
  .article-content { font-size: 15px; }
  .related-section { margin-top: 64px; }
  .not-found { padding: 64px 24px; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 56px; }
}
