/* 🌸 BASE */

body {
  background-color: #ffe6f0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.3) 0px,
    rgba(255,255,255,0.3) 1px,
    transparent 1px,
    transparent 8px
  );
  color: #4a2c3a;
  font-family: Verdana, sans-serif;
  text-align: center;
  margin: 0;
  padding-bottom: 100px;
}

/* 💗 TÍTULO */

h1 {
  color: #ff69b4;
  font-size: 40px;
  margin-top: 40px;
}

.subtitle {
  font-size: 16px;
  margin-bottom: 30px;
}

/* 🪟 VENTANAS */

.window {
  background-color: #ffe6f2;
  border: 2px solid #ff9acb;
  border-radius: 12px;
  width: 80%;
  margin: 30px auto;
  box-shadow: 5px 5px 0 #ffb6d9;
}

.title-bar {
  background-color: #ffb6d9;
  padding: 8px;
  font-weight: bold;
  font-family: monospace;
  border-radius: 10px 10px 0 0;
}

.window-content {
  padding: 20px;
}

/* 🧸 INTERESES */

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.interest {
  background-color: #ffd6e8;
  border: 2px solid #ff9acb;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 3px 3px 0 #ffb6d9;
  font-family: monospace;
}

/* 🐱 GATITO */

.helper-cat {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 80px;
}

.pixel-heart {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ff2f92;
  transform: rotate(45deg);
  animation: heartFade 0.9s ease-out forwards;
  pointer-events: none;
  z-index: 9999;
}

.pixel-heart::before,
.pixel-heart::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff2f92;
  border-radius: 50%;
}

.pixel-heart::before {
  top: -5px;
  left: 0;
}

.pixel-heart::after {
  left: -5px;
  top: 0;
}

@keyframes heartFade {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(45deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.5) rotate(45deg);
  }
}

.sparkle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    100% 50%,
    61% 65%,
    50% 100%,
    39% 65%,
    0% 50%,
    39% 35%
  );
  box-shadow:
    0 0 6px #ffffff,
    0 0 12px #ffffff;
  animation: sparkleFade 0.8s ease-out forwards;
  pointer-events: none;
  z-index: 9998;
}

@keyframes sparkleFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}