/* ============================================
   黑料视界 · 全站共享样式 /assets/site.css
   暗黑赛博 Bento 终端语言
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #181822;
  --bg-panel: rgba(18, 18, 26, 0.92);

  --neon-orange: #ff6b00;
  --electric-purple: #9d00ff;
  --neon-cyan: #00e5ff;
  --alert-red: #ff0033;

  --text-primary: #e6e6e6;
  --text-muted: #8a8a9e;

  --border-color: rgba(157, 0, 255, 0.16);
  --border-orange: rgba(255, 107, 0, 0.28);

  --font-title: Impact, 'Arial Narrow', 'Haettenschweiler', sans-serif;
  --font-body: 'Courier New', Courier, monospace;

  --container-max: 1280px;
  --header-space: 96px;

  --radius-pill: 999px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-island: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 40px rgba(157, 0, 255, 0.08);
  --shadow-orange: 0 0 20px rgba(255, 107, 0, 0.28);
  --shadow-purple: 0 0 28px rgba(157, 0, 255, 0.24);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(ellipse at 88% -8%, rgba(157, 0, 255, 0.10), transparent 55%),
    radial-gradient(ellipse at 4% 108%, rgba(255, 107, 0, 0.06), transparent 52%);
  background-size: 36px 36px, 36px 36px, 100% 100%, 100% 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 229, 255, 0.014) 3px,
    rgba(0, 229, 255, 0.014) 4px
  );
}

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

a {
  color: var(--electric-purple);
  text-decoration: none;
  transition: color 0.22s ease;
}

a:hover {
  color: var(--neon-orange);
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

::selection {
  background: rgba(255, 107, 0, 0.35);
  color: #fff;
}

/* ---------- 焦点状态 ---------- */
:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 内容容器 ---------- */
.container {
  width: min(var(--container-max), calc(100% - 32px));
  margin-inline: auto;
}

#main-content {
  padding-top: var(--header-space);
  min-height: 65vh;
}

.section {
  padding-block: 48px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.05em;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--neon-orange), var(--electric-purple));
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-orange), #ff8c1a);
  color: #0a0a0f;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.28);
}

.btn-primary:hover {
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.42);
}

.btn-secondary {
  background: transparent;
  border-color: var(--electric-purple);
  color: var(--electric-purple);
}

.btn-secondary:hover {
  background: rgba(157, 0, 255, 0.12);
  border-color: var(--electric-purple);
  color: var(--electric-purple);
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  background: var(--neon-orange);
  color: #0a0a0f;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 10px 26px;
  border-radius: 0 0 14px 14px;
  text-decoration: none;
  transition: top 0.3s var(--ease-out);
}

.skip-link:focus {
  top: 0;
  color: #0a0a0f;
}

/* ---------- 滚动进度 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 10000;
  pointer-events: none;
  background: linear-gradient(90deg, var(--alert-red), var(--neon-orange), var(--electric-purple), var(--neon-cyan));
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.45);
}

/* ---------- 悬浮头部 ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-inline: 16px;
  pointer-events: none;
  animation: header-drop 0.55s var(--ease-out) both;
}

@keyframes header-drop {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header-island {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(1280px, 100%);
  padding: 8px 10px 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  border: 1px solid var(--border-orange);
  box-shadow: var(--shadow-island);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-island::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 229, 255, 0.02) 2px,
    rgba(0, 229, 255, 0.02) 4px
  );
}

.header-island:hover {
  border-color: rgba(255, 107, 0, 0.55);
  box-shadow: var(--shadow-island), 0 0 30px rgba(255, 107, 0, 0.10);
}

/* ---------- 品牌 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-orange), var(--electric-purple));
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  color: #0a0a0f;
  transform: skewX(-8deg);
  box-shadow: 0 0 16px rgba(255, 107, 0, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- 头部状态徽章 ---------- */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.18);
  font-size: 12px;
  line-height: 1;
  color: var(--neon-cyan);
  white-space: nowrap;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: status-blink 2s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ---------- 主导航 ---------- */
.site-nav {
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: block;
  position: relative;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}

.nav-link:hover {
  color: var(--neon-orange);
  background: rgba(255, 107, 0, 0.06);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--neon-orange);
  background: rgba(255, 107, 0, 0.09);
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--neon-orange);
}

/* ---------- 头部 CTA ---------- */
.header-cta {
  flex-shrink: 0;
  animation: cta-glow 3.2s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 107, 0, 0.2); }
  50%      { box-shadow: 0 0 26px rgba(255, 107, 0, 0.45); }
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-orange);
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--neon-orange);
  background: rgba(255, 107, 0, 0.06);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon-orange);
  transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle-label {
  display: none;
  font-size: 10px;
  font-weight: 700;
  color: var(--neon-orange);
  letter-spacing: 0.1em;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  padding: 64px 16px 28px;
  background-color: #0c0c12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
  border-top: 1px solid rgba(255, 107, 0, 0.18);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-orange) 18%, var(--electric-purple) 50%, var(--neon-cyan) 82%, transparent 100%);
  opacity: 0.9;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 8%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.12), transparent);
  pointer-events: none;
}

.footer-container {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-orange), var(--electric-purple));
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: #0a0a0f;
  transform: skewX(-8deg);
  box-shadow: 0 0 18px rgba(255, 107, 0, 0.25);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.footer-brand-name {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-brand-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 13px;
  color: var(--neon-cyan);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-trust {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 360px;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 8px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon-orange);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s ease, padding-left 0.25s var(--ease-out), transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--neon-orange);
  padding-left: 8px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-label {
  flex-shrink: 0;
  min-width: 34px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  padding-top: 1px;
}

.contact-value {
  word-break: break-all;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
}

.footer-copy,
.footer-icp {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.footer-icp:hover {
  color: var(--neon-orange);
  cursor: default;
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--neon-orange);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s,
              border-color 0.25s ease, box-shadow 0.25s ease;
}

.back-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  border-color: var(--neon-orange);
  background: var(--bg-tertiary);
  box-shadow: 0 6px 28px rgba(255, 107, 0, 0.28);
}

.back-top-arrow {
  font-size: 17px;
  line-height: 1;
}

.back-top-label {
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* ---------- 面包屑 ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px 4px;
  font-size: 14px;
}

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

.breadcrumb-link:hover {
  color: var(--neon-orange);
}

.breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
  font-size: 12px;
  line-height: 1;
}

.breadcrumb-current {
  color: var(--neon-orange);
  font-weight: 700;
}

/* ---------- 媒体占位容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #12121a, #1d1026);
  border: 1px solid var(--border-color);
}

.media-frame::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.media-frame--wide::before    { padding-top: 42.85%; }
.media-frame--square::before  { padding-top: 100%; }
.media-frame--portrait::before{ padding-top: 140%; }
.media-frame--tall::before    { padding-top: 75%; }

.media-frame > img,
.media-frame > video,
.media-frame .media-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 15, 0.55) 100%);
  border-radius: inherit;
}

.media-frame .media-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--neon-cyan);
  border-left: 2px solid var(--neon-cyan);
  border-radius: 4px 0 0 0;
  opacity: 0.65;
  pointer-events: none;
}

/* ---------- Bento 网格 ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-cell {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.bento-cell--large { grid-column: span 8; }
.bento-cell--full  { grid-column: 1 / -1; }

.bento-cell:hover {
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 107, 0, 0.06);
  transform: translateY(-2px);
}

.bento-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-orange), var(--electric-purple), transparent 80%);
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.bento-cell:hover::before {
  opacity: 1;
}

/* ---------- 基础卡片 ---------- */
.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-orange), transparent 70%);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.card:hover::before {
  opacity: 1;
}

/* ---------- 滚动显现 ---------- */
[data-reveal] {
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}

html[data-js="enabled"] [data-reveal]:not([data-revealed]) {
  opacity: 0;
  transform: translateY(26px);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 工具类 ---------- */
.text-muted { color: var(--text-muted); }
.text-orange { color: var(--neon-orange); }
.text-purple { color: var(--electric-purple); }
.text-cyan { color: var(--neon-cyan); }
.text-red { color: var(--alert-red); }

.title-tilt {
  display: inline-block;
  transform: skewX(-5deg);
  transform-origin: left center;
}

.nowrap { white-space: nowrap; }
.hidden { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .header-island {
    gap: 10px;
  }

  .header-status {
    display: none;
  }

  .nav-link {
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
  }

  .header-island {
    flex-wrap: wrap;
    border-radius: 20px;
    padding: 8px 10px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    order: 10;
    width: 100%;
    margin-inline: 0;
    padding-top: 8px;
  }

  .site-nav[data-open] {
    display: flex;
    animation: nav-drop 0.35s var(--ease-out);
  }

  @keyframes nav-drop {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: none; }
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
    padding-bottom: 6px;
  }

  .nav-link {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 15px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle-label {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

@media (max-width: 600px) {
  #main-content {
    padding-top: 84px;
  }

  .container {
    width: min(100% - 20px, var(--container-max));
  }

  .header-island {
    gap: 8px;
    border-radius: 16px;
  }

  .brand-text .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 18px;
    border-radius: 8px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
    width: 40px;
    height: 40px;
  }

  .section {
    padding-block: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}

/* ---------- 减少动效 ---------- */
@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;
  }

  .status-dot,
  .header-cta,
  .site-header {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-progress,
  .back-top {
    transition: none;
  }
}
