/* Custom Styles and Micro-Animations for PremLink */

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-up {
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Toast animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-item {
  animation: slideDown 0.3s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Smooth Card Hover */
.profile-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -10px rgba(244, 63, 94, 0.15);
}

/* Premium Profile View Animations & Halo Glow */
@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.animate-spin-slow {
  animation: spinSlow 8s linear infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-float-gentle {
  animation: floatGentle 3s ease-in-out infinite;
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

/* Custom Animated Virtual Gift Cards */
@keyframes giftWiggleFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-6px) rotate(-5deg) scale(1.08);
  }
  50% {
    transform: translateY(-10px) rotate(0deg) scale(1.15);
  }
  75% {
    transform: translateY(-4px) rotate(5deg) scale(1.08);
  }
}

@keyframes giftShimmerBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-gift-float {
  animation: giftWiggleFloat 3.2s ease-in-out infinite;
  display: inline-block;
  filter: drop-shadow(0 4px 6px rgba(244, 63, 94, 0.25));
}

.gift-card-animated {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.95), rgba(253, 242, 248, 0.85), rgba(245, 243, 255, 0.95));
  background-size: 200% 200%;
  animation: giftShimmerBg 6s ease infinite;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(251, 113, 133, 0.3);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gift-card-animated:hover {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.2), 0 0 20px rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.6);
}

/* Full Screen Real-Time Gift Overlay Particle Keyframes */
@keyframes floatParticleUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0.5) rotate(0deg);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1.4) rotate(360deg);
  }
}

.gift-particle {
  position: absolute;
  pointer-events: none;
  bottom: 0;
  animation: floatParticleUp 4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 3D Virtual Gift Overlay Animations */
@keyframes giftPopIn3D {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(100px) rotate(-15deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) translateY(-15px) rotate(5deg);
  }
  75% {
    transform: scale(0.95) translateY(5px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0deg);
  }
}

@keyframes auraRotateSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.25); }
  100% { transform: rotate(360deg) scale(1); }
}

.animate-gift-pop-3d {
  animation: giftPopIn3D 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-aura-rotate {
  animation: auraRotateSpin 10s linear infinite;
}

/* ==========================================================================
   HERO BANNER VIBRANT GRADIENT & HIGH CONTRAST TEXT FALLBACKS
   ========================================================================== */
.hero-gradient-card {
  background: linear-gradient(135deg, #e11d48 0%, #db2777 50%, #be123c 100%) !important;
  color: #ffffff !important;
}

.hero-gradient-card h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-gradient-card p,
.hero-gradient-card .text-rose-100 {
  color: #ffe4e6 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-stats-card {
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-stats-card span {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-badge-pill {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fef08a !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

/* Global Rose Color Utility Fallbacks */
.bg-rose-500 { background-color: #f43f5e !important; }
.bg-rose-600 { background-color: #e11d48 !important; }
.bg-rose-700 { background-color: #be123c !important; }
.bg-rose-800 { background-color: #9f1239 !important; }
.bg-rose-50 { background-color: #fff1f2 !important; }
.bg-rose-100 { background-color: #ffe4e6 !important; }

.text-rose-400 { color: #fb7185 !important; }
.text-rose-500 { color: #f43f5e !important; }
.text-rose-600 { color: #e11d48 !important; }
.text-rose-700 { color: #be123c !important; }
.text-rose-800 { color: #9f1239 !important; }

.border-rose-400 { border-color: #fb7185 !important; }
.border-rose-500 { border-color: #f43f5e !important; }
.border-rose-600 { border-color: #e11d48 !important; }




