@font-face{
  font-family:"Manrope";
  src:url("/wp-content/themes/complex/assets/fonts/manrope-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display: swap;

  /* ✅ 关键：锁度量，减少替换导致的换行/高度变化 */
  ascent-override: 92%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 102%;
}
:root {
    --color-primary: #036242;
    --color-primary-2: #0a7a58;
    --color-dark: #041412;
    --color-deep: #02100e;
    --color-muted: #8fa7a1;
    --color-text: #e9f4f0;
    --color-card: rgba(8, 35, 30, 0.82);
    --color-border: rgba(255, 255, 255, 0.08);
    --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.45);
    --cta-gold-1: #f8e2a2;
    --cta-gold-2: #f6c453;
    --shadow-soft: 0 15px 40px rgba(0, 0, 0, 0.32);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --glass: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    --gradient-hero: radial-gradient(circle at 20% 20%, rgba(3, 98, 66, 0.36), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(10, 122, 88, 0.35), transparent 38%),
        linear-gradient(145deg, #041412, #02100e 60%, #041412);
    --gradient-card: radial-gradient(circle at 25% 30%, rgba(3, 98, 66, 0.35), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(10, 122, 88, 0.3), transparent 40%),
        linear-gradient(150deg, rgba(4, 20, 18, 0.92), rgba(5, 35, 28, 0.92));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.complex-body {
    margin: 0;
    font-family: 'Manrope', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gradient-hero);
    color: var(--color-text);
    min-height: 100vh;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 16px;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: #f7fffb;
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.28s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0a7a58, #036242);
    color: #f9fffb;
    box-shadow: 0 12px 32px rgba(3, 98, 66, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(3, 98, 66, 0.6);
}

.btn-ghost {
    border: 1px solid var(--color-border);
    color: #f8fffb;
    background: rgba(0, 0, 0, 0.32);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.btn-ghost:hover {
    border-color: rgba(3, 98, 66, 0.65);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

/* Hero right-button (ghost) align with homepage style */
.section-dark .btn-ghost {
    border-color: rgba(3, 98, 66, 0.75);
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.46);
}

.section-dark .btn-ghost:hover {
    border-color: rgba(3, 98, 66, 0.95);
    background: rgba(0, 0, 0, 0.82);
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.54);
}

/* Section divider */
.section-divider {
    width: 100%;
    height: 1px;
    margin: 20px auto 10px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    opacity: 0.75;
}

.btn-block {
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(3, 98, 66, 0.14);
    color: #9be6c4;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: #d7e5e0;
    font-size: 13px;
}

.chip-light {
    background: rgba(3, 98, 66, 0.25);
    color: #b6ffdd;
}

.link-more {
    color: #9be6c4;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.link-more::after {
    content: '→';
    transition: transform 0.2s ease;
}

.link-more:hover::after {
    transform: translateX(3px);
}

/* 顶部导航 - 两行布局 (保留后一套) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(4, 20, 18, 0.65);
    border-bottom: 1px solid var(--color-border);
}

/* 头部：两行布局（Logo+按钮 / 菜单） */
.header-row {
    background: linear-gradient(90deg, #036242, #0a7a58);
}

.header-row--top {
    padding: 10px 0 6px;
}

.header-row--nav {
    padding: 6px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-row__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-row__inner--nav {
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand--logo img {
    height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-buttons--mobile {
    display: none !important;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-size: 200%;
    z-index: 0;
}

.btn-bonus {
    background: linear-gradient(135deg, var(--cta-gold-1), var(--cta-gold-2));
    color: #1a1206;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(246, 196, 83, 0.18), 0 10px 26px rgba(0, 0, 0, 0.35);
}

.btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 52px rgba(246, 196, 83, 0.22), 0 12px 30px rgba(0, 0, 0, 0.42);
}

.pill-btn--outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #f9fffb;
}

.pill-btn--outline:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.pill-btn--solid {
    background: linear-gradient(135deg, #0a7a58, #036242);
    color: #f9fffb;
    box-shadow: 0 12px 32px rgba(3, 98, 66, 0.35);
}

.pill-btn--solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(3, 98, 66, 0.45);
}

/* 渐变描边边框（保留主色基底） */
.pill-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(155, 230, 196, 0.55),
        rgba(3, 98, 66, 0.15),
        rgba(255, 255, 255, 0.12)
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -2;
    opacity: 0.85;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.pill-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    pointer-events: none;
}

.nav-menu {
    flex: 1;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
}

.menu a {
    padding: 10px 12px;
    border-radius: 12px;
    color: #f7fffb;
    transition: all 0.2s ease;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.menu a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.menu-single {
    gap: 18px;
}

.menu-single a {
    color: #f7fffb;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 10px 12px;
    border-radius: 12px;
}

.menu-single a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #e8f3ef;
    display: block;
    border-radius: 99px;
}

/* =========================
   HERO (CLS-safe version)
   - 关键：给右侧卡片区域预留稳定占位
   - 关键：移动端/减少动效时禁用“入场位移”
   ========================= */
/* 英雄区 */
.hero {
  position: relative;
  padding: 92px 0 56px; /* 给 sticky header 留空间 */

  /* fallback：旧浏览器 */
  min-height: clamp(520px, 88vh, 640px);

  /* ✅ 更稳：移动端地址栏变化更不抖 */
  min-height: clamp(520px, 88svh, 640px);

  /* ✅ 新浏览器：更准确（如果支持） */
  /* dvh 会随地址栏变化，但通常比 vh 更一致；若你更追求稳定，可只保留 svh */
  @supports (height: 100dvh) {
    min-height: clamp(520px, 88dvh, 640px);
  }

  overflow: hidden;
  display: block;
}
/* 英雄区 */
.hero {
  position: relative;
  padding: 92px 0 56px; /* 给 sticky header 留空间 */

  /* fallback：旧浏览器 */
  min-height: clamp(520px, 88vh, 640px);

  /* ✅ 更稳：移动端地址栏变化更不抖 */
  min-height: clamp(520px, 88svh, 640px);

  /* ✅ 新浏览器：更准确（如果支持） */
  /* dvh 会随地址栏变化，但通常比 vh 更一致；若你更追求稳定，可只保留 svh */
  @supports (height: 100dvh) {
    min-height: clamp(520px, 88dvh, 640px);
  }

  overflow: hidden;
  display: block;
}

/* LCP 背景图铺满 */
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: saturate(0.92) brightness(0.72) contrast(1.06);
    transform: scale(1.02) translateZ(0);
}

/* 遮罩层 */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(3, 98, 66, 0.22), transparent 44%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.38));
    z-index: 1;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 2;
}

/* ✅ hero grid */
.hero__grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 34px;
    padding: 10px 0;
}

.hero__content {
    max-width: 620px;
}

.hero__content h1 {
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.1;
    margin: 12px 0 16px;
}

.lead {
    max-width: 540px;
    margin-bottom: 22px;
    font-size: 17px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 14px;
    margin-top: 10px;
    min-height: 72px; /* ✅ 防 CLS：metrics 初始/字体加载后都稳定 */
}

.metric__value {
    font-size: 24px;
    font-weight: 700;
}

.metric__label {
    color: var(--color-muted);
    font-size: 14px;
}

/* ✅ CLS 修复核心：右侧容器稳定占位 + 不让内容“加载后位移” */
.hero__card {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    /* 预留与 floating-card 一致的高度，避免首屏字体/脚本加载后撑高/压缩产生 CLS */
    min-height: 320px; /* >= floating-card min-height(300) + padding 余量 */

    /* 隔离布局影响（可选但很有效，减少外层 reflow 传播） */
    contain: layout paint;
}

/* ✅ PC 端不做激进位移（保持稳定） */
@media (min-width: 961px) {
    .hero__card {
        transform: translateY(0) !important;
    }
}

/* 浮动卡片本体（保证“尺寸先稳定”，效果后增强） */
.floating-card {
    position: relative;
    width: min(460px, 100%);
    min-height: 300px;
    padding: 26px;

    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-strong);

    /* 避免任何“入场位移”影响外层（即使你别处加了动画/JS class，也先锁死） */
    transform: translateZ(0);
    will-change: transform;
}

.floating-card__inner {
    position: relative;
    z-index: 2;
}

.floating-pill {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 13px;
    color: #b8e8d2;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-title {
    font-size: 42px;
    font-weight: 700;
    margin: 12px 0 6px;
}

.floating-desc {
    color: #c8dcd5;
    font-size: 16px;
    margin-bottom: 14px;
}

.floating-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(3, 98, 66, 0.3);
    color: #9be6c4;
    font-weight: 700;
}

.floating-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(3, 98, 66, 0.22), transparent 45%);
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(0px);
    opacity: 0.7;
    z-index: 0;
}

.orb-1 {
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(3, 98, 66, 0.45), transparent 60%);
    top: -40px;
    left: -60px;
}

.orb-2 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(10, 122, 88, 0.36), transparent 60%);
    bottom: -80px;
    right: -60px;
}

.orb-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 65%);
    top: 40px;
    right: 70px;
}

/* ✅ 响应式：960/640 下更顺，并且继续保持“占位稳定” */
@media (max-width: 960px) {
    .hero {
        padding: 78px 0 46px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hero__metrics {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .hero__card {
        transform: none !important;
        justify-content: flex-start;
        min-height: 300px; /* 移动端也先锁住右侧区域高度 */
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 56px 0 34px;
    }

    .floating-card {
        width: 100%;
        min-height: 280px;
    }

    .hero__card {
        min-height: 290px; /* 对齐 floating-card(280) + 余量 */
    }
}

/* ✅ 重要：尊重减少动效 + 防止任何“入场位移动画”造成 CLS */
@media (prefers-reduced-motion: reduce) {
    .hero__bg,
    .hero__glow,
    .floating-card {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}


/* Section */
.section {
    padding: 40px 0;
}

.section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 12px;
}

.section-glass {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-dark {
    background: linear-gradient(180deg, rgba(4, 20, 18, 0.8), rgba(2, 16, 14, 0.9));
}

.section-cta {
    background: radial-gradient(circle at 30% 50%, rgba(3, 98, 66, 0.22), transparent 45%),
        radial-gradient(circle at 80% 40%, rgba(10, 122, 88, 0.2), transparent 40%);
    padding-bottom: 80px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.feature-card {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    padding: 18px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(3, 98, 66, 0.22), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-card h3 {
    margin-bottom: 6px;
}

.feature-card p {
    margin-bottom: 12px;
}

/* Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 14px;
}

.post-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 220px;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(3, 98, 66, 0.6);
    box-shadow: var(--shadow-soft);
}

.post-card__link {
    display: block;
    padding: 16px;
    height: 100%;
}

.post-card__meta {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.post-card__title {
    font-size: 18px;
    margin: 0 0 10px;
}

.post-card__excerpt {
    margin: 0 0 12px;
}

.post-card__footer {
    color: #9be6c4;
    font-weight: 700;
}

.no-posts {
    color: var(--color-muted);
}

/* Page content */
.page-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.page-content img {
    max-width: 100%;
    border-radius: 10px;
}

body.single .single-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 14px;
    padding-top: 24px;
    padding-bottom: 24px;
}

body.single .single-wrap .container {
    max-width: 1080px;
    margin: 0 auto;
    padding-left: 14px;
    padding-right: 14px;
}

.post-meta {
    margin-top: 18px;
    color: var(--color-muted);
}

/* 单篇文章头部强化 */
body.single .single-hero {
    display: block;
    text-align: center;
    max-width: 960px;
    margin: 0 auto 64px;
    padding: 0 14px;
    padding-bottom: 12px;
}

body.single .single-hero > div {
    text-align: center;
    margin: 0 auto;
    display: inline-block;
    max-width: 100%;
}

body.single .single-hero__title {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.25;
    margin: 6px 0 0;
    letter-spacing: 0.01em;
}

body.single .single-hero__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cfe5df;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

body.single .post-meta__divider {
    opacity: 0.7;
}

body.single .post-meta__item time {
    color: #f7fffb;
}

body.single .page-content {
    margin-top: 64px;
    margin-bottom: 96px;
    padding: 36px 30px;
    border-radius: var(--radius-lg);
}

.single-nav {
    margin-top: 120px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 8px;
}

.single-nav__grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
}

.post-card--nav .post-card__link {
    padding: 0;
}

.post-card--nav .post-card__thumb {
    height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
}

.post-card--nav .post-card__meta,
.post-card--nav .post-card__title,
.post-card--nav .post-card__excerpt,
.post-card--nav .post-card__footer {
    padding: 0 16px;
}

.post-card--nav .post-card__meta {
    margin-top: 12px;
}

.post-card__label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.post-card--nav .post-card__excerpt {
    margin-bottom: 12px;
}

.single-nav__footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.single-nav__link--prev,
.single-nav__link--next {
    flex: 1;
    min-width: 220px;
}

.single-nav__link--next {
    text-align: right;
}

.single-nav__footer .link-more {
    color: #9be6c4;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-nav__footer .link-more:hover {
    color: #ffffff;
}

@media (max-width: 640px) {
    body.single .single-hero__title {
        font-size: clamp(24px, 6vw, 30px);
    }
    .single-nav__grid {
        grid-template-columns: 1fr;
    }
    .single-nav__link--next {
        text-align: left;
    }
}

/* CTA */
.cta-card {
    background: linear-gradient(120deg, rgba(3, 98, 66, 0.8), rgba(4, 20, 18, 0.95));
    padding: 24px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    /* Stack hero CTA buttons on mobile with spacing */
    .section-dark .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
    .section-dark .cta-actions .btn {
        width: 100%;
        margin: 0;
    }
    .section-dark .cta-actions .btn + .btn {
        margin-top: 6px;
    }
}

/* Footer */
.site-footer {
    background: rgba(2, 16, 14, 0.9);
    border-top: 1px solid var(--color-border);
    padding: 32px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 20px;
    align-items: flex-start;
    justify-items: stretch;
}

.footer-brand {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 6px;
}

.footer-brand-logo {
    margin-bottom: 10px;
}

.footer-brand-logo img {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.footer-cert {
    margin-top: 12px;
}

.footer-cert img {
    height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-desc {
    margin: 0 0 8px;
}

.footer-meta {
    color: #9be6c4;
    font-size: 13px;
}

.footer-links .menu {
    flex-direction: column;
    gap: 10px;
}

.footer-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    margin-top: 10px;
}

.mini-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(3, 98, 66, 0.25);
    color: #b8e8d2;
    font-size: 12px;
    margin-bottom: 8px;
}

.footer-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 44px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    margin-top: 14px;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 14px;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-badges {
    color: #b8e8d2;
}

/* Footer menu ordered */
.footer-links {
    text-align: left;
    align-self: flex-start;
    justify-self: center;
    margin-top: 8px;
    width: auto;
    max-width: 260px;
}

.menu-footer--bullets {
    list-style: disc;
    list-style-position: inside;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    width: auto;
}

.menu-footer--bullets > li {
    position: relative;
    padding-left: 0;
    text-align: left;
}

.menu-footer--bullets > li::before {
    content: none;
}

.menu-footer--bullets a {
    color: #f7fffb;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.03em;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 14px 16px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 28px 0 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .footer-links,
    .footer-cta,
    .footer-card {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.promo-strip {
    padding: 20px 0;
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(3, 98, 66, 0.72), rgba(2, 16, 14, 0.92));
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-strong);
}

/* 文章卡片缩略图 */
.post-card--has-thumb .post-card__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-card__thumb {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.post-card--has-thumb .post-card__thumb {
    height: 140px;
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

/* 品牌介绍 */
.brand-intro {
    padding: 28px 0;
}

.brand-intro__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    align-items: center;
}

.brand-intro__content h2 {
    margin: 10px 0 14px;
}

.brand-intro__list {
    list-style: disc;
    padding-left: 18px;
    color: var(--color-muted);
    margin: 12px 0 18px;
    line-height: 1.6;
}

.brand-intro__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.brand-intro__media {
    position: relative;
}

.brand-intro__image {
    width: 100%;
    min-height: 240px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-soft);
}

.brand-intro__image--placeholder {
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(3, 98, 66, 0.28), transparent 55%),
        linear-gradient(135deg, rgba(2, 16, 14, 0.9), rgba(4, 26, 22, 0.85));
}

.brand-intro__caption {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 13px;
}

.brand-block {
    margin-bottom: 24px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 14px;
}

.brand-block h3 {
    margin: 0 0 10px;
    text-align: center;
}

.brand-block p,
.brand-block ul {
    color: var(--color-muted);
    line-height: 1.7;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
}

.brand-block ul {
    padding-left: 18px;
}

.brand-block__image {
    width: 100%;
    max-width: 620px;
    aspect-ratio: 16 / 9;
    min-height: 0;
    margin: 10px auto 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.brand-block__image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .brand-block__image {
        max-width: 100%;
    }
    .btn-primary:hover,
    .btn-bonus:hover,
    .pill-btn--outline:hover,
    .pill-btn--solid:hover {
        transform: none;
    }
}

/* Brand intro layout adjustments */
.bybet-brand .section__header,
.bybet-brand .section-block {
    max-width: 980px;
    margin: 0 auto 24px;
    padding: 0 14px;
}

/* Brand intro header: stack elements, center titles */
.bybet-brand .section__header {
    display: block;
    text-align: left;
    margin: 0 auto 18px;
    max-width: 980px;
    padding: 0 14px;
}

.bybet-brand a {
    color: #b6ffdd;
    font-weight: 700;
}

.bybet-brand a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.bybet-brand .section__header p {
    text-align: left;
    margin-top: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
    color: var(--color-muted);
    line-height: 1.7;
}

.bybet-brand h2,
.bybet-brand h3 {
    text-align: center;
}

.bybet-brand p,
.bybet-brand ul {
    word-break: break-word;
    overflow-wrap: break-word;
}

.bybet-brand .section__header .eyebrow {
    text-align: left;
    margin-left: 0;
}

.bybet-brand .section__header p.lead {
    text-align: left;
    color: var(--color-muted);
    line-height: 1.7;
}

.brand-intro__frame {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-soft);
}

/* FAQ */
.faq {
    padding: 32px 0;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-soft);
    padding: 12px 14px;
    position: relative;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #f7fffb;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-weight: 700;
    color: #9be6c4;
    margin-left: 12px;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 10px;
    color: var(--color-muted);
    line-height: 1.7;
}

/* 响应式导航 */
@media (max-width: 960px) {
    .header-row__inner {
        flex-wrap: wrap;
    }

    .header-row--top .header-row__inner {
        justify-content: center;
    }

    .brand {
        justify-content: center;
        width: 100%;
    }

    .header-buttons {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* 折叠时显示按钮，展开时隐藏按钮 */
    .header-buttons--mobile {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .nav-menu.is-active ~ .header-buttons--mobile {
        display: none !important;
    }

    .nav-menu {
        width: 100%;
        display: none;
    }

    .nav-menu.is-active {
        display: block;
    }

    .header-row__inner--nav {
        gap: 10px;
        align-items: center;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        padding: 12px;
        width: 100%;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 40px;
    }
}
