* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #d2c6da;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.app {
  width: 100%;
  max-width: 900px;
  background-color: #fff;
  border-radius: 40px;
  margin: 40px 20px;
  padding: 40px;
}


.volver-container {
  margin-bottom: 20px;
  text-align: left;
}

.boton-volver {
  display: inline-block;
  background-color: #b49ed1;
  color: #000000;
  font-weight: bold;
  border-radius: 30px;
  padding: 10px 24px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.boton-volver:hover {
  background-color: #cbb7e6;
  color: #000;
}


.pelicula-detalle {
  display: flex;
  flex-direction: row-reverse; 
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.info {
  flex: 1 1 55%;
}

.info h1 {
  font-size: 2.2em;
  margin-bottom: 8px;
}

.info .anio {
  font-size: 1em;
  margin-bottom: 20px;
}

.descripcion {
  font-size: 0.95em;
  line-height: 1.5em;
  margin-bottom: 25px;
}

h2 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.cast {
  list-style: none;
}

.cast li {
  font-size: 0.95em;
  margin-bottom: 5px;
}

.poster-container {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
}

.poster {
  width: 100%;
  max-width: 260px;
  border-radius: 20px;
  object-fit: cover;
}


.mirada-femenina {
  margin-top: 40px;
}

.mirada-femenina button {
  background-color: #b49ed1;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.mirada-femenina button:hover {
  background-color: #cbb7e6;
}

.detalle-oculto {
  display: none;
  margin-top: 25px;
  background-color: #f3ebfa;
  border-radius: 15px;
  padding: 25px;
  line-height: 1.6em;
}

.detalle-oculto h3 {
  font-size: 1.3em;
  margin-bottom: 18px;
}

.detalle-oculto p {
  margin-bottom: 14px;
}

.detalle-oculto.visible {
  display: block;
}


@media (max-width: 768px) {
  .app {
    padding: 30px 20px;
    border-radius: 30px;
  }

  .pelicula-detalle {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .poster {
    max-width: 220px;
    margin-bottom: 20px;
  }

  .info {
    text-align: left;
  }
}