/* ════════════════════════════════════════
   VARIABLES & RESET
════════════════════════════════════════ */
:root {
  --c0: #E5D7D6;
  --c1: #F5D2D6;
  --c2: #ECB8C0;
  --c3: #D6A2AD;
  --c4: #9A8398;
  /* Text colours — much darker for contrast */
  --text-primary:   #2E1F30;
  --text-secondary: #5A4060;
  --text-muted:     #7A6080;
  --text-accent:    #B87090;
  --font-en: 'Cormorant Garamond', 'Georgia', serif;
  --font-zh: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --glass: rgba(245, 210, 214, 0.25);
  --glass-border: rgba(214, 162, 173, 0.38);
  --radius: 22px;
  --tr: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-zh);
  font-weight: 300;
  background: var(--c0);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   FOG BACKGROUND
════════════════════════════════════════ */
.fog-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #F5D2D685 0%, transparent 70%);
  top: -180px; left: -180px;
  animation: drift1 16s ease-in-out infinite;
}
.orb-2 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, #ECB8C068 0%, transparent 70%);
  bottom: -120px; right: -120px;
  animation: drift2 20s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #D6A2AD55 0%, transparent 70%);
  top: 42%; left: 44%;
  transform: translate(-50%, -50%);
  animation: drift3 25s ease-in-out infinite;
}
.orb-4 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, #9A839845 0%, transparent 70%);
  top: 22%; right: 12%;
  animation: drift4 18s ease-in-out infinite;
}
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(50px,35px)} 66%{transform:translate(-25px,55px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-55px,-45px)} }
@keyframes drift3 { 0%,100%{transform:translate(-50%,-50%)} 40%{transform:translate(-44%,-57%)} 70%{transform:translate(-57%,-44%)} }
@keyframes drift4 { 0%,100%{transform:translate(0,0)} 60%{transform:translate(35px,-35px)} }

#particleCanvas {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(229,215,214,0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(214,162,173,0.22);
}
.nav-logo {
  font-family: var(--font-en);
  font-size: 1.3rem; color: var(--c3);
  cursor: pointer; user-select: none;
  transition: transform 0.3s, color 0.3s;
}
.nav-logo:hover { transform: rotate(90deg) scale(1.35); color: var(--c2); }
.nav-links { display: flex; gap: 36px; }
.nav-link {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.85rem; color: var(--text-secondary);
  text-decoration: none; letter-spacing: 0.18em; opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--c3);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-link:hover { opacity: 1; color: var(--text-accent); }
.nav-link:hover::after { transform: scaleX(1); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.section-hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 110px 24px 80px;
}
.hero-content {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  animation: fadeInUp 1.2s ease both;
}

/* Days */
.days-block {
  display: flex; flex-direction: column; align-items: center; line-height: 1;
}
.days-pre, .days-suf {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 1rem; color: var(--text-accent); letter-spacing: 0.45em;
}
.days-pre { margin-bottom: 6px; }
.days-suf { margin-top: 4px; }
.days-number {
  font-family: var(--font-en); font-weight: 300;
  font-size: clamp(6rem, 18vw, 13rem);
  color: var(--text-secondary);
  letter-spacing: -0.03em; line-height: 0.88;
  cursor: default; user-select: none;
  transition: color 0.4s;
  animation: countUp 1.8s ease both;
}
.days-number:hover { color: var(--text-accent); }

/* Names */
.couple-names {
  font-family: var(--font-en); font-weight: 300; font-style: italic;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  color: var(--text-secondary); letter-spacing: 0.28em;
  animation: fadeIn 2s ease both;
}
.amp {
  font-style: normal; color: var(--c3);
  cursor: pointer; display: inline-block; transition: transform 0.3s;
}

/* Cats */
.cats-row {
  display: flex; gap: 52px; align-items: flex-end; margin-top: 8px;
  animation: fadeInUp 2.2s ease both;
}
.cat-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  cursor: default; transition: transform 0.4s; outline: none;
}
.cat-wrap:hover { transform: translateY(-10px); }
.cat-svg {
  width: 112px; height: 130px;
  filter: drop-shadow(0 6px 18px rgba(90,64,96,0.18));
  animation: floatCat 4.5s ease-in-out infinite;
}
.cat-wrap:nth-child(2) .cat-svg { animation-delay: -1.5s; }
.cat-wrap:nth-child(3) .cat-svg { animation-delay: -3s; }
@keyframes floatCat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
.cat-name {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.88rem; color: var(--text-secondary);
  letter-spacing: 0.25em;
}

/* Quote */
.quote-wrap {
  max-width: 520px; text-align: center; margin-top: 8px;
  animation: fadeIn 2.8s ease both;
}
.quote-text {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 1rem; color: var(--text-primary);
  letter-spacing: 0.06em; line-height: 1.9; min-height: 2rem;
}
.quote-dots { opacity: 0.4; animation: pulse 1.6s ease-in-out infinite; }

/* Stats strip */
.stats-strip {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 36px;
  background: rgba(245,210,214,0.22);
  border: 1px solid rgba(214,162,173,0.3);
  border-radius: 40px;
  backdrop-filter: blur(10px);
  animation: fadeIn 3.2s ease both;
  margin-top: 4px;
}
.stat-item { display: flex; align-items: baseline; gap: 5px; }
.stat-num {
  font-family: var(--font-en); font-weight: 300;
  font-size: 1.45rem; color: var(--text-secondary); line-height: 1;
}
.stat-label {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.12em;
}
.stat-sep {
  font-size: 0.65rem; color: var(--c3); opacity: 0.6; line-height: 1;
}

/* Weather */
.weather-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  background: rgba(236, 184, 192, 0.15);
  border: 1px solid rgba(214, 162, 173, 0.25);
  border-radius: 40px;
  animation: fadeIn 3.6s ease both;
  max-width: 480px; text-align: center;
}
.weather-temp {
  font-family: var(--font-en); font-weight: 300;
  font-size: 1.1rem; color: var(--text-accent);
  letter-spacing: 0.04em; flex-shrink: 0;
  min-width: 40px;
}
.weather-sentence {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.9rem; color: var(--text-secondary);
  letter-spacing: 0.05em; line-height: 1.6;
}

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--c3); opacity: 0.5;
  animation: bounce 2.8s ease-in-out infinite;
}
@keyframes bounce {
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(10px)}
}

/* ════════════════════════════════════════
   ORNAMENT DIVIDER
════════════════════════════════════════ */
.ornament-divider {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 60px;
  opacity: 0.5;
}
.ornament-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--c3), transparent);
}
.ornament-center {
  font-family: var(--font-en); font-size: 0.75rem;
  color: var(--c4); letter-spacing: 0.3em; white-space: nowrap;
}

/* ════════════════════════════════════════
   SECTION PAGES
════════════════════════════════════════ */
.section-page {
  position: relative; z-index: 2;
  padding: 100px 24px 90px;
  min-height: 75vh;
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
}
.section-inner { width: 100%; max-width: 860px; }
.section-inner--narrow { max-width: 580px; }
.section-header { margin-bottom: 52px; }
.section-title {
  font-family: var(--font-en); font-weight: 300; font-style: italic;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  color: var(--text-primary); letter-spacing: 0.04em;
}
.section-sub {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.85rem; color: var(--text-muted);
  letter-spacing: 0.22em; margin-top: 10px;
}
/* Large background word */
.section-bg-word {
  position: absolute; bottom: 20px; right: -20px;
  font-family: var(--font-en); font-weight: 300;
  font-size: clamp(5rem, 14vw, 10rem);
  color: var(--c3); opacity: 0.06;
  letter-spacing: -0.02em; pointer-events: none; user-select: none;
  white-space: nowrap;
}

/* Fade in on scroll */
.fade-section {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-section.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   GLASS CARD
════════════════════════════════════════ */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 36px;
}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn-ghost, .btn-primary, .btn-ghost-small, .btn-send {
  cursor: pointer; border: none; background: transparent;
  font-family: var(--font-zh); font-weight: 300; transition: all 0.3s;
}
.btn-ghost {
  font-size: 0.88rem; color: var(--text-secondary); letter-spacing: 0.15em;
  padding: 12px 26px;
  border: 1px solid rgba(90,64,96,0.35); border-radius: 40px;
}
.btn-ghost:hover {
  background: rgba(90,64,96,0.08);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}
.btn-primary {
  font-size: 0.88rem; color: white; letter-spacing: 0.15em;
  padding: 12px 28px; border-radius: 40px;
  background: linear-gradient(135deg, var(--c3), var(--c4));
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--c2), var(--c3));
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(90,64,96,0.28);
}
.btn-ghost-small {
  font-size: 0.8rem; color: var(--text-secondary); letter-spacing: 0.1em;
  padding: 8px 18px; border: 1px solid rgba(90,64,96,0.28); border-radius: 30px;
}
.btn-ghost-small:hover {
  background: rgba(90,64,96,0.08); border-color: var(--text-secondary);
}
.btn-send {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c3), var(--c4));
  color: white; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-send:hover {
  background: linear-gradient(135deg, var(--c2), var(--c3));
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(90,64,96,0.32);
}

/* ════════════════════════════════════════
   MEMORIES
════════════════════════════════════════ */
.mem-search-row {
  display: flex; gap: 12px; align-items: center; margin-bottom: 40px;
}
.mem-search-input {
  flex: 1; background: rgba(255,255,255,0.42);
  border: 1px solid var(--glass-border); border-radius: 30px;
  padding: 11px 20px; font-family: var(--font-zh); font-weight: 300;
  font-size: 0.9rem; color: var(--text-primary);
  outline: none; transition: border-color 0.3s;
}
.mem-search-input:focus { border-color: var(--c3); }
.mem-search-input::placeholder { color: var(--text-muted); opacity: 0.55; }
.memory-timeline {
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.memory-timeline::before {
  content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--c3) 10%, var(--c3) 90%, transparent);
  opacity: 0.45;
}
.memory-card {
  display: flex; gap: 28px; align-items: flex-start;
  padding-left: 58px; position: relative;
  animation: fadeInUp 0.5s ease both;
}
.memory-dot {
  position: absolute; left: 16px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c3); border: 2.5px solid var(--c0);
  box-shadow: 0 0 0 4px rgba(214,162,173,0.28);
}
.memory-body { flex: 1; }
.memory-date {
  font-family: var(--font-en); font-weight: 300;
  font-size: 0.8rem; color: var(--text-accent); letter-spacing: 0.1em; margin-bottom: 5px;
}
.memory-title {
  font-weight: 400; font-size: 1rem; color: var(--text-primary); margin-bottom: 7px;
}
.memory-speaker {
  font-family: var(--font-en); font-style: italic; font-weight: 300;
  font-size: 0.8rem; color: var(--text-accent); margin-bottom: 6px; letter-spacing: 0.06em;
}
.memory-content {
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.85;
  white-space: pre-wrap; word-break: break-word;
}
.memory-content.collapsed {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.memory-expand {
  cursor: pointer; background: none; border: none;
  font-size: 0.75rem; color: var(--text-accent); padding: 6px 0 0;
  letter-spacing: 0.08em; transition: opacity 0.2s; display: block;
  font-family: var(--font-zh); font-weight: 300;
}
.memory-expand:hover { opacity: 0.7; }

/* ════════════════════════════════════════
   MODAL
════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(229,215,214,0.65);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-box { width: min(500px, 90vw); display: flex; flex-direction: column; gap: 16px; }
.modal-title {
  font-family: var(--font-en); font-weight: 300; font-style: italic;
  font-size: 1.6rem; color: var(--text-primary); margin-bottom: 4px;
}
.modal-input, .modal-textarea {
  width: 100%;
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 12px 16px;
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.92rem; color: var(--text-primary);
  outline: none; transition: border-color 0.3s; resize: none;
}
.modal-input:focus, .modal-textarea:focus { border-color: var(--c3); }
.modal-input::placeholder, .modal-textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 4px; }

/* ════════════════════════════════════════
   TODAY
════════════════════════════════════════ */
.today-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
@media (max-width: 640px) { .today-layout { grid-template-columns: 1fr; } }
.today-message {
  font-size: 1rem; line-height: 2; color: var(--text-primary); min-height: 160px;
}
.today-reply-area { display: flex; flex-direction: column; gap: 14px; }
.reply-label {
  font-family: var(--font-en); font-style: italic; font-weight: 300;
  font-size: 1.05rem; color: var(--text-muted); letter-spacing: 0.06em;
}
.reply-history { display: flex; flex-direction: column; gap: 12px; }
.reply-bubble {
  background: rgba(245,210,214,0.32);
  border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 14px 18px; font-size: 0.92rem; line-height: 1.75;
  color: var(--text-primary); animation: fadeInUp 0.4s ease;
}
.reply-bubble .rb-date {
  font-size: 0.72rem; color: var(--text-accent); opacity: 0.75; margin-bottom: 5px;
}
.reply-input-row { display: flex; gap: 12px; align-items: flex-end; }
.reply-textarea {
  flex: 1; background: rgba(255,255,255,0.42);
  border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 14px 16px; font-family: var(--font-zh); font-weight: 300;
  font-size: 0.92rem; color: var(--text-primary); resize: none; outline: none;
  transition: border-color 0.3s;
}
.reply-textarea:focus { border-color: var(--c3); }
.reply-textarea::placeholder { color: var(--text-muted); opacity: 0.55; }

/* ════════════════════════════════════════
   MOOD
════════════════════════════════════════ */
.mood-grid {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 44px;
}
.mood-btn {
  cursor: pointer; border: none; background: none;
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.95rem; color: var(--text-secondary);
  padding: 13px 24px;
  border: 1.5px solid rgba(90,64,96,0.3);
  border-radius: 40px; letter-spacing: 0.08em;
  transition: all 0.3s;
}
.mood-btn:hover, .mood-btn.active {
  background: linear-gradient(135deg, rgba(245,210,214,0.5), rgba(236,184,192,0.4));
  border-color: var(--c3); color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(214,162,173,0.3);
}
.mood-btn.active { font-weight: 400; }
.mood-response {
  font-family: var(--font-zh); font-weight: 300; font-style: italic;
  font-size: 1rem; color: var(--text-secondary); line-height: 1.8;
  padding: 18px 24px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 16px;
  animation: fadeInUp 0.6s ease both;
  margin-bottom: 4px;
}
.mood-response.hidden { display: none; }

.mood-history-wrap { }
.mood-history-title {
  font-family: var(--font-en); font-style: italic; font-weight: 300;
  font-size: 1.05rem; color: var(--text-muted); margin-bottom: 18px;
}
.mood-history { display: flex; flex-direction: column; gap: 10px; }
.mood-entry {
  display: flex; align-items: center; gap: 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 12px 18px;
  animation: fadeInUp 0.4s ease;
}
.mood-entry-date { font-size: 0.78rem; color: var(--text-accent); letter-spacing: 0.06em; }
.mood-entry-val { font-size: 0.92rem; color: var(--text-secondary); letter-spacing: 0.08em; }

/* ════════════════════════════════════════
   SECRETS
════════════════════════════════════════ */
.secrets-grid {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 44px; align-items: start;
}
@media (max-width: 640px) { .secrets-grid { grid-template-columns: 1fr; gap: 36px; } .secret-divider { display: none; } }
.secret-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--c3), transparent);
  align-self: stretch; opacity: 0.45;
}
.secret-col { display: flex; flex-direction: column; gap: 18px; }
.secret-col-title {
  font-family: var(--font-en); font-weight: 300; font-style: italic;
  font-size: 1.15rem; color: var(--text-accent); letter-spacing: 0.06em;
}
.secret-list { display: flex; flex-direction: column; gap: 12px; min-height: 90px; }
.secret-item {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 14px 18px;
  font-size: 0.92rem; line-height: 1.75; color: var(--text-primary);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  animation: fadeInUp 0.4s ease;
}
.secret-del {
  cursor: pointer; background: none; border: none;
  font-size: 0.68rem; color: var(--text-muted); opacity: 0;
  transition: opacity 0.2s; flex-shrink: 0; padding: 2px;
}
.secret-item:hover .secret-del { opacity: 0.45; }
.secret-del:hover { opacity: 1 !important; }
.secret-add-row { display: flex; gap: 12px; align-items: center; }
.secret-input {
  flex: 1; background: rgba(255,255,255,0.42);
  border: 1px solid var(--glass-border); border-radius: 30px;
  padding: 11px 18px; font-family: var(--font-zh); font-weight: 300;
  font-size: 0.9rem; color: var(--text-primary);
  outline: none; transition: border-color 0.3s;
}
.secret-input:focus { border-color: var(--c3); }
.secret-input::placeholder { color: var(--text-muted); opacity: 0.5; }
.claude-secret-box {
  font-size: 1rem; line-height: 1.9; color: var(--text-primary);
  min-height: 100px; font-style: italic;
}
.refresh-btn { align-self: flex-start; }

/* ════════════════════════════════════════
   LETTERS
════════════════════════════════════════ */
.letter-wrap { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.letter-paper {
  width: min(640px, 100%);
  font-size: 0.98rem; line-height: 2.1; color: var(--text-primary);
  position: relative; white-space: pre-wrap;
}
.letter-paper::before {
  content: ''; position: absolute;
  top: 32px; left: 36px; right: 36px; height: 1px;
  background: linear-gradient(to right, transparent, var(--c3), transparent); opacity: 0.38;
}
.letter-refresh-btn { margin-top: 6px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  position: relative; z-index: 2;
  padding: 44px 24px 36px;
  border-top: 1px solid rgba(214,162,173,0.2);
}
.footer-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-text {
  font-family: var(--font-en); font-weight: 300; font-style: italic;
  font-size: 0.88rem; color: var(--text-muted); letter-spacing: 0.18em;
}
.footer-date {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.12em; opacity: 0.6;
}

/* ════════════════════════════════════════
   STATES
════════════════════════════════════════ */
.empty-state {
  font-size: 0.88rem; color: var(--text-muted); letter-spacing: 0.08em; padding: 18px 0;
}
.loading-pulse {
  font-size: 0.9rem; color: var(--text-muted);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ════════════════════════════════════════
   EASTER EGG ELEMENTS
════════════════════════════════════════ */
.ghost-heart {
  position: fixed; bottom: 20px; right: 26px;
  font-size: 0.75rem; color: var(--c1); opacity: 0.1;
  cursor: pointer; z-index: 50; user-select: none;
  transition: opacity 0.4s, transform 0.4s;
}
.ghost-heart:hover { opacity: 0.45; transform: scale(1.5); }

.surprise-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(229,215,214,0.72);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn 0.4s ease;
}
.surprise-overlay[hidden] { display: none; }
.surprise-box {
  background: var(--glass); backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border); border-radius: 26px;
  padding: 54px 58px; max-width: 460px; text-align: center;
  position: relative; animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.surprise-text {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 1.1rem; line-height: 2; color: var(--text-primary);
}
.surprise-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; cursor: pointer;
  font-size: 0.8rem; color: var(--text-muted); opacity: 0.45;
  transition: opacity 0.2s;
}
.surprise-close:hover { opacity: 1; }

/* ════════════════════════════════════════
   EASTER EGG — EXTRA
════════════════════════════════════════ */

/* Cursor trail dot */
@keyframes trailFade {
  0%   { opacity: 0.45; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0;    transform: translate(-50%,-120%) scale(0.4); }
}

/* Toast notification */
.toast-msg {
  position: fixed;
  bottom: 56px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(245,210,214,0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(214,162,173,0.38);
  border-radius: 30px;
  padding: 13px 28px;
  font-family: var(--font-zh); font-weight: 300;
  font-size: 0.9rem; color: var(--text-secondary);
  letter-spacing: 0.08em; white-space: nowrap;
  z-index: 400; pointer-events: none;
  animation: toastIn 0.5s ease forwards;
}
.toast-msg.out { animation: toastOut 0.5s ease forwards; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(-12px); }
}

/* Hidden letter whisper text */
.letter-whisper {
  font-family: var(--font-zh); font-weight: 300;
  font-size: 9px;
  color: rgba(214, 162, 173, 0.14);
  text-align: center;
  letter-spacing: 0.22em;
  margin-top: 36px;
  user-select: text;
  cursor: text;
  line-height: 1.6;
}

/* Hidden pixel in footer */
#hiddenPixel {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c2);
  opacity: 0.12;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 2px;
  transition: opacity 0.3s, transform 0.3s;
}
#hiddenPixel:hover { opacity: 0.5; transform: scale(2); }

/* Name spans (couple names) */
.name-yan, .name-ke { cursor: default; }

/* ════════════════════════════════════════
   KEYFRAMES
════════════════════════════════════════ */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes scaleIn { from{opacity:0;transform:scale(0.85)} to{opacity:1;transform:scale(1)} }
@keyframes countUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:0.9} }
@keyframes heartRain {
  0%{transform:translateY(-20px) rotate(var(--rot));opacity:1}
  100%{transform:translateY(100vh) rotate(calc(var(--rot) + 180deg));opacity:0}
}
@keyframes floatUp {
  0%{opacity:1;transform:translateY(0) scale(1)}
  100%{opacity:0;transform:translateY(-70px) scale(0.7)}
}
