/* Font families */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@400;700&display=swap');

.movie-wrapper {
  padding: 20px 20px;
  background: #000;
}

.movie-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 16px;
  align-items: center;
}

.movie-left {
  flex: 0 0 310px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.poster-box img {
  width: 100%;
  height: auto;
}

.ticket-box {
  padding: 10px;
  text-align: center;
}

.ticket-box h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 5px;
}

.ticket-box p {
  font-size: 16px;
  margin: 5px 0;
}

.btn-ticket {
  font-family: 'Poppins', sans-serif;
  margin-top: 5px;
  display: inline-block;
  padding: 10px 18px;
  width: 100%;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
  border: 2px solid transparent;
}

.btn-ticket:hover {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

.movie-right {
  flex: 1;
  color: #fff;
}

.movie-right h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #fff;
}

.short-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px!important;
}

.movie-credits p {
  font-size: 14px;
  margin-bottom: 2px;
}

.btn-watch {
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  width: 100%;
  text-align: center;
  margin: 10px 0;
  padding: 10px 20px;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn-watch:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
}

.trailer {
  margin-top: 5px;
}

.ratings {
  margin-top: 10px;
  display: flex;
  gap: 30px;
}

.rating-item {
  text-align: center;
}

.rating-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-icon img {
  width: 30px;
  height: auto;
}

.rating-text {
  text-align: left;
}

.rating-text .score {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2rem;
}

.rating-text .label {
  font-size: 12px;
  color: #ccc;
  line-height: 1rem;
}

.rating-text .link {
  font-size: 12px;
  line-height: 1rem;
  display: block;
  color: #4ea4ff;
  text-decoration: none!important;
}

@media (max-width: 768px) {
  .movie-container {
    flex-direction: column;
  }

  .movie-left, .movie-right {
    width: 100%;
  }

  .poster-box {
    width: 100%;
  }

  .poster-box img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
  }

  .movie-right {
    text-align: center;
  }

  .movie-right h2,
  .movie-right .short-desc,
  .movie-credits p {
    text-align: center;
  }
  
  .ratings {
    justify-content: center;
  }
}
