:root {
  --site-bg: #0A0A0F;
  --surface: #12121A;
  --glass: rgba(10, 10, 15, 0.82);
  --gold: #F2C94C;
  --gold-deep: #B8860B;
  --cyan: #00D4FF;
  --text: #F5F5F7;
  --muted: #A0A0B8;
  --line: rgba(242, 201, 76, 0.18);
  --line-cool: rgba(255, 255, 255, 0.08);
  --header-h: 88px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 18px;
  --radius-s: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--site-bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(60rem 30rem at 90% -5%, rgba(0, 212, 255, 0.08), transparent 60%),
    radial-gradient(50rem 35rem at -10% 35%, rgba(242, 201, 76, 0.07), transparent 60%),
    var(--site-bg);
}

body::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
}

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

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

ul,
ol {
  list-style: none;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(242, 201, 76, 0.3);
  color: #ffffff;
}

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

#main-content {
  width: 100%;
  flex: 1;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0A0A0F;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(242, 201, 76, 0.3);
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  outline: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(242, 201, 76, 0.14);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  z-index: 102;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
  pointer-events: none;
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #0A0A0F;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 0 24px rgba(242, 201, 76, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  line-height: 1.1;
}

.brand-name {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-suffix {
  color: var(--gold);
  margin-left: 0.1em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-suffix {
    color: transparent;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.brand-tagline {
  margin-top: 0.15rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.3vw, 2rem);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease);
}

.nav-link:hover {
  color: var(--text);
}

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

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

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 201, 76, 0.32);
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.5);
  flex-shrink: 0;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), background 0.2s;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-footer {
  margin-top: auto;
  position: relative;
  background: linear-gradient(180deg, #0A0A0F 0%, #12121A 100%);
  border-top: 1px solid rgba(242, 201, 76, 0.14);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 201, 76, 0.5), rgba(0, 212, 255, 0.3), transparent);
}

.footer-main {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 2.5rem;
}

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

.footer-trust {
  max-width: 36rem;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-legal-list li a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-legal-list li a:hover {
  color: var(--gold);
  padding-left: 0.4rem;
}

.contact-list {
  display: grid;
  gap: 0.3rem;
}

.contact-item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-label {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-value {
  color: var(--text);
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.footer-bottom-inner p {
  margin: 0;
}

.page-shell {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 2rem 0 3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 7rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.page-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
}

.section {
  margin-block: clamp(3rem, 8vw, 7rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.4vw, 1.75rem);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 20rem at 100% 0%, rgba(242, 201, 76, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 201, 76, 0.38);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

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

.card > * {
  position: relative;
  z-index: 1;
}

.card-title {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
}

.card-meta {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.panel {
  position: relative;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  background: rgba(18, 18, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-s);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.tag-gold {
  border-color: rgba(242, 201, 76, 0.4);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

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

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #0A0A0F;
  box-shadow: 0 8px 30px rgba(242, 201, 76, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(242, 201, 76, 0.35);
}

.btn-ghost {
  border-color: rgba(0, 212, 255, 0.35);
  color: var(--cyan);
}

.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat {
  position: relative;
  padding: 1rem 1.2rem;
  background: rgba(18, 18, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-s);
}

.stat-value {
  color: var(--gold);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

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

.breadcrumb li + li::before {
  content: "→";
  margin-right: 0.35rem;
  color: rgba(255, 255, 255, 0.25);
}

.image-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, rgba(18, 18, 26, 0.9), rgba(10, 10, 15, 0.5));
  border: 1px solid rgba(242, 201, 76, 0.18);
  border-radius: var(--radius);
}

.image-shell.is-16-9 { aspect-ratio: 16 / 9; }
.image-shell.is-21-9 { aspect-ratio: 21 / 9; }
.image-shell.is-1-1 { aspect-ratio: 1 / 1; }

.image-shell::before {
  content: "BET9 VISUAL / 视觉资产";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 201, 76, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(0, 212, 255, 0.08) 45% 48%, transparent 48% 100%),
    radial-gradient(circle, rgba(0, 212, 255, 0.12) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}

.image-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tab {
  padding: 0.8rem 1.1rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tab:hover {
  color: var(--text);
}

.tab[aria-selected="true"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab:focus-visible {
  outline-offset: -2px;
}

.tab-panel {
  padding: 1.5rem 0;
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0.75rem;
    right: 0.75rem;
    margin-left: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0.5rem;
    background: rgba(18, 18, 26, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }

  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav[data-open] .nav-list {
    position: static;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    color: var(--gold);
    background: rgba(242, 201, 76, 0.06);
    border-radius: var(--radius-s);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }

  .grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .col-3,
  .col-4,
  .col-5 {
    grid-column: span 3;
  }

  .col-6,
  .col-7,
  .col-8,
  .col-12 {
    grid-column: span 6;
  }

  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .image-shell {
    border-radius: var(--radius-s);
  }
}

@media (min-width: 961px) {
  .site-nav {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

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

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

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    transition: none;
  }
}
