:root {
  --rose: #e8a0bf;
  --rose-deep: #c75b7a;
  --gold: #f4d03f;
  --night: #0f0a14;
  --night-soft: #1a1225;
  --cream: #fff5f8;
  --glow: rgba(232, 160, 191, 0.45);
  --font-serif: 'Noto Serif SC', serif;
  --font-display: 'ZCOOL XiaoWei', serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background: var(--night);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.7;
}

#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hearts-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: floatUp 4s ease-out forwards;
  pointer-events: none;
  filter: drop-shadow(0 0 8px var(--glow));
}

@keyframes floatUp {
  0% {
    opacity: 0.9;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-120vh) scale(0.3) rotate(45deg);
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: linear-gradient(to bottom, rgba(15, 10, 20, 0.9), transparent);
  backdrop-filter: blur(8px);
  transition: opacity 0.4s;
}

.nav a {
  color: var(--rose);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: color 0.3s, transform 0.3s;
}

.nav a:hover {
  color: var(--cream);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
}

.hero-glow {
  position: absolute;
  width: 60vmin;
  height: 60vmin;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

.hero-sub {
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  color: var(--rose);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 9rem);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.15em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.6s forwards;
}

.num {
  position: relative;
  background: linear-gradient(135deg, var(--cream), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.num::after {
  content: attr(data-label);
  position: absolute;
  bottom: -1.2em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.12em;
  font-family: var(--font-serif);
  -webkit-text-fill-color: var(--rose);
  letter-spacing: 0.2em;
  opacity: 0;
  transition: opacity 0.3s;
}

.num:hover {
  transform: scale(1.08) translateY(-4px);
}

.num:hover::after {
  opacity: 1;
}

.heart-pulse {
  color: var(--rose-deep);
  cursor: pointer;
  animation: heartBeat 1.2s ease-in-out infinite;
  transition: transform 0.2s, filter 0.2s;
  user-select: none;
}

.heart-pulse:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 20px var(--rose-deep));
}

.heart-pulse.burst {
  animation: heartBurst 0.5s ease-out;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

@keyframes heartBurst {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

.hero-tagline {
  font-size: 1.15rem;
  min-height: 2em;
  color: rgba(255, 245, 248, 0.85);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.9s forwards;
}

.btn-enter {
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  border: 1px solid var(--rose);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.15em;
  transition: all 0.4s;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}

.btn-enter:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: 0 0 30px var(--glow);
  transform: translateY(-3px);
}

.heart-count {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--rose);
  opacity: 0.7;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--rose), var(--cream));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  text-align: center;
  color: var(--rose);
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--rose-deep), var(--rose), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -1.55rem;
  top: 1.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rose-deep);
  box-shadow: 0 0 12px var(--glow);
  transition: transform 0.3s;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
}

.timeline-card {
  background: var(--night-soft);
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  margin-left: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.timeline-item:hover .timeline-card {
  border-color: var(--rose);
  box-shadow: 0 8px 32px rgba(199, 91, 122, 0.15);
  transform: translateX(8px);
}

.timeline-date {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--rose-deep);
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.95rem;
  color: rgba(255, 245, 248, 0.75);
}

/* Love cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.love-card {
  height: 220px;
  perspective: 800px;
  cursor: pointer;
  outline: none;
}

.love-card .card-front,
.love-card .card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.love-card {
  position: relative;
}

.love-card .card-front {
  background: linear-gradient(145deg, var(--night-soft), #2a1a32);
  border: 1px solid rgba(232, 160, 191, 0.25);
}

.love-card .card-back {
  background: linear-gradient(145deg, var(--rose-deep), #8b3a52);
  transform: rotateY(180deg);
  text-align: center;
}

.love-card .card-back p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.love-card.flipped .card-front {
  transform: rotateY(180deg);
}

.love-card.flipped .card-back {
  transform: rotateY(360deg);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.love-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

/* Promise */
.vow-box {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--night-soft);
  border-radius: 20px;
  border: 1px solid rgba(232, 160, 191, 0.2);
  position: relative;
  overflow: hidden;
}

.vow-box blockquote {
  font-size: 1.1rem;
  line-height: 2.2;
  font-style: italic;
  margin-bottom: 2rem;
  color: rgba(255, 245, 248, 0.9);
}

.btn-vow {
  font-family: var(--font-serif);
  padding: 0.75rem 2rem;
  border: 1px dashed var(--rose);
  background: transparent;
  color: var(--rose);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-vow:hover:not(:disabled) {
  background: rgba(232, 160, 191, 0.15);
}

.btn-vow:disabled {
  opacity: 0.4;
  cursor: default;
}

.seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0) rotate(-20deg);
  width: 140px;
  height: 140px;
  border: 3px solid var(--rose-deep);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 10, 20, 0.85);
  animation: sealStamp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  pointer-events: none;
}

.seal span {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-deep);
}

.seal small {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--rose);
}

@keyframes sealStamp {
  to {
    transform: translate(-50%, -50%) scale(1) rotate(-12deg);
  }
}

/* Orbit */
.forever {
  text-align: center;
  padding-bottom: 4rem;
}

.orbit-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 2rem auto 1.5rem;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(232, 160, 191, 0.3);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

.orbit-container:hover .orbit-ring {
  border-color: var(--rose);
}

.planet {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  top: 50%;
  left: 50%;
  margin: -28px 0 0 -28px;
}

.p28 {
  background: linear-gradient(135deg, #c75b7a, #e8a0bf);
  color: var(--cream);
  animation: orbit28 8s linear infinite;
  box-shadow: 0 0 20px var(--glow);
}

.p29 {
  background: linear-gradient(135deg, #f4d03f, #e8c547);
  color: var(--night);
  animation: orbit29 8s linear infinite;
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.4);
}

.orbit-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--rose-deep);
  animation: heartBeat 1.2s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit28 {
  from { transform: rotate(0deg) translateX(110px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(110px) rotate(-360deg); }
}

@keyframes orbit29 {
  from { transform: rotate(180deg) translateX(110px) rotate(-180deg); }
  to { transform: rotate(540deg) translateX(110px) rotate(-540deg); }
}

.forever-text {
  color: var(--rose);
  margin-bottom: 2.5rem;
}

.days-counter {
  background: var(--night-soft);
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  margin: 0 auto 3rem;
  border: 1px solid rgba(232, 160, 191, 0.2);
}

.days-counter label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--rose);
}

.days-counter input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--rose);
  border-radius: 8px;
  background: var(--night);
  color: var(--cream);
  font-family: inherit;
  margin-bottom: 1rem;
}

.days-counter input:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--glow);
}

.days-result {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
}

.footer {
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(232, 160, 191, 0.5);
}

/* Sparkle on click */
.sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-size: 1rem;
  animation: sparklePop 0.8s ease-out forwards;
}

@keyframes sparklePop {
  0% { opacity: 1; transform: scale(0); }
  100% { opacity: 0; transform: scale(2) translateY(-40px); }
}

/* Abstract prism overlay */
.prism {
  position: fixed;
  inset: -30vmax;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(
      from 180deg,
      rgba(232, 160, 191, 0.55),
      rgba(244, 208, 63, 0.18),
      rgba(255, 245, 248, 0.12),
      rgba(199, 91, 122, 0.45),
      rgba(232, 160, 191, 0.55)
    );
  opacity: 0.16;
  filter: blur(42px) saturate(1.2);
  mix-blend-mode: screen;
  animation: prismSpin 14s linear infinite;
}

@keyframes prismSpin {
  to { transform: rotate(360deg); }
}

/* Love HUD */
.hud {
  position: fixed;
  top: 72px;
  right: 18px;
  z-index: 250;
  width: 240px;
  padding: 0.9rem 1rem 0.8rem;
  border-radius: 16px;
  background: rgba(26, 18, 37, 0.55);
  border: 1px solid rgba(232, 160, 191, 0.22);
  backdrop-filter: blur(10px);
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.hud-label {
  color: var(--rose);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.hud-value {
  font-family: var(--font-display);
  color: rgba(255, 245, 248, 0.92);
  font-size: 1rem;
}

.hud-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 245, 248, 0.06);
  overflow: hidden;
  border: 1px solid rgba(232, 160, 191, 0.12);
}

.hud-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(232, 160, 191, 0.9), rgba(244, 208, 63, 0.65));
  box-shadow: 0 0 18px rgba(232, 160, 191, 0.25);
  transition: width 0.25s ease;
}

.hud-state {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: rgba(232, 160, 191, 0.8);
  letter-spacing: 0.12em;
}

body[data-love-level='warm'] .hud-bar-fill {
  filter: saturate(1.25) brightness(1.05);
}

body[data-love-level='hot'] .hud-bar-fill {
  filter: saturate(1.45) brightness(1.2);
}

/* Games */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.games .section-desc {
  margin-bottom: 2.5rem;
}

.game-card {
  background: rgba(26, 18, 37, 0.7);
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: 20px;
  padding: 1.3rem 1.2rem 1.2rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.game-top h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  text-align: left;
}

.game-hint {
  color: rgba(255, 245, 248, 0.78);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.game-controls {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.game-score {
  margin-left: auto;
  color: rgba(255, 245, 248, 0.88);
  font-size: 0.95rem;
}

.btn-game {
  font-family: var(--font-serif);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(232, 160, 191, 0.65);
  background: transparent;
  color: rgba(232, 160, 191, 0.95);
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn-game:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(199, 91, 122, 0.9);
  background: rgba(232, 160, 191, 0.12);
}

.btn-game:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.btn-game-secondary {
  color: rgba(255, 245, 248, 0.75);
  border-style: dashed;
}

.beat-stage {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.beat-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(from 180deg,
    rgba(232, 160, 191, 0.85) 0,
    rgba(232, 160, 191, 0.85) calc(var(--p, 0) * 1turn),
    rgba(255, 245, 248, 0.06) calc(var(--p, 0) * 1turn),
    rgba(255, 245, 248, 0.06) 1turn
  );
  border: 1px solid rgba(232, 160, 191, 0.22);
  box-shadow:
    0 0 28px rgba(232, 160, 191, 0.12),
    inset 0 0 18px rgba(232, 160, 191, 0.12);
  transform: translateZ(0) scale(0.98);
  transition: filter 0.15s ease;
}

.beat-ring::after {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%,
    rgba(232, 160, 191, 0.22),
    rgba(15, 10, 20, 0.9) 70%
  );
  border: 1px solid rgba(255, 245, 248, 0.06);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

/* Fix pseudo positioning on beat-ring */
.beat-ring::after { z-index: 1; }

.beat-label {
  position: absolute;
  bottom: 0.9rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 245, 248, 0.88);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.catch-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(232, 160, 191, 0.22);
  background: linear-gradient(180deg, rgba(26, 18, 37, 0.2), rgba(26, 18, 37, 0.75));
}

#catchCanvas {
  width: 100%;
  height: 240px;
  display: block;
}

.catch-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catch-tip {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(15, 10, 20, 0.55);
  border: 1px solid rgba(232, 160, 191, 0.18);
  color: rgba(255, 245, 248, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.love-web-glow {
  filter: drop-shadow(0 0 20px rgba(232, 160, 191, 0.18));
}

/* Lab */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.lab-card {
  background: rgba(26, 18, 37, 0.7);
  border: 1px solid rgba(232, 160, 191, 0.2);
  border-radius: 20px;
  padding: 1.3rem 1.2rem 1.2rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.lab-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.lab-hint {
  color: rgba(255, 245, 248, 0.78);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.lab-sliders {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.lab-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.lab-label {
  color: rgba(232, 160, 191, 0.95);
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

.lab-value {
  font-family: var(--font-display);
  color: rgba(255, 245, 248, 0.9);
}

.lab-card input[type='range'] {
  width: 100%;
  accent-color: var(--rose-deep);
}

.lab-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.lab-readout {
  margin-left: auto;
  color: rgba(255, 245, 248, 0.88);
  font-size: 0.95rem;
}

/* Bottle */
.bottle-form textarea {
  width: 100%;
  resize: none;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(232, 160, 191, 0.28);
  background: rgba(15, 10, 20, 0.55);
  color: rgba(255, 245, 248, 0.92);
  font-family: var(--font-serif);
  outline: none;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.bottle-form textarea:focus {
  border-color: rgba(232, 160, 191, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 160, 191, 0.18), inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.bottle-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.bottle-meta {
  margin-left: auto;
  color: rgba(255, 245, 248, 0.78);
  font-size: 0.95rem;
}

.bottle-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  max-height: 260px;
  overflow: auto;
  padding-right: 0.2rem;
}

.bottle-item {
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  background: linear-gradient(145deg, rgba(232, 160, 191, 0.08), rgba(26, 18, 37, 0.8));
  border: 1px solid rgba(232, 160, 191, 0.16);
}

.bottle-item .bottle-text {
  color: rgba(255, 245, 248, 0.88);
  font-size: 0.98rem;
  line-height: 1.8;
}

.bottle-item .bottle-time {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(232, 160, 191, 0.7);
}

/* Toast */
.toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  width: min(520px, calc(100% - 24px));
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(15, 10, 20, 0.72);
  border: 1px solid rgba(232, 160, 191, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(255, 245, 248, 0.95);
  margin-bottom: 0.15rem;
}

.toast-body {
  color: rgba(232, 160, 191, 0.88);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .nav { gap: 1rem; font-size: 0.8rem; }
  .hero-title { gap: 0.05em; }
  .timeline { padding-left: 1.5rem; }
  .hud {
    top: auto;
    bottom: 14px;
    right: 12px;
    width: calc(100% - 24px);
    max-width: 420px;
  }
}
