/* ===== Floating καρδιά (κάτω δεξιά, σε όλες τις σελίδες) ===== */

.love-badge {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 0 0 3px #FDDD00, 0 10px 24px -6px rgba(28, 28, 26, .35);
  transition: transform .18s cubic-bezier(.3, 1.6, .5, 1), box-shadow .18s ease;
  animation: lb-float 4s ease-in-out infinite;
}
@keyframes lb-float {
  50% { transform: translateY(-4px); }
}
.love-badge:hover  { transform: scale(1.08); animation: none; }
.love-badge:active { transform: scale(.92); animation: none; }
.love-badge:focus-visible { outline: 3px solid #1c1c1a; outline-offset: 4px; }

.love-badge img {
  width: 34px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 5px rgba(245, 196, 0, .5));
  pointer-events: none;
}
.love-badge img.lb-pop { animation: lb-pop .45s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes lb-pop {
  0%   { transform: scale(.85); }
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* κύκλος */
.lb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #F5C400;
  pointer-events: none;
  opacity: 0;
}

/* μικρές καρδούλες */
.lb-bit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 14px;
  pointer-events: none;
}

/* μήνυμα */
.lb-msg {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: max-content;
  max-width: min(240px, calc(100vw - 40px));
  background: #1c1c1a;
  color: #FDDD00;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  padding: 9px 16px;
  border-radius: 18px;
  pointer-events: none;
  animation: lb-msg 1.8s ease-out forwards;
}
@keyframes lb-msg {
  0%   { opacity: 0; transform: translateY(10px); }
  12%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 0; transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .love-badge,
  .love-badge img.lb-pop,
  .lb-msg { animation: none !important; }
  .lb-msg { opacity: 1; }
}
