/* ========== 问鼎娱乐汇 Site Kit ========== */
:root {
  --color-deep-blue: #0B2A4A;
  --color-gold: #D4A017;
  --color-prairie-green: #3E7C5A;
  --color-desert-orange: #E07A3F;
  --color-ink: #1F2933;
  --color-light-gray: #F5F7FA;
  --color-white: #FFFFFF;
  --color-dark-gold: #B8860B;
  --color-footer-green: #1D4A3E;
  --color-sand: #FDF3E7;

  --font-title: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;

  --header-h: 76px;
  --container-w: 1200px;
  --gutter: 24px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(11,42,74,.08);
  --ease: 240ms ease;
  --ease-spring: 260ms cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Reset & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-light-gray);
  -webkit-font-smoothing: antialiased;
}
main { display: block; }
#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
button { font: inherit; }

.u-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* ---------- Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 300;
  padding: 10px 20px;
  background: var(--color-gold);
  color: var(--color-deep-blue);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(11,42,74,.25);
  transition: top var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 阅读进度条 ---------- */
.site-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  overflow: hidden;
  pointer-events: none;
  background: rgba(212,160,23,.16);
}
.site-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-gold), var(--color-desert-orange));
  transition: width 120ms linear;
}

/* ---------- 头部 ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(ellipse 420px 160px at 78% -20%, rgba(212,160,23,.16) 0%, transparent 60%),
    linear-gradient(180deg, #0B2A4A 0%, #0D3054 100%);
  color: var(--color-white);
  border-bottom: 1px solid rgba(212,160,23,.22);
  box-shadow: 0 10px 30px rgba(11,42,74,.16);
}
.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
}
.site-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--color-gold);
  box-shadow: 0 4px 14px rgba(212,160,23,.35);
}
.site-brand__accent { color: var(--color-gold); }

.site-nav { flex: 1; display: flex; justify-content: flex-end; }
.site-nav__list { display: flex; align-items: center; gap: 4px; }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  transition: color var(--ease), background var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease);
}
.site-nav__link:hover { color: var(--color-white); background: rgba(212,160,23,.12); }
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] {
  color: var(--color-gold);
  background: rgba(212,160,23,.12);
}

/* ---------- 移动导航按钮 ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.nav-toggle:hover { border-color: rgba(212,160,23,.55); background: rgba(212,160,23,.08); }
.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.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); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--color-footer-green);
  color: rgba(255,255,255,.78);
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-desert-orange) 45%, rgba(255,255,255,.1) 100%);
}
.site-footer__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-white);
  line-height: 1;
}
.site-footer__logo-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(11,42,74,.4);
  border: 1px solid rgba(212,160,23,.35);
}
.site-footer__desc {
  max-width: 320px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  line-height: 1.8;
}
.site-footer__heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-white);
  margin: 0 0 16px;
}
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.site-footer__list li {
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.site-footer__link {
  color: rgba(255,255,255,.68);
  transition: color var(--ease);
}
.site-footer__link:hover { color: var(--color-gold); }
.site-footer__addr { max-width: 240px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,.5);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease);
}
.btn--primary {
  background: var(--color-gold);
  color: var(--color-deep-blue);
  box-shadow: 0 8px 20px rgba(212,160,23,.28);
}
.btn--primary:hover {
  background: var(--color-dark-gold);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212,160,23,.34);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(11,42,74,.24);
  color: var(--color-deep-blue);
}
.btn--ghost:hover {
  border-color: var(--color-deep-blue);
  background: rgba(11,42,74,.05);
  transform: translateY(-2px);
}
.btn--light {
  background: var(--color-white);
  color: var(--color-deep-blue);
  box-shadow: 0 8px 20px rgba(11,42,74,.14);
}
.btn--light:hover { background: var(--color-sand); transform: translateY(-2px); }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  background: var(--color-sand);
  color: var(--color-desert-orange);
}
.tag--gold { background: rgba(212,160,23,.14); color: var(--color-dark-gold); }
.tag--green { background: rgba(62,124,90,.14); color: var(--color-prairie-green); }
.tag--blue { background: rgba(11,42,74,.08); color: var(--color-deep-blue); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11,42,74,.12);
}
.card__title { font-size: 20px; margin-bottom: 10px; }
.card__text { font-size: 15px; color: #526479; line-height: 1.75; margin: 0; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 14px 0;
  font-size: 14px;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #65738a;
}
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: #b6c0cc; }
.breadcrumb__link { color: var(--color-deep-blue); }
.breadcrumb__link:hover { color: var(--color-dark-gold); }
.breadcrumb__current { color: var(--color-ink); font-weight: 600; }

/* ---------- 容器与章节 ---------- */
.content-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-main { min-height: 60vh; padding-bottom: 48px; }

.section { padding: 64px 0; }
.section--alt { background: var(--color-sand); }
.section--dark { background: var(--color-deep-blue); color: var(--color-white); }
.section__title {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 2px;
  margin: 0 0 14px;
}
.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-gold);
  margin-top: 14px;
}
.section__lead {
  max-width: 660px;
  margin: 0;
  font-size: 17px;
  color: #526479;
}
.section--dark .section__lead { color: rgba(255,255,255,.7); }
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 32px;
}
.section-header .section__title { margin: 0; }

/* ---------- 栅格 ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento__item { grid-column: span 4; min-width: 0; }
.bento__item--full { grid-column: 1 / -1; }
.bento__item--half { grid-column: span 6; }
.bento__item--third { grid-column: span 4; }
.bento__item--quarter { grid-column: span 3; }
.bento__item--two { grid-column: span 2; }

/* ---------- 图片容器 ---------- */
.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0B2A4A 0%, #163B63 62%, #1E4B7A 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.image-frame::before { content: ""; display: block; padding-top: 56.25%; }
.image-frame--portrait::before { padding-top: 133%; }
.image-frame--square::before { padding-top: 100%; }
.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-frame__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.6);
  font-size: 13px;
  letter-spacing: 3px;
}
.image-frame__ph svg { width: 44px; height: 44px; }

/* ---------- 提示条 ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--color-sand);
  border: 1px solid rgba(224,122,63,.25);
}
.notice--success {
  background: rgba(62,124,90,.1);
  border-color: rgba(62,124,90,.25);
}
.notice__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-desert-orange);
  color: var(--color-white);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}
.notice__text { font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- 版本开关 ---------- */
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.switch__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.switch__track {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: rgba(32,48,60,.18);
  transition: background 220ms ease;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(11,42,74,.25);
  transition: transform var(--ease-spring);
}
.switch__input:checked ~ .switch__track { background: var(--color-gold); }
.switch__input:checked ~ .switch__track::after { transform: translateX(26px); }
.switch__input:focus-visible ~ .switch__track { outline: 3px solid var(--color-gold); outline-offset: 2px; }
.switch__label { font-size: 15px; font-weight: 600; }

/* ---------- 手风琴 ---------- */
.accordion { border-bottom: 1px solid #e5e9ef; }
.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-ink);
  cursor: pointer;
  text-align: left;
}
.accordion__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  color: var(--color-dark-gold);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--ease);
}
.accordion__icon::before { content: "+"; }
.accordion[data-open] .accordion__icon { transform: rotate(45deg); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms ease;
}
.accordion__panel-inner {
  overflow: hidden;
  min-height: 0;
  color: #526479;
  font-size: 15px;
  line-height: 1.8;
}
.accordion[data-open] .accordion__panel {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}

/* ---------- 滚动显现 ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow var(--ease);
}
.has-js [data-reveal].is-revealed { opacity: 1; transform: none; }
.has-js [data-reveal][data-reveal-delay="1"] { transition-delay: 80ms; }
.has-js [data-reveal][data-reveal-delay="2"] { transition-delay: 160ms; }
.has-js [data-reveal][data-reveal-delay="3"] { transition-delay: 240ms; }

/* ---------- 装饰纹理 ---------- */
.wg-dots {
  background-image: radial-gradient(rgba(212,160,23,.18) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 20px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--color-deep-blue);
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid rgba(212,160,23,.25);
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 40px rgba(11,42,74,.25);
  }
  .has-js .site-nav { display: none; }
  .has-js .site-nav[data-open] { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-width: none;
  }
  .site-nav__link { display: block; padding: 12px 16px; border-radius: 14px; font-size: 16px; }
  .site-nav__link::after { display: none; }
  .site-nav__link:hover,
  .site-nav__link[aria-current="page"] { background: rgba(212,160,23,.15); }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bento__item,
  .bento__item--half,
  .bento__item--third,
  .bento__item--quarter,
  .bento__item--two { grid-column: span 12; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; }
}

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__brand .site-footer__desc { max-width: none; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .section { padding: 48px 0; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card:hover,
  .btn:hover { transform: none; }
}
