/* Base */
html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background: radial-gradient(circle at top left, #ffe6f0, #f8fbff);
  color: #2b2b2b;
  overflow-x: hidden;
}

/* Layout */
.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  gap: 14px;
  text-align: center;
}

/* Logo */
.logo {
  width: min(520px, 82vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(217, 76, 106, 0.25));
}

/* Sous-titre */
.subtitle {
  margin-top: -6px;
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #b15b73;
}

/* Carte */
.card {
  width: min(640px, 90vw);
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow:
    0 18px 45px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(217, 76, 106, 0.18);
  backdrop-filter: blur(10px);
  position: relative;
}

/* Bordure intérieure */
.card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 16px;
  border: 1px dashed rgba(217, 76, 106, 0.35);
  pointer-events: none;
}

/* Texte */
.card p {
  margin: 10px 0;
  font-size: 17px;
  line-height: 1.55;
}

/* Cœurs */
.hearts {
  font-size: 18px;
  color: #d94c6a;
  letter-spacing: 6px;
  margin: 14px 0;
}

/* Footer */
.footer {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #c28a9a;
  margin-top: 6px;
}

/* Pluie de cœurs */
.rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.rain span {
  position: absolute;
  top: -10vh;
  opacity: 0;
  color: #d94c6a;
  animation: fall linear infinite;
  filter: drop-shadow(0 6px 10px rgba(217, 76, 106, 0.15));
}

/* Variations */
.rain span:nth-child(1)  { left: 5%;  font-size: 14px; animation-duration: 18s; }
.rain span:nth-child(2)  { left: 15%; font-size: 16px; animation-duration: 22s; }
.rain span:nth-child(3)  { left: 25%; font-size: 12px; animation-duration: 20s; }
.rain span:nth-child(4)  { left: 35%; font-size: 15px; animation-duration: 24s; }
.rain span:nth-child(5)  { left: 45%; font-size: 18px; animation-duration: 26s; }
.rain span:nth-child(6)  { left: 55%; font-size: 13px; animation-duration: 21s; }
.rain span:nth-child(7)  { left: 65%; font-size: 16px; animation-duration: 25s; }
.rain span:nth-child(8)  { left: 75%; font-size: 14px; animation-duration: 23s; }
.rain span:nth-child(9)  { left: 85%; font-size: 17px; animation-duration: 27s; }
.rain span:nth-child(10) { left: 95%; font-size: 15px; animation-duration: 29s; }

@keyframes fall {
  0%   { transform: translateY(-10vh); opacity: 0; }
  10%  { opacity: 0.5; }
  100% { transform: translateY(120vh); opacity: 0; }
}

/* Contenu au-dessus */
.wrap, .card, .logo, .subtitle {
  position: relative;
  z-index: 1;
}