/* ============ RESET & ROOT ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-color: #FF4D00 #161A1D;
  scrollbar-width: thin;
}

body {
  background: #161A1D;
  color: #F2F4F6;
  font-family: "Noto Sans SC", "Helvetica Neue", "PingFang SC", sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

ul, ol { list-style: none; }

a {
  color: #00D4FF;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: #FF4D00; }

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

:focus-visible {
  outline: 3px solid #00D4FF;
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: #FF4D00;
  color: #161A1D;
}

/* ============ VARIABLES ============ */
:root {
  --wt-carbon: #161A1D;
  --wt-graphite: #1E2327;
  --wt-orange: #FF4D00;
  --wt-blue: #00D4FF;
  --wt-red: #E62E2E;
  --wt-trackgray: #3A4146;
  --wt-concrete: #B0B7BD;
  --wt-mist: #F2F4F6;
  --wt-silver: #8A9299;
  --wt-font-heading: "Oswald", "Impact", "Noto Sans SC", sans-serif;
  --wt-font-body: "Noto Sans SC", "Helvetica Neue", "PingFang SC", sans-serif;
  --wt-font-data: "JetBrains Mono", "Courier New", monospace;
  --wt-header-width: 260px;
  --wt-transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --wt-speed-line: repeating-linear-gradient(
    -45deg,
    transparent 0 8px,
    rgba(255,255,255,0.03) 8px 10px
  );
  --wt-clip-card: polygon(0 16px, 16px 0, 100% 0, 100% 100%, 0 100%);
  --wt-clip-btn: polygon(0 8px, 8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}

/* ============ SKIP LINK ============ */
.wt-skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 3000;
  background: #FF4D00;
  color: #161A1D;
  font-weight: 700;
  font-family: var(--wt-font-data);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  padding: 12px 20px;
  clip-path: var(--wt-clip-btn);
  transition: top 0.25s ease;
}

.wt-skip-link:focus,
.wt-skip-link:focus-visible {
  top: 12px;
  color: #161A1D;
  outline: none;
}

/* ============ PROGRESS BAR ============ */
.wt-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #FF4D00, #FF4D00 70%, #E62E2E);
  z-index: 2000;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(255, 77, 0, 0.5);
}

/* ============ HEADER / 品牌轨道 ============ */
.wt-header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--wt-header-width);
  z-index: 1000;
  background: #1E2327;
  border-right: 1px solid #3A4146;
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
  transition: transform var(--wt-transition);
}

.wt-header__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 24px 24px 32px;
  position: relative;
}

.wt-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #F2F4F6;
  text-decoration: none;
  margin-bottom: 48px;
  position: relative;
}

.wt-header__brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 48px;
  height: 3px;
  background: #FF4D00;
  transform: skewX(-20deg);
}

.wt-brand__mark {
  font-size: 2rem;
  color: #FF4D00;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 77, 0, 0.4);
  transform: rotate(-8deg);
}

.wt-brand__text { display: flex; flex-direction: column; }

.wt-brand__name {
  font-family: var(--wt-font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.1;
  font-style: italic;
}

.wt-brand__tagline {
  font-size: 0.7rem;
  color: #8A9299;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
}

.wt-header__toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: -52px;
  width: 48px;
  height: 48px;
  background: #FF4D00;
  clip-path: var(--wt-clip-btn);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 1100;
}

.wt-header__toggle-line {
  width: 20px;
  height: 2px;
  background: #161A1D;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.wt-header__toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.wt-header__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wt-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wt-nav__item { position: relative; }

.wt-nav__link {
  display: block;
  font-family: var(--wt-font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #B0B7BD;
  padding: 10px 12px 10px 16px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  border-left: 3px solid transparent;
}

.wt-nav__link::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: transparent;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.wt-nav__link:hover {
  color: #F2F4F6;
  transform: translateX(4px);
  border-left-color: #FF4D00;
}

.wt-nav__link:hover::before {
  background: #FF4D00;
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.6);
}

.wt-nav__link[aria-current="page"] {
  color: #F2F4F6;
  background: linear-gradient(90deg, rgba(255, 77, 0, 0.12), transparent);
  border-left-color: #FF4D00;
}

.wt-nav__link[aria-current="page"]::after {
  content: "▸";
  position: absolute;
  right: 8px;
  color: #FF4D00;
  font-size: 1rem;
}

.wt-header__foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #3A4146;
}

.wt-header__icp {
  font-size: 0.68rem;
  color: #8A9299;
  font-family: var(--wt-font-data);
  letter-spacing: 0.12em;
}

/* ============ MAIN LAYOUT ============ */
.wt-main {
  flex: 1;
  margin-left: var(--wt-header-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 4px; /* progress bar space */
}

#main-content { flex: 1; }

/* ============ FOOTER ============ */
.wt-footer {
  background: #1E2327;
  border-top: 1px solid #3A4146;
  margin-left: var(--wt-header-width);
  position: relative;
  overflow: hidden;
}

.wt-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF4D00 0%, #FF4D00 20%, transparent 20%, transparent 35%, #00D4FF 35%, #00D4FF 55%, transparent 55%);
  opacity: 0.6;
}

.wt-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
  max-width: 1440px;
  padding: 64px 64px 48px;
  position: relative;
  z-index: 1;
}

.wt-footer__logo {
  font-family: var(--wt-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #F2F4F6;
  text-transform: uppercase;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.wt-footer__logo::before {
  content: "";
  width: 28px;
  height: 4px;
  background: #FF4D00;
  transform: skewX(-30deg);
  display: inline-block;
}

.wt-footer__about {
  font-size: 0.88rem;
  color: #B0B7BD;
  line-height: 1.7;
  max-width: 400px;
}

.wt-footer__heading {
  font-family: var(--wt-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8A9299;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.wt-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #00D4FF;
  transform: skewX(-30deg);
}

.wt-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wt-footer__list a {
  color: #B0B7BD;
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  position: relative;
}

.wt-footer__list a::before {
  content: "›";
  position: absolute;
  left: -14px;
  opacity: 0;
  color: #FF4D00;
  transition: opacity 0.2s ease;
}

.wt-footer__list a:hover {
  color: #F2F4F6;
  padding-left: 6px;
}

.wt-footer__list a:hover::before {
  opacity: 1;
}

.wt-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wt-footer__contact-label {
  display: inline-block;
  min-width: 60px;
  font-size: 0.72rem;
  font-family: var(--wt-font-data);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF4D00;
  font-weight: 700;
}

.wt-footer__contact-list li {
  font-size: 0.88rem;
  color: #B0B7BD;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.wt-footer__contact-list a {
  color: #00D4FF;
}

.wt-footer__contact-list a:hover {
  color: #FF4D00;
}

.wt-footer__support {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #8A9299;
  border-left: 2px solid #3A4146;
  padding-left: 12px;
  line-height: 1.5;
}

.wt-footer__bottom {
  border-top: 1px solid #3A4146;
  background: #161A1D;
  position: relative;
}

.wt-footer__bottom-inner {
  max-width: 1440px;
  padding: 16px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8A9299;
  font-size: 0.75rem;
  font-family: var(--wt-font-data);
  letter-spacing: 0.06em;
}

/* ============ RETURN TO TOP ============ */
.wt-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #FF4D00;
  color: #161A1D;
  clip-path: var(--wt-clip-btn);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  box-shadow: 0 4px 24px rgba(255, 77, 0, 0.35);
}

.wt-back-to-top[data-shown="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wt-back-to-top:hover {
  background: #00D4FF;
  color: #161A1D;
  transform: translateY(-4px);
}

/* ============ TYPOGRAPHY ============ */
.wt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wt-font-data);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #FF4D00;
  margin-bottom: 14px;
}

.wt-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #FF4D00;
  display: inline-block;
  transform: skewX(-30deg);
}

.wt-display {
  font-family: var(--wt-font-heading);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #F2F4F6;
  position: relative;
}

.wt-display--orange {
  color: transparent;
  -webkit-text-stroke: 2px #FF4D00;
}

.wt-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  color: #B0B7BD;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.wt-body {
  max-width: 720px;
  color: #B0B7BD;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}

.wt-body p {
  margin-bottom: 1.2em;
}

.wt-meta {
  font-family: var(--wt-font-data);
  font-size: 0.78rem;
  color: #8A9299;
  letter-spacing: 0.06em;
}

/* ============ BUTTONS ============ */
.wt-btn,
.wt-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--wt-font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #161A1D;
  background: #FF4D00;
  padding: 12px 24px;
  clip-path: var(--wt-clip-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  position: relative;
}

.wt-btn:hover,
.wt-btn--primary:hover {
  background: #F2F4F6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 77, 0, 0.3);
}

.wt-btn--ghost {
  background: transparent;
  color: #00D4FF;
  border: 1px solid #00D4FF;
  clip-path: var(--wt-clip-btn);
  padding: 11px 23px;
}

.wt-btn--ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  color: #00D4FF;
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

/* ============ GRID / CARDS ============ */
.wt-track-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.wt-card {
  background: #1E2327;
  border: 1px solid #3A4146;
  clip-path: var(--wt-clip-card);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.wt-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 77, 0, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.wt-card:hover {
  border-color: #FF4D00;
  transform: translateY(-4px);
}

.wt-card:hover::after {
  left: 120%;
}

.wt-card--accent {
  border-color: #FF4D00;
  background: linear-gradient(140deg, #1E2327, rgba(255, 77, 0, 0.08));
}

.wt-card--blue {
  border-color: #00D4FF;
  background: linear-gradient(140deg, #1E2327, rgba(0, 212, 255, 0.06));
}

/* ============ DATA TABLE ============ */
.wt-data-table {
  overflow-x: auto;
  border: 1px solid #3A4146;
  clip-path: var(--wt-clip-card);
  background: #1E2327;
}

.wt-data-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-family: var(--wt-font-data);
  font-size: 0.85rem;
}

.wt-data-table th {
  padding: 14px 16px;
  text-align: left;
  color: #FF4D00;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #161A1D;
  border-bottom: 2px solid #FF4D00;
  white-space: nowrap;
}

.wt-data-table td {
  padding: 12px 16px;
  color: #B0B7BD;
  border-bottom: 1px solid #242A30;
}

.wt-data-table tr:hover td {
  background: rgba(0, 212, 255, 0.04);
  color: #F2F4F6;
}

/* ============ TAGS ============ */
.wt-tag {
  display: inline-block;
  font-family: var(--wt-font-data);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: transparent;
  border: 1px solid #3A4146;
  color: #B0B7BD;
  transition: all 0.2s ease;
}

.wt-tag:hover {
  border-color: #00D4FF;
  color: #00D4FF;
  transform: rotate(-2deg);
}

.wt-tag--active {
  background: #FF4D00;
  border-color: #FF4D00;
  color: #161A1D;
  font-weight: 600;
}

/* ============ TRACK LINE ============ */
.wt-track-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
  color: #3A4146;
  font-family: var(--wt-font-data);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.wt-track-line::before,
.wt-track-line::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3A4146);
  transform: skewX(-30deg);
}

.wt-track-line::after {
  background: linear-gradient(90deg, #3A4146, transparent);
}

.wt-track-line span {
  color: #8A9299;
}

.wt-track-line i {
  font-style: normal;
  color: #FF4D00;
  margin-left: 6px;
}

/* ============ IMAGE CONTAINERS ============ */
.wt-img {
  position: relative;
  overflow: hidden;
  background: #1E2327;
  aspect-ratio: 16 / 9;
  border: 1px solid #3A4146;
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 0 100%);
  background-image: var(--wt-speed-line), linear-gradient(135deg, #1E2327, #242A30);
}

.wt-img--43 {
  aspect-ratio: 4 / 3;
}

.wt-img--cover img,
.wt-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wt-img--blur img {
  filter: blur(2px) brightness(0.8);
  transform: scale(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.wt-img--blur:hover img {
  filter: blur(0) brightness(1);
}

.wt-img::before {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  padding: 6px 12px;
  background: rgba(22, 26, 29, 0.85);
  color: #8A9299;
  font-family: var(--wt-font-data);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  border-top-right-radius: 4px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.wt-img:hover::before {
  transform: translateX(0);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #161A1D;
}

::-webkit-scrollbar-thumb {
  background: #3A4146;
  border-radius: 0;
  border: 2px solid #161A1D;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF4D00;
}

/* ============ TICKER ============ */
.wt-live-ticker {
  background: #161A1D;
  border: 1px solid #3A4146;
  border-left: 4px solid #FF4D00;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  position: relative;
  font-family: var(--wt-font-data);
  font-size: 0.8rem;
}

.wt-live-ticker::before {
  content: "LIVE";
  background: #E62E2E;
  color: #F2F4F6;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 4px 8px;
  font-size: 0.68rem;
  flex-shrink: 0;
  animation: wt-pulse 1.5s ease-in-out infinite;
}

@keyframes wt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.wt-live-ticker ul {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: wt-ticker-scroll 30s linear infinite;
}

.wt-live-ticker li {
  color: #B0B7BD;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wt-live-ticker li::before {
  content: "▸";
  color: #FF4D00;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .wt-footer__inner {
    grid-template-columns: 1.6fr 1fr;
    padding: 48px 40px 40px;
  }

  .wt-footer__contact {
    grid-column: 1 / -1;
    border-top: 1px solid #3A4146;
    padding-top: 24px;
  }
}

@media (max-width: 960px) {
  :root {
    --wt-header-width: 0px;
  }

  .wt-header {
    width: 280px;
    transform: translateX(-100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
  }

  .wt-header[data-open="true"] {
    transform: translateX(0);
  }

  .wt-header__toggle {
    display: flex;
  }

  .wt-header[data-open="true"] .wt-header__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .wt-header[data-open="true"] .wt-header__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .wt-header[data-open="true"] .wt-header__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .wt-main {
    margin-left: 0;
    min-height: auto;
  }

  .wt-footer {
    margin-left: 0;
  }

  .wt-footer__inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
    gap: 32px;
  }

  .wt-footer__contact {
    grid-column: 1;
    border-top: none;
    padding-top: 0;
  }

  .wt-footer__bottom-inner {
    padding: 16px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .wt-track-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .wt-header {
    width: 260px;
  }

  .wt-header__inner {
    padding: 24px 20px 20px 24px;
  }

  .wt-card {
    padding: 20px;
  }

  .wt-btn,
  .wt-btn--primary,
  .wt-btn--ghost {
    padding: 10px 20px;
    font-size: 0.8rem;
  }

  .wt-live-ticker {
    padding: 10px 16px;
  }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .wt-live-ticker ul {
    animation: none;
    flex-wrap: wrap;
    white-space: normal;
  }

  .wt-card::after {
    display: none;
  }

  .wt-nav__link:hover {
    transform: none;
  }
}
