﻿/*=========================================================
  壹号娱乐中心 · Site Kit
  设计语汇：技术蓝图 / 展览说明牌 / 金色流光
=========================================================*/

/*---------- 1 / 基础重置 ----------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

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

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

button {
  background: transparent;
  border: 0;
  padding: 0;
}

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

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

::selection {
  background: var(--yh-accent);
  color: var(--yh-bg-primary);
}

[id] {
  scroll-margin-top: 96px;
}

@media (min-width: 1024px) {
  [id] {
    scroll-margin-top: 24px;
  }
}

/*---------- 2 / 设计变量 ----------*/
:root {
  --yh-bg-primary: #1A1B3A;
  --yh-bg-secondary: #3D3B8E;
  --yh-accent: #D4AF37;
  --yh-accent-light: #FFE27A;
  --yh-bg-light: #E8E6F0;
  --yh-bg-footer: #0D0E1F;
  --yh-text-dark: #1E1E28;
  --yh-text-light: #F5F5FA;
  --yh-mono: #6C6C8C;
  --yh-success: #2ECC71;
  --yh-warning: #F39C12;
  --yh-radius: 20px;
  --yh-radius-sm: 12px;
  --yh-rail-width: 280px;
  --yh-header-height-mobile: 72px;
  --yh-font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --yh-font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --yh-font-mono: "JetBrains Mono", "Roboto Mono", "Consolas", monospace;
}

/*---------- 3 / 基础排版与底色 ----------*/
body {
  margin: 0;
  font-family: var(--yh-font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--yh-text-light);
  background-color: var(--yh-bg-primary);
  background-image:
    radial-gradient(circle at 82% -10%, rgba(212, 175, 55, 0.10), transparent 42%),
    radial-gradient(circle at 12% 108%, rgba(61, 59, 142, 0.35), transparent 46%),
    linear-gradient(180deg, #191a3c 0%, #12132e 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--yh-font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--yh-text-light);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.45em;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.6em;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6em;
}

strong {
  color: var(--yh-accent-light);
  font-weight: 600;
}

em {
  color: var(--yh-accent);
}

/*---------- 4 / 布局与容器 ----------*/
.yh-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

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

.yh-section {
  padding: 80px 0;
}

.yh-section--tight {
  padding: 48px 0;
}

.yh-section--flush {
  padding: 0;
}

.yh-section--dark {
  background: rgba(13, 14, 31, 0.55);
  color: var(--yh-text-light);
}

.yh-section--light {
  background: var(--yh-bg-light);
  color: var(--yh-text-dark);
}

.yh-section--gold {
  background: linear-gradient(135deg, #f7e27e 0%, #d4af37 100%);
  color: var(--yh-text-dark);
}

.yh-section--light h1,
.yh-section--light h2,
.yh-section--light h3,
.yh-section--light h4,
.yh-section--gold h1,
.yh-section--gold h2,
.yh-section--gold h3,
.yh-section--gold h4 {
  color: var(--yh-text-dark);
}

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

.yh-grid--2,
.yh-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .yh-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .yh-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .yh-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

.yh-mono {
  font-family: var(--yh-font-mono);
}

.yh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yh-accent);
  margin-bottom: 14px;
}

.yh-eyebrow::before {
  content: "//";
  color: var(--yh-mono);
}

.yh-divider {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.45), transparent);
}

.yh-clip {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
}

.yh-clip--reverse {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 44px));
}

/*---------- 5 / 按钮 · 标签 · 徽标 ----------*/
.yh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 999px;
  font-family: var(--yh-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.yh-btn--gold {
  background: linear-gradient(135deg, #f2d968 0%, #d4af37 58%, #b8922a 100%);
  color: var(--yh-text-dark);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.25);
}

.yh-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(212, 175, 55, 0.36);
}

.yh-btn--ghost {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--yh-accent);
}

.yh-btn--ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--yh-accent);
}

.yh-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.08);
  color: var(--yh-accent);
  font-family: var(--yh-font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.yh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(46, 204, 113, 0.45);
  background: rgba(46, 204, 113, 0.08);
  color: var(--yh-success);
  font-family: var(--yh-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.yh-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  flex-shrink: 0;
}

/*---------- 6 / 卡片与媒体 ----------*/
.yh-card {
  position: relative;
  background: linear-gradient(145deg, #242658 0%, #191a40 100%);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--yh-radius);
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.yh-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.yh-card__index {
  display: inline-block;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--yh-accent);
  margin-bottom: 12px;
}

.yh-card__title {
  font-family: var(--yh-font-serif);
  font-size: 20px;
  line-height: 1.3;
  color: var(--yh-text-light);
  margin-bottom: 10px;
}

.yh-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: #b8b6cc;
}

.yh-section--light .yh-card {
  background: #ffffff;
  border-color: rgba(30, 30, 40, 0.08);
  box-shadow: 0 4px 16px rgba(30, 30, 40, 0.06);
}

.yh-section--light .yh-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 12px 28px rgba(30, 30, 40, 0.12);
}

.yh-section--light .yh-card__title {
  color: var(--yh-text-dark);
}

.yh-section--light .yh-card__desc {
  color: #5a5a6e;
}

.yh-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--yh-radius);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 40%),
    linear-gradient(135deg, #292a5c 0%, #3d3b8e 100%);
  border: 1px solid rgba(212, 175, 55, 0.14);
}

.yh-media::before {
  content: "";
  display: block;
  padding-bottom: 66.66%;
}

.yh-media--square::before {
  padding-bottom: 100%;
}

.yh-media--portrait::before {
  padding-bottom: 125%;
}

.yh-media--wide::before {
  padding-bottom: 56.25%;
}

.yh-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(232, 230, 240, 0.08) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: yh-shimmer 5.5s infinite;
}

@keyframes yh-shimmer {
  0% {
    transform: translateX(-100%);
  }

  40%,
  100% {
    transform: translateX(100%);
  }
}

.yh-media__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(245, 245, 250, 0.55);
  text-transform: uppercase;
}

/*---------- 7 / 面板 · 面包屑 · 表格 ----------*/
.yh-panel {
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.yh-panel__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 4px;
  cursor: pointer;
  text-align: left;
  color: var(--yh-text-light);
  font-family: var(--yh-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.yh-panel__trigger:hover {
  color: var(--yh-accent-light);
}

.yh-panel__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--yh-accent);
  color: var(--yh-accent);
  font-family: var(--yh-font-mono);
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.yh-panel[data-open] .yh-panel__icon {
  transform: rotate(135deg);
  background: var(--yh-accent);
  color: var(--yh-bg-primary);
}

.yh-panel__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.yh-panel[data-open] > .yh-panel__body {
  grid-template-rows: 1fr;
}

.yh-panel__content {
  overflow: hidden;
  min-height: 0;
  color: #b8b6cc;
  font-size: 14px;
  line-height: 1.8;
}

.yh-panel__content > * + * {
  margin-top: 8px;
}

.yh-section--light .yh-panel {
  border-bottom-color: rgba(30, 30, 40, 0.14);
}

.yh-section--light .yh-panel__trigger {
  color: var(--yh-text-dark);
}

.yh-section--light .yh-panel__trigger:hover {
  color: var(--yh-accent);
}

.yh-section--light .yh-panel__content {
  color: #5a5a6e;
}

.yh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 20px 0;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yh-mono);
}

.yh-breadcrumb a {
  color: var(--yh-accent);
  transition: color 0.2s ease;
}

.yh-breadcrumb a:hover {
  color: var(--yh-accent-light);
}

.yh-breadcrumb__sep {
  color: var(--yh-mono);
  opacity: 0.6;
}

.yh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.yh-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--yh-accent);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
}

.yh-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--yh-text-light);
}

.yh-section--light .yh-table td {
  color: var(--yh-text-dark);
  border-bottom-color: rgba(30, 30, 40, 0.1);
}

/*---------- 8 / 头部 · 侧边轨道与移动抽屉 ----------*/
.yh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--yh-header-height-mobile);
  z-index: 100;
  background:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 44px),
    linear-gradient(180deg, #171839 0%, #10112c 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.yh-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 20px;
}

.yh-brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.yh-brand:hover .yh-brand__logo {
  color: var(--yh-accent-light);
}

.yh-brand__logo {
  font-family: var(--yh-font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yh-text-light);
  transition: color 0.2s ease;
}

.yh-brand__dot {
  color: var(--yh-accent);
}

.yh-brand__tag {
  margin-top: 5px;
  font-family: var(--yh-font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yh-mono);
}

.yh-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  min-height: 52px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  background: rgba(212, 175, 55, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.yh-nav-toggle:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--yh-accent);
}

.yh-nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--yh-accent);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.yh-nav-toggle__hint {
  margin-top: 2px;
  font-family: var(--yh-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--yh-accent);
  line-height: 1;
}

.yh-nav-toggle[aria-expanded="true"] .yh-nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.yh-nav-toggle[aria-expanded="true"] .yh-nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.yh-nav {
  position: fixed;
  top: var(--yh-header-height-mobile);
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(340px, 86vw);
  padding: 24px 20px 40px;
  overflow-y: auto;
  background: linear-gradient(165deg, #191a3f 0%, #0c0d22 100%);
  border-left: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.5);
  visibility: hidden;
  transform: translateX(102%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
}

.yh-nav[data-open] {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
}

.yh-nav__list {
  display: flex;
  flex-direction: column;
}

.yh-nav__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.yh-nav__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.yh-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 8px;
  border-left: 2px solid transparent;
  color: var(--yh-text-light);
  font-size: 15px;
  line-height: 1.3;
  transition: padding-left 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yh-nav__link::after {
  content: "";
  position: absolute;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yh-accent);
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.yh-nav__index {
  min-width: 24px;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yh-accent);
}

.yh-nav__text {
  font-weight: 500;
}

.yh-nav__link:hover,
.yh-nav__link[aria-current="page"] {
  padding-left: 18px;
  border-left-color: var(--yh-accent);
  background: rgba(212, 175, 55, 0.07);
  color: #ffffff;
}

.yh-nav__link:hover::after,
.yh-nav__link[aria-current="page"]::after {
  opacity: 1;
  transform: scale(1);
}

.yh-header__meta {
  display: none;
}

.yh-header__status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--yh-text-light);
}

.yh-header__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yh-success);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.8);
  flex-shrink: 0;
}

.yh-header__phone {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--yh-font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--yh-accent);
}

.yh-header__phone:hover {
  color: var(--yh-accent-light);
}

.yh-header__code {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(212, 175, 55, 0.28);
  font-family: var(--yh-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yh-mono);
}

body[data-nav-open]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 9, 20, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: yh-fade-in 0.25s ease;
}

@keyframes yh-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  body {
    padding-top: var(--yh-header-height-mobile);
  }
}

@media (min-width: 1024px) {
  .yh-header {
    right: auto;
    bottom: 0;
    width: var(--yh-rail-width);
    height: auto;
    background:
      repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 48px),
      linear-gradient(180deg, #171839 0%, #0d0e22 100%);
    border-right: 1px solid rgba(212, 175, 55, 0.22);
    border-bottom: 0;
  }

  .yh-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100%;
    padding: 0;
  }

  .yh-brand {
    display: block;
    padding: 32px 28px 28px;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.28);
  }

  .yh-brand__logo {
    font-size: 30px;
  }

  .yh-brand__tag {
    font-size: 10px;
  }

  .yh-nav-toggle {
    display: none;
  }

  .yh-nav {
    position: static;
    width: auto;
    padding: 12px 0 0;
    margin: 0;
    overflow: visible;
    background: transparent;
    border-left: 0;
    box-shadow: none;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .yh-header__meta {
    display: block;
    margin-top: auto;
    padding: 22px 26px;
  }

  body[data-nav-open]::after {
    display: none;
  }

  #main-content,
  .yh-footer {
    margin-left: var(--yh-rail-width);
  }
}

/*---------- 9 / 页脚 · 展览底牌 ----------*/
.yh-footer {
  position: relative;
  background:
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 80px),
    var(--yh-bg-footer);
  border-top: 1px solid rgba(212, 175, 55, 0.24);
}

.yh-footer__topper {
  height: 3px;
  background: linear-gradient(to right, var(--yh-accent) 0%, var(--yh-accent-light) 22%, rgba(212, 175, 55, 0) 72%);
}

.yh-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 0;
}

@media (min-width: 720px) {
  .yh-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .yh-footer__grid {
    grid-template-columns: repeat(12, 1fr);
    padding-top: 64px;
  }

  .yh-footer__brand {
    grid-column: span 4;
  }

  .yh-footer__col {
    grid-column: span 2;
  }

  .yh-footer__contact {
    grid-column: span 4;
  }
}

.yh-footer__logo {
  display: inline-block;
  font-family: var(--yh-font-serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yh-text-light);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.yh-footer__logo:hover {
  color: var(--yh-accent-light);
}

.yh-footer__slogan {
  font-size: 14px;
  line-height: 1.75;
  color: #9b9ab8;
  margin-bottom: 18px;
}

.yh-footer__heading {
  font-family: var(--yh-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yh-accent);
  margin-bottom: 16px;
}

.yh-footer__links li + li {
  margin-top: 10px;
}

.yh-footer__links a {
  font-size: 14px;
  line-height: 1.5;
  color: #e8e6f0;
  transition: color 0.2s ease;
}

.yh-footer__links a:hover {
  color: var(--yh-accent-light);
}

.yh-footer__list {
  margin-top: 20px;
}

.yh-footer__list li {
  position: relative;
  padding-left: 16px;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.6;
  color: #b8b6cc;
}

.yh-footer__list li:first-child {
  margin-top: 0;
}

.yh-footer__list li::before {
  content: "·";
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--yh-accent);
}

.yh-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 20px 32px;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yh-mono);
}

@media (max-width: 719px) {
  .yh-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

.yh-footer__copyright {
  display: inline-flex;
  align-items: center;
}

.yh-footer__icp {
  color: #b8b6cc;
}

.yh-footer__service {
  color: var(--yh-accent);
  padding: 6px 16px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  font-family: var(--yh-font-sans);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.yh-footer__service:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--yh-accent);
}

/*---------- 10 / 滚动进度与滚动渐显 ----------*/
.yh-scroll-progress {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--yh-accent), var(--yh-accent-light));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
}

@media (min-width: 1024px) {
  .yh-scroll-progress {
    width: 3px;
    height: 100%;
    bottom: auto;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, var(--yh-accent-light), var(--yh-accent));
    transform: scaleY(var(--scroll-progress, 0));
    transform-origin: top center;
  }
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/*---------- 11 / 跳转链接与动效偏好 ----------*/
.yh-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2d968 0%, #d4af37 100%);
  color: var(--yh-text-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.yh-skip:focus {
  transform: translateY(0);
}

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

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

  .yh-media::after {
    animation: none;
  }
}
