* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  background-color: #FFC5D3; /* pink background */
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: serif;
}

/* container */
.home {
  position: relative;
  width: 360px;
  height: 360px;
}

/* hearts */
.heart {
  position: absolute;
  width: 120px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.heart img {
  width: 100%;
  display: block;
}

/* positioning */
/* positioning — ALL hearts point inward */

.top {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(360deg);
}

.bottom {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(180deg);
}

.left {
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(270deg);
}

.right {
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-270deg);
}


/* center charm */
.center-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  opacity: 0.6;
}

/* hover labels */
.label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 240, 245, 0.9);
  color: #ff3c82;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.heart:hover .label {
  opacity: 1;
}


