/* ============================================================
   必赢亚州7811 Site Kit — /assets/site.css
   设计概念：冠军数据展馆 / Champion Data Arena
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --color-primary: #0A1F3D;
  --color-primary-deep: #061129;
  --color-primary-soft: #122E52;
  --color-gold: #D4A843;
  --color-gold-dark: #A8842A;
  --color-red: #E63946;
  --color-paper: #F5F0E6;
  --color-ink: #1A1A1A;
  --color-blue-light: #B8C7D9;
  --color-white: #FFFFFF;

  --font-heading: 'Bebas Neue', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Helvetica Neue', Arial, 'PingFang SC', sans-serif;
  --font-data: 'Roboto Mono', 'SFMono-Regular', 'Courier New', monospace;

  --container-width: 1280px;
  --header-h: 76px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --ease-fast: 0.2s ease;
  --ease-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: 0.55s cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 36px rgba(0, 0, 0, 0.28);
  --shadow-gold: 0 4px 22px rgba(212, 168, 67, 0.32);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--color-gold-dark) var(--color-primary-deep);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-paper);
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(212, 168, 67, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(230, 57, 70, 0.05), transparent 70%),
    var(--color-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul,
ol {
  list-style: none;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--ease-fast), background-color var(--ease-fast), border-color var(--ease-fast), opacity var(--ease-fast);
}

a:hover {
  color: var(--color-gold-dark);
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- 排版基础 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-white);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--color-gold);
  color: var(--color-primary-deep);
}

/* ---------- 可访问性工具 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--color-gold);
  color: var(--color-primary-deep);
  padding: 10px 22px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-gold);
  transition: top var(--ease-fast);
}

.skip-link:focus {
  top: 0;
}

.skip-link:focus-visible {
  outline: none;
}

/* ---------- 布局骨架 ---------- */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

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

.page-section {
  padding: 96px 0;
}

@media (max-width: 640px) {
  .page-section {
    padding: 64px 0;
  }
}

/* ---------- 章节头 ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.section-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--color-red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.02em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-blue-light);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease-fast), color var(--ease-fast), border-color var(--ease-fast), transform var(--ease-fast), box-shadow var(--ease-fast), opacity var(--ease-fast);
}

.btn--gold {
  background: var(--color-gold);
  color: var(--color-primary-deep);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

.btn--ghost:hover {
  background: rgba(212, 168, 67, 0.14);
  color: var(--color-gold);
  border-color: var(--color-gold-dark);
}

.btn--sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* ---------- 网格 ---------- */
.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));
}

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

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

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 玻璃与卡片 ---------- */
.glass-panel {
  background: rgba(10, 31, 61, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: var(--radius-lg);
}

.panel-card {
  background: linear-gradient(145deg, rgba(18, 46, 82, 0.85), rgba(10, 31, 61, 0.92));
  border: 1px solid rgba(212, 168, 67, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease-base), box-shadow var(--ease-base), border-color var(--ease-base);
}

.panel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 168, 67, 0.45);
}

.data-card {
  background: var(--color-paper);
  color: var(--color-ink);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.data-card h1,
.data-card h2,
.data-card h3,
.data-card h4 {
  color: var(--color-ink);
}

.data-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 6px;
}

.data-value {
  font-family: var(--font-data);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}

/* ---------- 展签与说明牌 ---------- */
.exhibit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 2px;
  background: rgba(10, 31, 61, 0.6);
}

.exhibit-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
}

.note-card {
  background: var(--color-paper);
  color: var(--color-ink);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.7;
}

.note-card p + p {
  margin-top: 8px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 16px 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-blue-light);
}

.breadcrumb__link {
  color: var(--color-blue-light);
  transition: color var(--ease-fast);
}

.breadcrumb__link:hover {
  color: var(--color-gold);
}

.breadcrumb__divider {
  color: rgba(184, 199, 217, 0.4);
  margin: 0 4px;
}

.breadcrumb__current {
  color: var(--color-gold);
  font-weight: 600;
}

.breadcrumb--paper .breadcrumb__link,
.breadcrumb--paper .breadcrumb__divider {
  color: var(--color-ink);
}

.breadcrumb--paper .breadcrumb__current {
  color: var(--color-gold-dark);
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 5000;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-dark) 0%, var(--color-gold) 60%, var(--color-red) 100%);
  box-shadow: 0 0 10px rgba(212, 168, 67, 0.55);
}

.headerframe {
  background: rgba(6, 17, 41, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 品牌 */
.brand-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #E2C25E 0%, #C79A32 100%);
  border-radius: 6px 6px 14px 6px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-deep);
  transform: rotate(-3deg);
  box-shadow: 0 4px 14px rgba(212, 168, 67, 0.35);
  transition: transform var(--ease-fast);
}

.brand-block:hover .brand-emblem {
  transform: rotate(-3deg) scale(1.05);
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-white);
  white-space: nowrap;
}

.brand-title strong {
  color: var(--color-gold);
  font-weight: 700;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  margin-top: 2px;
}

/* 主导航 */
.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item a {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue-light);
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: color var(--ease-fast), background-color var(--ease-fast);
}

.nav-item a:hover {
  color: var(--color-gold);
  background: rgba(212, 168, 67, 0.08);
}

.nav-item a[aria-current="page"] {
  color: var(--color-gold);
}

.nav-item a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  border-radius: 2px;
}

/* 头部 CTA */
.header-cta {
  flex-shrink: 0;
  padding: 9px 20px;
  font-size: 14px;
  transform: skewX(-6deg);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.header-cta:hover {
  transform: skewX(-6deg) translateY(-1px);
}

.cta-arrow {
  display: inline-block;
  transition: transform var(--ease-fast);
  font-weight: 700;
}

.header-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 8px;
  background: rgba(212, 168, 67, 0.06);
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: transform var(--ease-base), opacity var(--ease-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 移动端头部 ---------- */
@media (max-width: 1023px) {
  .nav-toggle {
    display: flex;
  }

  .header-inner {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 17, 41, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.25);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color var(--ease-fast);
    border-bottom-color: transparent;
  }

  .main-nav[data-open] {
    max-height: 480px;
    border-bottom-color: rgba(212, 168, 67, 0.25);
  }

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

  .nav-item a {
    display: block;
    padding: 14px 28px;
    font-size: 16px;
    border-left: 3px solid transparent;
    border-radius: 0;
  }

  .nav-item a:hover {
    background: rgba(212, 168, 67, 0.08);
  }

  .nav-item a[aria-current="page"] {
    border-left-color: var(--color-gold);
    background: rgba(212, 168, 67, 0.06);
  }

  .nav-item a[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-emblem {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand-title {
    font-size: 20px;
  }

  .header-inner {
    height: 64px;
  }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background:
    linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-deep) 30%),
    var(--color-primary-deep);
  border-top: 1px solid rgba(212, 168, 67, 0.3);
}

.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold) 40%, var(--color-red) 40%, var(--color-red) 45%, var(--color-gold) 45%, var(--color-gold) 100%);
  opacity: 0.7;
}

.footer-frame {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-white);
}

.footer-logo strong {
  color: var(--color-gold);
}

.footer-tagline {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-blue-light);
}

.footer-trust {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(184, 199, 217, 0.65);
  border-left: 2px solid rgba(212, 168, 67, 0.4);
  padding-left: 12px;
  margin-top: 4px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-heading {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  color: var(--color-blue-light);
  font-size: 14px;
  transition: color var(--ease-fast), padding-left var(--ease-fast);
}

.footer-list a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-contact-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--color-blue-light);
  line-height: 1.5;
}

.footer-contact-line a {
  color: var(--color-blue-light);
}

.footer-contact-line a:hover {
  color: var(--color-gold);
}

.footer-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184, 199, 217, 0.5);
}

.footer-address {
  max-width: 240px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(184, 199, 217, 0.15);
  font-size: 13px;
  color: rgba(184, 199, 217, 0.6);
}

.footer-copyright,
.footer-icp {
  color: inherit;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212, 168, 67, 0.5);
  border-radius: 50%;
  background: rgba(6, 17, 41, 0.88);
  color: var(--color-gold);
  font-size: 18px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--ease-fast), visibility var(--ease-fast), transform var(--ease-fast), background-color var(--ease-fast), color var(--ease-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--color-gold);
  color: var(--color-primary-deep);
}

/* ---------- 页脚响应式 ---------- */
@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- 通用工具 ---------- */
.text-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.2em;
}

.text-center {
  text-align: center;
}

.text-gold {
  color: var(--color-gold);
}

.text-red {
  color: var(--color-red);
}

/* ---------- 图片占位容器 ---------- */
.media-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-primary-deep));
}

.media-figure img,
.media-figure picture,
.media-figure svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-figure--ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.media-figure--ratio-4x3 {
  aspect-ratio: 4 / 3;
}

.media-figure--ratio-1x1 {
  aspect-ratio: 1 / 1;
}

/* ---------- 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

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

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

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

/* ---------- 大屏适配 ---------- */
@media (min-width: 1920px) {
  .container,
  .header-inner,
  .footer-frame {
    max-width: 1440px;
  }
}
