:root {
  --bg-deep: #0B0F19;
  --bg-panel: #111827;
  --green: #00FF87;
  --blue: #00C2FF;
  --white: #FFFFFF;
  --muted: #A0AEC0;
  --glass: rgba(255, 255, 255, 0.1);
  --purple: #7B61FF;
  --font-head: "Archivo Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-data: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius-lg: 20px;
  --radius-md: 14px;
  --site-width: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--white);
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

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

button, input, select, textarea {
  font: inherit;
}

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

::selection {
  background: var(--green);
  color: #062012;
}

:focus-visible {
  outline: 3px solid rgba(0, 255, 135, .7);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 3rem, var(--site-width));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
  position: relative;
}

.site-main {
  min-height: 60vh;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(145deg, rgba(17, 24, 39, .9), rgba(11, 15, 25, .85));
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 500;
  padding: .8rem 1.2rem;
  background: var(--green);
  color: #062012;
  font-weight: 900;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(0, 255, 135, .4);
  transform: translateY(-240%);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  color: #062012;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 10, 18, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 255, 135, .35), rgba(0, 194, 255, .15), transparent);
}

.header-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green) 0%, var(--blue) 70%, var(--purple) 100%);
  z-index: 4;
  pointer-events: none;
}

.header-topline {
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.header-topline p {
  margin: 0;
}

.header-tagline {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: rgba(255, 255, 255, .78);
}

.header-tagline::before {
  content: "";
  width: 8px;
  height: 10px;
  display: inline-block;
  margin-right: .55rem;
  background: linear-gradient(180deg, var(--green), var(--blue));
  transform: skewX(-18deg);
  box-shadow: 0 0 14px rgba(0, 255, 135, .45);
}

.header-meta {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: .4rem;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 135, .8);
  animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.8); }
}

.header-main {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: .8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
}

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

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 36px;
  height: 30px;
}

.brand-mark span {
  display: block;
  width: 7px;
  background: var(--green);
  transform: skewX(-20deg);
  border-radius: 2px 1px 1px 2px;
}

.brand-mark span:nth-child(1) {
  height: 14px;
  opacity: .65;
}

.brand-mark span:nth-child(2) {
  height: 26px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(0, 194, 255, .45);
}

.brand-mark span:nth-child(3) {
  height: 19px;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: .02em;
}

.header-nav {
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: .7rem 1rem;
  color: var(--muted);
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.2;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: color .25s, background .25s;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .04);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(0, 255, 135, .18);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: var(--white);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, .1);
}

.nav-toggle-label {
  font-size: .9rem;
  font-weight: 700;
}

.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  transition: transform .3s, top .3s, bottom .3s, background .3s;
}

.nav-toggle-icon::before {
  top: 0;
  background: var(--green);
}

.nav-toggle-icon::after {
  bottom: 0;
  background: var(--blue);
}

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

[aria-expanded="true"] .nav-toggle-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
  background: var(--blue);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(3rem, 8vw, 6rem);
  background: #070B13;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), var(--blue), transparent);
}

.footer-glow {
  position: absolute;
  top: -160px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 255, 135, .16), rgba(0, 194, 255, .06) 40%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.footer-main {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) 2rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-col {
  min-width: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.85rem;
  line-height: 1.1;
}

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

.footer-brand-mark {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  transform: skewX(-20deg);
  box-shadow: 0 0 16px rgba(0, 255, 135, .4);
}

.footer-description {
  color: var(--muted);
  max-width: 32ch;
  margin: 1.25rem 0 .75rem;
  font-size: 1rem;
}

.footer-trust {
  color: rgba(160, 174, 192, .72);
  max-width: 52ch;
  font-size: .9rem;
  line-height: 1.7;
  border-left: 2px solid rgba(0, 255, 135, .45);
  padding-left: 1rem;
}

.footer-heading {
  color: var(--green);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.footer-links li {
  margin-bottom: .75rem;
}

.footer-links a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .25s, transform .25s var(--ease);
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  transform: skewX(-20deg);
  opacity: 0;
  transition: opacity .25s;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 255, 135, .5);
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

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

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .5rem .7rem;
  background: rgba(255, 255, 255, .035);
  border-left: 2px solid rgba(0, 194, 255, .4);
  border-radius: 0 10px 10px 0;
}

.footer-contact-label {
  color: var(--blue);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-contact-value {
  color: var(--white);
  font-size: .92rem;
  word-break: break-all;
}

.footer-contact-note {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
  margin: 1rem 0 0;
  padding: .8rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
}

.footer-bottom {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 1.25rem 2rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
  color: var(--muted);
  font-size: .85rem;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin: 0;
}

.footer-copy {
  color: rgba(255, 255, 255, .78);
}

.footer-icp {
  color: var(--muted);
  font-family: var(--font-data);
}

.footer-address {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #062012;
  box-shadow: 0 10px 30px rgba(0, 255, 135, .22);
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(0, 194, 255, .35);
}

.btn-ghost {
  background: rgba(255, 255, 255, .05);
  color: var(--white);
  border-color: rgba(255, 255, 255, .16);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 10px 30px rgba(0, 194, 255, .12);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
  padding: 1.25rem 0;
  color: var(--muted);
  font-size: .88rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, .25);
}

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

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

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

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(0, 255, 135, .14), rgba(0, 194, 255, .08), rgba(17, 24, 39, .7));
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .045) 14px 15px);
  pointer-events: none;
  z-index: 1;
}

.media-frame::after {
  content: "WILLIAMHILL / 福建";
  position: absolute;
  right: 1rem;
  bottom: .8rem;
  color: rgba(255, 255, 255, .35);
  font-family: var(--font-data);
  font-size: .68rem;
  letter-spacing: .16em;
  background: rgba(0, 0, 0, .25);
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  z-index: 2;
}

.media-frame img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame[data-ratio="hero"] {
  min-height: clamp(300px, 48vw, 640px);
}

.media-frame[data-ratio="card"] {
  aspect-ratio: 4 / 3;
  min-height: auto;
}

.media-frame[data-ratio="tall"] {
  aspect-ratio: 3 / 4;
  min-height: auto;
}

@media (max-width: 1024px) {
  .container {
    width: min(100% - 2.5rem, var(--site-width));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

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

@media (max-width: 959px) {
  .header-topline {
    padding: .45rem 1rem;
    justify-content: center;
  }

  .header-topline .header-meta {
    display: none;
  }

  .header-main {
    padding: .7rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    background: rgba(9, 13, 24, .97);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: 30;
  }

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

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

  .nav-link {
    display: block;
    padding: .9rem 1rem;
  }

  .nav-link::after {
    left: 1rem;
    right: 1rem;
    bottom: .55rem;
  }

  .footer-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.5rem, var(--site-width));
  }

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

  .footer-bottom {
    justify-content: flex-start;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .media-frame::after {
    right: .6rem;
    bottom: .6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .header-progress {
    opacity: 0;
  }
}
