#popular {
  padding: 80px 10%;
  background-color: #000;
}

.main-text {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
  color: var(--hover-color);
}

.main-text span {
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
}

.main-text h2 {
  font-weight: 700;
  font-size: 50px;
  color: var(--text-color);
}

.movies-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swiper-slide.box {
  width: 200px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #111;
}

.swiper-slide.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(15, 176, 182, 0.6);
}

.swiper-slide.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
  border-radius: 10px;
}

.swiper-slide.box:hover img {
  transform: scale(1.05);
}

.movie-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  opacity: 1; /* ← Her zaman görünür */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: none;
}

@media (max-width: 768px) {
  .swiper-slide.box {
    width: 140px;
    height: 210px;
  }

  .movie-title {
    font-size: 13px;
    padding: 5px 0;
  }
}

@media (max-width: 480px) {
  .swiper-slide.box {
    width: 120px;
    height: 180px;
  }

  .movie-title {
    font-size: 12px;
    padding: 4px 0;
  }
}
