:root {
  --deep: #0b1d33;
  --deep-2: #12354f;
  --sea: #1a4257;
  --fish: #3f7f96;
  --blossom: #e0788e;
  --blossom-deep: #c2576d;
  --gold: #f0c75e;
  --text: #e8eef5;
  --text-dim: rgba(232, 238, 245, 0.72);
  --card-bg: rgba(255, 255, 255, 0.045);
  --card-line: rgba(255, 255, 255, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== 背景 canvas ===== */
#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

section, header, footer { position: relative; z-index: 1; }

/* ===== 首屏 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,29,51,0.70) 0%, rgba(11,29,51,0.42) 45%, rgba(7,21,39,0.92) 100%),
    url('img/hero-chunqiu.jpg') center 32% / cover no-repeat;
}

.sea {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -6%;
  height: 40%;
  background:
    radial-gradient(50% 100% at 20% 60%, rgba(63,127,150,0.20), transparent 70%),
    linear-gradient(180deg, transparent, rgba(7, 21, 39, 0.85));
  border-radius: 50% 50% 0 0 / 24% 24% 0 0;
  filter: blur(2px);
}

/* 远处游过的鲲 —— 背景意象，淡而小 */
.fish {
  position: absolute;
  top: 18%;
  left: -260px;
  width: 180px;
  opacity: 0.16;
  animation: fish-swim 46s linear infinite;
  will-change: transform;
}
.fish .fish-body ellipse { animation: fish-drift 6s ease-in-out infinite; }

@keyframes fish-swim {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 520px)); }
}
@keyframes fish-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-content { padding: 0 1.5rem; }

.eyebrow {
  letter-spacing: 0.45em;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.25;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--blossom) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.btn {
  display: inline-block;
  margin-top: 2.6rem;
  padding: 0.8rem 2.8rem;
  border: 1px solid rgba(224, 120, 142, 0.55);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3em;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn:hover {
  background: rgba(224, 120, 142, 0.14);
  border-color: var(--blossom);
  box-shadow: 0 0 26px rgba(224, 120, 142, 0.35);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(180deg, transparent, rgba(240,199,94,0.9));
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.85); }
  50%      { opacity: 1;    transform: translateX(-50%) scaleY(1); }
}

/* ===== 通用 section ===== */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: 0.35em;
  font-weight: 600;
  margin-bottom: 3rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 2px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, transparent, var(--blossom), transparent);
}

/* ===== 台词区 ===== */
.quotes {
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(180deg, #071527 0%, var(--deep) 100%);
}

.quote-slider { max-width: 46rem; margin: 0 auto; position: relative; }

.quote {
  display: none;
  text-align: center;
  min-height: 9rem;
  transition: opacity 0.6s ease;
}
.quote.active { display: block; animation: quote-in 0.7s ease; }

@keyframes quote-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quote p {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #f3f6fa;
}
.quote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 0.92rem;
  color: var(--blossom);
  letter-spacing: 0.2em;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
}
.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dots span.on {
  background: var(--blossom);
  box-shadow: 0 0 8px rgba(224, 120, 142, 0.8);
  transform: scale(1.2);
}

/* ===== 关于区 ===== */
.about { padding: 5rem 1.5rem 6rem; }

.about-art {
  text-align: center;
  margin: 0 auto 2.6rem;
}
.about-art img {
  max-width: 320px;
  width: 100%;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(224, 120, 142, 0.14),
    0 0 46px rgba(224, 120, 142, 0.12);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-art img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(224, 120, 142, 0.22),
    0 0 60px rgba(224, 120, 142, 0.2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  max-width: 68rem;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: 1rem;
  padding: 2.2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}
.card:hover {
  border-color: rgba(224, 120, 142, 0.55);
  box-shadow: 0 12px 40px rgba(224, 120, 142, 0.12);
  transform: translateY(-6px);
}

.card-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.card h3 {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
  color: #f6e3e8;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.9;
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  padding: 2.6rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #071527;
}
.footer p { letter-spacing: 0.22em; color: var(--text-dim); font-size: 0.95rem; }
.footer .tiny { margin-top: 0.5rem; font-size: 0.78rem; color: rgba(232, 238, 245, 0.45); letter-spacing: 0.12em; }

/* ===== 响应式 ===== */
@media (max-width: 640px) {
  .hero .sub { letter-spacing: 0.03em; }
  .quote { min-height: 11rem; }
  .fish { width: 120px; top: 22%; }
}
