/* ============================================================
   大宝麻将 · 品牌官网样式
   设计令牌 → 基础层 → 组件 → 响应式
   ============================================================ */

:root {
  /* ---- 色彩：墨绿 + 鎏金 ---- */
  --ink-950: #031a12;
  --ink-900: #04231a;
  --ink-800: #062a20;
  --ink-700: #0a3527;

  --gold-100: #fdf3d6;
  --gold-200: #f6e3ae;
  --gold-300: #e8c56a;
  --gold-400: #d9ac54;
  --gold-500: #bf8d3b;

  --text-100: #f5f8f3;
  --text-200: #d3e0d4;
  --text-300: #a2b8aa;
  --text-400: #8aa294;

  --line-100: rgba(255, 255, 255, 0.075);
  --line-200: rgba(255, 255, 255, 0.14);
  --line-gold: rgba(232, 197, 106, 0.26);

  /* ---- 字阶 ---- */
  --fs-display: clamp(2.75rem, 5.4vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.5rem);
  --fs-h3: 1.0625rem;
  --fs-lead: clamp(1rem, 1.3vw, 1.0625rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.6875rem;

  --lh-tight: 1.15;
  --lh-snug: 1.45;
  --lh-body: 1.9;

  /* ---- 间距（4pt 栅格）---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ---- 形状与投影 ---- */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.22);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-3: 0 28px 64px rgba(0, 0, 0, 0.4);

  /* ---- 动效 ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms var(--ease);
  --t-med: 320ms var(--ease);

  /* ---- 布局 ---- */
  --container: 1140px;
  --gutter: 24px;
  --nav-h: 76px;
}

/* ============ 基础层 ============ */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text-200);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--gold-300); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold-300);
  color: var(--ink-900);
  font-size: var(--fs-sm);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============ 导航 ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 35, 26, 0.78);
  border-bottom: 1px solid var(--line-100);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
  border-radius: var(--radius-sm);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow:
    0 0 0 1px rgba(232, 197, 106, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.35);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong {
  font-size: 1.0625rem;
  letter-spacing: 0.14em;
  color: var(--gold-200);
  font-weight: 700;
}
.brand-text em {
  font-style: normal;
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  color: rgba(162, 184, 170, 0.72);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: var(--sp-8);
  margin-left: auto;
  font-size: 0.9063rem;
  color: var(--text-300);
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-300), rgba(232, 197, 106, 0));
  transition: width var(--t-med);
}
.nav-links a:hover { color: var(--gold-200); }
.nav-links a:hover::after { width: 100%; }


/* ============ 首屏 ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 104px);
  background:
    radial-gradient(900px 540px at 78% 8%, rgba(34, 122, 78, 0.4), transparent 62%),
    radial-gradient(620px 460px at 4% 92%, rgba(232, 197, 106, 0.09), transparent 62%),
    linear-gradient(180deg, #06291f 0%, var(--ink-900) 74%);
}

@media (min-width: 981px) {
  .hero {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    align-items: center;
    padding-block: var(--sp-16);
  }
  .hero > .wrap { width: 100%; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.felt {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(circle at 72% 42%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 72% 42%, #000 0%, transparent 68%);
  opacity: 0.5;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-1 {
  width: 460px;
  height: 460px;
  right: -90px;
  top: 20px;
  background: rgba(46, 160, 104, 0.24);
}
.glow-2 {
  width: 380px;
  height: 380px;
  right: 220px;
  bottom: -160px;
  background: rgba(232, 197, 106, 0.13);
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 197, 106, 0.1);
}
.ring-1 { width: 640px; height: 640px; right: -130px; top: -130px; }
.ring-2 { width: 900px; height: 900px; right: -260px; top: -260px; border-color: rgba(232, 197, 106, 0.055); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  color: var(--gold-300);
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}
.eyebrow .rule {
  display: block;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 197, 106, 0), var(--gold-300));
  flex: none;
}

.hero h1 {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: 0.12em;
  font-weight: 800;
  background: linear-gradient(178deg, #fdf5da 4%, #e8c56a 48%, #b8873a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 36px rgba(232, 197, 106, 0.16));
}

.hero-sub {
  margin-top: var(--sp-4);
  font-size: clamp(0.8125rem, 1.4vw, 0.9375rem);
  letter-spacing: 0.34em;
  color: rgba(246, 227, 174, 0.78);
}

.lead {
  margin-top: var(--sp-6);
  max-width: 34em;
  font-size: var(--fs-lead);
  line-height: 2;
  color: var(--text-200);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn--gold {
  color: #10231a;
  background: linear-gradient(135deg, #faeecd 0%, #e3bd6f 46%, #c9963f 100%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(232, 197, 106, 0.3);
}

.btn--ghost {
  color: var(--gold-200);
  border: 1px solid var(--line-gold);
  background: rgba(232, 197, 106, 0.04);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 197, 106, 0.6);
  background: rgba(232, 197, 106, 0.1);
}

.hero-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-100);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-300);
}
.hero-spec li {
  min-width: 0;
  padding-left: clamp(12px, 1.6vw, 20px);
  border-left: 1px solid var(--line-100);
  white-space: nowrap;
}
.hero-spec li:first-child { padding-left: 0; border-left: 0; }
.hero-spec li:last-child { color: var(--gold-300); }

/* ---- 品牌图形 ---- */

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

.logo-frame {
  position: relative;
  width: min(420px, 36vw, 86%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(from 200deg,
    rgba(232, 197, 106, 0.55),
    rgba(232, 197, 106, 0.05) 38%,
    rgba(232, 197, 106, 0.48) 64%,
    rgba(232, 197, 106, 0.06));
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(232, 197, 106, 0.22),
    inset 0 0 44px rgba(0, 0, 0, 0.35);
  animation: float 9s ease-in-out infinite alternate;
}
.logo-frame::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(232, 197, 106, 0.16);
  pointer-events: none;
}
.logo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.logo-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: rgba(162, 184, 170, 0.7);
  text-align: center;
}
.logo-caption i {
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(232, 197, 106, 0.4);
  flex: none;
}

/* ============ 通用区块 ============ */

.section {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.006));
  border-block: 1px solid var(--line-100);
}

.section-head {
  position: relative;
  max-width: 660px;
  padding-bottom: var(--sp-6);
  margin-bottom: clamp(36px, 4vw, 52px);
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(232, 197, 106, 0.6) 0%,
    rgba(232, 197, 106, 0.12) 22%,
    rgba(255, 255, 255, 0.05) 62%,
    rgba(255, 255, 255, 0.02) 100%);
}

.section-head h2 {
  font-size: var(--fs-h2);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-100);
}

.section-desc {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-300);
}

/* ============ 关于我们 ============ */

.about-copy { max-width: 46em; }

.about-copy p {
  font-size: 0.9688rem;
  line-height: 2;
  color: var(--text-200);
}
.about-copy p + p { margin-top: var(--sp-5); }
.about-copy strong { color: var(--gold-200); font-weight: 600; }



/* ============ 游戏特色 ============ */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-100);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(232, 197, 106, 0), rgba(232, 197, 106, 0.85), rgba(232, 197, 106, 0));
  opacity: 0;
  transition: opacity var(--t-med);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 197, 106, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-2);
}
.card:hover::before { opacity: 1; }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--gold-300);
  border: 1px solid rgba(232, 197, 106, 0.26);
  background: rgba(232, 197, 106, 0.07);
}
.card-icon svg { width: 21px; height: 21px; }

.card-num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(232, 197, 106, 0.42);
  padding-top: 4px;
}

.card h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f4e9cd;
  margin-bottom: var(--sp-3);
}
.card p {
  font-size: 0.875rem;
  line-height: 1.95;
  color: var(--text-300);
}

/* ============ 联系我们 ============ */

/* 左对齐编辑式收尾：小标 → 大字标题 → 分栏邮件行 */
.contact {
  padding-block: clamp(56px, 6vw, 88px) clamp(48px, 5vw, 72px);
}

.contact-head { max-width: 36em; }

.contact h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-100);
}

.contact-desc {
  margin-top: clamp(14px, 1.6vw, 18px);
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--text-300);
}

.mail-row {
  display: block;
  margin-top: clamp(30px, 4.2vw, 54px);
  padding-block: clamp(15px, 1.8vw, 20px) clamp(17px, 2vw, 22px);
  border-top: 1px solid var(--line-200);
  border-bottom: 1px solid var(--line-100);
  transition: border-color var(--t-fast);
}
.mail-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-400);
}
.mail-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: clamp(7px, 1vw, 11px);
}
.mail-addr {
  font-size: clamp(1.125rem, 2.8vw, 2.125rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-100);
  word-break: break-word;
  transition: color var(--t-fast);
}
.mail-arrow {
  width: clamp(18px, 2vw, 24px);
  height: auto;
  flex: none;
  color: var(--text-400);
  transition: color var(--t-fast), transform var(--t-fast);
}

.mail-row:hover { border-bottom-color: rgba(232, 197, 106, 0.35); }
.mail-row:hover .mail-addr { color: var(--gold-200); }
.mail-row:hover .mail-arrow { color: var(--gold-300); transform: translate(3px, -3px); }

/* ============ 页脚 ============ */

.footer {
  background: linear-gradient(180deg, #042018, #031710);
  border-top: 1px solid rgba(232, 197, 106, 0.14);
  padding-top: clamp(40px, 5vw, 64px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(28px, 3vw, 40px);
}

/* 快速导航：两列排布，替代原「联系方式」栏 */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--sp-6);
  align-content: start;
  justify-items: start;
}
.footer-nav h3 { grid-column: 1 / -1; }

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(232, 197, 106, 0.35);
}
.footer-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--gold-200);
}
.footer-brand p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-400);
  margin-top: 2px;
}
.footer-note {
  margin-top: var(--sp-4);
  max-width: 30em;
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--text-400);
}

.footer-col h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(232, 197, 106, 0.78);
  margin-bottom: var(--sp-3);
}
.footer-col a,
.footer-col span {
  display: flex;
  align-items: center;
  min-height: 34px;
  font-size: var(--fs-xs);
  padding: 4px 0;
  color: var(--text-300);
  transition: color var(--t-fast);
  word-break: break-word;
}
.footer-col a:hover { color: var(--gold-200); }
.footer-col span { color: var(--text-400); }

/* 适龄提示徽标（18+ 为运营准入声明，非 CADPA 团标分级标识） */
.age-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(232, 197, 106, 0.45);
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(232, 197, 106, 0.14), rgba(232, 197, 106, 0.02));
  box-shadow: inset 0 0 22px rgba(232, 197, 106, 0.07);
  color: var(--gold-200);
  line-height: 1;
  letter-spacing: 0;
}
.age-badge b {
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.age-badge sup {
  position: relative;
  top: -0.52em;
  font-size: 0.8125rem;
  line-height: 0;
  margin-left: 1px;
}

/* ============ 资质公示：左「适龄与合规」/ 右资质表 ============ */

.license .wrap { position: relative; }

.license-body {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.26fr);
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}

/* ---- 左：适龄与合规 ---- */
.license-health {
  padding: 20px 22px 22px;
  border-left: 2px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(100deg, rgba(232, 197, 106, 0.075), rgba(232, 197, 106, 0.012));
}
.health-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.health-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-300);
}
.health-copy p {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--text-300);
}
.health-copy p + p { margin-top: 8px; }
.health-copy b {
  color: var(--gold-300);
  font-weight: 600;
}
.health-copy strong {
  color: var(--gold-200);
  font-weight: 600;
}

/* ---- 右：资质表 ---- */
.lic-list--spec {
  border-top: 1px solid var(--line-200);
}
.lic-list--spec > div {
  display: grid;
  grid-template-columns: minmax(0, 124px) minmax(0, 1fr);
  align-items: baseline;
  gap: 4px clamp(14px, 2vw, 28px);
  padding: 18px 0;
  border-bottom: 1px solid var(--line-100);
}
.lic-list--spec > div:last-child { border-bottom: 1px solid var(--line-200); }
.lic-list--spec dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-400);
}
.lic-list--spec dd {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-100);
  word-break: break-word;
}
.lic-list--spec .hl {
  color: var(--gold-200);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.lic-list--spec a {
  color: var(--gold-200);
  border-bottom: 1px dashed rgba(232, 197, 106, 0.35);
  transition: color var(--t-fast);
}
.lic-list--spec a:hover { color: #fff; }

.lic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.lic-links a {
  font-size: 0.8438rem;
  color: var(--text-200);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}
.lic-links a:hover { color: var(--gold-200); border-bottom-color: rgba(232, 197, 106, 0.5); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-100);
  gap: 8px 24px;
  padding-block: var(--sp-5);
  font-size: 0.7813rem;
  color: var(--text-400);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.footer-lic b {
  font-weight: 600;
  color: var(--text-300);
  letter-spacing: 0.02em;
}
.footer-sep {
  width: 1px;
  height: 11px;
  flex: none;
  background: rgba(255, 255, 255, 0.24);
}
.footer-pending em {
  font-style: normal;
  color: var(--text-400);
  border-bottom: 1px dashed rgba(232, 197, 106, 0.32);
  padding-bottom: 1px;
}
.footer-icp {
  color: rgba(232, 197, 106, 0.92);
  transition: color var(--t-fast);
}
.footer-icp:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ 动效偏好 ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ 响应式 ============ */

@media (min-width: 1280px) {
  .wrap { padding-inline: 32px; }
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: var(--sp-6); }

  /* 三项证照已占满一行，版权改到上一行，避免两端相贴 */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-art { order: -1; }
  .logo-frame { width: min(320px, 70%); }
  .ring-1, .ring-2 { display: none; }

  /* 两列在 980 以下会把右栏压到约 220px，退回单列 */
  .license-body { grid-template-columns: 1fr; gap: var(--sp-6); }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; --gutter: 20px; }

  .nav-inner { gap: var(--sp-3); }
  .nav-links { display: none; }
  .brand-logo { width: 36px; height: 36px; border-radius: 10px; }
  .brand-text em { display: none; }

  .hero { padding-top: var(--sp-8); }
  .hero h1 { letter-spacing: 0.08em; }
  .hero-sub { letter-spacing: 0.26em; }
  .logo-frame { width: min(280px, 76%); }
  .logo-frame::before { inset: -14px; }

  .hero-spec { font-size: 0.6875rem; letter-spacing: 0.08em; }

  .section-head { padding-bottom: var(--sp-5); }
  .cards { grid-template-columns: 1fr; gap: var(--sp-4); }
  .card { padding: 24px 22px 26px; }

  .lic-list--spec > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 12px 0;
  }


  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-nav { max-width: 320px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-legal { gap: 7px 0; flex-direction: column; align-items: flex-start; }
  .footer-sep { display: none; }
  .license-health { padding: 18px 18px 20px; }
  .age-badge { width: 50px; height: 50px; line-height: 50px; border-radius: 10px; }
  .age-badge b { font-size: 1.3125rem; }

}

@media (max-width: 500px) {
  /* 窄屏徽标略缩，标题与徽标仍同行 */
  .age-badge { width: 46px; height: 46px; border-radius: 9px; }
  .age-badge b { font-size: 1.25rem; }
}

@media (max-width: 430px) {
  .hero-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .hero-spec li:nth-child(odd) { padding-left: 0; border-left: 0; }
  /* 两个按钮在 390 下一行放得下，等分并排 */
  .hero-actions .btn { flex: 1 1 0; justify-content: center; }
}
