:root {
  --c-space: #0a0e1a;
  --c-night: #121a2e;
  --c-nebula: #1c2740;
  --c-gold: #f5b81e;
  --c-purple: #9b4dff;
  --c-ember: #ff7a00;
  --c-amber: #ffc54a;
  --c-white: #ffffff;
  --c-silver: #b0b8c8;
  --c-ink: #05070d;
  --font-heading: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --top-h: 56px;
  --side-w: 264px;
  --container: 1280px;
  --gap: 24px;
  --line-gold: rgba(245, 184, 30, 0.22);
  --line-silver: rgba(176, 184, 200, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.3s;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 0 0 1px rgba(245, 184, 30, 0.35), 0 8px 30px rgba(245, 184, 30, 0.12);
}

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-white);
  background-color: var(--c-space);
  background-image:
    linear-gradient(rgba(245, 184, 30, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 30, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-white);
}

::selection {
  background: rgba(245, 184, 30, 0.85);
  color: var(--c-space);
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: -48px;
  left: 12px;
  z-index: 2000;
  background: var(--c-gold);
  color: var(--c-ink);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-gold), var(--c-purple), var(--c-ember));
  z-index: 2000;
  pointer-events: none;
  transition: width 0.08s linear;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-family: var(--font-body);
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  flex: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.section-subtitle {
  color: var(--c-silver);
  font-size: 16px;
  max-width: 60ch;
}

.gradient-text {
  background: linear-gradient(120deg, var(--c-gold), var(--c-ember), var(--c-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: all var(--speed) var(--ease);
  text-align: center;
}
.btn--primary {
  background: var(--c-gold);
  color: var(--c-ink);
  border-color: var(--c-gold);
}
.btn--primary:hover {
  background: var(--c-amber);
  border-color: var(--c-amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 184, 30, 0.25);
}
.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(176, 184, 200, 0.4);
}
.btn--ghost:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  transform: translateY(-2px);
}

.breadcrumb {
  margin-bottom: 32px;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-silver);
}
.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  color: var(--c-purple);
  font-size: 16px;
  line-height: 1;
}
.breadcrumb__link {
  color: var(--c-silver);
  transition: color 0.2s;
}
.breadcrumb__link:hover {
  color: var(--c-gold);
}
.breadcrumb__item[aria-current="page"] {
  color: var(--c-white);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
.grid__span-4 {
  grid-column: span 4;
}
.grid__span-6 {
  grid-column: span 6;
}
.grid__span-8 {
  grid-column: span 8;
}
.grid__span-12 {
  grid-column: span 12;
}

.card {
  position: relative;
  background: var(--c-night);
  border: 1px solid var(--line-silver);
  border-radius: 0;
  overflow: hidden;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-purple));
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  z-index: 2;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
  box-shadow: var(--shadow-card);
}
.card:hover::before {
  opacity: 1;
}
.card__body {
  padding: 24px;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--c-nebula);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155, 77, 255, 0.18), transparent 55%, rgba(245, 184, 30, 0.1));
  pointer-events: none;
  z-index: 1;
}
.media-frame--16x9 {
  aspect-ratio: 16 / 9;
}
.media-frame--square {
  aspect-ratio: 1 / 1;
}
.media-frame--portrait {
  aspect-ratio: 3 / 4;
}
.media-frame--wide {
  aspect-ratio: 21 / 9;
}
.media-frame--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(245, 184, 30, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 30, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: 0;
}
.media-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  z-index: 0;
}
.media-frame:hover img {
  transform: scale(1.04);
}

.timeline {
  position: relative;
  padding: 0 0 0 32px;
  margin: 24px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-purple), rgba(155, 77, 255, 0));
}
.timeline__item {
  position: relative;
  padding-bottom: 32px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 9px;
  height: 9px;
  background: var(--c-space);
  border: 2px solid var(--c-gold);
  border-radius: 0;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold), rgba(245, 184, 30, 0.08), transparent);
  border: none;
  margin: 32px 0;
}

.site-header {
  position: relative;
  z-index: 1000;
}

.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-h);
  background: rgba(5, 7, 13, 0.92);
  border-bottom: 1px solid var(--line-gold);
  z-index: 1200;
}
.site-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
}
.brand-tag__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 30px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-ember));
  color: var(--c-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  flex: none;
}
.brand-tag__name {
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--c-white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.site-top__tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-base {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(176, 184, 200, 0.25);
  background: rgba(10, 14, 26, 0.8);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.search-base:focus-within {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(245, 184, 30, 0.12);
}
.search-base__icon {
  flex: none;
  position: relative;
  width: 12px;
  height: 12px;
  border: 2px solid var(--c-silver);
  border-radius: 50%;
}
.search-base__icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: var(--c-silver);
  right: -5px;
  bottom: -1px;
  transform: rotate(45deg);
}
.search-base__input {
  width: 160px;
  background: none;
  border: none;
  outline: none;
  color: var(--c-white);
  font-size: 14px;
  transition: width 0.3s var(--ease);
}
.search-base__input::placeholder {
  color: var(--c-silver);
  opacity: 0.7;
}
.search-base:focus-within .search-base__input {
  width: 200px;
}

.collect-base {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  color: var(--c-silver);
  font-size: 14px;
  border: 1px solid transparent;
  transition: all var(--speed) var(--ease);
}
.collect-base:hover {
  color: var(--c-gold);
  border-color: var(--line-gold);
}
.collect-base[aria-pressed="true"] {
  color: var(--c-gold);
  border-color: rgba(245, 184, 30, 0.35);
  background: rgba(245, 184, 30, 0.08);
}
.collect-base__star {
  font-size: 16px;
  line-height: 1;
}
.collect-base[aria-pressed="true"] .collect-base__star {
  color: var(--c-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 6px;
  border: 1px solid var(--line-silver);
  transition: border-color var(--speed) var(--ease);
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-gold);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.nav-toggle.is-open {
  border-color: var(--line-gold);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-side {
  position: fixed;
  top: var(--top-h);
  left: 0;
  bottom: 0;
  width: var(--side-w);
  background: linear-gradient(180deg, var(--c-night) 0%, var(--c-space) 100%);
  border-right: 1px solid var(--line-gold);
  display: flex;
  flex-direction: column;
  z-index: 1100;
  transition: transform 0.4s var(--ease);
}
.site-side__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px 28px;
  border-bottom: 1px solid rgba(245, 184, 30, 0.12);
}
.site-side__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-ember));
  color: var(--c-ink);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  flex: none;
  box-shadow: 0 0 20px rgba(245, 184, 30, 0.25);
}
.site-side__meta {
  display: flex;
  flex-direction: column;
}
.site-side__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--c-white);
  line-height: 1.3;
}
.site-side__sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-purple);
  text-transform: uppercase;
  line-height: 1.4;
}

.site-nav {
  flex: 1;
  padding: 24px 0;
  overflow-y: auto;
}
.site-nav__list {
  display: flex;
  flex-direction: column;
}
.site-nav__item {
  margin-bottom: 2px;
}
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  color: var(--c-silver);
  font-size: 15px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all var(--speed) var(--ease);
}
.site-nav__link:hover {
  color: var(--c-gold);
  border-left-color: rgba(245, 184, 30, 0.5);
  background: rgba(245, 184, 30, 0.05);
}
.site-nav__link[aria-current="page"] {
  color: var(--c-gold);
  border-left-color: var(--c-gold);
  background: linear-gradient(90deg, rgba(245, 184, 30, 0.1), transparent);
}
.site-nav__idx {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--c-purple);
  letter-spacing: 0.1em;
  transition: color var(--speed) var(--ease);
}
.site-nav__link[aria-current="page"] .site-nav__idx {
  color: var(--c-gold);
}

.site-side__foot {
  flex: none;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(245, 184, 30, 0.12);
}
.site-side__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--c-purple), transparent);
}
.site-side__phone {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.05em;
}
.site-side__note {
  font-size: 12px;
  color: var(--c-silver);
  margin-top: 4px;
}

#main-content {
  display: block;
  margin-left: var(--side-w);
  padding-top: var(--top-h);
  min-height: 100vh;
}

.site-footer {
  margin-left: var(--side-w);
  background: var(--c-ink);
  border-top: 1px solid var(--line-gold);
  padding: 56px 0 0;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 48px;
  max-width: calc(var(--container) - var(--side-w));
  padding: 0 40px;
}
.site-footer__brand {
  min-width: 0;
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.site-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-ember));
  color: var(--c-ink);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  flex: none;
}
.site-footer__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--c-white);
}
.site-footer__trust {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-silver);
  max-width: 60ch;
}
.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-purple));
}
.site-footer__list li {
  color: var(--c-silver);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}
.site-footer__list a {
  color: var(--c-silver);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}
.site-footer__list a:hover {
  color: var(--c-gold);
}
.site-footer__bottom {
  margin-top: 48px;
  padding: 20px 40px;
  border-top: 1px solid rgba(176, 184, 200, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom p {
  color: var(--c-silver);
  font-size: 13px;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--c-night);
  border: 1px solid var(--line-gold);
  color: var(--c-gold);
  font-size: 20px;
  line-height: 1;
  z-index: 980;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--c-gold);
  color: var(--c-ink);
}

.text-gold {
  color: var(--c-gold);
}
.text-silver {
  color: var(--c-silver);
}
.text-purple {
  color: var(--c-purple);
}
.bg-night {
  background: var(--c-night);
}
.bg-space {
  background: var(--c-space);
}
.bg-ink {
  background: var(--c-ink);
}

@media (max-width: 1023px) {
  :root {
    --side-w: 220px;
  }
  .site-top__inner {
    padding: 0 16px;
  }
  .search-base__input {
    width: 130px;
  }
  .search-base:focus-within .search-base__input {
    width: 160px;
  }
  .site-footer__main {
    padding: 0 24px;
    gap: 32px;
  }
  .site-footer__bottom {
    padding: 20px 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --side-w: 0px;
    --top-h: 52px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-side {
    transform: translateX(-100%);
    width: 280px;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.4);
  }
  .site-side[data-open] {
    transform: translateX(0);
  }
  #main-content,
  .site-footer {
    margin-left: 0;
  }
  .brand-tag__name {
    font-size: 16px;
  }
  .search-base__input {
    width: 100px;
  }
  .search-base:focus-within .search-base__input {
    width: 140px;
  }
  .collect-base__label {
    display: none;
  }
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  .site-footer__bottom {
    padding: 16px 24px;
    flex-direction: column;
    text-align: center;
  }
  .grid__span-4,
  .grid__span-6,
  .grid__span-8,
  .grid__span-12 {
    grid-column: span 12;
  }
}

@media (max-width: 479px) {
  .search-base {
    display: none;
  }
  .brand-tag__name {
    font-size: 15px;
  }
  .site-top__tools {
    gap: 8px;
  }
  .collect-base {
    padding: 0 8px;
  }
  .site-footer__main {
    padding: 0 20px;
  }
  .site-footer__bottom {
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .scroll-progress {
    transition: none;
  }
  .site-side {
    transition: none;
  }
  .card,
  .btn,
  .nav-toggle__bar,
  .collect-base,
  .back-top,
  .brand-tag__seal,
  .media-frame img {
    transition: none;
  }
}
