/* 🎨 خلفية أحمر الأهلي */
.alahly-slider-container {
  position: relative;
  background-color: #cc0000;
  overflow: hidden;
  padding: 50px 0;
  perspective: 1000px; /* لتفعيل تأثير 3D */
}

/* السليدر */
.alahly-slider {
  width: 90%;
  margin: auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* الشرائح */
.swiper-slide {
  text-align: center;
  transition: transform 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
  transform: scale(1) rotateY(0deg);
  opacity: 0.6;
  z-index: 1;
  padding: 0 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  background: none;
  border: none;
  box-shadow: none;
  cursor: pointer; /* يظهر اليد عند المرور على الصورة */
}

/* اللاعب النشط في المنتصف */
.swiper-slide-active {
  transform: scale(1.35) rotateY(0deg) translateZ(20px);
  opacity: 1;
  z-index: 3;
  padding: 0 5px;
  box-shadow: none;
}

/* الصور مباشرة بدون كارت */
.player-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.player-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  object-position: center;
  border: none !important;
  outline: none !important;
  transition: transform 0.5s ease;
  margin: 0;
  padding: 0;
}

/* النصوص بعد تقليل الهوامش */
.player-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 4px 0 4px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease; /* لتغيير اللون عند Hover */
}

.player-card p {
  color: #fff;
  font-size: 0.95rem;
  margin: 2px 0 4px;
}

/* Hover effect */
.swiper-slide:hover h3 {
  color: #ffd700; /* اللون عند المرور عليه */
}

.swiper-slide:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* الأسهم */
.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  z-index: 3;
  transition: all 0.3s ease;
  font-size: 22px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #e30613 !important;
  transform: scale(1.15);
}

/* نقاط التصفح */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.3;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  background: #e30613;
  opacity: 1;
  transform: scale(1.3);
}
