/* ============================================================
   星海广场 · 静态展示页
   目录
   01. 变量与基础样式
   02. 通用组件（wrap / 标题 / 按钮 / reveal）
   03. 顶部进度条与导航
   04. 首屏 Hero
   05. 数字统计
   06. 广场简介
   07. 百年变迁时间轴
   08. 必看景点
   09. 四季
   10. 贴士
   11. 页脚
   12. 弹窗 / 回到顶部
   13. 响应式
   ============================================================ */

/* ---------- 01. 变量与基础样式 ---------- */
:root {
  --ink: #0c2438;
  --ink-soft: #4d6577;
  --ink-mute: #7b8e9c;
  --sea-deep: #04202f;
  --sea: #0e5b7d;
  --aqua: #3fb8c4;
  --aqua-soft: #e7f6f7;
  --sand: #f7f0e3;
  --gold: #c9963f;
  --paper: #fcfcfa;
  --card: #ffffff;
  --line: rgba(12, 36, 56, 0.09);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(10, 35, 55, 0.04), 0 8px 20px -14px rgba(10, 35, 55, 0.18);
  --shadow-md: 0 28px 60px -32px rgba(10, 35, 55, 0.42);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, p, dl, dd, ol, ul {
  margin: 0;
}

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

::selection {
  background: rgba(63, 184, 196, 0.28);
}

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

/* ---------- 02. 通用组件 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
}

.section {
  padding-block: 108px;
  position: relative;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}

.h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 22ch;
  text-wrap: balance;
}

.section__lead {
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: -8px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease), background-color 0.4s, color 0.4s, box-shadow 0.4s;
  will-change: transform;
}

.btn--solid {
  background: #fff;
  color: var(--sea-deep);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.55);
}

.btn--solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -16px rgba(0, 0, 0, 0.5);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

/* 滚动入场 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 03. 进度条与导航 ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 90;
  background: transparent;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--aqua), var(--gold));
  transition: width 0.12s linear;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.45s var(--ease), box-shadow 0.45s, height 0.45s var(--ease), backdrop-filter 0.4s;
}

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav.is-stuck {
  height: 64px;
  background: rgba(252, 252, 250, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -28px rgba(10, 35, 55, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: color 0.4s;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(150deg, var(--aqua), var(--sea));
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.6);
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.brand__text em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.24em;
  opacity: 0.62;
  font-weight: 500;
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  transition: color 0.35s, background-color 0.35s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav.is-stuck .brand,
.nav.is-stuck .nav__links a {
  color: var(--ink);
}

.nav.is-stuck .nav__links a:hover {
  background: rgba(63, 184, 196, 0.1);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 9px;
  border-radius: 12px;
}

.nav__toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.3s, background-color 0.4s;
}

.nav__toggle span + span {
  margin-top: 5px;
}

.nav.is-stuck .nav__toggle span {
  background: var(--ink);
}

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

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

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

/* ---------- 04. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sea-deep);
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: -12% 0 0 0;
  z-index: -2;
  background:
    radial-gradient(1000px 540px at 74% 2%, rgba(102, 220, 226, 0.44), transparent 62%),
    radial-gradient(760px 440px at 8% 96%, rgba(201, 150, 63, 0.22), transparent 66%),
    linear-gradient(178deg, #041824 0%, #073349 32%, #0b5470 62%, #127287 82%, #0d5c73 100%);
  will-change: transform;
}

/* 水平光带，制造海天交界的感觉 */
.hero__bg::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 68%;
  height: 26%;
  background: radial-gradient(58% 100% at 52% 0%, rgba(150, 232, 236, 0.34), transparent 72%);
  filter: blur(6px);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55) 0.6px, transparent 0.8px);
  background-size: 32px 32px;
  opacity: 0.2;
  mix-blend-mode: screen;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 20, 31, 0.62) 0%, rgba(3, 20, 31, 0.3) 46%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 40px) 28px 150px;
  color: #fff;
}

/* 右侧描边水印 */
.hero__watermark {
  position: absolute;
  right: 3%;
  bottom: 24%;
  z-index: 0;
  margin: 0;
  font-size: clamp(40px, 7.6vw, 124px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-align: right;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  pointer-events: none;
  user-select: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero__title {
  font-size: clamp(50px, 9vw, 108px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero__sub {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  max-width: 30ch;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
  line-height: 1.9;
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 134px;
  z-index: 2;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  animation: scrollDot 1.9s var(--ease) infinite;
}

@keyframes scrollDot {
  0%   { opacity: 0; transform: translateY(-2px); }
  30%  { opacity: 1; }
  70%  { opacity: 1; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(14px); }
}

.hero__wave {
  position: absolute;
  inset: auto 0 -1px 0;
  width: 100%;
  height: clamp(70px, 9vw, 120px);
  z-index: 1;
  pointer-events: none;
}

/* ---------- 05. 数字统计 ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: var(--paper);
}

.stats__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 6px 28px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 26px 20px 34px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
}

.stat__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--sea);
  font-variant-numeric: tabular-nums;
}

.stat__num i {
  font-style: normal;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.stat__label {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

/* ---------- 06. 广场简介 ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
}

.about__text p:not(.kicker):not(.h2) {
  color: var(--ink-soft);
  margin-bottom: 20px;
  max-width: 60ch;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.factcard {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  background: linear-gradient(180deg, #ffffff, #fbfaf6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.factcard__title {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}

.factcard dl > div {
  display: flex;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
}

.factcard dl > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.factcard dt {
  flex: 0 0 74px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.factcard dd {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.7;
}

/* ---------- 07. 时间轴 ---------- */
.history {
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(63, 184, 196, 0.09), transparent 70%),
    var(--sand);
  overflow: hidden;
}

.tl {
  position: relative;
  margin-top: 52px;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

.tl::before {
  content: "";
  position: absolute;
  left: 104px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(12, 36, 56, 0.22) 8%, rgba(12, 36, 56, 0.22) 92%, transparent);
}

.tl__item {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 42px;
  row-gap: 4px;
  padding: 22px 0;
}

.tl__item::before {
  content: "";
  position: absolute;
  left: 99.5px;
  top: 33px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 150, 63, 0.16);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.tl__item:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 7px rgba(201, 150, 63, 0.2);
}

.tl__year {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-right: 28px;
  font-size: 20px;
  font-weight: 800;
  color: var(--sea);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 8px;
}

.tl__title {
  grid-column: 2;
  grid-row: 1;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.tl__text {
  grid-column: 2;
  grid-row: 2;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 62ch;
}

/* ---------- 08. 必看景点 ---------- */
.spots__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
}

.spot {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 28px 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 88% -10%, rgba(63, 184, 196, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.spot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.spot:hover,
.spot:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 184, 196, 0.42);
}

.spot:hover::before,
.spot:focus-within::before,
.spot:hover::after,
.spot:focus-within::after {
  opacity: 1;
  transform: scaleX(1);
}

.spot__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-size: 26px;
  line-height: 1;
  background: linear-gradient(150deg, var(--aqua-soft), var(--sand));
  border: 1px solid rgba(63, 184, 196, 0.18);
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease);
}

.spot:hover .spot__icon {
  transform: translateY(-2px) rotate(-4deg) scale(1.05);
}

.spot__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.spot__desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.78;
  margin-bottom: 18px;
  min-height: 3.4em;
}

.spot__more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--sea);
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* 让整张卡片都可点击 */
.spot__more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.spot__more:focus-visible {
  outline: none;
}

.spot__more:focus-visible::after {
  outline: 2px solid var(--aqua);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.spot__more i {
  font-style: normal;
  transition: transform 0.4s var(--ease);
}

.spot:hover .spot__more i {
  transform: translateX(5px);
}

/* ---------- 09. 四季 ---------- */
.seasons {
  background: var(--sand);
  overflow: hidden;
}

.seasons__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.season {
  position: relative;
  padding: 30px 24px 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -34px rgba(10, 35, 55, 0.55);
  overflow: hidden;
  transition: transform 0.5s var(--ease), background-color 0.5s;
}

.season:hover {
  transform: translateY(-6px);
  background: #fff;
}

.season::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--season-color, var(--aqua));
  opacity: 0.85;
}

.season[data-season="spring"] { --season-color: #8fc98a; }
.season[data-season="summer"] { --season-color: #2aa9bd; }
.season[data-season="autumn"] { --season-color: #c9963f; }
.season[data-season="winter"] { --season-color: #8ea9bd; }

.season__tag {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.season__name {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--season-color);
}

.season__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ---------- 10. 贴士 ---------- */
.tips__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.tip {
  padding: 30px 30px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.45s, transform 0.5s var(--ease);
}

.tip:hover {
  border-color: rgba(201, 150, 63, 0.4);
  transform: translateY(-4px);
}

.tip__no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 10px;
}

.tip h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tip p:not(.tip__no) {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.notice {
  margin-top: 20px;
  padding: 34px 36px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a3a52, #0e5b7d 62%, #157a90);
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  overflow: hidden;
}

.notice::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 66%);
}

.notice__title {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62) !important;
  font-weight: 700;
  margin-bottom: 12px;
}

.notice p:last-child {
  font-size: 15px;
  line-height: 1.9;
  max-width: 86ch;
}

/* ---------- 11. 页脚 ---------- */
.footer {
  background: #08222f;
  color: rgba(255, 255, 255, 0.6);
  padding-block: 56px 48px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px 48px;
}

.footer__name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.14em;
}

.footer__en {
  font-size: 10px;
  letter-spacing: 0.3em;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__note {
  font-size: 13px;
  line-height: 1.9;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.5);
}

.footer__top {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: 3px;
  transition: color 0.35s, border-color 0.35s;
}

.footer__top:hover {
  color: #fff;
  border-color: var(--aqua);
}

/* ---------- 12. 弹窗 / 回到顶部 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 24, 36, 0.55);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: 84vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: 26px;
  padding: 42px 40px 38px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6);
  transform: translateY(22px) scale(0.98);
  transition: transform 0.5s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-mute);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.modal__close:hover {
  background: rgba(12, 36, 56, 0.06);
  color: var(--ink);
}

.modal__kicker {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.modal__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.modal__lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 22px;
}

.modal__list {
  display: grid;
  gap: 12px;
}

.modal__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.modal__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 3px rgba(63, 184, 196, 0.16);
}

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 70;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--sea);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -14px rgba(10, 35, 55, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s, background-color 0.3s;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* 弹窗打开时锁定滚动 */
body.is-locked {
  overflow: hidden;
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 980px) {
  .section { padding-block: 84px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .about__grid { grid-template-columns: 1fr; }
  .factcard { position: static; }
  .seasons__grid { grid-template-columns: repeat(2, 1fr); }
  .tips__grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .nav__inner { padding-inline: 20px; }

  .nav__toggle { display: block; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(252, 252, 250, 0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px -26px rgba(10, 35, 55, 0.55);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__links a {
    color: var(--ink) !important;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav__links a::after { display: none; }
  .nav__links a:hover { background: rgba(63, 184, 196, 0.1); }

  .hero { min-height: 92svh; }
  .hero__watermark { display: none; }
  .hero__inner { padding: calc(var(--nav-h) + 56px) 20px 140px; }
  .hero__lead { font-size: 14.5px; }
  .hero__scroll { bottom: 104px; }
  .btn { padding: 13px 24px; font-size: 14.5px; }

  .stats__inner { padding-inline: 20px; }
  .stat { padding: 22px 10px 26px; }

  .tl::before { left: 5px; }
  .tl__item {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2px;
    padding: 18px 0 18px 30px;
  }
  .tl__item::before { left: 1px; top: 26px; }
  .tl__year,
  .tl__title,
  .tl__text {
    grid-column: 1;
    grid-row: auto;
  }
  .tl__year {
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--gold);
    padding: 0;
    margin-bottom: 4px;
  }

  .seasons__grid { grid-template-columns: 1fr; }
  .spot__desc { min-height: 0; }

  .notice { padding: 26px 24px; }
  .modal__dialog { padding: 36px 26px 30px; border-radius: 22px; }
  .modal__title { font-size: 23px; }

  .footer__inner { grid-template-columns: 1fr; gap: 22px; }
  .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (max-width: 380px) {
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
}

/* 尊重系统的减少动效设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
