:root {
  --space-blue: #0B1026;
  --volt-green: #C6FF3E;
  --ember-orange: #FF5A3C;
  --amber-orange: #FF9A3C;
  --gold: #D4AF37;
  --panel-blue: #16204A;
  --slate-blue: #7A8CA8;
  --silver-white: #E8EAED;
  --night-purple: #1B1E3A;
  --alert-orange: #FF7A3D;
  --bg: var(--space-blue);
  --text: var(--silver-white);
  --muted: var(--slate-blue);
  --card-bg: rgba(22, 32, 74, 0.76);
  --line: rgba(232, 234, 237, 0.1);
  --header-h: 84px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1200px;
  --font-body: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 500px at 85% -5%, rgba(198, 255, 62, 0.07), transparent 60%),
    radial-gradient(1000px 600px at -10% 40%, rgba(255, 90, 60, 0.09), transparent 55%),
    linear-gradient(180deg, #0B1026 0%, #0D1230 45%, #0B1026 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--volt-green);
  color: var(--space-blue);
}

main {
  flex: 1;
  width: 100%;
}

main#main-content {
  padding-top: calc(var(--header-h) + 20px);
}

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

a {
  color: var(--volt-green);
}

button {
  font: inherit;
}

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

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section-block {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.chapter-block {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  border-top: 1px solid rgba(198, 255, 62, 0.08);
}

.chapter-block::before {
  content: attr(data-index);
  position: absolute;
  top: 0;
  right: max(4%, 24px);
  z-index: -1;
  font-family: var(--font-mono);
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.8;
  color: rgba(198, 255, 62, 0.08);
  font-weight: 500;
  pointer-events: none;
}

.chapter-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  color: var(--volt-green);
  text-transform: uppercase;
}

.section-title,
.display-title {
  font-family: var(--font-body);
  font-weight: 900;
  font-style: italic;
  transform: skewX(-3deg);
  color: var(--silver-white);
}

.display-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 16px;
}

.section-subtitle {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--silver-white);
}

.muted {
  color: var(--muted);
}

.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: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--volt-green);
  color: var(--space-blue);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  pointer-events: auto;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 16px 20px 0;
  pointer-events: none;
}

.header-inner {
  pointer-events: auto;
  max-width: 1240px;
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(22, 32, 74, 0.92), rgba(27, 30, 58, 0.9));
  border: 1px solid rgba(198, 255, 62, 0.18);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.brand-glyph {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 255, 62, 0.7);
  border-radius: 9px;
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(198, 255, 62, 0.2);
}

.brand-glyph-core {
  position: absolute;
  inset: 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--volt-green), var(--amber-orange));
  transform: rotate(-45deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-size: 1.18rem;
  font-weight: 900;
  font-style: italic;
  color: var(--silver-white);
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 3px;
  font-size: 0.58rem;
  font-weight: 500;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  min-width: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-blue);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link:hover {
  color: var(--silver-white);
  background: rgba(232, 234, 237, 0.06);
}

.nav-link[aria-current="page"] {
  color: var(--volt-green);
  background: rgba(198, 255, 62, 0.08);
  border-color: var(--volt-green);
  box-shadow: 0 0 0 4px rgba(198, 255, 62, 0.08);
}

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

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--volt-green), var(--amber-orange));
  color: var(--space-blue);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(198, 255, 62, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(198, 255, 62, 0.32);
}

.btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-header-cta:hover .btn-arrow {
  transform: rotate(45deg);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(198, 255, 62, 0.25);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--volt-green);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.header-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--volt-green), var(--ember-orange), var(--gold));
  box-shadow: 0 0 12px rgba(198, 255, 62, 0.4);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.btn-primary {
  background: linear-gradient(120deg, var(--volt-green), var(--amber-orange));
  color: var(--space-blue);
  box-shadow: 0 8px 24px rgba(198, 255, 62, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(198, 255, 62, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: rgba(198, 255, 62, 0.4);
  color: var(--volt-green);
}

.btn-outline:hover {
  background: rgba(198, 255, 62, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(198, 255, 62, 0.18);
  border-radius: 999px;
  background: rgba(198, 255, 62, 0.08);
  color: var(--silver-white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

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

.badge-ember {
  color: var(--ember-orange);
  border-color: rgba(255, 90, 60, 0.3);
  background: rgba(255, 90, 60, 0.08);
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ticket-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(198, 255, 62, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(22, 32, 74, 0.9), rgba(27, 30, 58, 0.9));
}

.ticket-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--volt-green), var(--ember-orange), transparent);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(22, 32, 74, 0.55);
}

.stat-value {
  color: var(--volt-green);
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.timeline {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  padding-left: 26px;
  border-left: 1px solid rgba(198, 255, 62, 0.22);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--volt-green);
  box-shadow: 0 0 0 4px rgba(198, 255, 62, 0.14);
}

.timeline-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 24px;
  padding: 0;
  border-bottom: 1px solid rgba(198, 255, 62, 0.16);
  list-style: none;
}

.tab-button {
  appearance: none;
  padding: 12px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 12px 12px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tab-button:hover {
  color: var(--silver-white);
}

.tab-button.is-active,
.tab-button[aria-selected="true"] {
  color: var(--volt-green);
  border-bottom-color: var(--volt-green);
  background: rgba(198, 255, 62, 0.05);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.is-active {
  animation: tab-fade 0.2s var(--ease-out);
}

@keyframes tab-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 24px;
  padding: 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--slate-blue);
}

.breadcrumb a {
  color: var(--volt-green);
  text-decoration: none;
}

.breadcrumb [aria-current] {
  color: var(--silver-white);
}

.image-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(198, 255, 62, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #111a38, #0e0c22);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 90, 60, 0.12), transparent 50%),
    linear-gradient(100deg, rgba(198, 255, 62, 0.04), transparent 40%);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.image-frame:hover img {
  transform: scale(1.02);
}

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

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

.site-footer {
  position: relative;
  margin-top: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(198, 255, 62, 0.14);
  background:
    radial-gradient(900px 320px at 80% -10%, rgba(255, 90, 60, 0.14), transparent 60%),
    radial-gradient(760px 400px at 10% 110%, rgba(198, 255, 62, 0.08), transparent 60%),
    linear-gradient(180deg, var(--night-purple) 0%, #080B1E 80%);
  color: var(--text);
}

.footer-topline {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--volt-green), var(--ember-orange), transparent);
}

.footer-main {
  padding: 56px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 44px;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--silver-white);
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  text-decoration: none;
}

.footer-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--volt-green);
  border-radius: 8px;
  background: rgba(198, 255, 62, 0.08);
  color: var(--volt-green);
  font-size: 0.58rem;
  font-style: normal;
  transform: rotate(45deg);
}

.footer-brand-mark span {
  display: block;
  transform: rotate(-45deg);
}

.footer-brief {
  max-width: 42ch;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-trust {
  padding-left: 12px;
  border-left: 2px solid rgba(198, 255, 62, 0.3);
  color: var(--slate-blue);
  font-size: 0.82rem;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--silver-white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-index {
  padding: 2px 6px;
  border: 1px solid rgba(198, 255, 62, 0.25);
  border-radius: 6px;
  color: var(--volt-green);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.footer-contact-list,
.footer-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(232, 234, 237, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-label {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.footer-links-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.footer-links-list a {
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  color: var(--slate-blue);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--volt-green);
  border-bottom-color: rgba(198, 255, 62, 0.35);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(232, 234, 237, 0.08);
  color: var(--slate-blue);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 12px 14px 0;
  }

  .header-inner {
    height: 64px;
    padding: 0 10px 0 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 2px);
    left: 14px;
    right: 14px;
    z-index: 999;
    display: block;
    padding: 16px;
    border: 1px solid rgba(198, 255, 62, 0.16);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(22, 32, 74, 0.98), rgba(27, 30, 58, 0.98));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    display: grid;
    gap: 6px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .btn-header-cta {
    height: 38px;
    padding: 0 14px;
  }

  .btn-arrow {
    display: none;
  }

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

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

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

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

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

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

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

  .footer-links-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .brand-glyph {
    width: 30px;
    height: 30px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .brand-text small {
    letter-spacing: 0.12em;
  }

  .header-inner {
    padding-left: 12px;
  }

  .btn-header-cta {
    padding: 0 12px;
    font-size: 0.82rem;
  }
}

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

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