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

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

@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;
    transition-delay: 0s !important;
  }
}

:root {
  --green-950: #071A10;
  --green-900: #0C2E1F;
  --green-700: #1F4B33;
  --gold-400: #E8B53D;
  --gold-300: #F3D477;
  --gold-600: #D1A72F;
  --red-400: #E5533C;
  --red-900: #8F2B1E;
  --white: #FFFFFF;
  --gray: #AEBBAE;
  --header-h: 60px;
  --container-w: 1280px;
  --font-head: Impact, "Arial Black", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--green-900);
  background-image:
    linear-gradient(rgba(232, 181, 61, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 181, 61, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

main:focus {
  outline: none;
}

#main-content,
:target {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75em;
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--white);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

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

::selection {
  background: var(--gold-400);
  color: var(--green-950);
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--green-950);
}

::-webkit-scrollbar-thumb {
  background: var(--green-700);
  border: 2px solid var(--green-950);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-600);
}

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

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

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

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

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

.skip-link {
  position: fixed;
  top: -100px;
  left: clamp(1rem, 3vw, 2rem);
  z-index: 300;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  background: var(--gold-400);
  color: var(--green-950);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: top 0.2s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 26, 16, 0.97);
  border-bottom: 1px solid var(--gold-600);
  box-shadow: 0 1px 0 rgba(232, 181, 61, 0.12);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: var(--white);
  text-decoration: none;
}

.brand:hover .brand-name {
  color: var(--gold-300);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--gold-400);
  color: var(--green-950);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  clip-path: polygon(25% 0, 75% 0, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0 75%, 0 25%);
  transition: transform 0.15s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(45deg);
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

.brand-slogan {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray);
  letter-spacing: 0.08em;
}

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--gray);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-400);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 83, 60, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(229, 83, 60, 0);
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  border-left: 1px dashed rgba(209, 167, 47, 0.4);
  padding-left: 0.5rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.7rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link::before {
  content: attr(data-index);
  margin-right: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gold-400);
  opacity: 0.75;
}

.nav-link:hover {
  color: var(--gold-300);
  background: rgba(232, 181, 61, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--gold-400);
  background: rgba(232, 181, 61, 0.12);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--gold-400);
}

.nav-toggle {
  display: none;
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-progress {
    transition: transform 0.12s linear;
  }
}

@media (max-width: 1000px) {
  .site-status {
    display: none;
  }
  .site-nav {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--gold-600);
    cursor: pointer;
  }

  .nav-toggle-bar {
    display: block;
    height: 2px;
    background: var(--gold-400);
    transition: transform 0.18s var(--ease), opacity 0.18s 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-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-950);
    border-bottom: 1px solid var(--gold-600);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    padding: 0.5rem;
    gap: 0;
  }

  .site-nav[data-open] {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .site-nav[data-open] .nav-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
    border: 1px solid transparent;
    border-right-color: rgba(209, 167, 47, 0.25);
  }

  .site-nav[data-open] .nav-link:last-child {
    border-right-color: transparent;
  }

  .brand-slogan {
    display: none;
  }
}

.site-footer {
  flex: 0 0 auto;
  background-color: var(--green-950);
  border-top: 2px solid var(--gold-600);
}

.stripe-line {
  display: block;
  height: 6px;
  border: 0;
  margin: 0;
  background: repeating-linear-gradient(-45deg, var(--gold-600) 0 7px, transparent 7px 18px);
  opacity: 0.85;
}

.footer-inner {
  padding-block: clamp(2rem, 5vw, 3.5rem) 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand .brand {
  margin-bottom: 1.1rem;
}

.footer-about {
  max-width: 46ch;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.footer-trust {
  max-width: 54ch;
  border-left: 3px solid var(--gold-600);
  background: rgba(31, 75, 51, 0.4);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-title {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-400);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  column-gap: 1rem;
  row-gap: 0.4rem;
}

.footer-links a {
  padding: 0.25rem 0;
  color: var(--white);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover {
  color: var(--gold-300);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.footer-contact .footer-title {
  margin-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--white);
}

.contact-key {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-600);
  letter-spacing: 0.1em;
}

.contact-val {
  color: var(--gray);
  word-break: break-word;
}

.footer-note {
  max-width: 42ch;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: 1.2rem;
  border-top: 1px dashed var(--gold-600);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--gray);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-links {
    row-gap: 0.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.eyelet {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.eyelet::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold-600);
  display: inline-block;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title {
  margin: 0 0 0.25rem;
}

.section-desc {
  max-width: 60ch;
  margin: 0;
  color: var(--gray);
}

.panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  border: 1px solid rgba(232, 181, 61, 0.35);
}

.panel-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-color: var(--gold-400);
  color: var(--green-950);
}

.panel-gold h1,
.panel-gold h2,
.panel-gold h3 {
  color: var(--green-950);
}

.panel-red {
  background: linear-gradient(135deg, var(--red-400), var(--red-900));
  border-color: var(--red-400);
}

.clip-corner {
  clip-path: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold-400);
  background: var(--gold-400);
  color: var(--green-950);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-400);
}

.btn-ghost:hover {
  background: var(--gold-400);
  color: var(--green-950);
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid;
}

.badge-gold {
  color: var(--gold-300);
  border-color: var(--gold-600);
  background: rgba(232, 181, 61, 0.1);
}

.badge-red {
  color: var(--red-400);
  border-color: var(--red-400);
  background: rgba(229, 83, 60, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(174, 187, 174, 0.35);
  color: var(--gray);
  font-size: 0.8rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.tag:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem;
  background: var(--green-700);
  border: 1px solid var(--gold-600);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.stat-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-2px);
}

.stat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray);
}

.stat-value {
  font-family: var(--font-head), var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--gold-400);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--gray);
}

.stat-trend {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--red-400);
}

@media (max-width: 768px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.6rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray);
  border-bottom: 1px dashed rgba(209, 167, 47, 0.4);
}

.breadcrumb a {
  color: var(--gold-400);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.crumb-sep {
  color: var(--gold-600);
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
  text-decoration: none;
}

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--green-700), var(--green-950));
  border: 1px solid var(--gold-600);
}

.img-frame::after {
  content: attr(data-label);
  position: absolute;
  right: 0.6rem;
  bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(243, 212, 119, 0.6);
  text-transform: uppercase;
}

.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame-video {
  aspect-ratio: 16 / 10;
}

.img-frame-portrait {
  aspect-ratio: 3 / 4;
}

.notice-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.5rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--gold-400);
  background: rgba(232, 181, 61, 0.07);
  color: var(--white);
  font-size: 0.9rem;
}

.notice-bar::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.65rem;
  background: var(--red-400);
  transform: rotate(45deg);
}

.divider-field {
  position: relative;
  height: 1px;
  border: 0;
  margin: 2rem 0;
  background: linear-gradient(90deg, transparent, var(--gold-600), transparent);
}

.divider-field::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--gold-400);
  transform: rotate(45deg);
}

.table-wrap {
  margin: 1.5rem 0;
  overflow-x: auto;
  background: var(--green-950);
  border: 1px solid var(--gold-600);
}

.table-wrap table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.table-wrap th,
.table-wrap td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px dashed rgba(174, 187, 174, 0.22);
  white-space: nowrap;
}

.table-wrap th {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  background: rgba(31, 75, 51, 0.55);
}

.table-wrap td {
  color: var(--white);
}

.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.legal-body h1 {
  margin-bottom: 0.5rem;
}

.legal-body h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.legal-body p,
.legal-body li {
  color: var(--gray);
}

.list-index {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.list-index li {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(232, 181, 61, 0.2);
}

.list-index .li-no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-400);
  line-height: 2;
}

[data-reveal] {
  animation: rise-in 0.55s var(--ease) both;
  animation-delay: var(--reveal-delay, 0s);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    animation: none;
  }
}
