/* ============ 悦盈体育 全站共享样式 ============ */

:root {
  --glacier-deep: #0B2A4A;
  --glacier-bright: #1E90FF;
  --lava-orange: #FF6B35;
  --ice-white: #F0F8FF;
  --graphite: #1A1A2E;
  --data-green: #00C896;
  --warn-yellow: #FFC107;
  --text-high: #0B1A2A;
  --text-mid: #4A6A8A;
  --glow: rgba(255,107,53,0.6);

  --font-head: "Barlow Condensed", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Noto Sans SC", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", monospace;

  --header-width: 280px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Reset / 基础 ============ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-high);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(30, 144, 255, 0.12) 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    var(--ice-white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body {
    margin-left: var(--header-width);
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

ol,
ul {
  margin-top: 0;
}

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

a {
  color: var(--glacier-bright);
  text-decoration: none;
}

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

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

::selection {
  background: var(--glacier-bright);
  color: #fff;
}

/* ============ 工具类 ============ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 9999;
  background: var(--lava-orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 4px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 20px;
  color: #fff;
}

/* ============ 品牌标识 ============ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--lava-orange), #ff4500);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  transform: skewX(-2deg);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-high);
  transform: skewX(-2deg);
  white-space: nowrap;
}

.brand-text em {
  display: inline-block;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  background: var(--glacier-bright);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
  transform: skewX(1deg);
}

.site-header .brand-text,
.site-footer .brand-text {
  color: #fff;
}

/* ============ 头部容器 ============ */

.site-header {
  position: relative;
  z-index: 100;
}

@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--header-width);
    height: 100vh;
    z-index: 200;
  }
}

/* ============ 阅读进度条 ============ */

.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 300;
  pointer-events: none;
  background: rgba(11, 42, 74, 0.08);
}

.progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--glacier-bright), var(--lava-orange));
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
  transition: width 0.1s linear;
}

@media (min-width: 1024px) {
  .progress-track {
    left: var(--header-width);
  }
}

/* ============ 移动端顶栏 ============ */

.header-mobile {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  background: rgba(11, 42, 74, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (min-width: 1024px) {
  .header-mobile {
    display: none;
  }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 107, 53, 0.7);
}

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

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ============ 侧边轨道导航 ============ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 220;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #0B2A4A 0%, #0e2f52 55%, #0a1f38 100%);
  color: #fff;
  transform: translateX(-105%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav[data-open] {
  transform: translateX(0);
  box-shadow: 24px 0 60px rgba(6, 20, 35, 0.5);
}

.site-nav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, rgba(30, 144, 255, 0.4), rgba(255, 107, 53, 0.7), transparent);
  opacity: 0.7;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .site-nav {
    width: var(--header-width);
    max-width: none;
    transform: none;
    transition: none;
    box-shadow: none;
  }
}

/* ============ 导航遮罩 ============ */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(11, 42, 74, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav-overlay[data-open] {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .nav-overlay {
    display: none;
  }
}

/* ============ 导航品牌区 ============ */

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 20px 18px;
}

.nav-close {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.nav-close:hover {
  border-color: var(--lava-orange);
}

@media (min-width: 1024px) {
  .nav-close {
    display: none;
  }
}

.nav-close-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ============ 导航列表 ============ */

.nav-list {
  list-style: none;
  margin: 0;
  padding: 24px 14px 32px;
  position: relative;
  flex: 1;
}

.nav-list::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(30, 144, 255, 0.2) 15%, rgba(255, 107, 53, 0.35) 80%, transparent);
  pointer-events: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.92);
  border-left-color: rgba(255, 107, 53, 0.7);
  background: rgba(30, 144, 255, 0.06);
}

.nav-link[aria-current="page"] {
  color: #fff;
  border-left-color: var(--lava-orange);
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.18), rgba(30, 144, 255, 0.02));
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  line-height: 1;
  min-width: 14px;
  text-align: center;
}

.nav-label {
  display: inline-block;
  transform: skewX(-2deg);
}

.nav-indicator {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lava-orange);
  box-shadow: 0 0 8px var(--glow);
  opacity: 0;
  transition: opacity 0.2s;
}

.nav-link:hover .nav-indicator,
.nav-link[aria-current="page"] .nav-indicator {
  opacity: 1;
}

/* ============ 导航底部行动区 ============ */

.nav-cta {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--lava-orange);
  color: #fff;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
  transform: translateY(-2px);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.nav-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 14px 0 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--data-green);
  box-shadow: 0 0 8px rgba(0, 200, 150, 0.6);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

/* ============ 页脚 ============ */

.site-footer {
  background: linear-gradient(135deg, #101020 0%, var(--graphite) 45%, #120b1e 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lava-orange) 0%, var(--glacier-bright) 50%, transparent 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 32px;
  }
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin: 18px 0 0;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 18px;
  transform: skewX(-2deg);
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--lava-orange);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.footer-contact-list li {
  margin-bottom: 14px;
}

.footer-contact-list a {
  color: #fff;
  font-weight: 600;
}

.contact-label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 2px;
}

.contact-value {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.contact-note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============ 布局容器 ============ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }
}

.page-header {
  padding: 48px 0 24px;
  position: relative;
}

.page-header .page-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  margin: 0 0 12px;
}

.page-header .lead {
  max-width: 640px;
  margin: 0;
}

/* ============ 排版辅助 ============ */

.display-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  transform: skewX(-2deg);
  margin: 0 0 16px;
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-mid);
}

.section-head {
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  transform: skewX(-2deg);
  margin: 0 0 8px;
}

.section-sub {
  color: var(--text-mid);
  max-width: 600px;
  margin: 0;
}

.data-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-high);
  font-variant-numeric: tabular-nums;
}

/* ============ 面包屑 ============ */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--glacier-bright);
}

.breadcrumb-sep {
  color: var(--text-mid);
}

.breadcrumb [aria-current="page"] {
  color: var(--text-mid);
}

/* ============ 栅格 ============ */

.grid-2,
.grid-3 {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ============ 卡片 ============ */

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 24px rgba(11, 42, 74, 0.08);
}

.solid-card {
  background: linear-gradient(135deg, var(--glacier-deep), #123a5f);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.solid-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 70%);
  pointer-events: none;
}

/* ============ 标签 ============ */

.tag-chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(30, 144, 255, 0.12);
  color: var(--glacier-bright);
  border: 1px solid rgba(30, 144, 255, 0.2);
  font-family: var(--font-head);
  text-transform: uppercase;
}

.tag-chip--orange {
  background: rgba(255, 107, 53, 0.12);
  color: var(--lava-orange);
  border-color: rgba(255, 107, 53, 0.25);
}

.tag-chip--green {
  background: rgba(0, 200, 150, 0.12);
  color: var(--data-green);
  border-color: rgba(0, 200, 150, 0.25);
}

/* ============ 图片容器基础规则 ============ */

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.12), rgba(11, 42, 74, 0.22));
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
}

.img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.img-frame:hover > img {
  transform: scale(1.04);
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.img-frame--wide {
  aspect-ratio: 21 / 9;
}

/* ============ 响应式与无障碍 ============ */

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .page-header {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
