:root {
  --bg-ink: #0A0A0F;
  --bg-panel: #1A1A24;
  --bg-card: #101018;
  --gold: #D4AF37;
  --gold-bright: #FFD700;
  --cyan: #00E5FF;
  --lime: #39FF14;
  --teal: #0F4C5C;
  --wine: #800020;
  --violet: #4B0082;
  --text: #E0E0E0;
  --text-dim: #9A9AA8;
  --text-dark: #6E6E78;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-cyan: rgba(0, 229, 255, 0.22);
  --font-display: 'Orbitron', 'Avenir Next Condensed', 'DIN Condensed', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --header-width: 280px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-gold: 0 0 24px rgba(212, 175, 55, 0.12);
}

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

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

body {
  min-height: 100vh;
  background-color: var(--bg-ink);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.04), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(212, 175, 55, 0.05), transparent 40%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: #F5F5F7;
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

p {
  margin-bottom: 1rem;
}

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

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

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--bg-ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.site-main {
  min-height: 60vh;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--bg-ink);
}

.btn-gold:hover {
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  color: var(--bg-ink);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-cyan {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}

.btn-cyan:hover {
  background: rgba(0, 229, 255, 0.2);
  color: var(--cyan);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumb-sep {
  color: var(--gold);
  opacity: 0.6;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--cyan);
}

.tag-gold {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold);
}

.tag-lime {
  background: rgba(57, 255, 20, 0.08);
  border-color: rgba(57, 255, 20, 0.25);
  color: var(--lime);
}

.card {
  background: linear-gradient(145deg, rgba(26, 26, 36, 0.9), rgba(19, 19, 28, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-gold);
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.panel {
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  border: 1px solid rgba(212, 175, 55, 0.14);
  padding: 1.5rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 60ch;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.rule-glow {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border: 0;
  margin: 2rem 0;
}

.figure-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #12121A, #1A1A28);
  border: 1px solid rgba(0, 229, 255, 0.12);
}

.figure-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 229, 255, 0.08), transparent 60%);
  pointer-events: none;
}

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

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

.site-header {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1000;
  width: 100%;
  background-color: rgba(10, 10, 15, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background-color: rgba(10, 10, 15, 0.97);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 64px;
  padding: 0.75rem 1rem;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--bg-ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
  clip-path: polygon(12% 0, 100% 0, 100% 78%, 86% 100%, 0 100%, 0 12%);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
  max-height: calc(100vh - 64px);
  background: rgba(10, 10, 15, 0.98);
  border-bottom: 1px solid var(--border-cyan);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.site-nav[data-open] {
  display: flex;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item {
  min-width: 0;
}

.nav-link {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  color: #B8B8C4;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  border-left-color: var(--gold);
  transform: translateX(3px);
}

.nav-link[aria-current="page"] {
  background: rgba(0, 229, 255, 0.07);
  border-left-color: var(--cyan);
  color: var(--cyan);
  font-weight: 700;
}

.header-aside {
  margin-left: auto;
  flex-shrink: 0;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 76, 92, 0.5);
  border: 1px solid var(--border-cyan);
  white-space: nowrap;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown-digits {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.header-note {
  margin: 0.6rem 0 0;
  font-size: 0.72rem;
  color: var(--text-dark);
  text-align: center;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.2s 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-footer {
  background: linear-gradient(180deg, #0D0D16 0%, var(--bg-ink) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding-top: 2.5rem;
}

.footer-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.4) 30%, rgba(0, 229, 255, 0.3) 65%, transparent 100%);
  margin-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #F5F5F7;
  letter-spacing: 0.06em;
}

.footer-brand-accent {
  color: var(--gold);
  margin-left: 0.2rem;
}

.footer-tagline {
  margin: 0.5rem 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-trust {
  max-width: 38ch;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0;
}

.footer-nav-block {
  min-width: 0;
}

.footer-heading {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

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

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

.footer-contact-block {
  min-width: 0;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-support {
  margin: 0;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(212, 175, 55, 0.35);
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.footer-bottom {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.footer-copyright,
.footer-icp {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (min-width: 1024px) {
  .site-header {
    width: var(--header-width);
    height: 100vh;
    background-color: rgba(10, 10, 15, 0.55);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: none;
  }

  .site-header.is-scrolled {
    background-color: rgba(10, 10, 15, 0.96);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
  }

  .site-header::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 15%;
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.6;
    pointer-events: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    padding: 1.5rem 1.25rem 1.25rem;
    gap: 1.2rem;
  }

  .site-nav {
    position: static;
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 1rem;
    padding: 0.25rem 0 0.25rem 1rem;
    max-height: none;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(212, 175, 55, 0.18);
    box-shadow: none;
  }

  .nav-toggle {
    display: none;
  }

  .header-aside {
    margin-left: 0;
    margin-top: auto;
    border-top: 1px solid rgba(212, 175, 55, 0.16);
    padding-top: 1rem;
  }

  .countdown {
    width: 100%;
    justify-content: space-between;
    border-radius: 14px;
    padding: 0.7rem 1rem;
  }

  .countdown-label {
    font-size: 0.72rem;
  }

  .countdown-digits {
    font-size: 0.95rem;
  }

  .header-note {
    display: block;
  }

  .site-main,
  .site-footer {
    margin-left: var(--header-width);
  }
}

@media (max-width: 1023px) and (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 479px) {
  .countdown-label {
    display: none;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .brand-sub {
    letter-spacing: 0.2em;
  }

  .countdown-digits {
    font-size: 0.78rem;
  }
}

@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;
  }

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
