:root {
  --bg-deep: #0D1021;
  --bg-card: #141929;
  --gold: #C9A962;
  --gold-bright: #E3C795;
  --jade: #1CBB8C;
  --jade-dark: #0E6B54;
  --cream: #F5F1E8;
  --slate: #8A94A6;
  --orange: #E05A3C;
  --white: #FFFFFF;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1280px;
  --header-h: 84px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 54%, rgba(201, 169, 98, .045) 54% 54.4%, transparent 54.4% 100%),
    radial-gradient(circle at 18% 12%, rgba(28, 187, 140, .08), transparent 28rem),
    radial-gradient(circle at 82% 84%, rgba(201, 169, 98, .08), transparent 24rem);
}

main {
  display: block;
}

#main-content {
  scroll-margin-top: calc(var(--header-h) + 16px);
  min-height: 70vh;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

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

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--gold);
  color: var(--bg-deep);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.page-shell {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 96px;
}

.section {
  position: relative;
  padding: clamp(56px, 8vw, 120px) 0;
}

.section--tight {
  padding: 48px 0;
}

.content {
  color: var(--slate);
}

.content h1,
.content h2,
.content h3,
.content h4 {
  color: var(--cream);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .55em;
}

.content h2 {
  font-size: 1.6rem;
}

.content h3 {
  font-size: 1.2rem;
}

.content p {
  margin-bottom: 1em;
}

.content a {
  text-underline-offset: 4px;
}

.muted-text {
  color: var(--slate);
  font-size: .875rem;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--jade);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: .02em;
  color: var(--cream);
  margin: 0;
}

.section-title--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 241, 232, .5);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.grid__span-3 { grid-column: span 3; }
.grid__span-4 { grid-column: span 4; }
.grid__span-5 { grid-column: span 5; }
.grid__span-6 { grid-column: span 6; }
.grid__span-7 { grid-column: span 7; }
.grid__span-8 { grid-column: span 8; }
.grid__span-12 { grid-column: span 12; }

.card {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 25, 41, .96), rgba(13, 16, 33, .92));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.card:hover {
  border-color: rgba(201, 169, 98, .4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

.card:hover::before {
  opacity: 1;
}

.card--offset {
  margin-top: 28px;
  margin-left: 8px;
}

.card--tilted {
  transform: rotate(-1deg);
}

.card--tilted:hover {
  transform: rotate(0deg) translateY(-4px);
}

.card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 10px;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--jade);
  text-transform: uppercase;
}

.card__desc {
  color: var(--slate);
  font-size: .9rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(201, 169, 98, .45);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.btn:hover {
  background: rgba(201, 169, 98, .12);
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
}

.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--bg-deep);
}

.btn--jade {
  background: rgba(28, 187, 140, .12);
  border-color: rgba(28, 187, 140, .45);
  color: var(--jade);
}

.btn--jade:hover {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--bg-deep);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .18);
}

.btn--small {
  padding: 9px 16px;
  font-size: .78rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201, 169, 98, .1);
  border: 1px solid rgba(201, 169, 98, .3);
}

.tag--live {
  color: var(--jade);
  background: rgba(28, 187, 140, .1);
  border-color: rgba(28, 187, 140, .35);
}

.tag--hot {
  color: var(--orange);
  background: rgba(224, 90, 60, .1);
  border-color: rgba(224, 90, 60, .3);
}

.status-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 4px rgba(28, 187, 140, .18);
  flex: none;
}

.status-dot--live {
  animation: pulse 1.7s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(28, 187, 140, .4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(28, 187, 140, 0);
  }
}

.data-label {
  display: block;
  color: var(--slate);
  font-size: .8rem;
  letter-spacing: .14em;
  margin-bottom: 4px;
}

.data-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.data-value--jade {
  color: var(--jade);
}

.scoreboard {
  display: flex;
  align-items: center;
  gap: 18px;
}

.scoreboard__score {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.scoreboard__divider {
  color: var(--jade);
  font-family: var(--font-mono);
  font-size: 1.4rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0;
  list-style: none;
  font-size: .8rem;
  color: var(--slate);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--jade-dark);
}

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

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

.breadcrumb [aria-current="page"] {
  color: var(--gold);
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 70% 20%, rgba(201, 169, 98, .24), transparent 12rem),
    linear-gradient(145deg, var(--bg-card), var(--bg-deep));
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 40%, rgba(13, 16, 33, .35));
}

.image-frame::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, .4);
  top: -50px;
  right: -36px;
}

.image-frame--wide {
  aspect-ratio: 16 / 7;
}

.image-frame--tall {
  aspect-ratio: 3 / 4;
}

.image-frame__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--slate);
  font-size: .75rem;
  letter-spacing: .18em;
  text-align: center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header[data-scrolled="true"],
.site-header[data-menu-open="true"] {
  background: linear-gradient(180deg, rgba(13, 16, 33, .96), rgba(13, 16, 33, .9));
  border-bottom-color: rgba(201, 169, 98, .16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.site-header__inner {
  position: relative;
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.read-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, var(--jade), var(--gold));
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform .25s var(--ease);
}

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--cream);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--cream);
}

.site-brand__symbol {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(201, 169, 98, .9), rgba(227, 199, 149, .6));
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, .25);
}

.site-brand__symbol::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: rgba(13, 16, 33, .35);
  transform: rotate(-45deg);
}

.site-brand__bar {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(224, 90, 60, .2);
}

.site-brand__mono {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--bg-deep);
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-brand__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.site-brand__slogan {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__link {
  display: block;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--cream);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.site-nav__link:hover {
  color: var(--gold-bright);
  background: rgba(201, 169, 98, .08);
}

.site-nav__link[aria-current="page"] {
  color: var(--gold-bright);
  background: rgba(201, 169, 98, .1);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, .3);
  font-weight: 700;
}

.site-nav__foot {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(201, 169, 98, .1);
  border: 1px solid rgba(201, 169, 98, .35);
  border-radius: 999px;
  color: var(--cream);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.nav-toggle:hover {
  background: rgba(201, 169, 98, .18);
  border-color: var(--gold);
}

.nav-toggle__box {
  position: relative;
  width: 14px;
  height: 12px;
  flex: none;
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav-toggle__bar:nth-child(1) {
  top: 2px;
}

.nav-toggle__bar:nth-child(2) {
  bottom: 2px;
}

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

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

.site-footer {
  position: relative;
  margin-top: 80px;
  padding: 72px 0 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(201, 169, 98, .09), transparent 22rem),
    linear-gradient(135deg, #090C17 0%, var(--bg-card) 55%, #090C17 100%);
  border-top: 1px solid rgba(201, 169, 98, .2);
  overflow: hidden;
  color: var(--cream);
}

.site-footer__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background: repeating-linear-gradient(115deg, transparent 0 40px, rgba(201, 169, 98, .018) 40px 41px);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.4fr) 1fr 1.3fr 1fr;
  gap: 44px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-brand:hover {
  color: var(--cream);
}

.footer-brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.footer-brand__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.footer-brand__desc {
  color: var(--slate);
  font-size: .9rem;
  margin-bottom: 18px;
}

.footer-brand__trust {
  color: var(--slate);
  font-size: .8rem;
  line-height: 1.8;
  border-left: 2px solid var(--jade-dark);
  padding-left: 14px;
}

.footer-block__title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.footer-block__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--jade);
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  display: inline-block;
  color: var(--slate);
  text-decoration: none;
  font-size: .9rem;
  padding: 4px 0;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-bright);
  padding-left: 6px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--slate);
  font-size: .86rem;
  line-height: 1.6;
}

.footer-contact li {
  margin-bottom: 14px;
}

.footer-contact__label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--jade);
  margin-bottom: 2px;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--container));
  margin: 52px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  color: var(--slate);
  font-size: .76rem;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .site-header__inner,
  .container,
  .page-shell,
  .site-footer__inner,
  .site-footer__bottom {
    width: min(calc(100% - 32px), var(--container));
  }
}

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

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) - 8px);
    right: 12px;
    left: 12px;
    z-index: 99;
    max-height: calc(100vh - var(--header-h) - 16px);
    overflow-y: auto;
    background: rgba(13, 16, 33, .98);
    border: 1px solid rgba(201, 169, 98, .3);
    border-radius: 24px;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
  }

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

  .site-nav__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 0;
    margin: 0;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: .98rem;
    display: block;
  }

  .site-nav__foot {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 4px 4px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .site-nav__meta {
    color: var(--slate);
    font-size: .7rem;
  }

  .site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--gold);
    color: var(--bg-deep);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
  }

  .site-nav__cta:hover {
    background: var(--gold-bright);
    color: var(--bg-deep);
  }

  .grid__span-3,
  .grid__span-4,
  .grid__span-5,
  .grid__span-6,
  .grid__span-7,
  .grid__span-8,
  .grid__span-12 {
    grid-column: span 6;
  }

  .grid__span-3 {
    grid-column: span 3;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .container,
  .page-shell,
  .site-footer__inner,
  .site-footer__bottom {
    width: calc(100% - 24px);
  }

  .site-brand__slogan {
    display: none;
  }

  .site-brand__title {
    font-size: 1.1rem;
  }

  .site-brand__symbol {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

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

  .site-footer {
    padding-top: 52px;
  }

  .site-footer__bottom {
    display: grid;
    gap: 8px;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid__span-3,
  .grid__span-4,
  .grid__span-5,
  .grid__span-6,
  .grid__span-7,
  .grid__span-8,
  .grid__span-12 {
    grid-column: 1 / -1;
  }

  .card--offset {
    margin-top: 0;
    margin-left: 0;
  }

  .scoreboard {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    scroll-behavior: auto !important;
  }

  .read-progress,
  .status-dot--live {
    display: none;
  }

  .card,
  .card--tilted,
  .card--tilted:hover,
  .btn,
  .btn:hover {
    transform: none;
  }
}
