﻿:root {
  /* 夕阳主题：沿用 emerald/mint 变量名，映射为暖橙霞色阶 */
  --emerald-950: #3a1610;
  --emerald-900: #5c2418;
  --emerald-800: #7a3422;
  --emerald-700: #9c452c;
  --emerald-600: #c45c32;
  --emerald-500: #e07840;
  --emerald-400: #f09a5c;
  --emerald-300: #f5b888;
  --emerald-200: #fad4b0;
  --mint-50: #fff8f2;
  --mint-100: #ffefe4;
  --mint-200: #ffe0cc;
  --gold-soft: #d4a05a;
  --gold-bright: #f0c078;
  --ivory: #fff9f4;
  --ink: #3d2218;
  --ink-muted: #7a5548;
  --glass: rgba(255, 252, 248, 0.58);
  --glass-border: rgba(196, 92, 50, 0.22);
  --shadow-deep: 0 20px 48px rgba(120, 50, 30, 0.14);
  --radius: 18px;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-cn: "Noto Serif SC", "Cormorant Garamond", serif;
  --font-body: "Outfit", "Noto Serif SC", system-ui, sans-serif;
  --font-art-en: "Great Vibes", "Cormorant Garamond", cursive;
  --font-art-cn: "ZCOOL KuaiLe", "ZCOOL XiaoWei", "Noto Serif SC", cursive;
  --font-art-and: "ZCOOL KuaiLe", "ZCOOL XiaoWei", "Noto Serif SC", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  background:
    radial-gradient(980px 700px at 8% -8%, rgba(255, 186, 120, 0.75), transparent 55%),
    radial-gradient(860px 620px at 92% 8%, rgba(255, 140, 120, 0.45), transparent 50%),
    radial-gradient(720px 540px at 50% 105%, rgba(196, 110, 160, 0.28), transparent 52%),
    radial-gradient(520px 400px at 70% 42%, rgba(255, 210, 140, 0.28), transparent 60%),
    linear-gradient(
      168deg,
      #fff6ee 0%,
      #ffe8d4 16%,
      #ffd0b0 34%,
      #f5b48a 52%,
      #e8a0a8 70%,
      #f0c8c0 86%,
      #fff4ec 100%
    );
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* Background ornaments */
.bg-ornament {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: 12%;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 160, 90, 0.55), transparent 70%);
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: 8%;
  right: -60px;
  background: radial-gradient(circle, rgba(240, 120, 130, 0.4), transparent 70%);
  animation-delay: -5s;
}

.orb-c {
  width: 280px;
  height: 280px;
  top: 48%;
  left: 42%;
  background: radial-gradient(circle, rgba(255, 200, 140, 0.55), transparent 70%);
  animation-delay: -9s;
}

.mist {
  position: absolute;
  width: 55vw;
  height: 35vh;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.28;
  background: radial-gradient(ellipse, rgba(255, 180, 130, 0.7), transparent 70%);
  animation: mist-drift 22s ease-in-out infinite;
}

.mist-1 { top: 18%; left: -8%; }
.mist-2 { bottom: 12%; right: -10%; animation-delay: -11s; }

@keyframes mist-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -24px) scale(1.08); }
}

.vine-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 28px,
      rgba(255, 180, 140, 0.45) 28px,
      rgba(255, 180, 140, 0.45) 29px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 28px,
      rgba(240, 140, 120, 0.3) 28px,
      rgba(240, 140, 120, 0.3) 29px
    );
}

.leaf-scatter {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(240, 154, 92, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, rgba(232, 213, 163, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 62%, rgba(255, 143, 163, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 72%, rgba(255, 192, 150, 0.5) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 48% 88%, rgba(212, 185, 120, 0.4) 0 2px, transparent 3px),
    radial-gradient(circle at 64% 40%, rgba(240, 154, 92, 0.35) 0 1.5px, transparent 2.5px);
  animation: sparkle-twinkle 6s ease-in-out infinite;
}

.sparkle-field {
  position: absolute;
  inset: 0;
}

.sparkle-field .dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  box-shadow: 0 0 8px rgba(232, 213, 163, 0.8);
}

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.22; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  40%, 60% { opacity: 0.9; transform: scale(1.15); }
}

/* Cherry blossom petal fall */
.petal-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  perspective: 900px;
}

.sakura-petal {
  position: absolute;
  top: -14vh;
  left: var(--x, 50%);
  width: var(--size, 18px);
  height: var(--size, 18px);
  opacity: 0;
  transform-style: preserve-3d;
  animation:
    sakura-fall var(--dur, 12s) linear var(--delay, 0s) infinite,
    sakura-sway var(--sway-dur, 3.2s) ease-in-out var(--delay, 0s) infinite;
  will-change: transform, opacity, filter;
  filter: blur(var(--blur, 0px));
}

.sakura-petal::before,
.sakura-petal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 双瓣叠合：更像真实樱花瓣 */
.sakura-petal::before {
  border-radius: 100% 0 92% 8%;
  background:
    radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.95) 0 14%, transparent 40%),
    radial-gradient(ellipse at 70% 78%, rgba(232, 90, 130, 0.35), transparent 55%),
    linear-gradient(148deg, #fff0f4 0%, #ffc9d8 42%, #f48aa8 100%);
  box-shadow: 0 3px 8px rgba(220, 100, 130, 0.18);
  transform: rotate(38deg) scale(1, 0.88);
  animation: sakura-flutter var(--flutter-dur, 2.4s) ease-in-out var(--delay, 0s) infinite;
  transform-origin: 40% 55%;
}

.sakura-petal::after {
  border-radius: 92% 8% 100% 0;
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 255, 255, 0.55) 0 12%, transparent 38%),
    linear-gradient(210deg, #ffe3ec 0%, #ffb0c5 55%, #e9789a 100%);
  opacity: 0.72;
  transform: rotate(8deg) scale(0.78, 0.7) translate(10%, 8%);
  filter: blur(0.2px);
  animation: sakura-flutter-alt var(--flutter-dur, 2.4s) ease-in-out calc(var(--delay, 0s) + 0.35s) infinite;
  transform-origin: 55% 45%;
}

/* 样式 A：经典粉 */
.sakura-petal.type-a::before {
  background:
    radial-gradient(circle at 28% 26%, #fff 0 12%, transparent 38%),
    linear-gradient(148deg, #fff2f6 0%, #ffc2d4 45%, #f283a4 100%);
}

/* 样式 B：近白浅樱 */
.sakura-petal.type-b::before {
  border-radius: 88% 12% 95% 5%;
  background:
    radial-gradient(circle at 35% 20%, #fff 0 20%, transparent 45%),
    linear-gradient(160deg, #ffffff 0%, #ffe8ef 50%, #ffc4d4 100%);
  box-shadow: 0 2px 6px rgba(255, 180, 200, 0.25);
}
.sakura-petal.type-b::after {
  opacity: 0.45;
  background: linear-gradient(200deg, #fff5f8, #ffd0de);
}

/* 样式 C：深粉偏红 */
.sakura-petal.type-c::before {
  border-radius: 100% 5% 85% 15%;
  background:
    radial-gradient(circle at 25% 30%, #ffe0ea 0 16%, transparent 42%),
    linear-gradient(135deg, #ffb6cb 0%, #f07098 48%, #d44f78 100%);
  box-shadow: 0 4px 10px rgba(180, 60, 100, 0.22);
}
.sakura-petal.type-c::after {
  background: linear-gradient(220deg, #ff9eb8, #c94a72);
  opacity: 0.55;
}

/* 样式 D：细长飘带感 */
.sakura-petal.type-d {
  width: calc(var(--size, 18px) * 0.72);
  height: calc(var(--size, 18px) * 1.25);
}
.sakura-petal.type-d::before {
  border-radius: 70% 30% 80% 20% / 60% 40% 70% 30%;
  background:
    radial-gradient(circle at 40% 18%, #fff8fa 0 18%, transparent 40%),
    linear-gradient(175deg, #ffdce7 0%, #ff9eb8 60%, #e86b92 100%);
  transform: rotate(55deg) scale(0.85, 1.05);
}
.sakura-petal.type-d::after {
  display: none;
}

/* 样式 E：五瓣剪影（小花团） */
.sakura-petal.type-e::before {
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffb7c9 0 22%, transparent 24%),
    radial-gradient(circle at 50% 18%, #ffd0de 0 28%, transparent 30%),
    radial-gradient(circle at 82% 38%, #ffd0de 0 28%, transparent 30%),
    radial-gradient(circle at 68% 78%, #ffc2d4 0 28%, transparent 30%),
    radial-gradient(circle at 32% 78%, #ffc2d4 0 28%, transparent 30%),
    radial-gradient(circle at 18% 38%, #ffd0de 0 28%, transparent 30%);
  box-shadow: 0 2px 8px rgba(240, 120, 150, 0.28);
  transform: none;
  animation: sakura-spin-soft var(--flutter-dur, 3s) linear var(--delay, 0s) infinite;
}
.sakura-petal.type-e::after {
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, #f5c04a 0 55%, #e8a838 100%);
  opacity: 0.9;
  transform: none;
  animation: none;
  filter: none;
}

/* 样式 F：半透明远景瓣 */
.sakura-petal.type-f {
  animation:
    sakura-fall-soft var(--dur, 16s) linear var(--delay, 0s) infinite,
    sakura-sway var(--sway-dur, 4.5s) ease-in-out var(--delay, 0s) infinite;
}
.sakura-petal.type-f::before {
  background:
    linear-gradient(150deg, rgba(255, 240, 245, 0.75), rgba(255, 170, 195, 0.55));
  box-shadow: none;
  filter: blur(0.6px);
}
.sakura-petal.type-f::after {
  opacity: 0.25;
}

@keyframes sakura-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotateZ(0deg) rotateX(0deg);
  }
  6% {
    opacity: var(--peak, 0.9);
  }
  25% {
    transform: translate3d(calc(var(--drift, 80px) * 0.22), 28vh, 0)
      rotateZ(calc(var(--spin, 520deg) * 0.2)) rotateX(25deg);
  }
  55% {
    opacity: var(--peak, 0.9);
    transform: translate3d(calc(var(--drift, 80px) * 0.58), 62vh, 0)
      rotateZ(calc(var(--spin, 520deg) * 0.55)) rotateX(-18deg);
  }
  88% {
    opacity: calc(var(--peak, 0.9) * 0.55);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 80px), 118vh, 0)
      rotateZ(var(--spin, 520deg)) rotateX(35deg);
  }
}

@keyframes sakura-fall-soft {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }
  10% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 40px), 120vh, 0) rotateZ(var(--spin, 300deg));
  }
}

@keyframes sakura-sway {
  0%, 100% {
    margin-left: 0;
  }
  50% {
    margin-left: var(--sway, 18px);
  }
}

@keyframes sakura-flutter {
  0%, 100% {
    transform: rotate(38deg) scale(1, 0.88) rotateY(0deg);
  }
  50% {
    transform: rotate(48deg) scale(0.92, 1) rotateY(38deg);
  }
}

@keyframes sakura-flutter-alt {
  0%, 100% {
    transform: rotate(8deg) scale(0.78, 0.7) translate(10%, 8%) rotateY(0deg);
  }
  50% {
    transform: rotate(-6deg) scale(0.72, 0.78) translate(6%, 12%) rotateY(-30deg);
  }
}

@keyframes sakura-spin-soft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hidden love timer — top right */
.love-timer-dock {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.love-timer-fab {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--emerald-800);
  opacity: 0.12;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.love-timer-fab-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.love-timer-dock:hover .love-timer-fab,
.love-timer-dock:focus-within .love-timer-fab,
.love-timer-fab.is-open {
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(196, 92, 50, 0.22);
  backdrop-filter: blur(8px);
}

.love-timer-panel {
  min-width: 210px;
  max-width: min(280px, 78vw);
  padding: 0.8rem 0.85rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 252, 248, 0.86);
  border: 1px solid rgba(196, 92, 50, 0.18);
  box-shadow: 0 12px 28px rgba(120, 50, 30, 0.12);
  backdrop-filter: blur(12px);
  text-align: right;
}

.love-timer-panel[hidden] {
  display: none !important;
}

.love-timer-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-art-cn);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--emerald-800);
}

.love-timer-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.55rem;
}

.love-timer-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
  color: var(--ink);
}

.love-timer-unit strong {
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--emerald-700);
  min-width: 1.1em;
}

.love-timer-unit small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.love-timer-since {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  opacity: 0.85;
}

body:not(.landing-page) .love-timer-dock {
  top: 4.4rem;
}

@media (max-width: 720px) {
  .love-timer-dock {
    top: 0.7rem;
    right: 0.7rem;
  }

  body:not(.landing-page) .love-timer-dock {
    top: 5.6rem;
  }
}

/* Landing hidden BGM dock */
.bgm-dock {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.bgm-fab {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--emerald-800);
  opacity: 0.12;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bgm-fab-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.bgm-dock:hover .bgm-fab,
.bgm-dock:focus-within .bgm-fab,
.bgm-fab.is-playing,
.bgm-fab.is-open {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(196, 92, 50, 0.2);
  backdrop-filter: blur(8px);
}

.bgm-fab.is-playing {
  opacity: 0.35;
  animation: bgm-pulse 2.8s ease-in-out infinite;
}

.bgm-dock:hover .bgm-fab.is-playing,
.bgm-dock:focus-within .bgm-fab.is-playing {
  opacity: 0.85;
}

@keyframes bgm-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.bgm-panel {
  min-width: 190px;
  max-width: 230px;
  padding: 0.75rem 0.8rem 0.7rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(196, 92, 50, 0.18);
  box-shadow: 0 12px 28px rgba(120, 50, 30, 0.12);
  backdrop-filter: blur(12px);
}

.bgm-panel[hidden] {
  display: none !important;
}

.bgm-panel-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.bgm-pick {
  display: block;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px dashed rgba(196, 92, 50, 0.28);
  background: rgba(255, 242, 230, 0.55);
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--emerald-800);
}

.bgm-pick input {
  display: none;
}

.bgm-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bgm-actions input[type="range"] {
  flex: 1;
  accent-color: var(--emerald-500);
}

.bgm-hint {
  margin: 0.45rem 0 0;
  min-height: 1em;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-28px) scale(1.05); }
}

@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.bounce-soft {
  animation: bounce-soft 3.6s ease-in-out infinite;
}

.bounce-soft.delay {
  animation-delay: -1.8s;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 5vw;
  backdrop-filter: blur(16px);
  background: rgba(255, 248, 242, 0.8);
  border-bottom: 1px solid rgba(196, 92, 50, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}

.brand-mascot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 192, 150, 0.35), rgba(92, 36, 24, 0.8));
  border: 1px solid rgba(212, 185, 120, 0.35);
  box-shadow: 0 4px 12px rgba(58, 22, 16, 0.35);
  animation: shimmer 3s ease-in-out infinite;
}

.brand-mascot svg {
  width: 26px;
  height: 26px;
}

.brand-mark {
  color: var(--gold-soft);
  font-size: 0.85rem;
  animation: shimmer 3s ease-in-out infinite;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.18rem;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.art-brand .art-en {
  font-family: var(--font-art-en);
  font-size: 1.55rem;
  background: linear-gradient(120deg, var(--emerald-700), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.art-brand .art-and {
  font-family: var(--font-art-and);
  font-size: 1.05rem;
  color: var(--gold-soft);
  margin: 0 0.12rem;
  letter-spacing: 0;
}

.art-brand .art-cn {
  font-family: var(--font-art-cn);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  background: linear-gradient(140deg, var(--gold-soft), var(--emerald-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.nav a {
  position: relative;
  color: var(--emerald-800);
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--emerald-600);
}

.nav a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: min(100vh, 980px);
  display: grid;
  place-items: center;
  padding: 3.5rem 5vw 4rem;
  isolation: isolate;
}

.hero-depth {
  position: absolute;
  inset: 6% 5%;
  z-index: -1;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: 48px;
  border: 1px solid rgba(212, 185, 120, 0.18);
}

.ring-outer {
  inset: -10px;
  border-radius: 56px;
  border-style: dashed;
  opacity: 0.55;
  animation: ring-spin 36s linear infinite;
}

.ring-mid {
  inset: 18px;
  border-radius: 36px;
  border-color: rgba(255, 192, 150, 0.2);
  box-shadow: inset 0 0 40px rgba(240, 154, 92, 0.06);
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 228, 210, 0.35)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c8 10 18 14 25 12-8 8-12 18-10 28-10-6-20-6-30 0 2-10-2-20-10-28 7 2 17-2 25-12z' fill='%23c45c32' fill-opacity='0.07'/%3E%3C/svg%3E");
  box-shadow: var(--shadow-deep), inset 0 0 80px rgba(240, 154, 92, 0.12);
  border: 1px solid rgba(196, 92, 50, 0.18);
  animation: veil-breathe 8s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: 20% 25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 154, 92, 0.22), transparent 70%);
  filter: blur(20px);
  animation: float 10s ease-in-out infinite;
}

@keyframes veil-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.01); opacity: 0.95; }
}

.hero-mascot-left,
.hero-mascot-right {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

.hero-mascot-left { left: 7%; transform: translateY(-50%); }
.hero-mascot-right { right: 7%; transform: translateY(-50%); }

.side-mascot {
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 12px 20px rgba(58, 22, 16, 0.4));
}

.side-deco {
  width: 36px;
  height: 36px;
  opacity: 0.85;
  animation: sticker-float 7s ease-in-out infinite;
}

.side-deco.d2 { animation-delay: -2s; width: 28px; height: 28px; }
.side-deco.d3 { animation-delay: -1s; }
.side-deco.d4 { animation-delay: -3.5s; width: 32px; height: 32px; }

@media (min-width: 980px) {
  .hero-mascot-left,
  .hero-mascot-right {
    display: flex;
  }
}

.hero-content {
  text-align: center;
  max-width: 760px;
  animation: rise-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 3;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-soft);
}

.eyebrow-gem {
  display: inline-block;
  animation: shimmer 2.8s ease-in-out infinite;
  color: var(--emerald-300);
}

.hero-title {
  margin: 0.35rem auto 0;
  line-height: 1.05;
}

.art-title {
  margin-inline: auto;
  text-align: center;
  filter: drop-shadow(0 8px 22px rgba(58, 22, 16, 0.3));
}

/* 主标题错开排布：左上 Worrison / 右下 犯困的火鸡面 */
.art-title-stagger {
  position: relative;
  width: min(460px, 92vw);
  height: clamp(7.6rem, 26vw, 10.2rem);
  margin-top: 0.4rem;
}

.art-title-stagger .art-en {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 68%;
  font-family: var(--font-art-en);
  font-size: clamp(2.35rem, 7vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: left;
  background: linear-gradient(165deg, #fff9e8 8%, var(--gold-bright) 42%, var(--emerald-300) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.7px rgba(212, 185, 120, 0.22);
  animation: art-glow 4.5s ease-in-out infinite;
  transform: rotate(-4deg);
  transform-origin: left top;
}

.art-title-stagger .art-and {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 2;
  font-family: var(--font-art-and);
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  color: var(--gold-soft);
  line-height: 1;
  transform: translate(-50%, -50%) rotate(-12deg);
  text-shadow: 0 2px 10px rgba(212, 160, 90, 0.35);
}

.art-title-stagger .art-and::before,
.art-title-stagger .art-and::after {
  content: none;
}

.art-title-stagger .art-cn {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 78%;
  font-family: var(--font-art-cn);
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-align: right;
  background: linear-gradient(170deg, #fff8f0 5%, var(--emerald-400) 40%, var(--gold-bright) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 0.35px rgba(240, 154, 92, 0.22);
  transform: rotate(2.5deg);
  transform-origin: right bottom;
}

.art-title-stagger .art-cn::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 0;
  bottom: -0.12em;
  height: 0.1em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(232, 213, 163, 0.55), rgba(240, 154, 92, 0.45));
  filter: blur(0.5px);
}

@keyframes art-glow {
  0%, 100% { filter: brightness(1); transform: translateY(0); }
  50% { filter: brightness(1.08); transform: translateY(-2px); }
}

.footer-brand {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  letter-spacing: 0 !important;
}

.footer-brand .art-en {
  font-size: 1.7rem;
}

.footer-brand .art-cn {
  font-size: 1.55rem;
}

.hero-sub {
  margin: 1.1rem auto 1.2rem;
  max-width: 28rem;
  font-family: var(--font-cn);
  font-size: 1.15rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Landing page */
body.landing-page {
  min-height: 100vh;
}

body.landing-page main {
  min-height: 100vh;
}

.landing-hero {
  min-height: 100vh;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.landing-hero .hero-couple {
  margin-top: 0.6rem;
}

.landing-start {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.35rem;
  padding: 0.85rem 1.6rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--emerald-900);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 228, 210, 0.65));
  border: 1px solid rgba(196, 92, 50, 0.28);
  box-shadow:
    0 14px 32px rgba(120, 50, 30, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: rise-in 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.landing-start:hover {
  transform: translateY(-3px);
  border-color: var(--gold-soft);
  box-shadow:
    0 18px 40px rgba(120, 50, 30, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landing-start:active {
  transform: translateY(-1px);
}

.landing-start-text {
  font-family: var(--font-cn);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  background: linear-gradient(120deg, var(--emerald-800), var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-start-hint {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  opacity: 0.85;
}

.btn-ico {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-couple {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.couple-float {
  position: relative;
  width: min(360px, 78vw);
  display: grid;
  place-items: end center;
  animation: float-3d 5.5s ease-in-out infinite;
  filter: drop-shadow(0 28px 36px rgba(58, 22, 16, 0.55));
  z-index: 3;
}

.couple-float img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  transform: translateZ(40px);
  user-select: none;
  pointer-events: none;
}

.couple-shadow {
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 12%;
  bottom: -0.35rem;
  height: 1.4rem;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(4, 20, 14, 0.55), transparent 70%);
  filter: blur(6px);
  transform: translateY(8px) scaleX(1.02);
  animation: shadow-pulse 5.5s ease-in-out infinite;
}

@keyframes float-3d {
  0%, 100% {
    transform: translateY(0) rotateX(2deg) rotateY(-3deg);
  }
  50% {
    transform: translateY(-16px) rotateX(-1deg) rotateY(3deg);
  }
}

@keyframes shadow-pulse {
  0%, 100% {
    opacity: 0.85;
    transform: translateY(8px) scaleX(1.02);
  }
  50% {
    opacity: 0.45;
    transform: translateY(18px) scaleX(0.9);
  }
}

.hero-frame {
  position: absolute;
  inset: 10% 8%;
  pointer-events: none;
  z-index: 1;
}

.frame-vine {
  position: absolute;
  left: 8%;
  width: 84%;
  height: 28px;
  opacity: 0.85;
}

.frame-vine.top { top: 18px; }
.frame-vine.bottom { bottom: 18px; }

.corner {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold-soft);
  opacity: 0.65;
}

.corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-800));
  color: var(--ivory);
  border-color: rgba(212, 185, 120, 0.4);
  box-shadow: 0 10px 28px rgba(156, 69, 44, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(224, 120, 64, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: var(--gold-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(196, 92, 50, 0.28);
  color: var(--emerald-800);
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--emerald-700);
}

.btn-tiny {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 92, 50, 0.25);
  color: var(--emerald-800);
  cursor: pointer;
}

.btn-tiny:hover {
  border-color: var(--gold-soft);
  color: var(--gold-bright);
}

.btn-danger {
  border-color: rgba(255, 140, 140, 0.35);
  color: #ffc9c9;
}

/* Section dividers */
.section-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.4rem 5vw;
}

.section-divider svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 10px rgba(58, 22, 16, 0.35));
  animation: bounce-soft 4s ease-in-out infinite;
}

.section-divider svg:nth-child(3) {
  animation-delay: -1.2s;
}

.divider-line {
  width: min(120px, 18vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), var(--emerald-400), transparent);
  opacity: 0.7;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 5vw 4.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background:
    linear-gradient(180deg, rgba(255, 220, 195, 0.55), rgba(255, 242, 230, 0.35)),
    radial-gradient(ellipse at 20% 0%, rgba(240, 154, 92, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(212, 185, 120, 0.12), transparent 45%);
  border-block: 1px solid rgba(196, 92, 50, 0.12);
}

.section-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem;
}

.section-alt .section-stage {
  max-width: 1180px;
}

.section-head {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.9rem;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(240, 154, 92, 0.25), rgba(58, 22, 16, 0.75));
  border: 1px solid rgba(212, 185, 120, 0.35);
  box-shadow:
    0 12px 28px rgba(58, 22, 16, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(-4deg);
}

.section-badge svg {
  width: 40px;
  height: 40px;
}

.head-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.head-doodles svg {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.75;
  animation: sticker-float 6s ease-in-out infinite;
}

.head-doodles svg:first-child {
  top: 0.4rem;
  left: calc(50% - 150px);
}

.head-doodles svg:last-child {
  top: 0.2rem;
  right: calc(50% - 150px);
  animation-delay: -2s;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-cn);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(120deg, var(--emerald-900), var(--emerald-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  font-size: 0.98rem;
}

/* Panels / forms */
.panel {
  position: relative;
  padding: 1.8rem 1.5rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 236, 220, 0.75));
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--shadow-deep),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  overflow: visible;
}

.layered-panel {
  box-shadow:
    0 22px 48px rgba(120, 50, 30, 0.12),
    8px 8px 0 rgba(255, 192, 150, 0.35),
    16px 16px 0 rgba(255, 220, 195, 0.45);
}

.panel-sticker {
  position: absolute;
  width: 48px;
  height: 48px;
  z-index: 2;
  filter: drop-shadow(0 6px 10px rgba(58, 22, 16, 0.35));
  animation: bounce-soft 3.8s ease-in-out infinite;
}

.panel-sticker svg {
  width: 100%;
  height: 100%;
}

.panel-sticker.left {
  top: -18px;
  left: -10px;
  transform: rotate(-12deg);
}

.panel-sticker.right {
  top: -16px;
  right: -8px;
  transform: rotate(10deg);
  animation-delay: -1.5s;
}

.panel-ornament {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), var(--emerald-400), var(--gold-soft), transparent);
}

.panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-cn);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: var(--emerald-800);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid-2 textarea,
  .form-grid-2 .btn,
  .form-grid-2 select + textarea {
    grid-column: 1 / -1;
  }
  .form-grid-2 .btn {
    justify-self: start;
  }
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 92, 50, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(61, 92, 79, 0.45);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(212, 185, 120, 0.15);
}

select {
  cursor: pointer;
}

select option {
  background: var(--mint-50);
  color: var(--ink);
}

.file-drop {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  min-height: 120px;
  padding: 1rem;
  border-radius: 14px;
  border: 1.5px dashed rgba(196, 92, 50, 0.35);
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 154, 92, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.file-drop:hover,
.file-drop.dragover {
  border-color: var(--emerald-500);
  background:
    radial-gradient(circle at 50% 40%, rgba(224, 120, 64, 0.22), transparent 55%),
    rgba(255, 242, 230, 0.9);
  transform: translateY(-2px);
}

.file-drop input {
  display: none;
}

.file-drop span {
  color: var(--emerald-800);
  letter-spacing: 0.04em;
  text-align: center;
}

.drop-art {
  width: 42px !important;
  height: 42px;
  display: block;
}

.drop-art svg {
  width: 42px;
  height: 42px;
}

.form-hint {
  margin: 0.6rem 0 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.form-hint.error {
  color: #c45c5c;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(196, 92, 50, 0.2);
  background: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 16px 40px rgba(120, 50, 30, 0.12),
    0 0 0 4px rgba(255, 220, 195, 0.55);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: rise-in 0.7s ease both;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(120, 50, 30, 0.28));
  opacity: 0.55;
}

.photo-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 50px rgba(224, 120, 64, 0.28);
}

.photo-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
}

.photo-meta {
  position: relative;
  z-index: 1;
  padding: 0.85rem 1rem 1rem;
  margin-top: -2.5rem;
}

.photo-meta p {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 0.95rem;
}

.photo-meta small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(247, 253, 249, 0.85);
  font-size: 0.78rem;
}

.photo-meta p {
  color: var(--ivory);
}

.photo-actions {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.photo-card:hover .photo-actions {
  opacity: 1;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--ink-muted);
  border: 1px dashed rgba(196, 92, 50, 0.25);
  border-radius: var(--radius);
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 154, 92, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.45);
}

.empty-ico {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  animation: bounce-soft 3s ease-in-out infinite;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-soft), var(--emerald-500), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 236, 220, 0.8));
  border: 1px solid rgba(196, 92, 50, 0.18);
  animation: rise-in 0.65s ease both;
}

.timeline-item::before {
  content: "❀";
  position: absolute;
  left: -1.72rem;
  top: 1.2rem;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--emerald-400));
  box-shadow: 0 0 12px rgba(240, 154, 92, 0.6);
  transform: translateX(-3px);
}

.timeline-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.timeline-top h3 {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.mood-tag {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: linear-gradient(120deg, var(--emerald-300), var(--gold-soft));
}

.timeline-date {
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.timeline-item p {
  margin: 0.4rem 0 0;
  color: var(--ink-muted);
}

.timeline-item .item-actions {
  margin-top: 0.85rem;
}

/* Messages */
.card-flow {
  display: grid;
  gap: 1rem;
}

.message-card {
  position: relative;
  padding: 1.2rem 1.35rem 1.2rem 1.6rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 220, 195, 0.55), transparent 40%),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(196, 92, 50, 0.18);
  border-left: 3px solid var(--gold-soft);
  box-shadow: 0 10px 28px rgba(120, 50, 30, 0.1);
  animation: rise-in 0.55s ease both;
}

.message-card::before {
  content: "♡";
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  color: rgba(255, 143, 163, 0.45);
  font-size: 1rem;
}

.message-card header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-family: var(--font-cn);
  color: var(--emerald-800);
}

.message-card header small {
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.message-card p {
  margin: 0;
  color: var(--ink);
}

.message-card .item-actions {
  margin-top: 0.75rem;
}

/* Wish wall */
.wish-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}

.wish-note {
  position: relative;
  min-height: 160px;
  padding: 1.35rem 1rem 1rem;
  border-radius: 4px 16px 16px 16px;
  background:
    radial-gradient(circle at 85% 12%, rgba(232, 213, 163, 0.4), transparent 28%),
    linear-gradient(160deg, rgba(255, 220, 195, 0.9), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(196, 92, 50, 0.22);
  box-shadow:
    0 12px 28px rgba(120, 50, 30, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: rotate(-1.2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: rise-in 0.6s ease both;
}

.wish-note::before {
  content: "✦";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold-soft);
  box-shadow: 0 4px 8px rgba(58, 22, 16, 0.3);
}

.wish-note:nth-child(even) {
  transform: rotate(1.4deg);
  background: linear-gradient(160deg, rgba(232, 213, 163, 0.35), rgba(255, 255, 255, 0.92));
}

.wish-note:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
  box-shadow: 0 18px 36px rgba(224, 120, 64, 0.3);
  z-index: 2;
}

.wish-note.fulfilled {
  opacity: 0.78;
}

.wish-note.fulfilled::after {
  content: "已实现";
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--emerald-800);
  border: 1px solid rgba(196, 92, 50, 0.35);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
}

.wish-note .author {
  margin: 0 0 0.5rem;
  font-family: var(--font-cn);
  color: var(--emerald-800);
  font-size: 0.9rem;
}

.wish-note .content {
  margin: 0;
  font-family: var(--font-cn);
  line-height: 1.55;
  color: var(--ink);
}

.wish-note .item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

/* Feature slots */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

.stickers-banner {
  margin: 0 auto 1.75rem;
  max-width: 720px;
  padding: 0.5rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 185, 120, 0.28);
  background:
    linear-gradient(145deg, rgba(122, 52, 34, 0.4), rgba(58, 22, 16, 0.65));
  box-shadow: 0 16px 40px rgba(58, 22, 16, 0.35);
  overflow: hidden;
}

.stickers-banner img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-slot {
  position: relative;
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(212, 185, 120, 0.4);
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 154, 92, 0.12), transparent 40%),
    rgba(58, 22, 16, 0.4);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.feature-slot::after {
  content: "🌱";
  position: absolute;
  right: 0.7rem;
  bottom: 0.5rem;
  opacity: 0.35;
  font-size: 1.1rem;
}

.feature-slot:hover {
  border-style: solid;
  border-color: var(--emerald-400);
  background: rgba(156, 69, 44, 0.35);
  transform: translateY(-3px);
}

.feature-slot h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-cn);
  letter-spacing: 0.08em;
  color: var(--emerald-200);
}

.feature-slot p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(184, 240, 220, 0.7);
}

.feature-slot .badge {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 5vw 2.5rem;
  border-top: 1px solid rgba(212, 185, 120, 0.15);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 154, 92, 0.12), transparent 55%),
    rgba(3, 26, 20, 0.55);
}

.footer-mascots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.footer-mascots svg {
  width: 40px;
  height: 40px;
  animation: bounce-soft 3.5s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(58, 22, 16, 0.35));
}

.footer-mascots svg:nth-child(2) { animation-delay: -1.1s; }
.footer-mascots svg:nth-child(3) { animation-delay: -2.2s; }

.footer p {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.footer-sub {
  margin-top: 0.45rem !important;
  font-family: var(--font-cn) !important;
  font-size: 0.9rem;
  letter-spacing: 0.12em !important;
  color: var(--emerald-300) !important;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(3, 20, 15, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-height: min(78vh, 900px);
  max-width: min(92vw, 1000px);
  border-radius: 12px;
  border: 1px solid rgba(212, 185, 120, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox p {
  margin: 0.9rem 0 0;
  color: var(--emerald-200);
  font-family: var(--font-cn);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 185, 120, 0.4);
  border-radius: 50%;
  background: rgba(92, 36, 24, 0.7);
  color: var(--ivory);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    gap: 0.5rem 0.9rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-depth {
    inset: 2% 2%;
  }

  .hero-frame {
    inset: 4% 3%;
  }

  .panel-sticker {
    display: none;
  }

  .sakura-petal {
    --size: 13px;
  }

  .sakura-petal.type-e {
    --size: 12px;
  }

  .layered-panel {
    box-shadow: var(--shadow-deep);
  }

  .head-doodles {
    display: none;
  }

  .photo-actions {
    opacity: 1;
  }

  .couple-float {
    width: min(300px, 82vw);
  }
}
