/* خلفية سوداء نقية */
body {
  background: #000000;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* النجوم الحمراء - الطبقة الأولى */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(5px 5px at 20px 30px, rgba(255, 0, 0, 1), transparent),
    radial-gradient(4px 4px at 60px 70px, rgba(255, 51, 51, 1), transparent),
    radial-gradient(4px 4px at 50px 50px, rgba(255, 0, 0, 0.9), transparent),
    radial-gradient(3px 3px at 130px 80px, rgba(255, 51, 51, 0.9), transparent),
    radial-gradient(5px 5px at 90px 10px, rgba(255, 0, 0, 1), transparent),
    radial-gradient(3px 3px at 150px 120px, rgba(255, 51, 51, 0.9), transparent),
    radial-gradient(4px 4px at 180px 60px, rgba(255, 0, 0, 1), transparent);
  background-size: 200px 200px;
  background-position: 0 0, 40px 60px, 130px 270px, 70px 100px, 150px 50px, 200px 180px, 80px 220px;
  animation: stars 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* النجوم الحمراء - الطبقة الثانية */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(4px 4px at 40px 60px, rgba(255, 0, 0, 1), transparent),
    radial-gradient(3px 3px at 110px 90px, rgba(255, 51, 51, 1), transparent),
    radial-gradient(5px 5px at 160px 40px, rgba(255, 0, 0, 0.9), transparent),
    radial-gradient(3px 3px at 30px 150px, rgba(255, 51, 51, 0.9), transparent),
    radial-gradient(4px 4px at 190px 120px, rgba(255, 0, 0, 1), transparent),
    radial-gradient(3px 3px at 100px 180px, rgba(255, 51, 51, 1), transparent);
  background-size: 200px 200px;
  background-position: 0 0, 60px 80px, 120px 160px, 180px 40px, 20px 200px, 140px 100px;
  animation: stars 30s linear infinite reverse;
  z-index: 0;
  pointer-events: none;
}

/* حركة النجوم */
@keyframes stars {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-200px);
  }
}

/* المحتوى فوق النجوم */
#root, #app, .page-wrapper {
  position: relative;
  z-index: 1;
} /* 🎮 تصميم صفحة TEX من لوكستر */

body.page-tex {
  background: radial-gradient(circle at 20% 20%, #000000, #0a0a0a);
  color: #fff;
}

/* ✨ نجوم بالخلفية */
body.page-tex::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://i.ibb.co/zVGQnKJ/stars-bg.png") repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

/* 🔥 العناوين */
.page-tex h1, 
.page-tex h2, 
.page-tex h3 {
  color: #ff1b1b;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 700;
}

/* 🧱 بطاقات المنتجات */
.page-tex .product-card {
  background-color: #111;
  border: 1px solid #ff1b1b33;
  border-radius: 10px;
  transition: 0.3s;
}
.page-tex .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px #ff1b1b44;
}

/* 🔘 زر الشراء */
.page-tex .btn-primary {
  background: linear-gradient(90deg, #ff1b1b, #990000);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.page-tex .btn-primary:hover {
  background: linear-gradient(90deg, #ff3b3b, #bb0000);
  transform: scale(1.05);
}

/* 📱 تحسين للموبايل */
@media (max-width: 768px) {
  .page-tex h1 {
    font-size: 1.6rem;
  }
}