/* =============================================================
   德赢体育 · 共享站点样式 /assets/site.css
   夜场墨绿 + 荧光青柠 + 暖橙行动色 / 目录型内容地图骨架
   ============================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
table { border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --night: #061E18;
  --turf: #0B2F26;
  --panel: #123A30;
  --lime: #C8FF4D;
  --lime-soft: #D9FF80;
  --orange: #FF8A3D;
  --mist: #F2F7EA;
  --sage: #9FB8A9;
  --line: #4AD6B2;
  --void: #030F0C;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --font-display: "Barlow Condensed", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-mega: clamp(52px, 11vw, 150px);
  --fs-display: clamp(30px, 5vw, 58px);
  --fs-h2: clamp(24px, 3.2vw, 38px);
  --fs-h3: clamp(19px, 1.9vw, 25px);
  --fs-lead: clamp(17px, 1.35vw, 20px);
  --fs-body: 16px;
  --fs-note: 13px;
  --fs-label: 11px;

  --header-bar: 68px;
  --header-quick: 36px;
  --header-total: calc(var(--header-bar) + var(--header-quick));

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-lift: 0 20px 46px -28px rgba(0, 0, 0, .95);
}

/* ---------- 3. Base typography ---------- */
body {
  background-color: var(--night);
  background-image:
    radial-gradient(780px 420px at 86% -8%, rgba(200, 255, 77, .09), transparent 68%),
    radial-gradient(680px 520px at -14% 26%, rgba(74, 214, 178, .07), transparent 72%);
  background-repeat: no-repeat;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.004em;
  text-transform: uppercase;
  color: var(--mist);
}
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: .01em; }
p { max-width: 68ch; }
strong, b { font-weight: 700; color: var(--mist); }
small { font-size: var(--fs-note); }
::selection { background: var(--lime); color: var(--void); }

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

#main-content {
  padding-top: var(--header-total);
  scroll-margin-top: var(--header-total);
}

/* ---------- 4. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section { padding-block: clamp(40px, 6vw, 84px); }
.section__head { display: grid; gap: 12px; margin-bottom: clamp(22px, 3vw, 38px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.section-title { font-size: var(--fs-h2); margin: 0; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.8;
  color: rgba(242, 247, 234, .86);
  max-width: 62ch;
}

.divider {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 48px) 0;
  background: linear-gradient(90deg, rgba(74, 214, 178, .5), rgba(74, 214, 178, .04));
}

/* 目录型 3 / 9 非对称栅格 */
.grid-index {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.grid-index__aside { position: relative; }
.grid-index__main { min-width: 0; }

.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stack-8 > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .16s var(--ease), background .16s var(--ease),
              color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--lime {
  background: var(--lime);
  color: var(--void);
  box-shadow: 0 12px 30px -18px rgba(200, 255, 77, .95);
}
.btn--lime:hover { background: var(--lime-soft); }

.btn--orange {
  background: var(--orange);
  color: #0B2A1E;
  box-shadow: 0 12px 30px -20px rgba(255, 138, 61, .9);
}
.btn--orange:hover { background: #FFA467; }

.btn--ghost {
  background: rgba(18, 58, 48, .55);
  color: var(--mist);
  border-color: rgba(74, 214, 178, .42);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn--sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- 6. Pills / numbers ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(74, 214, 178, .12);
  color: var(--line);
  border: 1px solid rgba(74, 214, 178, .3);
}
.pill--lime { background: rgba(200, 255, 77, .14); color: var(--lime); border-color: rgba(200, 255, 77, .42); }
.pill--orange { background: rgba(255, 138, 61, .16); color: var(--orange); border-color: rgba(255, 138, 61, .42); }
.pill--sage { background: rgba(159, 184, 169, .12); color: var(--sage); border-color: rgba(159, 184, 169, .28); }

.num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-mega);
  line-height: .86;
  letter-spacing: -.045em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

/* ---------- 7. Card ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 58, 48, .94), rgba(11, 47, 38, .94));
  border: 1px solid rgba(74, 214, 178, .2);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.2vw, 28px);
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover {
  border-color: rgba(217, 255, 128, .6);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.card__title { font-size: var(--fs-h3); margin: 0 0 8px; }
.card__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}
.card__body { color: rgba(242, 247, 234, .82); font-size: 15.5px; line-height: 1.78; }

/* ---------- 8. Media containers（页面阶段放图） ---------- */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-lg);
  border: 1px solid rgba(74, 214, 178, .18);
  background-image: linear-gradient(140deg, #0B2F26 0%, #123A30 48%, #061E18 100%);
  background-color: var(--turf);
}
.media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 15, 12, 0), rgba(3, 15, 12, .74));
}
.media__img, .media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
}
.media--wide { aspect-ratio: 16 / 9; }
.media--field { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
}
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__link { color: var(--sage); transition: color .16s var(--ease); }
.breadcrumb__link:hover { color: var(--lime); }
.breadcrumb__sep { color: rgba(159, 184, 169, .45); }
.breadcrumb__current { color: var(--mist); }

/* ---------- 10. Motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--line), var(--lime));
  pointer-events: none;
  z-index: 160;
}

/* ---------- 11. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--void);
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-180%);
  transition: transform .18s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 12. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(3, 15, 12, .9) 0%, rgba(3, 15, 12, .46) 62%, rgba(3, 15, 12, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background .28s var(--ease), border-color .28s var(--ease),
              box-shadow .28s var(--ease), backdrop-filter .28s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(6, 30, 24, .97);
  border-bottom-color: rgba(74, 214, 178, .22);
  box-shadow: 0 18px 46px -30px #000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__bar { height: var(--header-bar); display: flex; align-items: center; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  height: 100%;
}

/* 品牌锁形 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--mist);
  transition: color .16s var(--ease);
}
.brand:hover { color: var(--lime); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--lime);
  color: var(--void);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(3, 15, 12, .4), 0 10px 26px -14px rgba(200, 255, 77, .95);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.18; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand__desc {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
}

/* 导航 */
.nav { display: flex; align-items: center; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { display: flex; }
.nav__link {
  position: relative;
  display: block;
  padding: 9px 13px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(242, 247, 234, .78);
  transition: color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.nav__link:hover { color: var(--mist); background: rgba(74, 214, 178, .12); }
.nav__link[aria-current="page"] {
  color: var(--lime);
  background: rgba(200, 255, 77, .12);
  box-shadow: inset 0 0 0 1px rgba(200, 255, 77, .38);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(74, 214, 178, .35);
  background: rgba(18, 58, 48, .72);
  color: var(--mist);
  cursor: pointer;
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); background: rgba(18, 58, 48, .95); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--mist);
  transition: background .16s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--mist);
  transition: transform .22s var(--ease);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.site-header[data-open="true"] .nav-toggle__bars { background: transparent; }
.site-header[data-open="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 第二层速览索引条 */
.header-quick {
  height: var(--header-quick);
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(74, 214, 178, .14);
}
.header-quick__list {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
}
.header-quick__label { color: rgba(200, 255, 77, .78); }
.header-quick__link {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--sage);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.header-quick__link:hover { color: var(--mist); border-bottom-color: var(--lime); }

/* ---------- 13. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--void);
  border-top: 1px solid rgba(74, 214, 178, .2);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: .6;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 60px);
  padding-block: clamp(46px, 6vw, 80px) clamp(32px, 4.5vw, 54px);
}
.footer-brand { max-width: 46ch; }
.footer-tagline {
  margin: 18px 0 22px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--sage);
}
.footer-contact { display: grid; gap: 10px; }
.footer-contact__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
}
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(159, 184, 169, .85);
}
.footer-contact__value { color: rgba(242, 247, 234, .88); word-break: break-word; }
.footer-contact__value a {
  color: var(--mist);
  border-bottom: 1px solid rgba(74, 214, 178, .4);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-contact__value a:hover { color: var(--lime); border-bottom-color: var(--lime); }

.footer-col__title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-col__list { display: grid; gap: 11px; }
.footer-col__link {
  font-size: 15px;
  color: rgba(242, 247, 234, .74);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.footer-col__link:hover { color: var(--lime); padding-left: 4px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding-block: 22px 36px;
  border-top: 1px solid rgba(74, 214, 178, .16);
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.footer-legal__link {
  font-size: 13px;
  color: var(--sage);
  transition: color .16s var(--ease);
}
.footer-legal__link:hover { color: var(--lime); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(159, 184, 169, .86);
  max-width: none;
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-index { grid-template-columns: minmax(0, 1fr); }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root {
    --header-bar: 60px;
    --header-total: 60px;
  }
  .header-quick { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    top: var(--header-bar);
    left: 0;
    right: 0;
    display: block;
    margin: 0;
    padding: 12px clamp(18px, 5vw, 28px) 22px;
    background: rgba(6, 30, 24, .99);
    border-bottom: 1px solid rgba(74, 214, 178, .24);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: max-height .32s var(--ease), opacity .2s var(--ease),
                transform .26s var(--ease), visibility .2s var(--ease);
  }
  .site-header[data-open="true"] .nav {
    max-height: min(78vh, 620px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__list { display: block; }
  .nav__item + .nav__item { border-top: 1px solid rgba(74, 214, 178, .12); }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4px;
    border-radius: 0;
    font-size: 17px;
    color: rgba(242, 247, 234, .86);
  }
  .nav__link:hover { background: transparent; color: var(--mist); }
  .nav__link[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    color: var(--lime);
  }
  .nav__link[aria-current="page"]::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(200, 255, 77, .16);
  }
  html.nav-open, html.nav-open body { overflow: hidden; }

  .site-header__inner { gap: 12px; }
  .brand__desc { display: none; }
}

@media (max-width: 700px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-contact__item { grid-template-columns: 46px minmax(0, 1fr); }
  .brand__mark { width: 34px; height: 34px; font-size: 18px; }
  .brand__name { font-size: 16.5px; }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
