/* ====== ستايل الصفحة ====== */
body {
  font-family: "Cairo", sans-serif;
  background-color: #080808;
  color: white;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* ====== بانر Ninjago ====== */
.ninjago-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-bottom: 4px solid #ff0000;
}

/* ====== مواسم نينجا ====== */
.seasons-container {
  margin: 40px 0;
  padding: 20px;
}

/* شبكة المواسم للكمبيوتر */
.seasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.season-card {
  background: #111;
  border: 3px solid #ff6600;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 250px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}

.season-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.season-card h3 {
  margin: 10px 0;
}

/* 🎬 زر مشاهدة الموسم 🎬 */
.watch-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 10px 15px;
  background: linear-gradient(90deg, #ff4747, #ff9900);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.3s;
  font-size: 16px;
}

.watch-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(90deg, #ff6600, #ffaa00);
  box-shadow: 0 0 10px #ff9900;
}

.season-card:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px #ff9900;
}

/* ====== العنوان المتحرك ====== */
#site-title {
  font-size: 70px;
  animation: moveTitle 3s infinite alternate ease-in-out;
  color: #fff;
}

.subtitle {
  font-size: 22px;
  color: #fff;
  font-weight: bold;
  margin-top: 8px;
}

@keyframes moveTitle {
  0% { transform: translateX(0); color: #fff; }
  50% { transform: translateX(20px); color: #ffcc00; }
  100% { transform: translateX(-20px); color: #ff3300; }
}

/* 📱 ===== تحسين العرض على الموبايل ===== */
@media (max-width: 600px) {

  /* تصغير البانر */
  .ninjago-banner img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  /* حجم الكروت */
  .season-card {
    width: 100%;
    max-width: 180px;
    height: auto;
  }

  .season-card img {
    height: 120px;
  }

  /* الخطوط */
  #site-title {
    font-size: 35px;
  }

  .subtitle {
    font-size: 16px;
  }

  /* 🔥 كارتين في الصف */
  .seasons {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
