* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #d470a4;
  color: white;
  font-family: Arial, sans-serif;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  background: #D6678D;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-name {
  font-size: 18px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 22px;
}

/* navigation buttons */
.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav a:hover {
  background-color: #ffd1d9;
  color: #333;
}

.nav a:active {
  background-color: #ffb6c1;
  color: #333;
}

.movie-page {
  padding-bottom: 60px;
}

.movie-banner {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.movie-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.movie-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(251, 118, 184, 0.25),
    rgba(83, 83, 83, 0.45)
  );
}

.movie-page-title {
  max-width: 1100px;
  margin: 30px auto;
  padding: 18px 20px;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  background: rgba(238, 166, 225, 0.72);
  border-radius: 14px;
}

.movie-info {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 16px;
  display: flex;
  gap: 35px;

  align-items: center; 
}

.trailer {
  flex: 0 0 640px;
  max-width: 640px;
}

.trailer iframe,
.trailer video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;

  border: none;
  border-radius: 12px;
  background: black;
  display: block;
}

.description {
  flex: 1;
  min-width: 0; 
}

.description h2 {
  font-size: 22px;
  margin-top: 0;      
  margin-bottom: 18px;
}

.description p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

/*RESPONSIVE*/
@media (max-width: 850px) {
  .movie-banner {
    height: 220px;
  }

  .movie-page-title {
    font-size: 26px;
    margin: 18px 14px;
    padding: 14px 14px;
  }

  .movie-info {
    flex-direction: column;
    gap: 18px;
    padding: 18px;
    margin: 0 14px;
  }

  .trailer {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .trailer iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    border-radius: 12px;
  }

  .description {
    width: 100%;
  }

  .description h2 {
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: 20px;
  }

  .description p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 12px;
  }
}
