/* ============================================================
   浩瀚体育 PLATFORM — 全站共享样式
   版本 v7632 | 星空竞技场 | 深空蓝 + 宇宙橙红
   ============================================================ */

/* ---------- Reset & 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: #F5F7FA;
  background-color: #0A1128;
  background-image:
    radial-gradient(ellipse 90% 55% at 75% -5%, rgba(43, 58, 103, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 45% 30% at -5% 110%, rgba(255, 77, 0, 0.07) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

ul,
ol {
  padding-left: 1.25em;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- CSS 变量 ---------- */
:root {
  --deep-space-blue: #0A1128;
  --cosmic-orange-red: #FF4D00;
  --metallic-silver: #C0C0C0;
  --nebula-glow: #2B3A67;
  --plasma-white: #F5F7FA;
  --muted-blue: #4A5D8A;
  --match-ink: #000000;
  --gradient-sport: linear-gradient(135deg, #1E3A8A, #FF4D00);

  --font-heading: "Playfair Display", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter", sans-serif;
  --font-data: "Montserrat", "Impact", "Arial Narrow", sans-serif;

  --space-xs: 0.375rem;
  --space-sm: 0.75rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --container-w: 1360px;
  --radius: 4px;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- 排版 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--plasma-white);
  margin: 0 0 0.5em;
}

p {
  margin-bottom: 1rem;
}

strong {
  color: var(--cosmic-orange-red);
  font-weight: 600;
}

/* ---------- 工具类 ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

#main-content {
  scroll-margin-top: 96px;
}

/* ---------- 焦点可见 ---------- */
:focus-visible {
  outline: 3px solid var(--cosmic-orange-red);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1200;
  background: var(--cosmic-orange-red);
  color: var(--plasma-white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: top 0.3s ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

/* ---------- 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  padding: 0.75rem 1rem;
  pointer-events: none;
}

.nav-capsule {
  position: relative;
  max-width: var(--container-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.375rem 0.375rem 0.375rem 0.5rem;
  background: rgba(10, 17, 40, 0.86);
  border: 2px solid rgba(192, 192, 192, 0.24);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.nav-capsule::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 3%;
  right: 3%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 77, 0, 0.55),
    transparent
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header[data-scrolled] .nav-capsule {
  background: rgba(10, 17, 40, 0.96);
  border-color: rgba(192, 192, 192, 0.45);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 77, 0, 0.05);
}

.site-header[data-scrolled] .nav-capsule::after {
  opacity: 1;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.brand:hover {
  background: rgba(255, 77, 0, 0.08);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-sport);
  color: var(--plasma-white);
  font-family: var(--font-data);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(245, 247, 250, 0.08), 0 4px 16px rgba(255, 77, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--plasma-white);
}

.brand-sub {
  font-family: var(--font-data);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--muted-blue);
  text-transform: uppercase;
}

.version-badge {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cosmic-orange-red);
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.32);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.25rem;
  white-space: nowrap;
  vertical-align: middle;
}

/* 导航切换按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(10, 17, 40, 0.8);
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: var(--cosmic-orange-red);
  background: rgba(255, 77, 0, 0.1);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--plasma-white);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--cosmic-orange-red);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--cosmic-orange-red);
}

/* 主导航 */
.primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--plasma-white);
  text-decoration: none;
  padding: 0.625rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--cosmic-orange-red);
  background: rgba(255, 77, 0, 0.07);
  text-decoration: none;
}

.nav-link[aria-current="page"] {
  color: var(--cosmic-orange-red);
  background: rgba(255, 77, 0, 0.12);
  border-color: rgba(255, 77, 0, 0.38);
  box-shadow: 0 0 14px rgba(255, 77, 0, 0.14);
  text-decoration: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background-color: var(--match-ink);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 14px,
    rgba(255, 255, 255, 0.018) 14px,
    rgba(255, 255, 255, 0.018) 15px
  );
  color: var(--plasma-white);
  border-top: 2px solid rgba(192, 192, 192, 0.16);
  margin-top: 6rem;
  overflow: hidden;
}

.footer-topline {
  position: relative;
  height: 4px;
  background: var(--gradient-sport);
  opacity: 0.9;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr;
  gap: 3rem;
}

/* 品牌区 */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--plasma-white);
}

.footer-logo:hover {
  color: var(--plasma-white);
  text-decoration: none;
}

.footer-logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-sport);
  color: var(--plasma-white);
  font-family: var(--font-data);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(245, 247, 250, 0.08), 0 4px 12px rgba(255, 77, 0, 0.28);
}

.footer-logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 3px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-logo-sub {
  font-family: var(--font-data);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted-blue);
  text-transform: uppercase;
  line-height: 1;
}

.footer-about {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-blue);
}

.footer-trust {
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted-blue);
  background: rgba(10, 17, 40, 0.55);
  border: 1px solid rgba(192, 192, 192, 0.14);
  border-left: 3px solid var(--cosmic-orange-red);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* 链接列 */
.footer-column {
  min-width: 0;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--plasma-white);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(192, 192, 192, 0.18);
  text-transform: uppercase;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.footer-links-list a {
  color: var(--muted-blue);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--cosmic-orange-red);
  padding-left: 4px;
  text-decoration: none;
}

/* 联系方式 */
.footer-contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-blue);
}

.footer-contact-label {
  display: inline-block;
  min-width: 2.5em;
  margin-right: 0.375rem;
  font-family: var(--font-data);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--metallic-silver);
  text-transform: uppercase;
  vertical-align: middle;
}

.footer-contact-value {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-align: left;
  max-width: 100%;
  background: none;
  border: none;
  border-bottom: 1px dashed rgba(192, 192, 192, 0.28);
  padding: 0 0 2px;
  font: inherit;
  color: var(--plasma-white);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  vertical-align: middle;
  word-break: break-all;
}

.footer-contact-value:hover {
  color: var(--cosmic-orange-red);
  border-color: var(--cosmic-orange-red);
}

.footer-contact-value::after {
  content: "";
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  margin-left: 0.125rem;
  color: var(--cosmic-orange-red);
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-contact-value.is-copied::after {
  content: "已复制";
  opacity: 1;
}

/* 底部栏 */
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(192, 192, 192, 0.14);
  background: rgba(0, 0, 0, 0.45);
}

.footer-bottom-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 1.125rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy,
.footer-icp {
  font-size: 0.75rem;
  color: var(--muted-blue);
  letter-spacing: 0.03em;
  margin: 0;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 700;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(10, 17, 40, 0.92);
  border: 2px solid var(--cosmic-orange-red);
  border-radius: 50%;
  color: var(--cosmic-orange-red);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease,
    background 0.3s ease, color 0.3s ease;
  box-shadow: var(--shadow-md);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--cosmic-orange-red);
  color: var(--plasma-white);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-sport);
  color: var(--plasma-white);
  box-shadow: 0 8px 24px rgba(255, 77, 0, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(255, 77, 0, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--plasma-white);
  border-color: rgba(192, 192, 192, 0.55);
}

.btn-outline:hover {
  border-color: var(--cosmic-orange-red);
  color: var(--cosmic-orange-red);
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--plasma-white);
}

.btn-ghost:hover {
  background: rgba(255, 77, 0, 0.08);
  color: var(--cosmic-orange-red);
}

/* ---------- 章节 ---------- */
.section {
  padding-block: var(--space-2xl);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.25rem 0.625rem;
  font-family: var(--font-data);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cosmic-orange-red);
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.32);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 0.875rem;
  color: var(--plasma-white);
}

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-blue);
  margin: 0;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding-block: 1rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-blue);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: rgba(192, 192, 192, 0.45);
}

.breadcrumb-link {
  color: var(--muted-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-link:hover {
  color: var(--cosmic-orange-red);
  text-decoration: none;
}

.breadcrumb-item[aria-current="page"] {
  color: var(--plasma-white);
  font-weight: 500;
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- 卡片 ---------- */
.card {
  display: block;
  background: rgba(10, 17, 40, 0.66);
  border: 2px solid rgba(192, 192, 192, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: var(--shadow-lg);
}

.card a {
  text-decoration: none;
}

.card a:hover {
  text-decoration: none;
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--nebula-glow);
  background-image:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(30, 58, 138, 0.7), transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 85%, rgba(255, 77, 0, 0.18), transparent 60%);
  border: 2px solid rgba(192, 192, 192, 0.22);
  border-radius: var(--radius);
}

.media-frame::before {
  content: attr(data-frame-label);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--font-data);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(245, 247, 250, 0.65);
  background: rgba(10, 17, 40, 0.45);
  border: 1px solid rgba(192, 192, 192, 0.25);
  padding: 0.5rem 0.875rem;
  border-radius: 2px;
  white-space: nowrap;
  pointer-events: none;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(10, 17, 40, 0.5) 0%,
    rgba(255, 77, 0, 0.06) 100%
  );
}

.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.media-frame-16-9 {
  aspect-ratio: 16 / 9;
}

.media-frame-4-3 {
  aspect-ratio: 4 / 3;
}

.media-frame-1-1 {
  aspect-ratio: 1 / 1;
}

/* ---------- 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--gradient-sport);
  box-shadow: 0 0 12px rgba(255, 77, 0, 0.5);
  z-index: 1001;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */

/* 平板：页脚两列 */
@media (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 导航切换：移动菜单 */
@media (max-width: 991px) {
  .nav-capsule {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 0.5rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .primary-nav {
    display: none;
    width: 100%;
    flex: 1 0 100%;
    order: 3;
  }

  .primary-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(192, 192, 192, 0.16);
  }

  .nav-link {
    width: 100%;
    border-radius: 10px;
    padding: 0.75rem 1rem;
  }
}

/* 手机 */
@media (max-width: 767px) {
  .section {
    padding-block: 3.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }
}

/* 小屏手机 */
@media (max-width: 479px) {
  .nav-capsule {
    gap: 0.375rem;
    padding: 0.375rem;
  }

  .brand {
    gap: 0.375rem;
    padding-right: 0.25rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.125rem;
  }

  .brand-sub {
    letter-spacing: 0.2em;
    font-size: 0.5rem;
  }

  .version-badge {
    font-size: 0.5625rem;
    padding: 0.1875rem 0.375rem;
  }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .skip-link {
    transition: none;
  }

  .back-to-top {
    transition: none;
  }
}
