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

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

.app {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  background-color: #dde5b6;
  border-radius: 40px;
  overflow: hidden;
}

.top-bar {
  background-color: #ad92bf;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 0.95em;
}

.menu-btn {
  display: none;
  font-size: 1.5em;
  background: none;
  border: none;
  cursor: pointer;
}


.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #d2c6da;
  text-align: center;
}

.mobile-menu a {
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000;
}

.mobile-menu.open {
  display: flex;
}


.filmoteca {
  background-color: #d2c6da;
  color: #000;
  border-radius: 40px;
  padding: 60px 40px;
  text-align: center;
  margin: 40px 20px 20px 20px; 
}

.filmoteca h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.intro {
  font-size: 16px;
  color: #000;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}


.peliculas {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  padding: 20px;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  width: max-content;
  min-width: 100%;
}

.pelicula {
  flex: 0 0 auto;
  width: 180px;
  text-align: center;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.pelicula img {
  width: 180px;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}

.pelicula img:hover {
  transform: scale(1.05);
}

.pelicula h3 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}

.pelicula p {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  margin-top: 2px;
}

.actrices {
  background-color: #d2c6da;
  border-radius: 60px; 
  padding: 60px 40px;
  text-align: center;
  margin-top: 0; 
}

.actrices h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.actrices .intro {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.actrices .scroll-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.galeria {
  display: flex;
  flex-wrap: nowrap;
  gap: 25px;
  padding: 20px;
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  width: max-content;
  min-width: 100%;
}

.actriz {
  flex: 0 0 auto;
  width: 180px;
  text-align: center;
  scroll-snap-align: start;
}

.actriz img {
  width: 180px;
  height: 270px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s;
}

.actriz img:hover {
  transform: scale(1.05);
}

.actriz p {
  margin-top: 4px;
  font-weight: 700;
  font-size: 14px;
  color: #000;
}


@media (max-width: 768px) {
  .app {
    max-width: 100%;
  }

  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .filmoteca,
  .actrices {
    margin: 30px 10px; 
    padding: 40px 20px;
  }

  .pelicula,
  .actriz {
    width: 130px;
  }

  .pelicula img,
  .actriz img {
    width: 130px;
    height: 195px;
  }

  .peliculas,
  .galeria {
    flex-wrap: nowrap;
    gap: 18px;
    width: max-content;
  }

  .scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
  }
}


@media (min-width: 1024px) {
  .peliculas,
  .galeria {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    width: 100%;
  }

  .pelicula,
  .actriz {
    width: 200px;
  }

  .pelicula img,
  .actriz img {
    width: 200px;
    height: 300px;
  }
}


@media (min-width: 769px) {
  body {
    background-color: #d2c6da;
  }

  .app {
    max-width: 100%;
    border-radius: 0;
    background-color: #dde5b6;
  }

  .nav-links {
    display: flex;
  }

  .menu-btn, .mobile-menu {
    display: none;
  }
}

