/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
#rateel-loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  overflow: hidden;
}

/* الصور الأساسية */
#rateel-loader img {
  position: absolute;
  transition: all 1s ease-in-out;
  opacity: 0;
}

/* العلبة - تظهر من الأسفل + حركة خفيفة */
.rateel-box {
  transform: translateY(60px) scale(0.7);
  animation: box-appear 1s ease-out forwards 0.2s, soft-bounce 2s ease-in-out infinite;
  z-index: 2;
}

/* الكرز الأول (يمين) */
.cherry1 {
  transform: translate(100px, -100px) scale(0);
  animation: cherry1-drop 1.2s ease-out forwards 0.5s;
  z-index: 3;
}

/* الكرز الثاني (يسار) */
.cherry2 {
  transform: translate(-100px, -100px) scale(0);
  animation: cherry2-drop 1.2s ease-out forwards 0.5s;
  z-index: 3;
}

/* حركات الظهور */
@keyframes box-appear {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes cherry1-drop {
  to {
    transform: translate(25px, -70px) scale(1);
    opacity: 1;
  }
}

@keyframes cherry2-drop {
  to {
    transform: translate(-25px, -70px) scale(1);
    opacity: 1;
  }
}

/* حركة اهتزاز ناعم للعلبة */
@keyframes soft-bounce {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-15px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(-10px); }
}


/* وميض بسيط فوق الخلفية */
#rateel-loader::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.2) 0%, transparent 50%);
  animation: sparkle 4s linear infinite;
  pointer-events: none;
  z-index: 5;
}


/* حركة الوميض */
@keyframes sparkle {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
.text-red-500 {color:#c40e3d}