:root {
  --ink-bg: #0A0E1A;
  --panel-bg: #111722;
  --panel-bg-2: #0C121D;
  --brand-gold: #F0B429;
  --brand-gold-light: #F6C557;
  --neon-green: #00F5A0;
  --line-glow: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(240, 180, 41, 0.6);
  --text-main: #E8ECEF;
  --text-dim: #8B93A3;
  --text-invert: #0A0E1A;
  --font-display: "Teko", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-capsule: 999px;
  --header-grid-size: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--ink-bg);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background-color: var(--ink-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

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

ul,
ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-main);
}

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

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

.main-content {
  position: relative;
  min-height: 60vh;
  padding: 48px 0 80px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 22px;
  background: var(--brand-gold);
  color: var(--text-invert);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-capsule);
  transition: top 0.25s ease;
  box-shadow: 0 8px 32px rgba(240, 180, 41, 0.3);
}

.skip-link:focus-visible {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-gold), var(--neon-green));
  z-index: 10001;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(240, 180, 41, 0.5);
  transition: width 0.08s linear;
}

.site-topbar {
  background: #060A14;
  border-bottom: 1px solid var(--line-glow);
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  font-size: 12px;
  color: var(--text-dim);
}

.site-topbar__note {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-topbar__symbol {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brand-gold);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(240, 180, 41, 0.6);
}

.site-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-topbar__link {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 0;
  transition: color 0.2s ease;
  position: relative;
}

.site-topbar__link + .site-topbar__link {
  border-left: 1px solid var(--line-glow);
  padding-left: 12px;
}

.site-topbar__link:hover {
  color: var(--neon-green);
}

.site-topbar__mail {
  color: rgba(139, 147, 163, 0.7);
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.site-topbar__lang {
  padding: 2px 10px;
  border: 1px solid var(--line-glow);
  border-radius: var(--radius-capsule);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(139, 147, 163, 0.8);
  text-transform: uppercase;
}

.site-header {
  position: relative;
  background-color: var(--panel-bg-2);
  background-image:
    radial-gradient(ellipse at right top, rgba(240, 180, 41, 0.06), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: auto, var(--header-grid-size) var(--header-grid-size), var(--header-grid-size) var(--header-grid-size);
  border-bottom: 1px solid var(--line-glow);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.site-header::after {
  content: "E 117°13′ / N 31°49′";
  position: absolute;
  right: 24px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
  white-space: nowrap;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding-inline: 0;
}

.brand-lockup {
  flex-shrink: 0;
}

.brand-lockup__link {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-md);
  transition: opacity 0.2s ease;
}

.brand-lockup__link:hover {
  opacity: 0.85;
}

.brand-lockup__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--brand-gold), #C28614);
  border-radius: 14px;
  color: var(--text-invert);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(240, 180, 41, 0.2);
  flex-shrink: 0;
}

.brand-lockup__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brand-lockup__name {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--text-main);
}

.brand-lockup__tagline {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list__item {
  margin: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-capsule);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon-green);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(240, 180, 41, 0.08);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-link[aria-current="page"] {
  color: var(--brand-gold);
  background: rgba(240, 180, 41, 0.12);
  box-shadow: inset 0 0 0 1px rgba(240, 180, 41, 0.22);
  font-weight: 700;
}

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--brand-gold);
}

.nav-link__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--brand-gold);
  opacity: 0.7;
  letter-spacing: 0.06em;
}

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

.header-actions__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-capsule);
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.14);
  font-size: 12px;
  color: rgba(232, 236, 239, 0.7);
  letter-spacing: 0.04em;
}

.header-actions__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.8);
}

.header-actions__label {
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-capsule);
  background: var(--panel-bg);
  border: 1px solid var(--line-glow);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--border-focus);
  background: rgba(240, 180, 41, 0.1);
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle__text {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1;
}

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

.site-footer__top {
  background:
    radial-gradient(ellipse at bottom right, rgba(0, 245, 160, 0.04), transparent 50%),
    radial-gradient(ellipse at top left, rgba(240, 180, 41, 0.04), transparent 50%),
    #0C1120;
  border-top: 1px solid var(--line-glow);
}

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

.site-footer__brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.site-footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-gold), #C28614);
  border-radius: 14px;
  color: var(--text-invert);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(240, 180, 41, 0.15);
}

.site-footer__name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-main);
  line-height: 1.2;
}

.site-footer__tagline {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-top: 3px;
}

.site-footer__trust {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(139, 147, 163, 0.8);
  border-left: 2px solid var(--brand-gold);
  padding-left: 14px;
  max-width: 420px;
}

.site-footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-glow);
}

.site-footer__titleidx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-gold);
  letter-spacing: 0.04em;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  padding-left: 14px;
  position: relative;
}

.site-footer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid var(--brand-gold);
  opacity: 0.6;
}

.site-footer__list a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.site-footer__list a:hover {
  color: var(--neon-green);
}

.site-footer__contact .site-footer__list li::before {
  border-color: var(--neon-green);
  opacity: 0.5;
}

.site-footer__bottom {
  border-top: 1px solid var(--line-glow);
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.3);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
}

.site-footer__copyright {
  font-size: 13px;
  color: var(--text-dim);
}

.site-footer__icp {
  font-size: 12px;
  color: rgba(139, 147, 163, 0.65);
  letter-spacing: 0.06em;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-capsule);
  background: var(--panel-bg);
  border: 1px solid var(--line-glow);
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, border-color 0.3s, color 0.3s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.back-top__icon {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid currentColor;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-capsule);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn--gold {
  background: var(--brand-gold);
  color: var(--text-invert);
}

.btn--gold:hover {
  background: var(--brand-gold-light);
  box-shadow: 0 6px 30px rgba(240, 180, 41, 0.3);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-glow);
  color: var(--text-main);
}

.btn--ghost:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: rgba(240, 180, 41, 0.06);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  color: var(--text-dim);
  padding: 16px 0 28px;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: rgba(139, 147, 163, 0.4);
  font-size: 12px;
}

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

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

.breadcrumb [aria-current="page"] {
  color: var(--text-main);
  font-weight: 500;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.section-heading__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-gold);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.section-heading__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text-main);
  white-space: nowrap;
}

.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-glow), transparent);
  transform: translateY(-6px);
}

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

.site-grid__2,
.site-grid__3 {
  grid-template-columns: 1fr;
}

.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-glow);
  background-color: var(--panel-bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}

.img-placeholder::after {
  content: "IMG//GRID";
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(139, 147, 163, 0.5);
  background: rgba(10, 14, 26, 0.5);
  padding: 4px 12px;
  border-radius: var(--radius-capsule);
  border: 1px solid var(--line-glow);
}

.img-placeholder--tall {
  aspect-ratio: 3 / 4;
}

.img-placeholder--wide {
  aspect-ratio: 21 / 9;
}

@media (min-width: 768px) {
  #main-content {
    padding: 64px 0 100px;
  }

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

  .site-footer__brand {
    grid-column: 1 / -1;
  }

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

  .breadcrumb {
    padding: 20px 0 32px;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 48px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

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

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-actions__status {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--panel-bg);
    border-bottom: 1px solid var(--line-glow);
    border-top: 1px solid rgba(240, 180, 41, 0.2);
    padding: 12px 24px 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .main-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list__item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 14px;
  }

  .nav-link::after {
    left: 16px;
    right: auto;
    width: 24px;
  }

  .nav-link[aria-current="page"] {
    background: rgba(240, 180, 41, 0.08);
    box-shadow: inset 3px 0 0 var(--brand-gold);
  }

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

@media (max-width: 767px) {
  .container {
    width: min(1200px, 100% - 32px);
  }

  .site-topbar__note-text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-topbar__actions {
    display: none;
  }

  .site-header__inner {
    min-height: 60px;
  }

  .brand-lockup__mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

  .brand-lockup__name {
    font-size: 16px;
  }

  .brand-lockup__tagline {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-toggle {
    padding: 6px 10px;
  }

  .nav-toggle__text {
    display: none;
  }

  .site-footer__grid {
    gap: 32px;
    padding: 40px 0 36px;
  }

  .site-footer__trust {
    max-width: none;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    padding: 8px 14px;
  }

  .back-top__text {
    display: none;
  }

  .back-top__icon {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid currentColor;
  }

  .section-heading__title {
    font-size: 24px;
  }

  .section-heading__index {
    font-size: 12px;
  }

  .img-placeholder {
    border-radius: 18px;
  }
}

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

  .nav-link::after,
  .nav-toggle__line,
  .back-top,
  .main-nav {
    transition: none !important;
  }
}
