/* /assets/site.css */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #E6E6E6;
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 212, 255, 0.10), transparent 36%),
    linear-gradient(180deg, #0A1F44 0%, #081735 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

:root {
  --c-space: #060C18;
  --c-deep: #0A1F44;
  --c-deep-2: #0E2A5C;
  --c-neon: #39FF14;
  --c-silver: #C0C0C0;
  --c-light: #E6E6E6;
  --c-warn: #FF3D3D;
  --c-amber: #FFC107;
  --c-cyan: #00D4FF;
  --c-border: rgba(192, 192, 192, 0.22);
  --font-head: "Rajdhani", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-data: "Roboto Mono", "Consolas", monospace;
  --container: 1280px;
  --transition: 160ms ease;
  --radius: 18px;
}

ul, ol, menu { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
a { color: var(--c-cyan); text-decoration: none; }
a:hover { color: var(--c-neon); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: rgba(57, 255, 20, 0.3); color: #E6E6E6; }
:focus-visible { outline: 2px solid var(--c-neon); outline-offset: 3px; border-radius: 4px; }

#main-content { outline: none; scroll-margin-top: 5rem; }
.site-main { flex: 1; width: 100%; padding: 2rem 0 3rem; }
.site-container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--c-neon);
  color: var(--c-space);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-head);
  text-decoration: none;
  transition: top 160ms ease;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem 0;
  transition: padding 200ms ease;
}
.site-header[data-scrolled="true"] { padding-top: 0.35rem; }

.header-inner {
  position: relative;
  max-width: 1480px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(6, 12, 24, 0.88);
  border: 1px solid rgba(0, 212, 255, 0.28);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background-image: linear-gradient(100deg, rgba(0, 212, 255, 0.07), transparent 36%);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.site-header[data-scrolled="true"] .header-inner {
  background: rgba(4, 7, 15, 0.96);
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 212, 255, 0.12);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--c-light);
  flex-shrink: 0;
}
.site-brand:hover .brand-name { color: var(--c-neon); }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-neon) 0%, var(--c-cyan) 100%);
  color: var(--c-space);
  font-family: var(--font-data);
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 10px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.brand-text { display: grid; gap: 0.08rem; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--c-light); transition: color 160ms ease; }
.brand-sub { font-family: var(--font-data); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--c-silver); text-transform: uppercase; }

.site-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 0.12rem; }
.nav-link {
  display: block;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  color: var(--c-silver);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
.nav-link:hover {
  color: var(--c-neon);
  background: rgba(57, 255, 20, 0.1);
}
.nav-link[aria-current="page"] {
  color: var(--c-space);
  background: var(--c-neon);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.35);
}

.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-neon {
  background: var(--c-neon);
  color: var(--c-space);
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
}
.btn-neon:hover { box-shadow: 0 0 24px rgba(57, 255, 20, 0.55); color: var(--c-space); }
.btn-outline {
  background: transparent;
  border-color: rgba(0, 212, 255, 0.6);
  color: var(--c-cyan);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}
.btn-outline:hover { background: rgba(0, 212, 255, 0.1); color: var(--c-cyan); }
.footer-contact-btn { margin-top: 1rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.45);
  color: var(--c-light);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  line-height: 1;
}
.nav-toggle-icon {
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background-color 160ms ease;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 160ms ease, top 160ms ease;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }
.nav-toggle-text { font-size: 0.8rem; font-weight: 700; }

.site-footer {
  position: relative;
  margin-top: auto;
  background: linear-gradient(180deg, var(--c-space) 0%, #04070F 100%);
  border-top: 1px solid rgba(0, 212, 255, 0.25);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-neon), var(--c-cyan), transparent);
  opacity: 0.5;
}
.footer-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr;
  gap: 2rem;
  padding: 3rem 1.25rem 1.5rem;
}
.footer-brand { display: grid; gap: 1rem; justify-items: start; }
.footer-brand-link { align-items: flex-start; }
.footer-tagline { color: var(--c-silver); font-size: 0.9rem; max-width: 38ch; }
.footer-legal-note {
  margin-top: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(192, 192, 192, 0.25);
  font-size: 0.78rem;
  color: rgba(230, 230, 230, 0.62);
  max-width: 44ch;
}
.footer-column { display: grid; align-content: start; gap: 0.8rem; }
.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--c-light);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--c-neon);
  padding-left: 0.7rem;
}
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a {
  display: inline-block;
  color: var(--c-silver);
  font-size: 0.9rem;
  padding-left: 1rem;
  position: relative;
  transition: color 160ms ease;
}
.footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--c-cyan);
  font-family: var(--font-data);
  font-size: 0.75rem;
}
.footer-links a:hover { color: var(--c-neon); }
.footer-contact-list { display: grid; gap: 0.6rem; }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--c-light); }
.footer-contact-item .label {
  min-width: 3.2em;
  color: var(--c-neon);
  font-family: var(--font-data);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 0.2rem;
}
.footer-contact-item .value { color: rgba(230, 230, 230, 0.85); }

.footer-bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(192, 192, 192, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { color: var(--c-silver); font-size: 0.82rem; }
.footer-icp { color: rgba(192, 192, 192, 0.7); font-family: var(--font-data); font-size: 0.75rem; }
.top-button {
  background: var(--c-deep-2);
  color: var(--c-neon);
  border: 1px solid var(--c-neon);
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.65rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.top-button.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.top-button:hover { box-shadow: 0 0 18px rgba(57, 255, 20, 0.35); }

.breadcrumb { margin: 0 0 1.5rem; font-family: var(--font-data); font-size: 0.78rem; }
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.breadcrumb-item { color: var(--c-silver); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: 0.35rem; color: var(--c-cyan); }
.breadcrumb-link { color: var(--c-cyan); text-decoration: none; }
.breadcrumb-link:hover { color: var(--c-neon); }
.breadcrumb-current { color: var(--c-neon); }

.page-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  position: relative;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--c-neon);
}
.lead { font-size: 1.05rem; line-height: 1.8; color: var(--c-silver); max-width: 60ch; }
.section { padding: 2.5rem 0; }
.section-alt { background: rgba(6, 12, 24, 0.35); border-top: 1px solid rgba(0, 212, 255, 0.12); border-bottom: 1px solid rgba(0, 212, 255, 0.12); }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; }
.bento-card { grid-column: span 3; }
.bento-wide { grid-column: span 4; }
.bento-tall { grid-column: span 3; grid-row: span 2; }
.bento-narrow { grid-column: span 2; }

.panel,
.card {
  position: relative;
  background: var(--c-deep-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.panel-cut { overflow: hidden; border-radius: 12px; }
.panel-cut::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(225deg, var(--c-neon) 0 48%, transparent 50%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.panel-cut > * { position: relative; z-index: 1; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-family: var(--font-data);
  font-size: 0.72rem;
  color: var(--c-light);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.35);
}
.status-chip[data-tone="danger"] { background: rgba(255, 61, 61, 0.12); border-color: rgba(255, 61, 61, 0.5); color: #FF6B6B; }
.status-chip[data-tone="ok"] { background: rgba(57, 255, 20, 0.12); border-color: rgba(57, 255, 20, 0.5); color: var(--c-neon); }
.data-number { font-family: var(--font-data); font-weight: 700; color: var(--c-neon); font-size: 1.9rem; line-height: 1.1; }
.data-label { font-family: var(--font-data); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-silver); }
.data-chip { font-family: var(--font-data); font-weight: 700; }

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  background: linear-gradient(135deg, var(--c-deep-2) 0%, var(--c-space) 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.image-frame::after {
  content: "赛事影像";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.45rem 0.7rem;
  background: rgba(6, 12, 24, 0.72);
  font-family: var(--font-data);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(0, 212, 255, 0.9);
}
.image-frame--wide { aspect-ratio: 21 / 9; }
.image-frame--square { aspect-ratio: 1 / 1; }
.image-frame--portrait { aspect-ratio: 3 / 4; }
.image-frame > img,
.image-frame > [data-image] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .nav-link { padding: 0.5rem 0.45rem; font-size: 0.8rem; }
  .header-inner { gap: 0.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card,
  .bento-wide,
  .bento-tall,
  .bento-narrow { grid-column: auto; grid-row: auto; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    background: rgba(6, 12, 24, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .site-nav[data-open="true"] { display: flex; }
  .nav-list { flex-direction: column; width: 100%; gap: 0.25rem; }
  .nav-link { width: 100%; text-align: left; padding: 0.8rem 0.9rem; font-size: 1rem; }
  .header-cta { padding: 0.45rem 0.75rem; font-size: 0.75rem; }
  .grid-2,
  .grid-3,
  .grid-bento { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 0.5rem; }
  .header-inner { padding: 0.55rem 0.65rem; }
  .brand-name { font-size: 0.95rem; }
  .brand-sub { font-size: 0.54rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-cta { font-size: 0.7rem; padding: 0.4rem 0.6rem; }
  .nav-toggle-text { display: none; }
  .site-main { padding: 1.25rem 0 2.5rem; }
  .section { padding: 1.75rem 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .top-button { margin-inline: auto; }
  .page-title { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
