/* Custom Styles & Polaroid Effects for Aiman & Afrina Wedding Guestbook */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Great+Vibes&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --blush-bg: #fcf0f2;
  --blush-accent: #c2417c;
  --burgundy-dark: #6d1e4a;
  --cream-white: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f8ecee;
  color: #331525;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #fcf0f2;
}
::-webkit-scrollbar-thumb {
  background: #e99eb0;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c2417c;
}

/* Polaroid Tape Masking Effect */
.polaroid-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  height: 22px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  border-left: 2px dashed rgba(200, 180, 180, 0.4);
  border-right: 2px dashed rgba(200, 180, 180, 0.4);
  backdrop-filter: blur(2px);
  z-index: 20;
}

/* Floating Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(4deg);
  }
  50% {
    transform: translateY(-10px) rotate(6deg);
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}

/* Boomerang Dynamic Loop Animation */
@keyframes boomerangLoop {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.08) rotate(1.5deg); }
  50% { transform: scale(1.15) rotate(-1.5deg); }
  75% { transform: scale(1.08) rotate(1deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.animate-boomerang-loop {
  animation: boomerangLoop 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

/* Heart Like Bounce Animation */
@keyframes heartBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  60% { transform: scale(0.9); }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.heart-pop {
  animation: heartBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Spinning Disc Music Button */
@keyframes spinDisc {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin-disc {
  animation: spinDisc 8s linear infinite;
}

/* Shutter Flash Effect */
@keyframes shutterFlash {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

.flash-screen {
  animation: shutterFlash 0.3s ease-out forwards;
}

/* Boomerang Loop Effect indicator */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(194, 65, 124, 0.4); }
  50% { box-shadow: 0 0 18px rgba(194, 65, 124, 0.8); }
}

.glow-pulsing {
  animation: pulseGlow 2s infinite;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
