:root {
  --color-bg-deep: #2B0A3D;
  --color-bg-ink: #1A0B2E;
  --color-accent: #FF2A7E;
  --color-neon: #00E5FF;
  --color-paper: #F5E6C8;
  --color-muted: #3D1B5E;
  --color-error: #FF3860;
  --color-success: #00FF9D;
  --glass: rgba(255, 255, 255, 0.08);
  --font-display: "Arial Black", "Impact", "PingFang SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --radius: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-paper);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 42, 126, 0.1), transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(0, 229, 255, 0.08), transparent 30%),
    var(--color-bg-deep);
  min-height: 100vh;
}

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

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

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

ul {
  list-style: none;
}

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

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

::selection {
  background: var(--color-accent);
  color: var(--color-paper);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 1000;
  background: var(--color-accent);
  color: var(--color-paper);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(43, 10, 61, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.25);
}

.header-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-neon));
  z-index: 2;
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  min-height: 72px;
  position: relative;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-paper);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.site-brand__glow {
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
  transform: rotate(45deg);
  display: inline-block;
}

.site-brand__name {
  font-size: 1.35rem;
  font-weight: 900;
}

.site-brand__divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, var(--color-neon), transparent);
}

.site-brand__tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-neon);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.2;
}

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

.site-nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-paper);
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav__link:hover {
  color: var(--color-paper);
  box-shadow: 0 0 16px rgba(255, 42, 126, 0.45);
}

.site-nav__link[aria-current="page"] {
  color: var(--color-neon);
  box-shadow: inset 0 -2px 0 var(--color-neon);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--color-paper);
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.nav-toggle:hover {
  box-shadow: 0 0 14px rgba(255, 42, 126, 0.5);
}

.nav-toggle__label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.nav-toggle__bar {
  width: 100%;
  height: 2px;
  background: var(--color-paper);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-footer {
  background: var(--color-bg-ink);
  border-top: 1px solid rgba(255, 42, 126, 0.3);
  padding: 56px 0 24px;
}

.site-footer__inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.site-footer__brand .site-footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-paper);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-footer__logo:hover {
  color: var(--color-accent);
  text-shadow: 0 0 12px var(--color-accent);
}

.site-footer__slogan {
  margin-top: 8px;
  color: rgba(245, 230, 200, 0.6);
  font-size: 0.9rem;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-neon);
  margin-bottom: 16px;
}

.site-footer__list li {
  margin-bottom: 8px;
}

.site-footer__list a {
  color: rgba(245, 230, 200, 0.8);
  font-size: 0.9rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.site-footer__list a:hover {
  color: var(--color-paper);
  text-shadow: 0 0 8px var(--color-neon);
}

.site-footer__contact p {
  color: rgba(245, 230, 200, 0.7);
  font-size: 0.85rem;
  line-height: 1.8;
  word-break: break-word;
}

.site-footer__compliance .site-footer__list a {
  color: rgba(0, 229, 255, 0.8);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(245, 230, 200, 0.55);
}

.site-footer__trust {
  color: rgba(0, 229, 255, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-paper);
  box-shadow: 0 0 16px rgba(255, 42, 126, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 0 28px rgba(255, 42, 126, 0.65);
  color: var(--color-paper);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--glass);
  color: var(--color-paper);
  border-color: rgba(0, 229, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  color: var(--color-paper);
}

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 42, 126, 0.2);
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  background: rgba(255, 42, 126, 0.15);
  border: 1px solid rgba(255, 42, 126, 0.5);
  color: var(--color-paper);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  vertical-align: middle;
  margin-right: 6px;
}

.status-dot--warn {
  background: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
}

.status-dot--muted {
  background: var(--color-muted);
  box-shadow: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(245, 230, 200, 0.7);
  padding: 16px 0;
}

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

.breadcrumb a:hover {
  color: var(--color-paper);
  text-shadow: 0 0 8px var(--color-neon);
}

.breadcrumb__separator {
  opacity: 0.5;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--color-paper);
  text-shadow: 0 0 20px rgba(255, 42, 126, 0.35);
  margin-bottom: 16px;
}

.section {
  padding: 64px 0;
  position: relative;
}

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

.section-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-neon);
  display: block;
  margin-bottom: 8px;
}

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

.grid__item {
  min-width: 0;
}

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

.grid__item--span-4 {
  grid-column: span 4;
}

.grid__item--span-6 {
  grid-column: span 6;
}

.grid__item--span-8 {
  grid-column: span 8;
}

.grid__item--span-12 {
  grid-column: span 12;
}

.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-muted), var(--color-bg-deep));
}

.media__placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-size: 0.85rem;
  color: rgba(245, 230, 200, 0.8);
  background: linear-gradient(135deg, rgba(255, 42, 126, 0.25), transparent 65%),
              radial-gradient(circle at 70% 20%, rgba(0, 229, 255, 0.2), transparent 40%);
}

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

.diagonal-slice {
  background: linear-gradient(135deg, var(--color-muted) 0%, var(--color-bg-deep) 65%);
}

@media (max-width: 960px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .grid__item--span-3,
  .grid__item--span-4,
  .grid__item--span-6,
  .grid__item--span-8 {
    grid-column: span 12;
  }
}

@media (max-width: 800px) {
  .site-header__inner {
    min-height: 64px;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 11, 46, 0.96);
    border-bottom: 1px solid var(--color-accent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .site-nav[data-open] {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 16px;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    padding: 14px;
  }

  .site-brand__tag {
    display: none;
  }

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

@media (max-width: 600px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .site-footer__slogan {
    font-size: 0.85rem;
  }

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

  .site-footer__inner {
    padding-inline: 16px;
  }

  .section {
    padding: 48px 0;
  }

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

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js-enabled [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

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

  .js-enabled [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001s !important;
    animation-duration: 0.001s !important;
  }
}
