/* ==========================================================
   爱游戏入口 Site Kit — 共享样式层 /assets/site.css
   指纹: b3af3ae061dbf54e
   ========================================================== */

/* ---------- 01. CSS Variables ---------- */
:root {
  --c-bg: #1A1A1A;
  --c-bg-deep: #121212;
  --c-card: #2A2A2A;
  --c-orange: #F5A623;
  --c-orange-hover: #FF6B35;
  --c-cyan: #0F4C5C;
  --c-cyan-data: #00B4D8;
  --c-white: #FFFFFF;
  --c-gray: #E0E0E0;
  --c-muted: rgba(224, 224, 224, 0.66);
  --c-line: rgba(255, 255, 255, 0.08);
  --c-header-bg: rgba(18, 18, 18, 0.82);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container-w: 1200px;
  --header-h: 64px;
  --gap: 24px;
  --font-display: "Arial Black", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "Roboto Mono", "SF Mono", "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.2s var(--ease);
  --t: 0.3s var(--ease);
}

/* ---------- 02. Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--c-bg);
  color: var(--c-gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.25;
}

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

/* ---------- 03. Base Typography ---------- */
h1 { font-size: 48px; letter-spacing: 0.01em; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p { line-height: 1.8; }

strong {
  color: var(--c-white);
  font-weight: 700;
}

.num-xl,
.num-xxl,
.stat-label,
.section-index,
.tag,
.breadcrumb,
.footer-copy,
.footer-icp,
.footer-contact-label {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* ---------- 04. Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--c-orange);
  color: var(--c-bg-deep);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 28px;
  border-radius: 0 0 14px 14px;
  transition: top 0.2s var(--ease);
}

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

#main-content {
  scroll-margin-top: calc(var(--header-h) + 40px);
}

@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;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .page-progress {
    display: none;
  }
}

/* ---------- 05. Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

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

.note-col {
  grid-column: span 3;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  padding-top: 6px;
}

.content-col {
  grid-column: span 9;
  min-width: 0;
}

.divider {
  height: 1px;
  border: none;
  background: var(--c-line);
  margin: 56px 0;
}

/* ---------- 06. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
}

.btn-primary {
  background: var(--c-orange);
  color: var(--c-bg-deep);
}

.btn-primary:hover {
  background: var(--c-orange-hover);
  color: var(--c-bg-deep);
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-cyan-data);
  border: 2px solid rgba(0, 180, 216, 0.4);
}

.btn-ghost:hover {
  border-color: var(--c-cyan-data);
  background: rgba(0, 180, 216, 0.08);
  transform: translateY(-2px);
}

/* ---------- 07. Section Elements ---------- */
.section-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-orange);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.15;
  margin-top: 6px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-muted);
  margin-top: 10px;
  max-width: 640px;
}

/* ---------- 08. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-gray);
  transition: color var(--t-fast);
}

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

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 6px;
}

.breadcrumb .current {
  color: var(--c-orange);
  font-weight: 600;
}

/* ---------- 09. Header ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 1240px;
  border-radius: var(--radius-pill);
  background: var(--c-header-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  transition: background var(--t), box-shadow var(--t), border-radius var(--t);
}

.site-header[data-scrolled] {
  background: rgba(18, 18, 18, 0.94);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px 8px 16px;
}

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

.brand-sigil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-orange);
  color: var(--c-bg-deep);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.3);
  transition: background var(--t), transform var(--t);
}

.brand:hover .brand-sigil {
  background: var(--c-orange-hover);
  transform: rotate(-6deg);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-alias {
  color: var(--c-orange);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  margin-left: 6px;
  letter-spacing: 0.1em;
  vertical-align: middle;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-gray);
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}

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

.nav-link[aria-current="page"] {
  color: var(--c-orange);
  background: rgba(245, 166, 35, 0.1);
  box-shadow: inset 0 0 0 1px rgba(245, 166, 35, 0.25);
  font-weight: 700;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.nav-toggle:hover {
  background: rgba(245, 166, 35, 0.1);
  border-color: rgba(245, 166, 35, 0.3);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-white);
  transition: transform var(--t), opacity var(--t-fast), background var(--t-fast);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--c-orange);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--c-orange);
}

.nav-mobile-wrap {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: none;
  background: rgba(18, 18, 18, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.nav-mobile-wrap[data-open] {
  display: block;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile .nav-link {
  justify-content: flex-start;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 16px;
}

.nav-mobile .nav-link[aria-current="page"] {
  background: rgba(245, 166, 35, 0.12);
}

/* ---------- 10. Footer ---------- */
.site-footer {
  margin-top: 80px;
  background: var(--c-bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--c-gray);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 64px 24px 48px;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-sigil {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--c-orange);
  color: var(--c-bg-deep);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--c-white);
}

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-muted);
}

.footer-trust {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(15, 76, 92, 0.2);
  border-left: 3px solid var(--c-cyan-data);
  border-radius: 0 12px 12px 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(224, 224, 224, 0.75);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-muted);
  transition: color var(--t-fast), transform var(--t-fast);
}

.footer-link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-cyan-data);
  opacity: 0.4;
  flex-shrink: 0;
  transition: opacity var(--t-fast), background var(--t-fast);
}

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

.footer-link:hover::before {
  opacity: 1;
  background: var(--c-orange);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan-data);
  margin-bottom: 2px;
}

.footer-contact-value {
  color: var(--c-gray);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-all;
}

.footer-contact-item:hover .footer-contact-value {
  color: var(--c-white);
}

.footer-notice {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(224, 224, 224, 0.5);
}

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

.footer-bottom-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(224, 224, 224, 0.6);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 13px;
}

.footer-icp {
  color: rgba(224, 224, 224, 0.45);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(224, 224, 224, 0.6);
  font-size: 13px;
  transition: color var(--t-fast);
}

.footer-bottom-links a:hover {
  color: var(--c-orange);
}

/* ---------- 11. Cards ---------- */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 180, 216, 0.3);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--c-white);
}

.card-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---------- 12. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.tag-cyan {
  background: rgba(0, 180, 216, 0.15);
  color: var(--c-cyan-data);
}

.tag-orange {
  background: rgba(245, 166, 35, 0.15);
  color: var(--c-orange);
}

.tag-outline {
  background: transparent;
  border: 1px solid var(--c-line);
  color: var(--c-gray);
}

/* ---------- 13. Data Visual ---------- */
.num-xl {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.num-xxl {
  font-family: var(--font-mono);
  font-size: 80px;
  font-weight: 800;
  color: var(--c-white);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-cyan-data);
}

.trend-up {
  color: var(--c-cyan-data);
}

.trend-down {
  color: var(--c-orange-hover);
}

/* ---------- 14. Image Frame ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-card);
  border: 1px solid var(--c-line);
}

.img-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* ---------- 15. Page Progress & Back Top ---------- */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-orange), var(--c-orange-hover));
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.4);
  z-index: 3000;
}

.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-orange);
  color: var(--c-bg-deep);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), background var(--t), visibility var(--t);
}

.back-top[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--c-orange-hover);
}

.back-top-icon {
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

/* ---------- 16. Reveal Animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal="shown"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 17. Responsive ---------- */
@media (min-width: 961px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile-wrap,
  .nav-mobile-wrap[data-open] {
    display: none;
  }
}

@media (max-width: 960px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .header-inner {
    padding: 6px 8px 6px 12px;
  }

  .brand-sigil {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 12px;
  }

  .brand-text {
    font-size: 16px;
  }

  .brand-alias {
    font-size: 12px;
    margin-left: 4px;
  }

  .nav-desktop {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 48px 24px 40px;
  }

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

  .note-col,
  .content-col {
    grid-column: 1 / -1;
  }

  .num-xxl {
    font-size: 64px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 32px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .back-top {
    bottom: 20px;
    right: 20px;
  }

  .num-xl {
    font-size: 36px;
  }

  .num-xxl {
    font-size: 52px;
  }

  .section-title {
    font-size: 28px;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
}
