

.movie-details-page .background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.movie-details-page .background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.4);
  transform: scale(1.1);
}

.movie-details-page .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.9)
  );
  z-index: -1;
}

.movie-details-page .movie-container {
  /* THAY ĐỔI: Chuyển font và color từ body cũ vào đây */
  font-family: "Segoe UI", sans-serif;
  color: #fff;
  
  display: flex;
  gap: 50px;
  max-width: 1500px;
  margin: 100px auto;
  padding: 0 40px;
  align-items: flex-start;
  animation: fadeIn 1s ease-out;
}

.movie-details-page .poster img {
  width: 400px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.movie-details-page .poster img:hover {
  transform: scale(1.03);
}

.movie-details-page .movie-info {
  flex: 1;
  max-width: 1800px;
}

.movie-details-page .age-tag {
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 15px;
}

.movie-details-page .movie-title {
  font-size: 45px;
  margin: 5px 0;
  font-weight: 700;
  color: #fff;
}

.movie-details-page .movie-meta {
  color: #bbb;
  font-size: 17px;
  margin-bottom: 12px;
}

.movie-details-page .rating {
  font-size: 17px;
  margin-bottom: 18px;
}

.movie-details-page .tagline {
  font-style: italic;
  color: #ffebee;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 18px;
}

.movie-details-page .movie-desc h3 {
  margin-bottom: 5px;
  font-size: 30px;
  color: #ffca28;
}

.movie-details-page .movie-desc p {
  color: #ddd;
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}

.movie-details-page .movie-extra p {
  margin: 10px 0;
  color: #ccc;
  font-size: 18px;
}

.movie-details-page .actions {
  margin-top: 30px;
}

/* THAY ĐỔI: 
  Selector 'button' chung chung đã được đổi thành '.actions .trailer-btn'
  để nó không ảnh hưởng đến các nút ở header.
  (Lưu ý: nút .review-btn và .date đã có class riêng nên không cần sửa)
*/
.movie-details-page .actions .trailer-btn {
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-right: 10px;
  transition: 0.25s;
  font-weight: 500; /* Dòng này giờ đã an toàn */
  background-color: #e91e63;
  color: white;
}

.movie-details-page .actions .trailer-btn:hover {
  background-color: #c2185b;
}

/* Style cho nút review (nếu có) */
.movie-details-page .review-btn {
  background-color: #ffeb3b;
  color: #000;
  /* Thêm các thuộc tính chung từ 'button' cũ vào đây nếu cần */
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-right: 10px;
  transition: 0.25s;
  font-weight: 500;
}

.movie-details-page .review-btn:hover {
  background-color: #fdd835;
}

/* Popup trailer */
.movie-details-page .trailer-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.movie-details-page .trailer-content {
  position: relative;
  background: #000;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.movie-details-page .trailer-content iframe {
  border-radius: 10px;
}

.movie-details-page .close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.movie-details-page .close-btn:hover {
  color: #ff5252;
}

/* Lịch chiếu */
.movie-details-page .schedule {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  color: #fff;
}

.movie-details-page .schedule h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.movie-details-page .date-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.movie-details-page .date {
  background: #f1f1f1;
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  transition: all 0.2s ease;
  width: 100px;
  /* Nút này không cần font-weight: 500 */
  font-weight: normal; 
}

.movie-details-page .date.active {
  background: #e91e63;
  color: #fff;
}

.movie-details-page .date:hover {
  background: #e91e63;
  color: #fff;
}

.movie-details-page .showtime h4 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.movie-details-page .time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.movie-details-page .time-slots button {
  background: transparent;
  border: 2px solid #42a5f5;
  color: #42a5f5;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  /* Bỏ in đậm cho các nút giờ */
  font-weight: normal; 
}

.movie-details-page .time-slots button:hover {
  background: #42a5f5;
  color: #fff;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
