/* Add custom CSS styles below */ 
below */ 







‎/* الزر الأساسي (مثل تسجيل الدخول، العملة، إلخ) */
button,
.btn,
a.button,
a.btn {
  font-size: 14px !important; /* حجم الخط أصغر */
  padding: 8px 16px !important; /* مساحة داخل الزر متناسقة */
  border-radius: 6px !important;
  box-shadow: 0 0 10px rgba(255, 221, 0, 0.5) !important; /* توهج قوي */
  transition: all 0.7s ease-in-out !important;
}

@keyframes moveStars {
  0% {
    background-position: 0 0, 25px 25px;
  }
  100% {
    background-position: -50px -50px, -25px -25px;
  }
}




/* شاشة الترحيب */
#welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 30, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 1s ease;
}

/* النجوم */
#welcome-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(#8a2be2 1px, transparent 1px),
              radial-gradient(#8a2be2 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  animation: moveStars 50s linear infinite;
  opacity: 0.08;
  z-index: 0;
}

/* اسم المتجر */
#store-name {
  font-size: 2.8rem;
  font-family: 'Changa', sans-serif;
  color: #e0e0ff;
  text-align: center;
  font-weight: 600;
  position: absolute;
  top: 40px;
  width: 100%;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4), 0 0 6px rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* النص الترحيبي */
#welcome-screen h1 {
  font-size: 1.8rem;
  color: #e0e0ff;
  text-align: center;
  opacity: 0;
  font-weight: bold;
  z-index: 1;
  animation: textFadeIn 2s ease forwards 1s;
  text-shadow: 0 0 15px rgba(140, 140, 255, 0.4);
  line-height: 2.4rem; /* تباعد بين السطرين */
}

/* خط أبيض متوهج في أعلى الصفحة مع نبض */
#top-glow-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
  animation: glowPulse 2s ease-in-out infinite;
  z-index: 9999;
  pointer-events: none;
}

/* تأثير النبض */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 16px 4px rgba(255, 255, 255, 0.9);
  }
}


/* توهج عند الضغط */
.click-flash::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(200, 200, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: flashClick 0.4s ease-out forwards;
  pointer-events: none;
  z-index: 10000;
}

@keyframes flashClick {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(15);
  }
}

/* تغبيش خفيف وانتقال ناعم */
body.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* تأثير ثلاثي الأبعاد على بطاقات المنتجات */
.product-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}



/* حاوية الشهب */
.shooting-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* شكل الشهاب */
.shooting-star {
  position: absolute;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent);
  opacity: 0.8;
  transform: rotate(45deg);
  animation: shoot 1.2s ease-out forwards;
}

@keyframes shoot {
  0% {
    transform: translate(-150px, -150px) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(100vw, 100vh) rotate(45deg);
    opacity: 0;
  }
}


#topBar {
  position: relative;
  width: 100%;
  background-color: #1a1a1a; /* رمادي غامق */
  display: flex;
  justify-content: flex-start; 
  align-items: center;
  padding: 8px 25px;
  font-family: 'Arial', sans-serif; 
  font-size: 16px;
  border-bottom: 1px solid #555555;
  box-sizing: border-box;
  overflow: hidden; 
}

.top-bar-marquee {
  display: inline-block;
  white-space: nowrap;
  animation: slideBack 20s linear infinite; 
  color: #ffffff; 
  font-weight: 300;
}

/* توهج الرموز 🎮 أثناء الحركة */
.top-bar-marquee span.emoji {
  filter: drop-shadow(0 0 4px #4a90e2); /* توهج أزرق */
  transition: filter 1.6s ease;
}

.top-bar-marquee span.emoji:hover {
  filter: drop-shadow(0 0 8px #4a90e2); /* زيادة التوهج عند المرور بالماوس */
}

@keyframes slideBack {
  0% {
    transform: translateX(-100%); 
  }
  50% {
    transform: translateX(100%); 
  }
  51% {
    transform: translateX(-100%); 
  }
  100% {
    transform: translateX(100%);
  }
}