/* roulang page: index */
:root {
    --tea-900: #141210;
    --tea-800: #1E3A2F;
    --tea-700: #221D18;
    --tea-600: #2A2216;
    --tea-500: #3A2E22;
    --tea-300: #A89B8C;
    --tea-100: #F5F0E8;
    --gold: #C9A96A;
    --gold-light: #D9BA7A;
    --gold-dark: #B8975A;
    --radius-card: 12px;
    --radius-btn: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif, sans-serif;
    background: var(--tea-900);
    color: var(--tea-100);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
button, input, select, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { scroll-margin-top: 80px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.section-line { width: 40px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head .desc { color: var(--tea-300); max-width: 480px; margin-top: 12px; font-size: 15px; }
.section-head h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; }
@media (max-width: 640px) {
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* 导航 */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 72px;
    background: rgba(20, 18, 16, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(58, 46, 34, 0.6);
}
.site-nav .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    color: var(--tea-100);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    color: var(--tea-300);
    font-size: 15px;
    position: relative;
    padding: 8px 2px;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--tea-100); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--gold);
}
.nav-burger { display: none; }
.nav-burger button {
    background: none;
    border: none;
    color: var(--tea-100);
    cursor: pointer;
    padding: 8px;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0; right: 0;
        background: rgba(20, 18, 16, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 16px;
        border-bottom: 1px solid var(--tea-500);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(58, 46, 34, 0.4); }
    .nav-links a.active::after { display: none; }
    .nav-links a.active { color: var(--gold); }
    .nav-burger { display: block; }
}

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #141210 0%, #1E3A2F 55%, #141210 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/backpic/back-1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(20,18,16,0.2) 0%, rgba(20,18,16,0.9) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 96px 0 72px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(201, 169, 106, 0.4);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.08em;
    background: rgba(20, 18, 16, 0.45);
}
.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 28px 0 20px;
    max-width: 880px;
}
.hero h1 .gold { color: var(--gold); }
.hero-desc {
    font-size: 16px;
    color: var(--tea-300);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 0 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(58, 46, 34, 0.7);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero-meta-value { font-size: 15px; font-weight: 600; color: var(--tea-100); }
.hero-meta-label { font-size: 12px; color: var(--tea-300); letter-spacing: 0.04em; }
.hero-icon-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 48px;
}
.hero-icon-item {
    border: 1px solid rgba(58, 46, 34, 0.6);
    border-radius: var(--radius-card);
    padding: 20px 14px;
    background: rgba(20, 18, 16, 0.55);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.hero-icon-item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    background: rgba(30, 58, 47, 0.5);
}
.hero-icon-item svg { margin: 0 auto 10px; width: 24px; height: 24px; color: var(--gold); }
.hero-icon-item .t { font-size: 15px; font-weight: 600; color: var(--tea-100); }
.hero-icon-item .d { font-size: 12px; color: var(--tea-300); margin-top: 4px; line-height: 1.5; }
@media (max-width: 768px) {
    .hero-icon-matrix { grid-template-columns: repeat(2, 1fr); }
    .hero-meta { flex-direction: column; gap: 12px; }
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.btn-primary { background: var(--gold); color: var(--tea-900); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:active { background: var(--gold-dark); transform: translateY(0); }
.btn-primary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-secondary { background: transparent; border: 1px solid var(--gold); color: var(--tea-100); }
.btn-secondary:hover { background: rgba(201, 169, 106, 0.12); }
.btn-secondary:active { background: rgba(201, 169, 106, 0.2); }
.btn-secondary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-lg { padding: 16px 40px; font-size: 16px; }

/* 指标看板 */
.metrics {
    background: var(--tea-900);
    border-top: 1px solid var(--tea-500);
    border-bottom: 1px solid var(--tea-500);
    padding: 56px 0;
}
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { padding: 8px 24px; border-left: 1px solid var(--tea-500); }
.metric:first-child { border-left: none; }
.metric-top { width: 40px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.metric-value {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--tea-100);
    transition: color 0.3s;
    letter-spacing: -0.02em;
}
.metric:hover .metric-value { color: var(--gold); }
.metric-label { margin-top: 4px; font-size: 13px; color: var(--tea-300); letter-spacing: 0.04em; }
@media (max-width: 1024px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .metric:nth-child(3) { border-left: none; }
    .metric:nth-child(odd) { border-left: none; }
}
@media (max-width: 520px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .metric { padding: 8px 12px; }
}

/* 服务矩阵 */
.services { background: var(--tea-900); padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--tea-700);
    border: 1px solid var(--tea-500);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: block;
    position: relative;
}
.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.service-card-img { height: 200px; position: relative; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34, 29, 24, 0.75) 0%, transparent 100%);
}
.service-card-body { padding: 24px; }
.service-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--tea-300); line-height: 1.7; margin-bottom: 16px; }
.service-more {
    font-size: 13px;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.service-more .arrow { transition: transform 0.3s; }
.service-card:hover .service-more .arrow { transform: translateX(4px); }
.ticket-divider {
    border-top: 1px dashed rgba(201, 169, 106, 0.25);
    margin: 16px 0 12px;
    position: relative;
}
.ticket-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #6B5D4F;
    letter-spacing: 0.04em;
}
.ticket-code .code { color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* 对比区 */
.comparison { background: var(--tea-800); padding: 96px 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { padding: 32px; border-radius: var(--radius-card); }
.compare-left { background: var(--tea-900); }
.compare-right { background: var(--tea-700); border: 1px solid var(--gold); }
.compare-col h3 { font-size: 20px; font-weight: 700; margin: 16px 0 20px; display: flex; align-items: center; gap: 10px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--tea-300);
    border-bottom: 1px solid rgba(58, 46, 34, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}
.compare-col li:last-child { border-bottom: none; }
.compare-col li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}
.compare-right li { color: var(--tea-100); }
.compare-icon { color: var(--gold); width: 22px; height: 22px; }
.compare-link-wrap { text-align: center; margin-top: 48px; }
.compare-link {
    color: var(--gold);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(201, 169, 106, 0.4);
    padding-bottom: 4px;
    transition: border-color 0.3s;
}
.compare-link:hover { border-color: var(--gold); }
@media (max-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr; }
}

/* 三步 */
.steps { background: var(--tea-900); padding: 96px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-item {
    position: relative;
    padding: 32px 24px;
    background: var(--tea-700);
    border: 1px solid var(--tea-500);
    border-radius: var(--radius-card);
    transition: border-color 0.3s, transform 0.3s;
}
.step-item:hover { border-color: rgba(201, 169, 106, 0.4); transform: translateY(-2px); }
.step-num { font-size: 48px; font-weight: 800; color: rgba(201, 169, 106, 0.25); line-height: 1; letter-spacing: -0.02em; }
.step-item h3 { font-size: 18px; font-weight: 600; margin: 16px 0 8px; }
.step-item p { font-size: 14px; color: var(--tea-300); line-height: 1.7; }
@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-section { background: var(--tea-900); padding: 96px 0; }
.faq-grid { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: var(--tea-700);
    border: 1px solid var(--tea-500);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(201, 169, 106, 0.4); }
.faq-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--tea-100);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s;
}
.faq-toggle:hover { color: var(--gold); }
.faq-toggle .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.25s;
    line-height: 1;
}
.faq-item.open .faq-toggle .icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer-inner {
    padding: 16px 24px 20px;
    color: var(--tea-300);
    font-size: 14px;
    line-height: 1.75;
    border-top: 1px solid var(--tea-500);
}
.faq-item.open .faq-answer { max-height: 400px; }

/* CTA 表单 */
.cta-section { background: var(--tea-600); padding: 96px 0; }
.cta-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.cta-info h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.cta-info p { color: var(--tea-300); margin-top: 16px; line-height: 1.75; }
.cta-contact { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.cta-contact span { color: var(--tea-300); font-size: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; gap: 16px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; color: var(--tea-100); }
.form-group input,
.form-group select,
.form-group textarea {
    background: var(--tea-900);
    border: 1px solid var(--tea-500);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--tea-100);
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #6B5D4F; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.15);
}
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form-error { border-color: #E35D5D !important; }
.form-success { border-color: #4CAF7D !important; }
.submit-wrap { display: flex; justify-content: flex-end; }
.form-success-msg {
    display: none;
    background: rgba(76, 175, 125, 0.12);
    border: 1px solid rgba(76, 175, 125, 0.5);
    border-radius: 8px;
    color: #6FC79A;
    font-size: 14px;
    padding: 12px 16px;
    margin-bottom: 8px;
}
.form-success-msg.show { display: block; }
@media (max-width: 1024px) {
    .cta-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-row { flex-direction: column; }
}
@media (max-width: 640px) {
    .cta-section { padding: 64px 0; }
    .submit-wrap { width: 100%; }
    .submit-wrap .btn { width: 100%; }
}

/* 资讯 */
.news-section { background: var(--tea-900); padding: 96px 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
    background: var(--tea-700);
    border: 1px solid var(--tea-500);
    border-radius: var(--radius-card);
    padding: 24px;
    display: block;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.news-tag {
    display: inline-block;
    background: rgba(201, 169, 106, 0.15);
    color: var(--gold);
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.news-card h3 { font-size: 17px; font-weight: 600; line-height: 1.45; margin-bottom: 8px; }
.news-card p {
    font-size: 13px;
    color: var(--tea-300);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-date { font-size: 12px; color: #6B5D4F; margin-top: 16px; }
.news-empty {
    text-align: center;
    color: var(--tea-300);
    font-size: 14px;
    padding: 48px 0;
    border: 1px dashed var(--tea-500);
    border-radius: var(--radius-card);
    grid-column: 1 / -1;
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* 页脚 */
.site-footer {
    background: var(--tea-900);
    border-top: 2px solid var(--gold);
    padding: 64px 0 32px;
    text-align: center;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--tea-100);
    letter-spacing: 0.06em;
}
.footer-logo .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.footer-tagline { color: var(--tea-300); font-size: 14px; margin: 16px 0 24px; letter-spacing: 0.02em; }
.footer-links { display: flex; justify-content: center; gap: 32px; margin-bottom: 32px; }
.footer-links a { color: var(--tea-300); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
    color: var(--tea-300);
    font-size: 13px;
    border-top: 1px solid rgba(58, 46, 34, 0.6);
    padding-top: 24px;
}

/* 动画 */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .services, .comparison, .steps, .faq-section, .news-section { padding: 64px 0; }
}

/* roulang page: article */
:root {
  --primary: #1E3A2F;
  --accent: #C9A96A;
  --accent-hover: #D9BA7A;
  --accent-active: #B8975A;
  --bg-dark: #141210;
  --card-bg: #221D18;
  --text-main: #F5F0E8;
  --text-sub: #A89B8C;
  --border: #3A2E22;
  --border-hover: rgba(201, 169, 106, 0.55);
  --radius-card: 12px;
  --radius-btn: 8px;
  --container-w: 1200px;
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Serif SC", serif, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
a:hover {
  color: var(--accent-hover);
}
img {
  max-width: 100%;
  display: block;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.container {
  width: 100%;
  max-width: var(--container-w) !important;
  margin-inline: auto;
  padding-inline: 24px;
}
main {
  flex: 1 0 auto;
}

/* ===== 导航 ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 46, 34, 0.6);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.06em;
}
.nav-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  position: relative;
  color: var(--text-sub);
  font-size: 15px;
  padding: 6px 2px;
  transition: color 0.2s ease;
}
.nav-links a.active {
  color: var(--text-main);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-burger {
  display: none;
}
.nav-burger button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--text-main);
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-burger button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.nav-burger svg {
  display: block;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 22px;
}
.breadcrumb a {
  color: var(--text-sub);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb .sep {
  color: rgba(168, 155, 140, 0.5);
}

/* ===== 文章页头 ===== */
.article-header {
  position: relative;
  padding: 56px 0 44px;
  background:
    linear-gradient(180deg, rgba(30, 58, 47, 0.92), rgba(20, 18, 16, 0.98)),
    url('/assets/images/backpic/back-1.jpg') center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.article-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 880px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cat-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(201, 169, 106, 0.12);
  border: 1px solid rgba(201, 169, 106, 0.35);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.meta-date {
  color: var(--text-sub);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ===== 文章主体 ===== */
.article-main {
  padding: 56px 0 72px;
  background: var(--bg-dark);
}
.article-content {
  max-width: 720px;
  margin: 0 auto;
}
.article-cover {
  width: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
  max-height: 420px;
  margin-bottom: 36px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  margin: 44px 0 16px;
  letter-spacing: -0.01em;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-main);
  margin: 32px 0 12px;
}
.article-content p {
  margin-bottom: 24px;
  color: #E8E0D4;
  line-height: 1.9;
}
.article-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 169, 106, 0.35);
}
.article-content a:hover {
  color: var(--accent-hover);
  border-bottom-color: rgba(201, 169, 106, 0.8);
}
.article-content ul,
.article-content ol {
  margin: 24px 0;
  padding-left: 22px;
}
.article-content ul li,
.article-content ol li {
  margin-bottom: 8px;
  color: #D6CCBF;
  line-height: 1.8;
}
.article-content ul li::marker,
.article-content ol li::marker {
  color: var(--accent);
}
.article-content blockquote {
  border-left: 3px solid var(--accent);
  background: var(--card-bg);
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--text-sub);
  font-style: normal;
  line-height: 1.85;
}
.article-content img {
  width: 100%;
  border-radius: var(--radius-card);
  margin: 32px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.article-content th,
.article-content td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
  color: #D6CCBF;
}
.article-content th {
  background: var(--card-bg);
  color: var(--text-main);
  font-weight: 600;
}
.article-content pre {
  background: #181512;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  overflow-x: auto;
  margin: 28px 0;
  color: #E8E0D4;
  font-size: 14px;
  line-height: 1.7;
}
.article-content code {
  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;
}
.back-home {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
}
.back-home a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  font-size: 14px;
  transition: color 0.2s ease;
}
.back-home a:hover {
  color: var(--accent);
}
.not-found {
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 24px;
  text-align: center;
}
.not-found .nf-code {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.not-found p {
  color: var(--text-sub);
  margin-bottom: 24px;
}
.not-found a {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  color: var(--text-main);
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.not-found a:hover {
  background: rgba(201, 169, 106, 0.12);
}
/* ===== 相关推荐 ===== */
.related-section {
  background: #181512;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}
.section-title .gold-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 14px;
  border-radius: 2px;
}
.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  color: var(--text-main);
}
.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.related-card:hover img {
  transform: scale(1.04);
}
.rel-img-wrap {
  overflow: hidden;
}
.related-card .card-body {
  padding: 20px 24px 24px;
}
.related-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.related-card p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--primary);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-inner h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cta-inner p {
  color: var(--text-sub);
  margin-top: 6px;
  font-size: 15px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 34px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(201, 169, 106, 0.25);
}
.btn-primary:active {
  background: var(--accent-active);
  transform: translateY(0);
  box-shadow: none;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--bg-dark);
  padding: 56px 0 40px;
  border-top: 1px solid var(--accent);
  text-align: center;
  flex-shrink: 0;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.footer-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-tagline {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.footer-links a {
  color: var(--text-sub);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-copy {
  color: #6B5D4F;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    gap: 28px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-inline: 16px !important;
  }
  .site-nav .container {
    height: 64px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(20, 18, 16, 0.97);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 14px 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(58, 46, 34, 0.55);
    color: var(--text-sub);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-links a.active {
    color: var(--accent);
  }
  .nav-links a.active::after {
    display: none;
  }
  .nav-burger {
    display: block;
  }
  .article-header {
    padding: 36px 0 32px;
  }
  .article-header h1 {
    font-size: 26px;
    line-height: 1.35;
  }
  .article-main {
    padding: 36px 0 48px;
  }
  .article-cover {
    margin-bottom: 28px;
    border-radius: 10px;
  }
  .article-content h2 {
    font-size: 22px;
  }
  .article-content h3 {
    font-size: 18px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .cta-section {
    padding: 40px 0;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 22px;
  }
  .btn-primary {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .nav-logo {
    font-size: 15px;
    gap: 8px;
  }
  .nav-logo .dot {
    width: 7px;
    height: 7px;
  }
  .article-header h1 {
    font-size: 23px;
  }
  .section-title h2 {
    font-size: 24px;
  }
  .cta-inner h2 {
    font-size: 23px;
  }
  .related-card img {
    height: 140px;
  }
}
