/* ===================================================================
   拼搏体育 / site.css
   夜战战术板：深墨绿底、炭黑绿面板、荧光青柠行动色、橙红时间戳
   =================================================================== */

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

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

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink:        #07110E;
  --ink-deep:   #050C0A;
  --panel:      #0F1E19;
  --tactical:   #17332A;
  --line:       #2A4B3F;
  --mist:       #E9F2EC;
  --sage:       #9FB5A9;
  --lime:       #C6FF4A;
  --lime-soft:  rgba(198, 255, 74, .12);
  --ember:      #FF5E3A;
  --moss:       #6F8F80;

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

  --hair: 1px solid var(--line);
  --hair-soft: 1px solid rgba(42, 75, 63, .6);
  --shadow-island: 0 22px 44px -34px rgba(0, 0, 0, .95);
  --shell: min(1240px, 100% - 40px);
  --ease: cubic-bezier(.22, .7, .2, 1);
}

/* ---------- 3. Base typography ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(90% 55% at 10% -8%, rgba(23, 51, 42, .9), transparent 62%),
    radial-gradient(60% 45% at 102% 2%, rgba(198, 255, 74, .05), transparent 58%);
  background-attachment: fixed;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--mist);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.5rem); letter-spacing: 0; line-height: 1.28; }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 120;
  transform: translateY(-180%);
  padding: 10px 18px;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .06em;
  text-decoration: none;
  transition: transform .2s var(--ease);
}

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

/* ---------- 5. Header / floating capsule masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-bottom: 4px;
}

.masthead__meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(42, 75, 63, .85);
  z-index: 70;
  pointer-events: none;
}

.masthead__meter-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--lime), #8FE02B);
  box-shadow: 0 0 14px rgba(198, 255, 74, .55);
}

.masthead__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1180px, 100% - 28px);
  margin: 12px auto 0;
  padding: 9px 12px 9px 10px;
  background: rgba(13, 28, 23, .9);
  border: 1px solid rgba(42, 75, 63, .9);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(233, 242, 236, .05),
    var(--shadow-island);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: margin-top .28s var(--ease),
              padding .28s var(--ease),
              background .28s var(--ease);
}

.masthead.is-scrolled .masthead__inner {
  margin-top: 6px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: rgba(9, 20, 16, .96);
}

/* brand */
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--mist);
}

.brandmark__badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--lime);
  color: var(--ink-deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  transform: skewX(-9deg);
  box-shadow: 0 0 0 1px rgba(198, 255, 74, .3);
  transition: transform .22s var(--ease);
}

.brandmark:hover .brandmark__badge {
  transform: skewX(-9deg) translateY(-1px);
}

.brandmark__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brandmark__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .1em;
  color: var(--mist);
}

.brandmark__tagline {
  max-height: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--moss);
  opacity: 1;
  transition: max-height .28s var(--ease), opacity .2s var(--ease);
}

.masthead.is-scrolled .brandmark__tagline {
  max-height: 0;
  opacity: 0;
}

/* nav toggle (mobile) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 51, 42, .7);
  color: var(--mist);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.nav-toggle:hover { border-color: rgba(198, 255, 74, .45); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: background .2s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform .22s var(--ease);
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after  { top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
}

/* nav capsule */
.docknav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.docknav__list {
  display: flex;
  align-items: center;
  gap: 1px;
}

.docknav__item { list-style: none; }

.docknav__link {
  display: block;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--sage);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s var(--ease),
              background .18s var(--ease),
              border-color .18s var(--ease);
}

.docknav__link:hover {
  color: var(--mist);
  background: rgba(42, 75, 63, .55);
}

.docknav__link[aria-current="page"] {
  color: var(--lime);
  background: var(--lime-soft);
  border-color: rgba(198, 255, 74, .34);
  font-weight: 700;
}

.docknav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #08150F;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .06em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 26px -16px rgba(198, 255, 74, .95);
  transition: transform .18s var(--ease),
              background .18s var(--ease),
              box-shadow .18s var(--ease);
}

.docknav__cta:hover {
  transform: translateY(-1px);
  background: #D4FF77;
  box-shadow: 0 14px 30px -16px rgba(198, 255, 74, 1);
}

/* ---------- 6. Footer ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background-image:
    radial-gradient(120% 90% at 88% -12%, rgba(198, 255, 74, .07), transparent 60%),
    linear-gradient(180deg, #08130F, var(--ink-deep));
  color: var(--sage);
}

.site-foot::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg,
    var(--lime) 0 16%,
    var(--ember) 16% 18.5%,
    rgba(42, 75, 63, .9) 18.5% 100%);
}

/* tool belt */
.foot-belt {
  background: rgba(23, 51, 42, .45);
  border-bottom: 1px solid var(--line);
}

.foot-belt__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 12px 0;
}

.foot-belt__label {
  padding: 3px 8px;
  border: 1px solid rgba(198, 255, 74, .35);
  border-radius: 2px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.foot-belt__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
}

.foot-belt__link {
  color: var(--mist);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(198, 255, 74, .35);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.foot-belt__link:hover {
  color: var(--lime);
  border-bottom-style: solid;
  border-bottom-color: var(--lime);
}

.foot-belt__ver {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--moss);
  white-space: nowrap;
}

/* main columns */
.foot-main {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.foot-brand::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--ember);
}

.foot-brand__name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .14em;
  color: var(--mist);
}

.foot-brand__line {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--lime);
}

.foot-brand__note {
  max-width: 26ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--moss);
}

.foot-brand__cta { margin-top: 6px; }

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

.foot-col__title {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--moss);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.foot-list__link {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--sage);
  text-decoration: none;
  transition: color .18s var(--ease), transform .18s var(--ease);
}

.foot-list__link:hover {
  color: var(--lime);
  transform: translateX(3px);
}

/* contact band */
.foot-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.foot-contact__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.foot-contact__key {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--moss);
}

.foot-contact__val {
  font-size: 14px;
  color: var(--mist);
  word-break: break-word;
}

.foot-contact__note {
  grid-column: 1 / -1;
  max-width: 76ch;
  padding-left: 12px;
  border-left: 2px solid var(--ember);
  font-size: 12px;
  line-height: 1.8;
  color: var(--moss);
}

/* legal */
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 18px 0 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--moss);
}

.foot-legal__copy { margin: 0; }

.foot-legal__icp {
  margin: 0;
  color: var(--sage);
}

.foot-legal__link {
  color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 143, 128, .35);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.foot-legal__link:first-of-type { margin-left: auto; }

.foot-legal__link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- 7. Generic layout ---------- */
.container {
  width: var(--shell);
  margin-inline: auto;
}

.container--narrow { width: min(860px, 100% - 40px); }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

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

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
}

.panel {
  background: var(--panel);
  border: var(--hair);
  border-radius: 2px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: inset 0 1px 0 rgba(233, 242, 236, .03);
}

.section-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--lime);
}

.vert-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--moss);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ---------- 8. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease),
              color .18s var(--ease),
              border-color .18s var(--ease),
              transform .18s var(--ease);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink-deep);
}

.btn--lime:hover {
  background: #D6FF80;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--mist);
  border-color: var(--line);
}

.btn--ghost:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.btn--ember {
  background: var(--ember);
  color: #140805;
}

.btn--ember:hover { background: #FF7A5C; }

/* ---------- 9. Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--moss);
}

.breadcrumbs a {
  color: var(--sage);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.breadcrumbs a:hover { color: var(--lime); }

.breadcrumbs__sep {
  color: var(--line);
  user-select: none;
}

.breadcrumbs [aria-current="page"] { color: var(--mist); }

/* ---------- 10. Prose ---------- */
.prose { max-width: 68ch; }

.prose p {
  margin-bottom: 24px;
  color: var(--sage);
  line-height: 1.7;
}

.prose h2 {
  margin: 40px 0 16px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.prose h3 { margin: 28px 0 12px; }

.prose ul { margin-bottom: 24px; }

.prose ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--sage);
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 2px;
  background: var(--lime);
}

.prose a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 74, .4);
}

.prose a:hover { border-bottom-color: var(--lime); }

.prose strong { color: var(--mist); font-weight: 700; }

/* ---------- 11. Media frame ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: var(--hair);
  border-radius: 2px;
  background:
    linear-gradient(140deg, rgba(23, 51, 42, .95), rgba(7, 17, 14, .98));
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(to right, rgba(42, 75, 63, .55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(42, 75, 63, .55) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media-frame--wide   { aspect-ratio: 21 / 9; }
.media-frame--tall   { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-frame__img,
.media-frame > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 5px 10px;
  background: var(--lime);
  color: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------- 12. Reveal ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .62s var(--ease),
    transform .62s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 60ms);
}

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

/* ---------- 13. Responsive ---------- */
@media (max-width: 1080px) {
  .docknav__link { padding: 8px 10px; font-size: 13.5px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .docknav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-left: 0;
    padding: 12px;
    background: rgba(11, 24, 19, .99);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .docknav[data-open] { display: flex; }

  .docknav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .docknav__link {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .docknav__link[aria-current="page"] {
    border-color: rgba(198, 255, 74, .28);
  }

  .docknav__cta {
    margin: 8px 0 0;
    padding: 12px 18px;
  }

  .foot-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .foot-brand { grid-column: 1 / -1; }
  .foot-brand__note { max-width: 46ch; }
}

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

  :root { --shell: min(1240px, 100% - 32px); }
}

@media (max-width: 600px) {
  .foot-main { grid-template-columns: minmax(0, 1fr); }
  .foot-brand__note { max-width: none; }
  .foot-contact { grid-template-columns: minmax(0, 1fr); }
  .foot-contact__note { border-left-width: 2px; }
  .foot-legal__link:first-of-type { margin-left: 0; }
  .foot-belt__ver { margin-left: 0; width: 100%; }
}

@media (max-width: 420px) {
  .masthead__inner { padding: 8px; gap: 8px; }
  .brandmark__tagline { display: none; }
  .nav-toggle__label { display: none; }
  .brandmark__name { font-size: 16px; letter-spacing: .06em; }
}

/* ---------- 14. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

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

  .foot-list__link:hover,
  .docknav__cta:hover,
  .btn:hover {
    transform: none;
  }
}
