/* ================= CUSTOM STYLES FOR SABRINA'S WEBSITE ================= */

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #07050a;
}
::-webkit-scrollbar-thumb {
  background: #e11d59;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f43f6e;
}

/* Glassmorphism utility */
.glass-panel {
  background: rgba(22, 18, 30, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Polaroid Card effect */
.polaroid-card {
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polaroid-card:hover {
  box-shadow: 0 25px 50px -12px rgba(244, 63, 110, 0.35);
}

/* Envelope 3D fold simulation */
#closed-envelope {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

#closed-envelope:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Floating animation variants */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.soft-float {
  animation: softFloat 4s ease-in-out infinite;
}

/* Interactive Floating Hearts (Spawned by clicks) */
.floating-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  user-select: none;
  animation: floatUpAndFade 1.6s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes floatUpAndFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(-50%, -100px) scale(1.2) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -200px) scale(0.9) rotate(-15deg);
  }
}

/* Vinyl rotation animation */
.spinning {
  animation: spin 3.5s linear infinite;
}

/* Subtle image glowing hover */
img {
  user-select: none;
  -webkit-user-drag: none;
}
