/* Shared site navigation */
:root {
  --primary: #0f2c52;
  --primary-light: #1a4178;
  --gold: #c5a55a;
  --gold-light: #d4b87a;
  --bg: #ffffff;
  --bg-gray: #f5f7fa;
  --text: #1a1a2e;
  --text-light: #5a6478;
  --border: #e0e6ed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

body.page-enter {
  animation: pageEnter .45s ease-out both;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  background: var(--primary);
  opacity: 0;
  transition: opacity .35s ease;
}

.page-transition.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-enter { animation: none; }
  .page-transition { transition: none; }
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form .captcha-row input {
  width: auto;
  min-width: 0;
  flex: 1;
}

.captcha-canvas {
  flex: 0 0 112px;
  height: 42px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #f7f9fc;
}

.contact-form .captcha-refresh {
  width: auto;
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.contact-form .captcha-refresh:hover { background: transparent; color: var(--gold); }
.captcha-hint { display: block; margin-top: 5px; font-size: 12px; color: var(--text-light); }

@media (max-width: 480px) {
  .captcha-row { gap: 7px; }
  .captcha-canvas { flex-basis: 96px; width: 96px; }
  .captcha-refresh { padding: 8px 4px; }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 72px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 44, 82, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(197, 165, 90, .2);
  transition: all .3s;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo img {
  width: 190px;
  height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a,
.nav-dropdown a {
  position: relative;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  transition: color .2s;
}

.nav-links a:hover,
.nav-dropdown a:hover { color: var(--gold); }
.nav-links a::after,
.nav-dropdown a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover::after,
.nav-links a.is-active::after,
.nav-dropdown a:hover::after { width: 100%; }
.nav-links a.is-active { color: var(--gold); }

.nav-links a.nav-app-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid rgba(247, 215, 138, .7);
  border-radius: 6px;
  background: linear-gradient(135deg, #f4d98b, #c5a55a);
  color: #102f55;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(197, 165, 90, .24);
}

.nav-links a.nav-app-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 45%;
  height: 160%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,.8) 48%, transparent 80%);
  transform: translateX(-190%) rotate(12deg);
  pointer-events: none;
  animation: navAppFlash 2.25s ease-in-out infinite;
}

.nav-links a.nav-app-link img { position: relative; z-index: 2; }
.nav-links a.nav-app-link { isolation: isolate; }
.nav-app-link .app-nav-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 1px 5px;
  border: 1px solid rgba(16, 47, 85, .35);
  border-radius: 3px;
  color: #102f55;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  line-height: 1;
}
.nav-app-link .app-nav-name {
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}
.nav-links a.nav-app-link:hover {
  color: #081a32;
  background: linear-gradient(135deg, #ffe8a9, #d4b87a);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(197, 165, 90, .38);
}

.nav-app-link img { position: relative; z-index: 2; width: 22px; height: 22px; object-fit: contain; }

@keyframes navAppFlash {
  0%, 14% { transform: translateX(-190%) rotate(12deg); opacity: 0; }
  24% { opacity: 1; }
  42% { transform: translateX(330%) rotate(12deg); opacity: 0; }
  100% { transform: translateX(330%) rotate(12deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a.nav-app-link::after { animation: none; }
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 138px;
  padding: 12px 14px;
  background: rgba(15, 44, 82, 0.96);
  border: 1px solid rgba(197, 165, 90, 0.35);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(7, 18, 34, 0.22);
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.nav-dropdown a {
  display: block;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  padding: 8px 0;
}

.nav-item.has-dropdown .nav-dropdown {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-item.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.menu-toggle,
.back-to-top {
  display: none;
}

body > section {
  scroll-margin-top: 72px;
}

.contact-form .form-message {
  min-height: 24px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--primary);
}

.contact-form .form-message.is-error {
  color: #b42318;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #b42318;
}

.preview-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.preview-card::after {
  content: "点击查看详情";
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}

.preview-card:hover::after,
.preview-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.preview-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.subpage {
  min-height: 100vh;
  padding-top: 72px;
  background: var(--bg-gray);
}

.subpage-hero {
  padding: 76px 20px 66px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0a1e3a, #1a4178);
}

.subpage-hero .label { color: var(--gold); letter-spacing: 3px; font-size: 13px; }
.subpage-hero h1 { margin: 12px 0; font-size: 42px; letter-spacing: 3px; }
.subpage-hero p { color: rgba(255,255,255,.72); }
.subpage-hero--gold { position: relative; overflow: hidden; background: linear-gradient(135deg, #c5a55a, #d4b87a); color: var(--primary); }
.subpage-hero--gold::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 50%;
  height: 200%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,.85) 48%, transparent 80%);
  transform: translateX(-150%) skewX(-12deg);
  animation: heroSweep 1.4s ease-in-out;
  pointer-events: none;
  z-index: 0;
}
.subpage-hero--gold .label { position: relative; z-index: 1; color: var(--primary); animation: heroTextIn .5s ease-out .15s both; }
.subpage-hero--gold h1 { position: relative; z-index: 1; color: var(--primary); animation: heroTextIn .5s ease-out .3s both; }
.subpage-hero--gold p { position: relative; z-index: 1; color: rgba(15,44,82,.75); animation: heroTextIn .5s ease-out .45s both; }
@keyframes heroSweep {
  0% { transform: translateX(-150%) skewX(-12deg); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translateX(150%) skewX(-12deg); opacity: 0; }
  100% { transform: translateX(150%) skewX(-12deg); opacity: 0; }
}
@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.subpage-hero--sweep { position: relative; overflow: hidden; }
.subpage-hero--sweep::after {
  content: "";
  position: absolute;
  top: -50%;
  right: 0;
  width: 50%;
  height: 200%;
  background: linear-gradient(105deg, transparent 15%, rgba(255,255,255,.6) 48%, transparent 80%);
  transform: translateX(150%) skewX(-12deg);
  animation: heroSweepReverse 1.4s ease-in-out;
  pointer-events: none;
  z-index: 0;
}
.subpage-hero--sweep .label { position: relative; z-index: 1; animation: heroTextIn .5s ease-out .15s both; }
.subpage-hero--sweep h1 { position: relative; z-index: 1; animation: heroTextIn .5s ease-out .3s both; }
.subpage-hero--sweep p { position: relative; z-index: 1; animation: heroTextIn .5s ease-out .45s both; }
@keyframes heroSweepReverse {
  0% { transform: translateX(150%) skewX(-12deg); opacity: 0; }
  20% { opacity: 1; }
  60% { transform: translateX(-150%) skewX(-12deg); opacity: 0; }
  100% { transform: translateX(-150%) skewX(-12deg); opacity: 0; }
}
.subpage-content { padding: 64px 20px 90px; }
.subpage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.subpage-card {
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.subpage-card:hover { transform: translateY(-7px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(15,44,82,.12); }
.subpage-card .card-index { color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.subpage-card h3 { margin: 12px 0 8px; color: var(--primary); font-size: 20px; }
.subpage-card p { color: var(--text-light); font-size: 14px; }
.empty-state { padding: 65px 20px; border: 1px dashed var(--gold); text-align: center; color: var(--text-light); background: rgba(255,255,255,.7); }
.empty-state strong { display: block; margin-bottom: 8px; color: var(--primary); font-size: 20px; }
.preview-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,18,37,.72); }
.preview-modal.is-open { display: flex; }
.preview-dialog { width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 30px; border-radius: 10px; background: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.3); animation: modalIn .25s ease-out; }
.preview-dialog img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.preview-dialog h2 { color: var(--primary); margin-bottom: 10px; }
.preview-dialog p { color: var(--text-light); font-size: 14px; }
.modal-close { float: right; border: 0; background: transparent; color: var(--text-light); font-size: 24px; cursor: pointer; }
.meeting-card { padding: 0; overflow: hidden; }
.meeting-card .meeting-cover { width: 100%; height: 210px; object-fit: cover; background: #e8edf3; }
.meeting-card .meeting-card-body { position: relative; padding: 24px 26px 26px; }
.meeting-card .meeting-card-body h3 { margin-top: 10px; }
.meeting-card .meeting-card-body p { margin: 0; line-height: 1.8; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.meeting-card .meeting-location { display: block; margin-top: 12px; color: var(--primary); font-size: 12px; font-weight: 700; }
.meeting-card .meeting-count { display: inline-block; margin-top: 16px; color: var(--gold); font-size: 12px; letter-spacing: 1px; }
.meeting-tag { position: absolute; top: 18px; right: 22px; z-index: 2; padding: 4px 12px; border-radius: 14px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); white-space: nowrap; }
.meeting-tag--gold { background: var(--gold); }
.meeting-tag--blue { background: var(--primary); }
.meeting-filters { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.meeting-filter { padding: 6px 18px; border-radius: 18px; border: 1px solid #d8dee8; background: #fff; color: var(--text-light); font-size: 13px; font-weight: 700; letter-spacing: 1px; cursor: pointer; transition: all .2s ease; }
.meeting-filter:hover { border-color: var(--primary); color: var(--primary); }
.meeting-filter--blue { color: var(--primary); border-color: rgba(15,44,82,.35); }
.meeting-filter--blue.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.meeting-filter--gold { color: var(--gold); border-color: rgba(197,165,90,.45); }
.meeting-filter--gold.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.meeting-filter.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.meeting-filter.is-active.meeting-filter--blue { background: var(--primary); }
.meeting-filter.is-active.meeting-filter--gold { background: var(--gold); }
.meeting-empty-filter { grid-column: 1 / -1; padding: 32px; text-align: center; color: var(--text-light); font-size: 14px; }
@media (max-width: 600px) {
  .meeting-filters { justify-content: flex-start; gap: 8px; margin-bottom: 18px; }
  .meeting-filter { padding: 5px 14px; font-size: 12px; }
}
@media (max-width: 600px) {
  .meeting-tag { font-size: 11px; padding: 3px 10px; top: 14px; right: 16px; }
}
.meeting-dialog { width: min(980px, 100%); }
.meeting-dialog h2 { padding-right: 30px; }
.meeting-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.meeting-gallery-item { display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 1px solid rgba(15,44,82,.12); border-radius: 6px; background: #e8edf3; cursor: zoom-in; }
.meeting-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.meeting-gallery-item:hover img { transform: scale(1.04); }
.meeting-gallery-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.meeting-gallery-pagination[hidden] { display: none; }
.meeting-gallery-pagination button { min-width: 82px; padding: 8px 14px; border: 1px solid rgba(197,165,90,.65); border-radius: 5px; background: #fff; color: var(--primary); cursor: pointer; }
.meeting-gallery-pagination button:disabled { opacity: .4; cursor: default; }
.meeting-gallery-page-label { min-width: 190px; color: var(--text-light); font-size: 13px; text-align: center; }
.meeting-gallery .gallery-note { grid-column: 1 / -1; color: var(--text-light); font-size: 13px; }
.meeting-lightbox { position: fixed; inset: 0; z-index: 2100; display: none; align-items: center; justify-content: center; padding: 60px 76px; background: rgba(4,12,24,.94); }
.meeting-lightbox.is-open { display: flex; }
.meeting-lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; margin: 0; }
.meeting-lightbox-image { display: block; max-width: min(100%, 1440px); max-height: calc(100vh - 130px); object-fit: contain; }
.meeting-lightbox-caption { margin-top: 12px; color: rgba(255,255,255,.8); font-size: 13px; text-align: center; }
.meeting-lightbox-counter { position: absolute; top: 24px; left: 50%; color: rgba(255,255,255,.8); font-size: 13px; transform: translateX(-50%); }
.meeting-lightbox-close, .meeting-lightbox-nav { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,243,166,.7); border-radius: 50%; background: rgba(15,44,82,.55); color: #fff3a6; cursor: pointer; }
.meeting-lightbox-close { top: 18px; right: 20px; font-size: 28px; }
.meeting-lightbox-nav { top: 50%; font-size: 30px; transform: translateY(-50%); }
.meeting-lightbox-prev { left: 18px; }
.meeting-lightbox-next { right: 18px; }
.meeting-lightbox-nav:disabled { opacity: .35; cursor: default; }

/* 活动网格响应式：与产品页比例一致 */
@media (max-width: 900px) { .meeting-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .meeting-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
  .meeting-card .meeting-cover { height: 180px; }
  .meeting-card .meeting-card-body { padding: 18px 18px 20px; }
  .meeting-card .meeting-card-body h3 { font-size: 17px; }
  .meeting-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .meeting-gallery-pagination { gap: 8px; }
  .meeting-gallery-pagination button { min-width: 66px; padding: 7px 9px; font-size: 12px; }
  .meeting-gallery-page-label { min-width: 0; font-size: 11px; }
  .meeting-lightbox { padding: 58px 14px; }
  .meeting-lightbox-image { max-width: 100%; max-height: calc(100vh - 120px); }
  .meeting-lightbox-nav { width: 38px; height: 38px; }
  .meeting-lightbox-prev { left: 8px; }
  .meeting-lightbox-next { right: 8px; }
}
@media (max-width: 760px) {
  .meeting-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.back-to-top {
  position: fixed;
  right: 84px;
  bottom: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--gold);
  color: var(--primary);
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 44, 82, .2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.back-to-top.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: backToTopRollIn .48s cubic-bezier(.2,.85,.3,1.2) both;
}

.back-to-top.is-visible.is-hiding {
  display: block;
  opacity: 1;
  pointer-events: none;
  animation: backToTopDrop .42s cubic-bezier(.55,.05,.8,.35) both;
}

@keyframes backToTopRollIn {
  from {
    opacity: 0;
    transform: translateX(-86px) translateY(8px) rotate(-360deg) scale(.72);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0) scale(1);
  }
}

@keyframes backToTopDrop {
  from {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(130px) rotate(18deg) scale(.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top.is-visible { animation: none; }
  .back-to-top.is-visible.is-hiding { animation: none; }
  body.intro-ready .floating-panel-trigger { animation: none; }
  body.intro-ready .floating-panel-hint {
    animation: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body.intro-ready .floating-panel-hint-track rect { animation: none; }
}

.floating-panel-trigger {
  position: fixed;
  right: 74px;
  bottom: 82px;
  z-index: 1850;
  display: none;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #ffc928;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,55,125,.95) 0 18%, transparent 48%),
    radial-gradient(circle at 82% 24%, rgba(255,192,45,.9) 0 17%, transparent 46%),
    radial-gradient(circle at 76% 82%, rgba(44,220,255,.9) 0 18%, transparent 48%),
    radial-gradient(circle at 22% 80%, rgba(104,76,255,.95) 0 18%, transparent 48%),
    #10152c;
  background-size: 210% 210%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15,44,82,.28), 0 0 0 4px rgba(255,201,40,.12), 0 0 8px rgba(255,200,40,.5);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background .2s, box-shadow .2s;
}

.floating-panel-trigger::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-light);
  box-shadow: 0 0 8px rgba(244,217,139,.8);
}

.floating-panel-trigger img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.28) contrast(1.12) drop-shadow(0 2px 3px rgba(0,0,0,.28));
}

body.intro-ready .floating-panel-trigger {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation:
    floatingLogoRollIn .52s cubic-bezier(.2,.85,.3,1.2) .12s both,
    floatingLogoRainbow 9s ease-in-out .12s infinite alternate;
}

@keyframes floatingLogoRainbow {
  0% { background-position: 0% 20%; }
  50% { background-position: 100% 80%; }
  100% { background-position: 20% 0%; }
}

.floating-panel-hint {
  position: fixed;
  right: 74px;
  bottom: 154px;
  z-index: 1849;
  min-width: 170px;
  min-height: 36px;
  padding: 8px 18px;
  box-sizing: border-box;
  border: 1px solid rgba(255,201,40,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(9,28,58,.97), rgba(25,44,86,.94));
  color: #fff3a6;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15,44,82,.3), 0 0 16px rgba(255,200,40,.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(34px) scale(.55);
  transform-origin: bottom right;
}

.floating-panel-hint > span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-panel-hint-track {
  position: absolute;
  inset: -2px;
  z-index: 1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  overflow: visible;
  pointer-events: none;
}

.floating-panel-hint-track rect {
  fill: none;
  stroke-linecap: round;
  stroke-dashoffset: 0;
}

.floating-panel-hint-track .floating-hint-runner {
  stroke: #fff3a6;
  stroke-width: 3;
  stroke-dasharray: 50 50;
  filter: drop-shadow(0 0 2px #fff3a6) drop-shadow(0 0 7px rgba(255,200,40,.95));
}

body.intro-ready .floating-panel-hint {
  visibility: visible;
  animation: floatingHintDrill 7s ease-in-out 0s infinite;
}

body.intro-ready .floating-panel-hint-track rect {
  animation: floatingHintBorderRun 7s linear 0s infinite;
}

@keyframes floatingHintBorderRun {
  0% { opacity: 1; stroke-dashoffset: 0; }
  100% { opacity: 1; stroke-dashoffset: -200; }
}

@keyframes floatingHintDrill {
  0%, 42.86% {
    opacity: 0;
    transform: translateY(34px) scale(.55);
  }
  48% {
    opacity: 1;
    transform: translateY(-5px) scale(1.12);
  }
  51.5% {
    opacity: 1;
    transform: translateY(2px) scale(.96);
  }
  55%, 93% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  95% {
    opacity: 1;
    transform: translateY(-2px) scale(1.03);
  }
  97% {
    opacity: 1;
    transform: translateY(-5px) scale(1.12);
  }
  98.5% {
    opacity: 1;
    transform: translateY(3px) scale(.94);
  }
  100% {
    opacity: 0;
    transform: translateY(34px) scale(.55);
  }
}

@keyframes floatingLogoRollIn {
  from {
    opacity: 0;
    transform: translateX(-92px) translateY(8px) rotate(-360deg) scale(.72);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0) scale(1);
  }
}

.floating-panel-trigger:hover {
  filter: saturate(1.2) brightness(1.08);
  border-color: #fff3a6;
  box-shadow: 0 10px 24px rgba(15,44,82,.36), 0 0 0 5px rgba(255,216,77,.18), 0 0 20px 5px rgba(255,200,40,.72);
}

.floating-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1950;
  background: rgba(5,18,37,.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .5s, visibility .5s;
}

.floating-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1960;
  width: min(62vw, 860px);
  min-width: 360px;
  background: #10152c;
  border-left: 1px solid rgba(255,255,255,.5);
  box-shadow:
    -28px 0 76px rgba(5,18,37,.42),
    -4px 0 30px rgba(255,255,255,.52),
    inset 28px 0 48px rgba(255,255,255,.2);
  overflow: hidden;
  clip-path: circle(0 at calc(100% - 74px - 32px) calc(100% - 82px - 32px));
  visibility: hidden;
  transition: clip-path .5s cubic-bezier(.2,.8,.2,1), visibility .5s;
}

.floating-panel::before,
.floating-panel::after {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 52, 112, .82) 0 11%, transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(255, 184, 42, .78) 0 12%, transparent 35%),
    radial-gradient(circle at 80% 78%, rgba(47, 224, 255, .8) 0 13%, transparent 37%),
    radial-gradient(circle at 24% 82%, rgba(111, 76, 255, .82) 0 12%, transparent 36%);
  filter: blur(48px) saturate(1.35);
  opacity: .82;
  animation: neonMistDrift 12s ease-in-out infinite alternate;
}

.floating-panel::after {
  inset: -35%;
  background:
    conic-gradient(from 120deg at 52% 50%, #ff3d81, #ffcc3d, #65ed85, #35d9ff, #6558ff, #dd4dff, #ff3d81);
  filter: blur(78px) saturate(1.45);
  opacity: .34;
  animation-duration: 17s;
  animation-direction: alternate-reverse;
}

@keyframes neonMistDrift {
  0% { transform: translate(-8%, -4%) scale(1); }
  50% { transform: translate(7%, 5%) scale(1.08); }
  100% { transform: translate(-3%, 10%) scale(1.02); }
}

body.floating-panel-open .floating-panel-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.floating-panel-open .floating-panel {
  clip-path: circle(150vmax at calc(100% - 74px - 32px) calc(100% - 82px - 32px));
  visibility: visible;
  transition: clip-path 1.4s cubic-bezier(.2,.8,.2,1), visibility 1.4s;
}

@media (prefers-reduced-motion: reduce) {
  .floating-panel-backdrop,
  .floating-panel { transition: none; }
  .floating-panel::before,
  .floating-panel::after { animation: none; }
}

.floating-panel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  z-index: 2;
  background: rgba(255,255,255,.9);
  color: var(--primary);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.floating-panel-close:hover { border-color: var(--gold); color: var(--gold); }

.floating-panel-empty {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82%, 420px);
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
}

.floating-panel-empty-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 2px solid #ffc928;
  border-radius: 50%;
  color: #c5a55a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  box-shadow: 0 0 0 5px rgba(255,201,40,.1), 0 0 18px rgba(255,200,40,.35);
}

.floating-panel-empty h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 3px;
}

.floating-panel-empty p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  letter-spacing: 2px;
}

@media (max-width: 640px) {
  .floating-panel-trigger { right: 66px; bottom: 82px; width: 58px; height: 58px; }
  .floating-panel-trigger::after { left: 12px; right: 12px; bottom: 10px; }
  .floating-panel { width: 92vw; min-width: 0; }
  .back-to-top { right: 70px; }
  .floating-panel-hint { right: 66px; bottom: 148px; font-size: 12px; }
  .floating-panel { clip-path: circle(0 at calc(100% - 66px - 29px) calc(100% - 82px - 29px)); }
  body.floating-panel-open .floating-panel { clip-path: circle(150vmax at calc(100% - 66px - 29px) calc(100% - 82px - 29px)); }
}

@media (max-width: 1024px) {
  .navbar { padding: 0 30px; }

  .menu-toggle {
    display: block;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 4px;
    padding: 5px 10px;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 30px;
    left: 30px;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: var(--primary);
    border: 1px solid rgba(197,165,90,.25);
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 10px 20px;
  }

  .nav-links a.nav-app-link {
    justify-content: flex-start;
    margin: 6px 12px;
    padding: 9px 14px;
  }

  .nav-app-link .app-nav-badge { min-height: 19px; }
}

/* Keep the original hero text layout while adapting the right-side contrast. */
.hero {
  --hero-text-vertical-offset: 0px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1e3a 0%, #0f2c52 50%, #1a4178 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: none;
}

.hero-content,
.hero-stats {
  position: absolute;
  top: 50%;
  z-index: 4;
  opacity: 1;
  transform: translateY(-50%);
}

.hero-content {
  left: 8%;
  width: clamp(320px, 42vw, 560px);
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
}

.hero-stats {
  right: 8%;
  width: clamp(300px, 34vw, 500px);
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary);
  height: auto;
}

.hero-content > *,
.hero-stats > * {
  margin: 0;
}

.hero-content,
.hero-stats {
  animation-name: heroTextRestore;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-stat .num {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  color: var(--primary);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

.hero-stat .num span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

.hero-stat .label {
  color: rgba(15, 44, 82, .72);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

.hero .hero-content h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 4px;
}

.hero .hero-content .gold { color: var(--gold); }
.hero .hero-content .tagline {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 40px;
  font-size: 20px;
  letter-spacing: 2px;
}
.hero .hero-content .btn-outline { color: #fff; }

@keyframes heroTextRestore {
  0%, 12% { opacity: 1; transform: translateY(-50%); }
  27%, 42% { opacity: 0; transform: translateY(-50%); }
  70% { opacity: 0; transform: translateY(-50%); }
  100% { opacity: 1; transform: translateY(-50%); }
}

.hero-split-panel,
.hero-split-bar {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.hero-coin {
  position: absolute;
  right: clamp(90px, 7vw, 150px);
  bottom: clamp(-350px, -22vh, -270px);
  z-index: 3;
  width: clamp(320px, 31vw, 520px);
  height: auto;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translate(58%, 24%) scale(1.12) rotate(18deg);
  filter: drop-shadow(0 14px 18px rgba(197, 165, 90, .22)) brightness(1.05) saturate(1);
  clip-path: none;
  visibility: hidden;
}

.hero-split-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--gold);
  clip-path: polygon(58% 0, 100% 0, 100% 100%, 43% 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
}

.hero-split-bar {
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: -120%;
  z-index: 3;
  width: clamp(70px, 9vw, 150px);
  margin-left: 0;
  background: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: skewX(-17deg) translateX(-220%);
  overflow: hidden;
  box-shadow: 0 0 35px rgba(197, 165, 90, .3);
}

.hero-split-bar::after {
  content: "";
  position: absolute;
  top: -35%;
  left: 0;
  width: 100%;
  height: 22%;
  background: linear-gradient(to bottom, transparent, rgba(255,209,64,.55) 42%, rgba(255,239,153,.9) 50%, transparent);
  opacity: 0;
  transform: translateY(-180%);
}

body.intro-ready .hero-split-bar::after {
  animation: verticalGoldShine 3.5s linear 1.4s infinite;
}

@keyframes coinEnterFromRight {
  0% {
    opacity: 0;
    transform: translate(58%, 24%) scale(1.12) rotate(18deg);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(360deg);
  }
}

@keyframes coinRotateLoop {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes goldFieldFromRight {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
  }
  12% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

@keyframes goldFieldToWhite {
  from { background: var(--gold); }
  to { background: #fff; }
}

@keyframes whiteDividerFromLeft {
  0% {
    left: -120%;
    margin-left: 0;
    opacity: 0;
    visibility: hidden;
    transform: skewX(-17deg) translateX(-220%);
    background: var(--gold);
  }
  12% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    left: 50%;
    margin-left: clamp(-35px, -4vw, -75px);
    opacity: 1;
    visibility: visible;
    transform: skewX(-17deg) translateX(0);
    background: var(--gold);
  }
}

@keyframes heroBarToWhite {
  from { background: var(--gold); box-shadow: 0 0 35px rgba(197, 165, 90, .3); }
  to { background: #fff; box-shadow: 0 0 25px rgba(255,255,255,.25); }
}

@keyframes verticalGoldShine {
  0%, 58% { opacity: 0; transform: translateY(-180%); }
  64% { opacity: .95; }
  86% { opacity: .95; transform: translateY(620%); }
  87%, 100% { opacity: 0; transform: translateY(620%); }
}

body:not(.intro-ready) .hero-content,
body:not(.intro-ready) .hero-stats {
  opacity: 0;
  animation: none !important;
}

body:not(.intro-ready) .hero-split-panel,
body:not(.intro-ready) .hero-split-bar {
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  animation: none !important;
}

body:not(.intro-ready) .hero-split-bar {
  left: -120%;
  margin-left: 0;
  background: var(--gold);
  transform: skewX(-17deg) translateX(-220%);
}

body.intro-ready .hero-video {
  opacity: 0;
  transition: opacity .7s ease;
}

body:not(.intro-ready) .hero-coin {
  opacity: 0;
  transform: translate(58%, 24%) scale(1.12) rotate(18deg);
}

body.intro-ready .hero-video-skip {
  opacity: 0;
  pointer-events: none;
}

body.intro-ready .hero-coin {
  animation: coinEnterFromRight 1.35s cubic-bezier(.65, 0, .25, 1) .2s forwards,
    coinRotateLoop 2.8s linear 1.55s infinite;
}

body.intro-ready .hero-content {
  animation: heroContentAfterVideo 1.35s cubic-bezier(.65, 0, .25, 1) both;
}

body.intro-ready .hero-stats {
  animation: heroStatsAfterVideo 1.35s cubic-bezier(.65, 0, .25, 1) both;
}

body.intro-ready .hero-split-panel {
  opacity: 1;
  visibility: visible;
  animation: goldFieldFromRight 1.1s cubic-bezier(.65, 0, .25, 1) .15s forwards;
}

body.intro-ready .hero-split-bar {
  opacity: 1;
  visibility: visible;
  background: #fff;
  animation: whiteDividerFromLeft 1.1s cubic-bezier(.65, 0, .25, 1) .15s forwards,
    heroBarToWhite .7s ease 1.25s forwards;
}

@keyframes heroContentAfterVideo {
  from { opacity: 0; transform: translateY(-50%); }
  to { opacity: 1; transform: translateY(-50%); }
}

@keyframes heroStatsAfterVideo {
  from { opacity: 0; transform: translateY(-50%); }
  to { opacity: 1; transform: translateY(-50%); }
}

.hero-video-skip {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 5;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 4px;
  background: rgba(10,30,58,.5);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.hero-video-skip:hover {
  background: rgba(10,30,58,.8);
  border-color: var(--gold-light);
}

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-content,
  .hero-stats {
    width: auto;
    text-align: center;
  }

  .hero-stats {
    margin-top: 40px;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero-split-panel,
  .hero-split-bar,
  .hero-content,
  .hero-stats {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* 移动端：跳过主页视频和斜切白卡进入动画，直接显示页面内容 */
body.mobile-skip-intro .hero-video,
body.mobile-skip-intro .hero-video-skip,
body.mobile-skip-intro .hero-split-panel,
body.mobile-skip-intro .hero-split-bar,
body.mobile-skip-intro .hero-coin {
  display: none !important;
}
body.mobile-skip-intro .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px 20px 50px;
  overflow: hidden;
}
body.mobile-skip-intro .hero-content,
body.mobile-skip-intro .hero-stats {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  animation: none !important;
  opacity: 1 !important;
  width: 100% !important;
}
body.mobile-skip-intro .hero-content {
  padding: 0 !important;
  text-align: center;
}
body.mobile-skip-intro .hero-content .badge {
  font-size: 12px;
  padding: 5px 16px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
body.mobile-skip-intro .hero-content h1,
body.mobile-skip-intro .hero .hero-content h1 {
  font-size: 32px !important;
  letter-spacing: 2px !important;
  margin-bottom: 12px !important;
  line-height: 1.3;
  color: #c5a55a !important;
}
body.mobile-skip-intro .hero-content h1 .gold,
body.mobile-skip-intro .hero .hero-content h1 .gold {
  color: #d4b87a !important;
}
body.mobile-skip-intro .hero-content .tagline,
body.mobile-skip-intro .hero .hero-content .tagline {
  font-size: 14px !important;
  letter-spacing: 1px !important;
  line-height: 1.7 !important;
  margin-bottom: 28px !important;
  padding: 0 10px;
  color: #d4b87a !important;
}
body.mobile-skip-intro .hero-content .badge,
body.mobile-skip-intro .hero .hero-content .badge {
  color: #c5a55a !important;
}
@media (max-width: 768px) {
  body.mobile-skip-intro .hero h1 { color: #c5a55a !important; }
  body.mobile-skip-intro .hero h1 .gold { color: #d4b87a !important; }
  body.mobile-skip-intro .hero .tagline { color: #d4b87a !important; }
  body.mobile-skip-intro .hero .badge { color: #c5a55a !important; }
  body.mobile-skip-intro .hero-stat .num { color: #c5a55a !important; }
  body.mobile-skip-intro .hero-stat .label { color: #d4b87a !important; }
}
body.mobile-skip-intro .hero-content .cta {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
body.mobile-skip-intro .hero-content .btn {
  padding: 11px 26px;
  font-size: 14px;
  letter-spacing: 1px;
}
body.mobile-skip-intro .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 12px;
  margin-top: 36px !important;
  padding: 0 10px;
}
body.mobile-skip-intro .hero-stat .num {
  font-size: 26px !important;
}
body.mobile-skip-intro .hero-stat .label {
  font-size: 11px !important;
  letter-spacing: 1px;
}

/* 移动端：电脑版浏览提醒弹窗 */
.mobile-notice-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10, 30, 58, 0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}
.mobile-notice-overlay.is-visible { opacity: 1; }
.mobile-notice-box {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px 24px;
  max-width: 320px; width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: scale(.9);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.mobile-notice-overlay.is-visible .mobile-notice-box { transform: scale(1); }
.mobile-notice-box .icon {
  width: 64px; height: 64px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-notice-box .icon svg { width: 100%; height: 100%; }
.mobile-notice-box h3 {
  font-size: 18px; color: var(--primary); font-weight: 700;
  margin-bottom: 10px; letter-spacing: 1px;
}
.mobile-notice-box p {
  font-size: 14px; color: var(--text-light); line-height: 1.7;
  margin-bottom: 24px;
}
.mobile-notice-box .btn-got {
  width: 100%; padding: 12px; border: none; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary); font-size: 15px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer; transition: opacity .2s;
}
.mobile-notice-box .btn-got:active { opacity: .8; }
