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

:root {
  --void: #0B0F0D;
  --panel: #121B16;
  --club-green: #1E4D2B;
  --fern-green: #3C6B3F;
  --gold: #D4A843;
  --gold-light: #E6C36A;
  --crimson: #8B2500;
  --flare-green: #39FF14;
  --stone: #5A6B5A;
  --porcelain: #F5F0E6;

  --font-heading: 'Anton', 'Impact', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Arial Narrow', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-number: 'Roboto Mono', 'SFMono-Regular', Menlo, Consolas, 'Courier New', monospace;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.28);
  --glass-bg: rgba(11, 15, 13, 0.72);
  --glass-border: rgba(212, 168, 67, 0.28);
  --text-secondary: rgba(245, 240, 230, 0.66);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed-fast: 0.15s;
  --speed-med: 0.25s;
  --speed-slow: 0.45s;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--void);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(30, 77, 43, 0.6), transparent 70%),
    radial-gradient(900px 500px at -10% 90%, rgba(139, 37, 0, 0.22), transparent 60%),
    linear-gradient(rgba(212, 168, 67, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.028) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: 1200px 600px, 900px 500px, 64px 64px, 64px 64px;
  background-position: 85% -10%, -10% 90%, 0 0, 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  display: block;
}

p {
  margin: 0 0 16px;
  color: rgba(245, 240, 230, 0.86);
  line-height: 1.9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--porcelain);
}

ul,
ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}

ul[class],
ol[class] {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--speed-fast) ease;
}

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

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

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

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

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

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

.g-main {
  display: block;
  padding-top: 112px;
  min-height: 70vh;
}

.g-section {
  padding-block: var(--space-section, 72px);
}

.g-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--porcelain);
}

.g-section-title::before {
  content: '';
  flex-shrink: 0;
  width: 26px;
  height: 30px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--crimson) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.g-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 168, 67, 0.4), transparent);
}

.g-toc {
  counter-reset: toc-counter;
}

.g-toc__item {
  counter-increment: toc-counter;
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
}

.g-toc__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 8px;
  color: var(--porcelain);
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.02em;
  transition: color var(--speed-fast) ease, padding-left var(--speed-med) var(--ease-out);
}

.g-toc__link::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: var(--font-number);
  font-size: 14px;
  color: var(--gold);
}

.g-toc__link:hover {
  color: var(--gold-light);
  padding-left: 16px;
}

.g-breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  overflow-x: auto;
}

.g-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.g-breadcrumbs__item + .g-breadcrumbs__item::before {
  content: '/';
  margin-right: 8px;
  color: var(--stone);
  opacity: 0.6;
}

.g-breadcrumbs__link {
  color: var(--text-secondary);
  text-decoration: none;
}

.g-breadcrumbs__link:hover {
  color: var(--gold-light);
}

.g-breadcrumbs__current {
  color: var(--porcelain);
  font-weight: 500;
}

.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  background: var(--club-green);
  color: var(--porcelain);
  transition: transform var(--speed-med) var(--ease-out), box-shadow var(--speed-med) var(--ease-out), background-color var(--speed-med) var(--ease-out), border-color var(--speed-med) var(--ease-out);
}

.g-btn:hover {
  transform: translateY(-2px);
}

.g-btn--gold {
  background: var(--gold);
  color: var(--void);
}

.g-btn--gold:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.28);
}

.g-btn--ghost {
  background: transparent;
  border-color: rgba(212, 168, 67, 0.4);
  color: var(--porcelain);
}

.g-btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.g-btn--flare {
  background: var(--flare-green);
  color: var(--void);
}

.g-btn--flare:hover {
  box-shadow: 0 8px 28px rgba(57, 255, 20, 0.32);
}

.g-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.g-link::after {
  content: '→';
  transition: transform var(--speed-fast) ease;
}

.g-link:hover {
  color: var(--gold-light);
}

.g-link:hover::after {
  transform: translateX(3px);
}

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

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

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

.g-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.g-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--panel);
  border: 1px solid rgba(212, 168, 67, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--speed-med) var(--ease-out), border-color var(--speed-med) var(--ease-out), box-shadow var(--speed-med) var(--ease-out);
}

.g-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 67, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.g-card--tilt {
  transform: rotate(1.2deg);
}

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

.g-card--glass {
  background: rgba(18, 27, 22, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-color: rgba(212, 168, 67, 0.2);
}

.g-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--club-green) 0%, var(--panel) 70%);
  border-radius: var(--radius-md);
}

.g-media--wide {
  aspect-ratio: 21 / 9;
}

.g-media--portrait {
  aspect-ratio: 4 / 5;
}

.g-media--hex {
  aspect-ratio: 8 / 9;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border-radius: 0;
}

.g-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(212, 168, 67, 0.14) 25%, transparent 25%),
    linear-gradient(225deg, rgba(212, 168, 67, 0.14) 25%, transparent 25%);
  background-size: 28px 28px;
}

.g-media img,
.g-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-stat {
  font-family: var(--font-number);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.g-stat--sm {
  font-size: 18px;
}

.g-stat--xl {
  font-size: 44px;
}

.g-stat__label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.g-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  background: rgba(30, 77, 43, 0.65);
  color: var(--porcelain);
  border: 1px solid rgba(60, 107, 63, 0.5);
}

.g-tag--gold {
  background: rgba(212, 168, 67, 0.15);
  border-color: rgba(212, 168, 67, 0.35);
  color: var(--gold-light);
}

.g-tag--red {
  background: rgba(139, 37, 0, 0.3);
  border-color: rgba(139, 37, 0, 0.5);
  color: #F0A087;
}

.g-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.g-filter__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 67, 0.26);
  background: rgba(18, 27, 22, 0.7);
  color: rgba(245, 240, 230, 0.8);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color var(--speed-fast), color var(--speed-fast), border-color var(--speed-fast), box-shadow var(--speed-fast);
}

.g-filter__btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.g-filter__btn.is-active {
  background: var(--flare-green);
  border-color: var(--flare-green);
  color: var(--void);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(57, 255, 20, 0.25);
}

.g-card.is-hidden {
  display: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--flare-green);
  color: var(--void);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--speed-med) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 100;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-bottom-color: rgba(212, 168, 67, 0.55);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  overflow: visible;
}

.site-scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--flare-green) 100%);
  transform: scaleX(0);
  transform-origin: 0% 50%;
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.1s linear;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__brand-mark,
.site-footer__brand-mark {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--crimson) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 4px 12px rgba(212, 168, 67, 0.25);
}

.site-header__brand-mark {
  width: 26px;
  height: 30px;
  transition: transform var(--speed-med) var(--ease-out);
}

.site-header__brand:hover .site-header__brand-mark {
  transform: rotate(30deg);
}

.site-header__brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--porcelain);
  white-space: nowrap;
  transition: color var(--speed-fast) ease;
}

.site-header__brand:hover .site-header__brand-name {
  color: var(--gold-light);
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(245, 240, 230, 0.72);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--speed-fast) var(--ease-out), background-color var(--speed-fast) var(--ease-out), box-shadow var(--speed-fast) var(--ease-out);
}

.site-nav__link:hover {
  color: var(--gold-light);
  background: rgba(212, 168, 67, 0.08);
  text-decoration: none;
}

.site-nav__link[aria-current="page"] {
  color: var(--flare-green);
  background: rgba(57, 255, 20, 0.08);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.35);
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--flare-green);
  color: var(--void);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(57, 255, 20, 0.22);
  transition: box-shadow var(--speed-med) var(--ease-out), transform var(--speed-med) var(--ease-out);
}

.site-header__cta::before {
  content: '';
  width: 10px;
  height: 10px;
  background: currentColor;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform var(--speed-med) var(--ease-out);
}

.site-header__cta:hover {
  box-shadow: 0 8px 28px rgba(57, 255, 20, 0.35);
  transform: translateY(-1px);
  color: var(--void);
  text-decoration: none;
}

.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  padding: 0;
  gap: 5px;
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 50%;
  background: rgba(18, 27, 22, 0.6);
  cursor: pointer;
}

.site-nav-toggle__bar {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--porcelain);
  transition: transform var(--speed-med) var(--ease-out), opacity var(--speed-med) var(--ease-out);
}

.site-nav-toggle.is-active .site-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle.is-active .site-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-nav-toggle.is-active .site-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
  margin-top: 96px;
  background: var(--void);
  border-top: 2px solid var(--gold);
  padding: 56px 0 28px;
  font-family: var(--font-body);
}

.site-footer__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(212, 168, 67, 0.16);
}

.site-footer__brand {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
}

.site-footer__brand-mark {
  grid-row: 1 / 3;
  width: 28px;
  height: 32px;
}

.site-footer__brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--porcelain);
}

.site-footer__tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.site-footer__contact {
  text-align: right;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.site-footer__contact p {
  margin: 0;
  line-height: 1.9;
  color: var(--text-secondary);
  font-size: 14px;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 24px;
}

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

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer__links a {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--speed-fast) ease;
}

.site-footer__links a:hover {
  color: var(--gold-light);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.28);
  background: radial-gradient(circle at 30% 30%, rgba(30, 77, 43, 0.8), rgba(11, 15, 13, 0.9));
  transition: border-color var(--speed-fast) ease, transform var(--speed-fast) ease;
}

.site-footer__social-badge::before {
  content: '';
  width: 12px;
  height: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.85;
}

.site-footer__social-badge:nth-child(1)::before {
  width: 10px;
  height: 12px;
}

.site-footer__social-badge:nth-child(2)::before {
  width: 14px;
  height: 16px;
  background: var(--flare-green);
  opacity: 0.7;
}

.site-footer__social-badge:nth-child(3)::before {
  width: 6px;
  height: 18px;
  clip-path: none;
  border-radius: 2px;
  background: var(--crimson);
}

.site-footer__social-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 90;
    display: none;
    flex-direction: column;
    padding: 14px;
    background: rgba(11, 15, 13, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }

  .site-nav__link {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .site-header__inner {
    padding: 8px 8px 8px 16px;
  }

  .site-header__brand-name {
    font-size: 20px;
  }

  .site-header__cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .g-grid--3,
  .g-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .g-main {
    padding-top: 92px;
  }

  .g-container {
    width: min(1240px, calc(100% - 32px));
  }

  .g-section {
    padding-block: 48px;
  }

  .site-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .site-header__brand-mark {
    width: 22px;
    height: 26px;
  }

  .site-header__brand-name {
    font-size: 18px;
  }

  .site-header__cta {
    padding: 6px 12px;
    font-size: 12px;
  }

  .site-header__cta::before {
    width: 8px;
    height: 8px;
  }

  .site-nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-footer {
    padding: 40px 0 24px;
  }

  .site-footer__main {
    flex-direction: column;
    gap: 24px;
  }

  .site-footer__contact {
    text-align: left;
  }

  .site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .g-grid--2,
  .g-grid--3,
  .g-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@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: 0ms !important;
  }

  .site-scroll-progress {
    transition: none;
  }
}
