/* ==========================================================================
   红牛娱乐主站 · 共享样式 /assets/site.css
   ========================================================================== */

/* ---------- 1 · Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rb-header-h) + 24px);
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

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

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

table { border-collapse: collapse; }

/* ---------- 2 · 变量 ---------- */
:root {
  --rb-red: #D2202F;
  --rb-black: #0A0B0D;
  --rb-panel: #12161E;
  --rb-blue: #2E7DFF;
  --rb-yellow: #FFC53D;
  --rb-teal: #0B3B3A;
  --rb-wine: #6E1220;
  --rb-indigo: #191B3A;
  --rb-white: #F3F5F7;
  --rb-gray: #8C949E;

  --rb-ink: #F3F5F7;
  --rb-ink-soft: rgba(243, 245, 247, 0.78);
  --rb-ink-dim: #9AA2AC;
  --rb-line: rgba(140, 148, 158, 0.22);
  --rb-line-strong: rgba(210, 32, 47, 0.5);

  --rb-font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rb-font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --rb-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rb-max: 1280px;
  --rb-gutter: clamp(20px, 4vw, 48px);
  --rb-header-h: 72px;
  --rb-header-space: 75px;

  --rb-cut: 14px;
  --rb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rb-dur: 240ms;
}

@media (max-width: 640px) {
  :root {
    --rb-header-h: 64px;
    --rb-header-space: 67px;
  }
}

/* ---------- 3 · 基础排版 ---------- */
body {
  margin: 0;
  background: var(--rb-black);
  color: var(--rb-ink);
  font-family: var(--rb-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 1440px) {
  body { font-size: 17px; }
}

#main-content { padding-top: var(--rb-header-space); }
body[data-hero="split"] #main-content { padding-top: 0; }

/* ---------- 4 · 焦点与跳过链接 ---------- */
:focus-visible {
  outline: 2px solid var(--rb-blue);
  outline-offset: 3px;
}

.rb-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--rb-yellow);
  color: var(--rb-black);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 180ms var(--rb-ease);
}

.rb-skip:focus {
  transform: translateY(0);
}

/* ---------- 5 · 按钮 ---------- */
.rb-btn {
  --btn-bg: var(--rb-red);
  --btn-fg: #FFFFFF;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.72em 1.5em;
  font-family: var(--rb-font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  background: var(--btn-bg);
  color: var(--btn-fg);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: filter 200ms var(--rb-ease), transform 200ms var(--rb-ease), background-color 200ms var(--rb-ease);
}

.rb-btn:hover { filter: brightness(1.14); }
.rb-btn:active { transform: translateY(1px); }

.rb-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--rb-yellow), inset 0 0 0 6px rgba(10, 11, 13, 0.92);
}

.rb-btn--primary {
  --btn-bg: var(--rb-red);
  --btn-fg: #FFFFFF;
}

.rb-btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--rb-white);
  box-shadow: inset 0 0 0 1px rgba(46, 125, 255, 0.6);
}

.rb-btn--ghost:hover {
  --btn-bg: rgba(46, 125, 255, 0.16);
  filter: none;
}

/* ---------- 6 · 容器与网格 ---------- */
.rb-container {
  width: 100%;
  max-width: var(--rb-max);
  margin-inline: auto;
  padding-inline: var(--rb-gutter);
}

.rb-section {
  padding-block: clamp(52px, 8vw, 104px);
}

.rb-grid {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
}

.rb-grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.rb-grid--split-alt { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }

.rb-stack {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.rb-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

@media (max-width: 900px) {
  .rb-grid--split,
  .rb-grid--split-alt { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 7 · 文字层级 ---------- */
.rb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rb-yellow);
}

.rb-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--rb-red);
}

.rb-display {
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: clamp(2.75rem, 7vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.rb-title {
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.rb-subtitle {
  font-family: var(--rb-font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.rb-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.75;
  color: var(--rb-ink-soft);
  max-width: 38ch;
}

.rb-num {
  font-family: var(--rb-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}

.rb-prose {
  background: var(--rb-white);
  color: var(--rb-black);
  padding: clamp(26px, 4vw, 56px);
}

.rb-prose h2,
.rb-prose h3 {
  font-family: var(--rb-font-display);
  font-weight: 900;
  line-height: 1.15;
  margin-top: 1.6em;
  letter-spacing: -0.01em;
}

.rb-prose h2:first-child,
.rb-prose h3:first-child { margin-top: 0; }

.rb-prose p {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 38em;
}

.rb-prose p + p { margin-top: 1.5em; }

.rb-prose ul {
  display: grid;
  gap: 0.6em;
  margin-top: 1.1em;
}

.rb-prose ul li {
  position: relative;
  padding-left: 1.4em;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.rb-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--rb-red);
}

.rb-prose a {
  color: #0A2C6B;
  border-bottom: 1px solid var(--rb-red);
}

/* ---------- 8 · 面板 / 卡片 / 标签 ---------- */
.rb-panel {
  position: relative;
  background: var(--rb-panel);
  border: 1px solid var(--rb-line);
  padding: clamp(20px, 2.6vw, 34px);
}

.rb-panel::before,
.rb-panel::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.rb-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--rb-red);
  border-left: 2px solid var(--rb-red);
}

.rb-panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--rb-red);
  border-right: 2px solid var(--rb-red);
}

.rb-card {
  position: relative;
  background: var(--rb-panel);
  border: 1px solid var(--rb-line);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform 220ms var(--rb-ease), border-color 220ms var(--rb-ease);
}

.rb-card:hover {
  transform: translateY(-4px);
  border-color: var(--rb-line-strong);
}

.rb-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  font-family: var(--rb-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  background: rgba(255, 197, 61, 0.14);
  color: var(--rb-yellow);
  border: 1px solid rgba(255, 197, 61, 0.4);
}

.rb-tag--red {
  background: rgba(210, 32, 47, 0.16);
  color: #FF8A94;
  border-color: rgba(210, 32, 47, 0.5);
}

.rb-tag--blue {
  background: rgba(46, 125, 255, 0.14);
  color: #8FB8FF;
  border-color: rgba(46, 125, 255, 0.45);
}

.rb-stripe {
  height: 8px;
  background-image: repeating-linear-gradient(115deg, var(--rb-red) 0 16px, transparent 16px 26px);
}

.rb-rule {
  height: 2px;
  background-image: repeating-linear-gradient(115deg, var(--rb-red) 0 10px, transparent 10px 18px);
}

.rb-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--rb-red) 0 48px, var(--rb-line) 48px);
}

/* ---------- 9 · 图片容器 ---------- */
.rb-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--rb-media-ratio, 16 / 9);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(210, 32, 47, 0.42), transparent 62%),
    radial-gradient(90% 80% at 88% 84%, rgba(46, 125, 255, 0.32), transparent 66%),
    linear-gradient(140deg, var(--rb-panel), var(--rb-black));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

.rb-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(243, 245, 247, 0.05) 0 1px, transparent 1px 4px);
}

.rb-media--wide { --rb-media-ratio: 21 / 9; }
.rb-media--4x3 { --rb-media-ratio: 4 / 3; }
.rb-media--1x1 { --rb-media-ratio: 1 / 1; }
.rb-media--3x4 { --rb-media-ratio: 3 / 4; }

/* ---------- 10 · 面包屑与粘性索引 ---------- */
.rb-breadcrumb {
  font-family: var(--rb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--rb-gray);
}

.rb-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rb-breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--rb-red);
}

.rb-breadcrumb a:hover { color: var(--rb-white); }

.rb-index {
  position: sticky;
  top: calc(var(--rb-header-h) + 24px);
  align-self: start;
}

/* ---------- 11 · 分段切换 ---------- */
.rb-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--rb-line);
}

.rb-tab {
  padding: 11px 18px;
  font-family: var(--rb-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--rb-gray);
  border: 1px solid transparent;
  border-bottom-width: 2px;
  border-bottom-color: transparent;
  transition: color 160ms var(--rb-ease), background-color 160ms var(--rb-ease), border-color 160ms var(--rb-ease);
}

.rb-tab:hover { color: var(--rb-white); }

.rb-tab[aria-selected="true"] {
  color: #FFFFFF;
  background: rgba(46, 125, 255, 0.14);
  border-color: rgba(46, 125, 255, 0.5);
  border-bottom-color: var(--rb-blue);
}

.rb-tabpanel {
  padding-top: clamp(20px, 3vw, 32px);
}

.rb-tabpanel[hidden] { display: none; }

/* ---------- 12 · 折叠面板 ---------- */
.rb-accordion { border-top: 1px solid var(--rb-line); }

.rb-accordion__item { border-bottom: 1px solid var(--rb-line); }

.rb-accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 4px;
  font-family: var(--rb-font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--rb-white);
  transition: color 160ms var(--rb-ease);
}

.rb-accordion__btn::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--rb-red);
  border-bottom: 2px solid var(--rb-red);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 220ms var(--rb-ease);
}

.rb-accordion__btn[aria-expanded="true"] { color: var(--rb-yellow); }

.rb-accordion__btn[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-3px);
  border-color: var(--rb-yellow);
}

.rb-accordion__panel {
  padding: 0 4px 20px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--rb-ink-soft);
}

.rb-accordion__panel[hidden] { display: none; }

/* ---------- 13 · 显现与滚动进度 ---------- */
.rb-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--rb-dur) var(--rb-ease),
    transform var(--rb-dur) var(--rb-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.rb-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.rb-progress {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--rb-blue), var(--rb-yellow) 55%, var(--rb-red));
  pointer-events: none;
  will-change: transform;
}

/* ---------- 14 · 头部 ---------- */
.rb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  color: var(--rb-white);
  background-color: rgba(10, 11, 13, 0.62);
  transition: background-color 160ms linear, box-shadow 160ms linear;
}

.rb-header[data-scrolled] {
  background-color: rgba(10, 11, 13, 0.985);
  box-shadow: 0 1px 0 rgba(210, 32, 47, 0.5), 0 26px 50px -34px #000;
}

.rb-header__rail {
  position: relative;
  height: 3px;
  background-image: linear-gradient(90deg, var(--rb-red) 0 38%, var(--rb-yellow) 38% 52%, var(--rb-blue) 52% 100%);
}

.rb-header__rail::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(10, 11, 13, 0.9) 0 2px, transparent 2px 12px);
}

.rb-header__inner {
  max-width: var(--rb-max);
  margin-inline: auto;
  padding-inline: var(--rb-gutter);
  min-height: var(--rb-header-h);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
}

.rb-header__brand {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: clamp(14px, 2vw, 26px);
}

.rb-header__brand::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(210, 32, 47, 0.85), transparent);
  transform: skewX(-14deg);
}

.rb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rb-brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--rb-red);
  color: #FFFFFF;
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%);
}

.rb-brand__mark svg {
  width: 22px;
  height: 22px;
}

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

.rb-brand__name {
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: 0.02em;
}

.rb-brand__tag {
  margin-top: 4px;
  font-family: var(--rb-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--rb-gray);
  white-space: nowrap;
}

.rb-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.rb-nav__group {
  display: flex;
  align-items: center;
}

.rb-nav__group--legal { display: none; }

.rb-nav__legend { display: none; }

.rb-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 1.1vw, 16px);
}

.rb-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 5px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(243, 245, 247, 0.82);
  white-space: nowrap;
  transition: color 160ms var(--rb-ease);
}

.rb-nav__link::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 4px;
  height: 2px;
  background: var(--rb-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--rb-ease), background-color 220ms var(--rb-ease);
}

.rb-nav__link:hover { color: #FFFFFF; }
.rb-nav__link:hover::after { transform: scaleX(1); }

.rb-nav__link[aria-current="page"] { color: #FFFFFF; }

.rb-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--rb-red), var(--rb-yellow));
}

.rb-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rb-header__cta { flex: 0 0 auto; }

.rb-nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(210, 32, 47, 0.55);
  background: rgba(10, 11, 13, 0.6);
  color: #FFFFFF;
  font-family: var(--rb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  transition: background-color 160ms var(--rb-ease), border-color 160ms var(--rb-ease);
}

.rb-nav-toggle[aria-expanded="true"] {
  background: var(--rb-red);
  border-color: var(--rb-red);
}

.rb-nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.rb-nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 200ms var(--rb-ease), opacity 160ms linear;
}

.rb-nav-toggle__bars span:nth-child(2) {
  width: 70%;
  justify-self: end;
}

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

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

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

/* ---------- 15 · 页脚 ---------- */
.rb-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  color: var(--rb-white);
  background: linear-gradient(160deg, var(--rb-black) 0%, #0D1015 52%, var(--rb-indigo) 100%);
}

.rb-footer__slash {
  height: 10px;
  background-image: repeating-linear-gradient(120deg, var(--rb-red) 0 22px, var(--rb-wine) 22px 34px, var(--rb-black) 34px 44px);
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 100%);
}

.rb-footer__inner {
  max-width: var(--rb-max);
  margin-inline: auto;
  padding: clamp(38px, 6vw, 72px) var(--rb-gutter) 26px;
}

.rb-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr) minmax(0, 1.35fr);
  gap: clamp(28px, 4vw, 56px);
}

.rb-footer__brand { min-width: 0; }

.rb-footer__wordmark {
  font-family: var(--rb-font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.rb-footer__wordmark::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 12px;
  background: var(--rb-red);
}

.rb-footer__tagline {
  margin-top: 16px;
  font-family: var(--rb-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--rb-gray);
}

.rb-footer__note {
  margin-top: 14px;
  max-width: 32ch;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(243, 245, 247, 0.72);
}

.rb-footer__annot {
  display: inline-block;
  margin-top: clamp(20px, 3vw, 32px);
  height: 112px;
  writing-mode: vertical-rl;
  font-family: var(--rb-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(140, 148, 158, 0.55);
}

.rb-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}

.rb-footer__col-title {
  margin-bottom: 14px;
  font-family: var(--rb-font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--rb-yellow);
}

.rb-footer__list {
  display: grid;
  gap: 9px;
}

.rb-footer__link {
  position: relative;
  display: inline-block;
  font-size: 0.92rem;
  color: rgba(243, 245, 247, 0.78);
  transition: color 160ms var(--rb-ease), transform 160ms var(--rb-ease);
}

.rb-footer__link::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0.66em;
  width: 6px;
  height: 1px;
  background: var(--rb-red);
  opacity: 0;
  transition: opacity 160ms var(--rb-ease);
}

.rb-footer__link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.rb-footer__link:hover::before { opacity: 1; }

.rb-footer__contact {
  min-width: 0;
  padding-left: clamp(18px, 2.5vw, 32px);
  border-left: 1px solid var(--rb-line);
}

.rb-contact-list {
  display: grid;
  gap: 14px;
}

.rb-contact-item { display: grid; gap: 3px; }

.rb-contact-item dt {
  font-family: var(--rb-font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--rb-gray);
}

.rb-contact-item dd {
  font-family: var(--rb-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--rb-white);
  word-break: break-all;
}

.rb-footer__meta {
  margin-top: 12px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(140, 148, 158, 0.9);
}

.rb-footer__bottom {
  margin-top: clamp(30px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--rb-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  font-family: var(--rb-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--rb-gray);
}

.rb-footer__legal { color: rgba(243, 245, 247, 0.7); }
.rb-footer__copy { color: var(--rb-gray); }

/* ---------- 16 · 响应式头部 / 页脚 ---------- */
@media (max-width: 1180px) {
  .rb-brand__tag { display: none; }
}

@media (max-width: 1080px) {
  .rb-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 92px 28px 40px;
    background: var(--rb-black);
    border-left: 1px solid rgba(210, 32, 47, 0.4);
    overflow-y: auto;
    transform: translateX(102%);
    transition: transform 260ms var(--rb-ease);
  }

  .rb-nav[data-open] {
    transform: translateX(0);
    box-shadow: -30px 0 60px -30px #000;
  }

  .rb-nav__group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .rb-nav__group--legal { display: flex; }

  .rb-nav__legend {
    display: block;
    margin: 24px 0 10px;
    font-family: var(--rb-font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    color: var(--rb-yellow);
  }

  .rb-nav__group--content .rb-nav__legend { margin-top: 0; }

  .rb-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .rb-nav__link {
    width: 100%;
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(140, 148, 158, 0.16);
  }

  .rb-nav__link::after {
    left: 4px;
    right: auto;
    bottom: 0;
    width: 34px;
  }

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

  body[data-nav-open]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(10, 11, 13, 0.74);
  }
}

@media (max-width: 960px) {
  .rb-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rb-footer__contact {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid var(--rb-line);
  }
}

@media (max-width: 640px) {
  .rb-header__cta { display: none; }
  .rb-nav-toggle__label { display: none; }
  .rb-footer__top { grid-template-columns: minmax(0, 1fr); }
  .rb-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-footer__annot { height: 84px; }
}

@media (max-width: 420px) {
  .rb-brand__mark { width: 34px; height: 34px; }
  .rb-brand__mark svg { width: 19px; height: 19px; }
  .rb-brand__name { font-size: 1.08rem; }
}

/* ---------- 17 · 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .rb-card:hover { transform: none; }
  .rb-footer__link:hover { transform: none; }
}
