:root {
  --deep-0: #030d18;
  --deep-1: #061626;
  --deep-2: #0a2338;
  --ink: #08131f;
  --moon: #eef7fb;
  --moon-dim: #c7dce8;
  --mist: #9db8c8;
  --ice: #8fd4e8;
  --glow: #5fc8e8;
  --line: rgba(151, 208, 230, 0.16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system,
    "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--moon);
  background: var(--deep-0);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 深海背景 ---------- */

.abyss {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #123a55 0%, #082033 38%, #04101c 72%, #020a12 100%);
}

.abyss .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.glow-a {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(38, 122, 158, 0.55), transparent 68%);
}

.glow-b {
  width: 40vw;
  height: 40vw;
  right: -10vw;
  bottom: 2vh;
  background: radial-gradient(circle, rgba(102, 196, 214, 0.24), transparent 70%);
}

.abyss .snow {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 18% 22%, rgba(214, 241, 250, 0.85), transparent 100%),
    radial-gradient(1px 1px at 72% 14%, rgba(214, 241, 250, 0.55), transparent 100%),
    radial-gradient(1.4px 1.4px at 43% 61%, rgba(214, 241, 250, 0.45), transparent 100%),
    radial-gradient(1px 1px at 87% 48%, rgba(214, 241, 250, 0.55), transparent 100%),
    radial-gradient(1px 1px at 9% 78%, rgba(214, 241, 250, 0.4), transparent 100%),
    radial-gradient(1.2px 1.2px at 61% 87%, rgba(214, 241, 250, 0.5), transparent 100%);
  background-size: 520px 520px;
  animation: snow-drift 40s linear infinite;
}

@keyframes snow-drift {
  from { background-position: 0 0; }
  to   { background-position: -120px 260px; }
}

/* ---------- 结构 ---------- */

.shell {
  width: min(880px, 100% - 3rem);
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 7.5rem) 0 3rem;
}

/* ---------- 顶部 ---------- */

.hero {
  margin-bottom: clamp(2.6rem, 7vh, 4.2rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  color: var(--ice);
  opacity: 0.8;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 4.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: var(--moon);
  text-shadow: 0 0 40px rgba(110, 205, 232, 0.18);
}

.hero h1 .latin {
  display: inline-block;
  margin-left: 0.25em;
  font-size: 0.42em;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--ice);
  vertical-align: 0.55em;
  opacity: 0.7;
}

.tagline {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--moon-dim);
  letter-spacing: 0.04em;
}

.tagline::before {
  content: "";
  display: inline-block;
  width: 2.1rem;
  height: 1px;
  margin-right: 0.85rem;
  vertical-align: 0.32em;
  background: linear-gradient(90deg, transparent, var(--ice));
}

/* ---------- 卡片 ---------- */

.card {
  position: relative;
  margin-top: 1.35rem;
  padding: 1.6rem 1.7rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(13, 42, 63, 0.72), rgba(5, 20, 33, 0.78));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(180, 226, 242, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.card-head h2 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--moon);
}

.card-head h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 12px var(--glow);
  vertical-align: 0.18em;
}

.hint {
  flex-shrink: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--mist);
  opacity: 0.72;
}

/* ---------- 寻鲸池 ---------- */

.pool {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(126, 198, 224, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(98, 190, 219, 0.22), transparent 58%),
    radial-gradient(120% 100% at 50% 110%, rgba(2, 13, 24, 0.9), transparent 62%),
    linear-gradient(180deg, #0a2c45 0%, #072137 46%, #041422 100%);
}

.pool::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: conic-gradient(
    from 190deg at 62% -10%,
    transparent 0deg,
    rgba(166, 226, 243, 0.13) 8deg,
    transparent 18deg,
    transparent 34deg,
    rgba(166, 226, 243, 0.07) 42deg,
    transparent 52deg
  );
  filter: blur(2px);
  pointer-events: none;
}

.seabed {
  position: absolute;
  inset: auto -5% 0;
  height: 92px;
  background:
    radial-gradient(60% 90% at 50% 118%, rgba(118, 208, 232, 0.22), transparent 70%),
    linear-gradient(to top, rgba(1, 9, 16, 0.92), rgba(1, 9, 16, 0));
  pointer-events: none;
}

/* 鲸鱼（纯 CSS 矢量剪影）。轮廓路径 adapted from IconPark "Whale", Apache-2.0. */

.whale {
  --s: 1;
  position: absolute;
  left: calc(50% - 120px);
  top: 50%;
  width: 240px;
  height: 220px;
  margin-top: -110px;
  transform-origin: 50% 55%;
  animation: whale-drift 11s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35));
}

@keyframes whale-drift {
  0%, 100% {
    transform: translate3d(-14px, 4px, 0) rotate(-1.2deg);
  }
  50% {
    transform: translate3d(14px, -9px, 0) rotate(1.5deg);
  }
}

.whale .stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) scale(calc(5.2 * var(--s)));
  transform-origin: 50% 50%;
}

.whale .body {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(148deg,
      #eafbfe 0%, #b8e9f4 22%, #63bad5 54%, #257595 82%, #123f58 100%);
  clip-path: path("M16.0691 13C6.25336 13.3494 4.67583 21.0064 5.11403 24.7913C3.36116 27.9356 3.89597 28.7217 5.2104 30.0319C11.7835 36.1459 24.0534 35.7092 29.75 33.5256C35.7096 31.08 38.7486 26.4747 39.0407 24C44.2991 20.5063 44.4063 14.6013 43.676 13C42.896 14.3101 40.6474 15.2721 39.0407 16C37.2879 16.3494 34.7659 15.038 34.0355 13.8734C33.5343 16.5 34.0355 18.5 35.3501 19.5507C37.6376 21.2976 36.4754 23.0633 36.0372 23.5C34.1405 25.3902 30.5308 24.4905 28.7771 21.7343C24.0533 14.3101 18.9905 13 16.0691 13Z");
}

.whale .eye {
  position: absolute;
  left: 11px;
  top: 19px;
  z-index: 3;
  width: 2.4px;
  height: 2.4px;
  border-radius: 50%;
  background: #04121d;
  box-shadow: 0 0 0 0.8px rgba(232, 249, 255, 0.4);
  animation: blink 7.5s ease-in-out infinite;
}

.whale .eye::after {
  content: "";
  position: absolute;
  left: 0.55px;
  top: 0.4px;
  width: 0.7px;
  height: 0.7px;
  border-radius: 50%;
  background: rgba(245, 253, 255, 0.95);
}

@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  94%           { transform: scaleY(0.12); }
}

.whale .mouth {
  position: absolute;
  left: 4.4px;
  top: 27.2px;
  z-index: 3;
  width: 12.2px;
  height: 4.2px;
  border-bottom: 0.6px solid rgba(7, 34, 51, 0.45);
  border-radius: 0 0 60% 60%;
  transform: rotate(-2deg);
}

.whale .fin {
  position: absolute;
  left: 14px;
  top: 30px;
  z-index: 1;
  width: 6.4px;
  height: 4.2px;
  background: linear-gradient(160deg, #3f93b2, #123f58);
  clip-path: polygon(0 0, 100% 26%, 38% 100%);
  transform: rotate(16deg);
}

.whale .spout {
  position: absolute;
  left: 9px;
  top: 8px;
  z-index: 4;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(206, 242, 252, 0.92);
  opacity: 0;
  animation: spout-rise 3.6s ease-out infinite;
}

.whale .spout.s2 {
  left: 7.4px;
  top: 9.4px;
  width: 0.7px;
  height: 0.7px;
  animation-delay: 0.5s;
}

.whale .spout.s3 {
  left: 10.6px;
  top: 9px;
  width: 0.6px;
  height: 0.6px;
  animation-delay: 1s;
}

@keyframes spout-rise {
  0%   { opacity: 0; transform: translateY(2px) scale(0.5); }
  22%  { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(-8px) scale(1.4); }
}

/* 气泡 */

.bubbles span {
  position: absolute;
  bottom: 18px;
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(190, 235, 250, 0.5);
  border-radius: 50%;
  background: rgba(190, 235, 250, 0.06);
  animation: bubble-up 12s linear infinite;
}

.bubbles span:nth-child(1) { left: 18%; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 34%; width: 4px; height: 4px; animation-delay: 3.2s; }
.bubbles span:nth-child(3) { left: 58%; width: 9px; height: 9px; animation-delay: 1.4s; }
.bubbles span:nth-child(4) { left: 73%; animation-delay: 6.1s; }
.bubbles span:nth-child(5) { left: 86%; width: 5px; height: 5px; animation-delay: 8.4s; }

@keyframes bubble-up {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  12%  { opacity: 0.75; }
  70%  { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-210px) translateX(12px); }
}

.pool-note {
  margin: 0.95rem 0 0;
  font-size: 0.84rem;
  color: var(--mist);
  letter-spacing: 0.05em;
  text-align: right;
}

/* ---------- 最近在做什么 ---------- */

.now-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.now-list li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding: 1.05rem 0.15rem;
  border-top: 1px solid rgba(151, 208, 230, 0.1);
  transition: background 0.25s ease;
}

.now-list li:first-child {
  border-top: 0;
  padding-top: 0.35rem;
}

.now-list li:last-child {
  padding-bottom: 0.2rem;
}

.now-list li:hover {
  background: linear-gradient(90deg, rgba(126, 201, 226, 0.06), transparent 70%);
}

.now-list .no {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(143, 212, 232, 0.55);
  font-variant-numeric: tabular-nums;
}

.now-list .what strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--moon);
}

.now-list .what p {
  margin: 0.18rem 0 0;
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.65;
}

.now-list .state {
  align-self: center;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--ice);
  border: 1px solid rgba(143, 212, 232, 0.28);
  border-radius: 999px;
  padding: 0.16rem 0.55rem 0.2rem;
  opacity: 0.85;
}

.now-list li:last-child .state {
  color: var(--mist);
  border-color: rgba(157, 184, 200, 0.22);
  opacity: 0.55;
}

/* ---------- 页脚 ---------- */

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 2.4rem 1rem 2.8rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: rgba(157, 184, 200, 0.72);
}

.footer .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 8px var(--glow);
  opacity: 0.7;
}

/* ---------- 响应式 ---------- */

@media (max-width: 620px) {
  .shell {
    width: min(880px, 100% - 2rem);
    padding-top: 3.2rem;
  }

  .card {
    padding: 1.3rem 1.15rem 1.45rem;
    border-radius: 16px;
  }

  .pool {
    height: 260px;
  }

  .whale {
    --s: 0.8;
    top: 50%;
  }

  .now-list li {
    grid-template-columns: 2.1rem minmax(0, 1fr);
  }

  .now-list .state {
    display: none;
  }

  .pool-note {
    text-align: left;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whale,
  .whale .tail,
  .whale .eye,
  .whale .spout,
  .bubbles span,
  .abyss .snow {
    animation: none;
  }
}
