/* ============ AOA竞技 Site Kit — /assets/site.css ============ */
/* 核心：深空蓝 × 数据脉冲 / 极简文字建筑 / 框架式导航 / 速度线系统 */

:root {
  --c-bg: #0A1E3F;
  --c-bg-deep: #050D1A;
  --c-bg-lift: #1E3A5F;
  --c-accent: #39FF14;
  --c-orange: #FF6A00;
  --c-text: #E8EDF5;
  --c-text-dim: #A0B0C8;
  --c-border: rgba(255, 255, 255, 0.12);
  --grad-bg: linear-gradient(135deg, #0A1E3F 0%, #1E3A5F 100%);
  --font-display: Impact, "Haettenschweiler", "Arial Narrow Bold", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container-w: 1200px;
  --header-h: 76px;
  --radius: 2px;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(1000px 520px at 85% -5%, rgba(57, 255, 20, 0.07), transparent 60%),
    radial-gradient(820px 460px at 10% 108%, rgba(255, 106, 0, 0.08), transparent 60%);
  background-repeat: no-repeat;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 0;
  height: auto;
  z-index: 90;
  pointer-events: none;
}
body::before {
  left: 10px;
  border-left: 2px dashed rgba(57, 255, 20, 0.22);
}
body::after {
  right: 10px;
  border-left: 2px dashed rgba(255, 106, 0, 0.22);
}

::selection {
  background: var(--c-accent);
  color: var(--c-bg-deep);
}

:focus-visible {
  outline: 2px dashed var(--c-accent);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--c-text);
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--container-w), 92vw);
  margin-inline: auto;
}

.container-narrow {
  width: min(780px, 92vw);
  margin-inline: auto;
}

.main-content {
  min-height: 62vh;
}

/* ---------- 跳转链接 ---------- */

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--c-accent);
  color: var(--c-bg-deep);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  text-decoration: none;
}

/* ---------- 头部框架 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 13, 26, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent) 0 26%, var(--c-bg-lift) 26% 62%, var(--c-orange) 62% 100%);
  z-index: 4;
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--c-accent), var(--c-orange));
  z-index: 6;
  pointer-events: none;
}

.header-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
  flex: 0 0 auto;
}

.brand-lockup:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--c-accent) 10%, #9dff8a 90%);
  color: var(--c-bg-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 17px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
  transform: skewX(-8deg);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  color: var(--c-text-dim);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
}

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

.nav-list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: var(--c-text-dim);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--c-text);
  background-color: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav-list a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.14), rgba(57, 255, 20, 0));
}

.nav-list a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  background: var(--c-accent);
  transform: skewX(-18deg);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.55);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid rgba(57, 255, 20, 0.35);
  background: rgba(57, 255, 20, 0.08);
  color: var(--c-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--c-border);
  cursor: pointer;
  z-index: 15;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-accent);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header[data-open] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-open] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  margin-top: 96px;
  background-color: var(--c-bg-deep);
  color: var(--c-text-dim);
  border-top: 1px solid var(--c-border);
}

.footer-accent {
  height: 4px;
  background: repeating-linear-gradient(-45deg, rgba(57, 255, 20, 0.5) 0 12px, transparent 12px 24px, rgba(255, 106, 0, 0.5) 24px 36px, transparent 36px 48px);
  opacity: 0.45;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1.2fr 0.95fr;
  gap: 44px;
  padding-block: 56px 42px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin-bottom: 12px;
  text-transform: uppercase;
  line-height: 1.1;
}

.footer-logo span {
  color: var(--c-accent);
}

.footer-about {
  font-size: 14px;
  line-height: 1.8;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--c-text);
  text-transform: uppercase;
}

.footer-title::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-orange));
}

.footer-links,
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: var(--c-text-dim);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-accent);
  padding-left: 6px;
  text-decoration: none;
}

.footer-contact li {
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-block: 18px;
  border-top: 1px solid var(--c-border);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

p.copyright {
  color: var(--c-text-dim);
}

p.icp {
  color: var(--c-text-dim);
}

p.footer-trust {
  width: 100%;
  opacity: 0.78;
}

/* ---------- 返回顶部 / 按钮 ---------- */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 190;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(5, 13, 26, 0.88);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-bg-deep);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(57, 255, 20, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(57, 255, 20, 0.5);
  color: var(--c-accent);
}

.btn-outline:hover {
  background: rgba(57, 255, 20, 0.08);
  border-color: var(--c-accent);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.12);
}

/* ---------- 分区与标题 ---------- */

.section {
  padding-block: 76px;
}

.section-sm {
  padding-block: 40px;
}

.surface-deep {
  background-color: var(--c-bg-deep);
}

.surface-lift {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.4), transparent 70%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-orange);
}

.section-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
}

.section-lead {
  margin-top: 12px;
  color: var(--c-text-dim);
  font-size: 17px;
  max-width: 640px;
}

/* ---------- 面包屑 ---------- */

.breadcrumb {
  margin-block: 26px 12px;
  font-size: 14px;
  color: var(--c-text-dim);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 8px;
  color: var(--c-text-dim);
  opacity: 0.55;
}

.breadcrumb a {
  color: var(--c-text-dim);
}

.breadcrumb a:hover {
  color: var(--c-accent);
}

.breadcrumb li:last-child {
  color: var(--c-text);
}

/* ---------- 网格 / 卡片 / 数据 / 标签 ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card {
  position: relative;
  padding: 26px;
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.42), rgba(5, 13, 26, 0.3));
  border: 1px solid var(--c-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  border-color: rgba(57, 255, 20, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(57, 255, 20, 0.12);
  transform: translateY(-3px);
}

.card-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.card-text {
  color: var(--c-text-dim);
  font-size: 15px;
}

.stat-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stat-item {
  border-left: 2px solid var(--c-border);
  padding-left: 16px;
  transition: border-color 0.2s ease;
}

.stat-item:hover {
  border-color: var(--c-accent);
}

.stat-number {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--c-text);
}

.stat-label {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-text-dim);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-text-dim);
  border: 1px solid var(--c-border);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.tag:hover {
  color: var(--c-text);
  border-color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.tag--green {
  color: var(--c-accent);
  border-color: rgba(57, 255, 20, 0.4);
  background: rgba(57, 255, 20, 0.06);
}

.tag--orange {
  color: var(--c-orange);
  border-color: rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.06);
}

/* ---------- 正文 / 页首 ---------- */

.prose {
  max-width: 720px;
}

.prose p {
  color: var(--c-text-dim);
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background: var(--grad-bg);
  border-bottom: 1px solid var(--c-border);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.16), transparent 68%);
  clip-path: polygon(100% 0, 100% 100%, 68% 100%);
  pointer-events: none;
}

.page-title {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.page-subtitle {
  margin-top: 14px;
  max-width: 620px;
  color: var(--c-text-dim);
  font-size: 17px;
}

/* ---------- 图片容器 ---------- */

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--grad-bg);
  border: 1px solid var(--c-border);
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-55deg, transparent 0 15px, rgba(255, 255, 255, 0.045) 15px 16px);
  pointer-events: none;
  z-index: 1;
}

.image-frame > img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.image-frame--tall {
  aspect-ratio: 4 / 5;
}

.image-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: 0.08em;
  color: rgba(232, 237, 245, 0.26);
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.55), rgba(5, 13, 26, 0.55));
}

/* ---------- 滚动显现 ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

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

[data-reveal-delay="1"] {
  transition-delay: 0.12s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.24s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.36s;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .header-status {
    display: none;
  }

  .brand-sub {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 24px 40px;
    background: rgba(5, 13, 26, 0.98);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
  }

  .site-header[data-open] .site-nav {
    visibility: visible;
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--c-border);
  }

  .nav-list a {
    padding: 16px 20px;
    font-size: 18px;
  }

  .nav-list a[aria-current="page"] {
    background: rgba(57, 255, 20, 0.1);
  }

  .nav-list a[aria-current="page"]::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transform: none;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 56px;
  }
}

@media (max-width: 639px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding-block: 40px 28px;
  }

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

  .stat-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 动效可访问性 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .header-status::before {
    animation: none;
  }

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

  .back-to-top {
    transition: none;
  }
}
