/* css/base.css — palette, fonts, shared layout, floating hearts */
:root {
  --blush: #f8d7e3;
  --peach: #ffe3d0;
  --cream: #fff8f3;
  --rose: #8b2f4a;
  --rose-soft: rgba(139, 47, 74, 0.12);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--rose);
  background: linear-gradient(160deg, var(--blush) 0%, var(--peach) 55%, var(--cream) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* Floating hearts: pure CSS, no JS */
.hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hearts span {
  position: absolute;
  bottom: -10vh;
  color: var(--rose);
  opacity: 0;
  font-size: 1.4rem;
  animation: float-up 14s linear infinite;
}

.hearts span:nth-child(1)  { left: 6%;  animation-delay: 0s;   font-size: 1.1rem; }
.hearts span:nth-child(2)  { left: 16%; animation-delay: 2s;   font-size: 1.8rem; }
.hearts span:nth-child(3)  { left: 27%; animation-delay: 5s;   font-size: 1.3rem; }
.hearts span:nth-child(4)  { left: 38%; animation-delay: 1s;   font-size: 2rem; }
.hearts span:nth-child(5)  { left: 49%; animation-delay: 7s;   font-size: 1.2rem; }
.hearts span:nth-child(6)  { left: 58%; animation-delay: 3s;   font-size: 1.6rem; }
.hearts span:nth-child(7)  { left: 67%; animation-delay: 9s;   font-size: 1.1rem; }
.hearts span:nth-child(8)  { left: 76%; animation-delay: 4s;   font-size: 1.9rem; }
.hearts span:nth-child(9)  { left: 85%; animation-delay: 11s;  font-size: 1.4rem; }
.hearts span:nth-child(10) { left: 93%; animation-delay: 6s;   font-size: 1.2rem; }

@keyframes float-up {
  0%   { transform: translateY(0) rotate(0deg);        opacity: 0; }
  10%  { opacity: 0.35; }
  90%  { opacity: 0.35; }
  100% { transform: translateY(-115vh) rotate(25deg);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hearts { display: none; }
}

main {
  position: relative;
  z-index: 1;
}
