* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #ffe5ec 0, #ffd6e8 20%, #fef6ff 60%, #f7f9ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #2b2b2b;
  position: relative;
  overflow-x: hidden;
}

.background-hearts {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.heart {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0.25;
  animation: floatUp 18s linear infinite;
}

.heart svg {
  width: 100%;
  height: 100%;
}

@keyframes floatUp {
  0% { transform: translateY(0) translateX(0) scale(0.9); opacity: 0; }
  10% { opacity: 0.35; }
  100% { transform: translateY(-120vh) translateX(30px) scale(1.2); opacity: 0; }
}

.card {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 32px;
  padding: 32px 28px 36px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 189, 214, 0.6);
}

@media (min-width: 768px) {
  .card {
    padding: 42px 48px 48px;
  }
}

.top-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ff6b9c;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-label span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ff6b9c;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  line-height: 1.2;
  color: #222;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
}

.subtitle strong {
  font-weight: 700;
  color: #ff3f7b;
}

.divider {
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, #ff6b9c, #ffb3c6);
  border-radius: 999px;
  margin: 8px 0 24px;
}

.intro-note {
  font-size: 0.9rem;
  color: #555;
  background: #fff3f7;
  border-radius: 18px;
  padding: 12px 16px;
  margin-bottom: 28px;
  border: 1px dashed rgba(255, 143, 170, 0.7);
  transform: rotate(-0.5deg);
  position: relative;
}

.intro-note::before {
  content: "💌";
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 1.2rem;
  transform: rotate(15deg);
}

.intro-note em {
  font-style: normal;
  font-weight: 600;
  color: #ff477e;
}

.love-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.love-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 18px;
  align-items: flex-start;
  padding: 18px 20px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff9fb, #ffffff);
  border: 2px solid rgba(255, 180, 210, 0.6);
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 115, 178, 0.15);
}

/* Asymmetrisches Design - abwechselnde Rotationen und Positionen */
.love-item:nth-child(odd) {
  transform: rotate(-0.8deg);
  margin-left: 0;
  margin-right: 8px;
}

.love-item:nth-child(even) {
  transform: rotate(0.6deg);
  margin-left: 12px;
  margin-right: 0;
}

.love-item:nth-child(3n) {
  transform: rotate(0.4deg);
  margin-left: -4px;
  margin-right: 4px;
}

.love-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 182, 193, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.love-item:hover {
  transform: translateY(-4px) rotate(0deg) scale(1.02);
  box-shadow: 0 12px 32px rgba(255, 115, 178, 0.25);
  border-color: rgba(255, 132, 180, 1);
  z-index: 10;
}

.love-item:hover::before {
  opacity: 1;
}

/* Größere, auffälligere Nummern */
.number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b9c, #ff8ab8);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 
    0 6px 16px rgba(255, 115, 178, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.8),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

/* Unterschiedliche Nummern-Styles für Variation */
.love-item:nth-child(odd) .number {
  background: linear-gradient(135deg, #ff8ab8, #ffb3c6);
  transform: rotate(-5deg);
}

.love-item:nth-child(even) .number {
  background: linear-gradient(135deg, #ff6b9c, #ff7aa2);
  transform: rotate(5deg);
}

.love-item:nth-child(3n) .number {
  background: linear-gradient(135deg, #ff9fbf, #ffc6d9);
  transform: rotate(-3deg);
}

.love-item:hover .number {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 
    0 8px 20px rgba(255, 115, 178, 0.5),
    0 0 0 4px rgba(255, 255, 255, 0.9),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.love-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.love-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2b2b2b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.love-title span.heart-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b9c;
  box-shadow: 0 2px 4px rgba(255, 107, 156, 0.4);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.love-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  padding-left: 2px;
}

/* Dekorative Elemente für einzelne Items */
.love-item:nth-child(1)::after {
  content: "✨";
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 1.4rem;
  opacity: 0.6;
  transform: rotate(15deg);
}

.love-item:nth-child(5)::after {
  content: "💫";
  position: absolute;
  top: -6px;
  right: 16px;
  font-size: 1.3rem;
  opacity: 0.5;
  transform: rotate(-12deg);
}

.love-item:nth-child(10)::after {
  content: "💖";
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 1.5rem;
  opacity: 0.6;
  transform: rotate(8deg);
}

.footer-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 180, 210, 0.5);
}

.footer-note p {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.5;
}

.signature {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: #222;
  transform: rotate(-0.5deg);
}

.signature span {
  color: #ff477e;
  position: relative;
}

.signature span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b9c, transparent);
  opacity: 0.6;
}

.tiny-heart {
  display: inline-block;
  font-size: 1rem;
  margin: 0 3px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
}

@media (max-width: 768px) {
  .love-item:nth-child(odd),
  .love-item:nth-child(even),
  .love-item:nth-child(3n) {
    transform: rotate(0deg);
    margin-left: 0;
    margin-right: 0;
  }

  .love-item:hover {
    transform: translateY(-4px) scale(1.02);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }

  .card {
    border-radius: 24px;
    padding: 24px 20px 28px;
  }

  .love-item {
    padding: 16px 16px 16px 14px;
    gap: 12px 14px;
  }

  .number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .love-title {
    font-size: 1rem;
  }

  .love-text {
    font-size: 0.9rem;
  }
}

