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

:root {
  --w-gold: #F5A623;
  --w-red: #E63946;
  --w-night: #0F1A2C;
  --w-night-2: #121F36;
  --w-green: #00F5A0;
  --w-cloud: #F1F3F5;
  --w-ink: #1A1A1A;
  --w-purple: #3A0CA3;
  --w-gray: #6C757D;
  --w-gold-deep: #FF9F1C;
  --w-gold-grad: linear-gradient(135deg, var(--w-gold-deep), var(--w-gold));
  --w-font-head: "ZCOOL KuaiLe", "Noto Sans SC", "PingFang SC", sans-serif;
  --w-font-body: "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --w-fs-hero: 64px;
  --w-fs-page: 40px;
  --w-fs-section: 28px;
  --w-fs-body: 16px;
  --w-fs-data: 14px;
  --w-container: 1200px;
  --w-gutter: clamp(16px, 4vw, 48px);
  --w-ticker-h: 36px;
  --w-header-h: 72px;
  --w-space: 8px;
  --w-radius: 0;
  --w-radius-sm: 2px;
  --w-border: 1px solid rgba(245, 166, 35, 0.3);
  --w-border-green: 1px solid rgba(0, 245, 160, 0.25);
  --w-border-light: 1px solid rgba(241, 243, 245, 0.14);
  --w-border-dark: 1px solid rgba(26, 26, 26, 0.12);
  --w-shadow: 0 8px 28px rgba(15, 26, 44, 0.25);
  --w-shadow-gold: 0 0 16px rgba(245, 166, 35, 0.25);
  --w-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --w-speed: 0.24s;
  --w-z-header: 100;
  --w-z-nav: 110;
  --w-z-skip: 999;
}

@media (max-width: 640px) {
  :root {
    --w-fs-hero: 34px;
    --w-fs-page: 26px;
    --w-fs-section: 21px;
  }
}

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

body {
  font-family: var(--w-font-body);
  font-size: var(--w-fs-body);
  line-height: 1.75;
  background: var(--w-night);
  color: var(--w-cloud);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: calc(var(--w-z-header) - 1);
  background: rgba(15, 26, 44, 0.72);
  pointer-events: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--w-font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--w-gold);
  margin: 0 0 0.4em;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--w-gold);
  text-decoration: none;
  transition: color var(--w-speed) var(--w-ease);
}

a:hover {
  text-decoration: underline;
}

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

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

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--w-green);
  outline-offset: 4px;
}

.container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--w-gutter);
}

main[id="main-content"] {
  scroll-margin-top: calc(var(--w-ticker-h) + var(--w-header-h));
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: var(--w-z-skip);
  padding: 12px 24px;
  background: var(--w-gold);
  color: var(--w-ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.3s var(--w-ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  color: var(--w-ink);
  text-decoration: none;
  outline: 2px solid var(--w-green);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--w-z-header);
  background: linear-gradient(180deg, rgba(15, 26, 44, 0.72) 0%, rgba(15, 26, 44, 0.28) 70%, transparent 100%);
  transition: background var(--w-speed) var(--w-ease), box-shadow var(--w-speed) var(--w-ease);
}

.site-header[data-scrolled] {
  background: rgba(15, 26, 44, 0.97);
  box-shadow: 0 6px 24px rgba(3, 8, 18, 0.6), 0 1px 0 rgba(245, 166, 35, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header__ticker {
  position: relative;
  max-height: var(--w-ticker-h);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(15, 26, 44, 0.92) 0%, var(--w-night) 100%);
  border-bottom: 1px solid rgba(0, 245, 160, 0.22);
  transition: max-height 0.35s var(--w-ease), opacity 0.35s var(--w-ease), border-color 0.35s var(--w-ease);
}

.site-header[data-scrolled] .site-header__ticker {
  max-height: 0;
  opacity: 0;
  border-color: transparent;
}

.site-header__ticker::before,
.site-header__ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}

.site-header__ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--w-night) 0%, transparent 100%);
}

.site-header__ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--w-night) 0%, transparent 100%);
}

.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: var(--w-ticker-h);
  animation: ticker-scroll 32s linear infinite;
  will-change: transform;
}

.ticker__item {
  color: var(--w-green);
  font-size: 12px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  padding: 0 12px;
  line-height: var(--w-ticker-h);
}

.ticker__sep {
  color: var(--w-gold);
  font-size: 12px;
  opacity: 0.7;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header__bar {
  height: var(--w-header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color var(--w-speed) var(--w-ease);
}

.site-header[data-scrolled] .site-header__bar {
  border-bottom-color: rgba(245, 166, 35, 0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: 100%;
}

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

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

.brand__glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--w-gold-grad);
  color: var(--w-cloud);
  font-family: var(--w-font-head);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(245, 166, 35, 0.4);
  flex-shrink: 0;
  line-height: 1;
}

.brand__group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand__name {
  font-family: var(--w-font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--w-cloud);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand__name em {
  color: var(--w-gold);
  font-style: normal;
  font-weight: 700;
}

.brand__slogan {
  font-size: 11px;
  color: var(--w-green);
  letter-spacing: 0.24em;
  white-space: nowrap;
  margin-top: 2px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--w-cloud);
  letter-spacing: 0.08em;
  text-decoration: none;
  position: relative;
  transition: color var(--w-speed) var(--w-ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 100%;
  bottom: 3px;
  height: 2px;
  background: var(--w-gold);
  transition: right var(--w-speed) var(--w-ease);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--w-gold);
  text-decoration: none;
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
  right: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 166, 35, 0.4);
  background: rgba(15, 26, 44, 0.45);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color var(--w-speed) var(--w-ease), box-shadow var(--w-speed) var(--w-ease);
}

.nav-toggle:hover {
  border-color: var(--w-gold);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.2);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--w-gold);
  border-radius: 0;
  transition: transform 0.3s var(--w-ease), opacity 0.3s var(--w-ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

.site-header__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 245, 160, 0.35);
  background: rgba(0, 245, 160, 0.06);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--w-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--w-green);
  box-shadow: 0 0 8px var(--w-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

.site-header__status-text {
  font-size: 12px;
  letter-spacing: 0.14em;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 245, 160, 0.5);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 6px rgba(0, 245, 160, 0);
  }
}

.cudgel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5;
  background: rgba(255, 159, 28, 0.12);
  pointer-events: none;
  overflow: hidden;
}

.cudgel__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--w-gold) 0%, var(--w-red) 65%, var(--w-green) 100%);
  transform: scaleX(0);
  transform-origin: 0 0;
  will-change: transform;
}

/* ---------- 移动端导航 ---------- */
@media (max-width: 860px) {
  .site-header__status {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    z-index: var(--w-z-nav);
    background: var(--w-night);
    border-left: 1px solid rgba(245, 166, 35, 0.45);
    box-shadow: -12px 0 36px rgba(3, 8, 18, 0.55);
    padding: calc(var(--w-header-h) + 24px) 28px 32px;
    transform: translateX(100%);
    transition: transform 0.35s var(--w-ease);
    overflow-y: auto;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    width: 100%;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(241, 243, 245, 0.1);
    font-size: 17px;
    letter-spacing: 0.1em;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link[aria-current="page"] {
    color: var(--w-gold);
    padding-left: 14px;
    border-left: 3px solid var(--w-gold);
    background: linear-gradient(90deg, rgba(245, 166, 35, 0.1), transparent);
  }
}

@media (max-width: 640px) {
  .site-header__bar {
    height: 60px;
  }

  .brand__glyph {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__slogan {
    display: none;
  }

  .ticker__item {
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 0 8px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 24px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--w-night-2) 0%, #0A1220 100%);
  border-top: 1px solid rgba(245, 166, 35, 0.18);
  color: var(--w-cloud);
  padding-top: 0;
}

.site-footer__cloud {
  height: 24px;
  background:
    radial-gradient(ellipse 120px 18px at 18% 100%, rgba(0, 245, 160, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 160px 20px at 55% 100%, rgba(245, 166, 35, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 100px 16px at 88% 100%, rgba(58, 12, 163, 0.22) 0%, transparent 70%);
  border-bottom: 1px solid rgba(241, 243, 245, 0.06);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 48px 0 40px;
}

.brand--footer .brand__glyph {
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.35);
}

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

.site-footer__statement {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--w-gray);
  max-width: 42ch;
}

.site-footer__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--w-gold);
  margin-bottom: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(245, 166, 35, 0.18);
  padding-bottom: 8px;
}

.site-footer__links li {
  margin-bottom: 4px;
}

.site-footer__links a {
  display: inline-block;
  font-size: 14px;
  color: var(--w-cloud);
  opacity: 0.85;
  position: relative;
  transition: color var(--w-speed) var(--w-ease), opacity var(--w-speed) var(--w-ease), padding-left var(--w-speed) var(--w-ease);
}

.site-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--w-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--w-speed) var(--w-ease);
}

.site-footer__links a:hover {
  color: var(--w-gold);
  opacity: 1;
  padding-left: 6px;
  text-decoration: none;
}

.site-footer__links a:hover::after {
  transform: scaleX(1);
}

.site-footer__contact-item {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--w-cloud);
  opacity: 0.82;
  line-height: 1.6;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(241, 243, 245, 0.1);
  font-size: 13px;
  color: var(--w-gray);
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

@media (max-width: 640px) {
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- 通用组件 ---------- */
.wk-section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.wk-section--dark {
  background: var(--w-night);
  color: var(--w-cloud);
}

.wk-section--light {
  background: var(--w-cloud);
  color: var(--w-ink);
}

.wk-section--light h1,
.wk-section--light h2,
.wk-section--light h3,
.wk-section--light h4,
.wk-card h1,
.wk-card h2,
.wk-card h3,
.wk-card h4 {
  color: var(--w-ink);
}

.wk-section--light .wk-data-label {
  color: var(--w-gray);
}

.wk-page-title {
  font-size: var(--w-fs-page);
  line-height: 1.2;
}

.wk-section-title {
  font-size: var(--w-fs-section);
  line-height: 1.3;
}

.wk-data-label {
  font-size: var(--w-fs-data);
  letter-spacing: 0.14em;
  color: var(--w-gray);
  text-transform: uppercase;
}

.wk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--w-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  text-decoration: none;
  border-radius: var(--w-radius);
  cursor: pointer;
  transition: box-shadow var(--w-speed) var(--w-ease), transform var(--w-speed) var(--w-ease), background var(--w-speed) var(--w-ease), border-color var(--w-speed) var(--w-ease);
}

.wk-btn:hover {
  text-decoration: none;
}

.wk-btn--gold {
  background: var(--w-gold-grad);
  color: var(--w-ink);
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.25);
}

.wk-btn--gold:hover {
  box-shadow: 0 6px 24px rgba(245, 166, 35, 0.45);
  transform: translateY(-2px);
}

.wk-btn--outline {
  background: transparent;
  border-color: rgba(245, 166, 35, 0.55);
  color: var(--w-gold);
}

.wk-btn--outline:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: var(--w-gold);
  transform: translateY(-2px);
}

.wk-btn--green {
  background: transparent;
  border-color: rgba(0, 245, 160, 0.5);
  color: var(--w-green);
}

.wk-btn--green:hover {
  background: rgba(0, 245, 160, 0.1);
  border-color: var(--w-green);
  transform: translateY(-2px);
}

.wk-card {
  background: var(--w-cloud);
  color: var(--w-ink);
  border: var(--w-border-dark);
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  border-radius: var(--w-radius);
  transition: transform var(--w-speed) var(--w-ease), box-shadow var(--w-speed) var(--w-ease);
}

.wk-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--w-gold-grad);
  opacity: 0;
  transition: opacity var(--w-speed) var(--w-ease);
}

.wk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--w-shadow);
}

.wk-card:hover::before {
  opacity: 1;
}

.wk-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  border: 1px solid;
  border-radius: var(--w-radius-sm);
  white-space: nowrap;
}

.wk-tag--gold {
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.45);
  color: var(--w-gold);
}

.wk-tag--red {
  background: rgba(230, 57, 70, 0.12);
  border-color: rgba(230, 57, 70, 0.45);
  color: var(--w-red);
}

.wk-tag--green {
  background: rgba(0, 245, 160, 0.1);
  border-color: rgba(0, 245, 160, 0.4);
  color: var(--w-green);
}

.wk-grid {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
}

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

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

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

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

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

.wk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--w-gray);
}

.wk-breadcrumb a {
  color: var(--w-gray);
  text-decoration: none;
  transition: color var(--w-speed) var(--w-ease);
}

.wk-breadcrumb a:hover {
  color: var(--w-gold);
  text-decoration: underline;
}

.wk-breadcrumb__sep {
  opacity: 0.5;
  color: var(--w-gold);
  font-size: 12px;
}

.wk-breadcrumb__current {
  color: var(--w-cloud);
}

.wk-section--light .wk-breadcrumb__current {
  color: var(--w-ink);
}

.cloud-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  color: var(--w-gold);
  width: 100%;
}

.cloud-divider::before,
.cloud-divider::after {
  content: "";
  display: block;
  flex: 1 1 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--w-gold));
}

.cloud-divider::after {
  background: linear-gradient(90deg, var(--w-gold), transparent);
}

.cloud-divider__icon {
  font-size: 26px;
  line-height: 1;
  color: var(--w-gold);
  text-shadow: 0 0 14px rgba(245, 166, 35, 0.5);
}

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

[data-reveal][data-visible] {
  opacity: 1;
  transform: translateY(0);
}

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

  .ticker__track {
    animation: none;
  }

  .site-header__dot {
    animation: none;
  }

  .cudgel__fill {
    transition: none;
  }

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

  .wk-btn,
  .wk-card,
  .site-nav,
  .site-header,
  .site-header__ticker,
  .skip-link {
    transition: none;
  }
}
