* {
  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: #000; 
  border-radius: 40px;
  overflow: hidden;
}


.top-bar {
  background-color: #d2c6da;
  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;
}


.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

.hero img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  filter: grayscale(100%);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  display: block;
}

.overlay-text {
  position: absolute;
  bottom: 18%;
  left: 8%;
  color: #c2b3d4;
}

.overlay-text h1 {
  font-size: 2em;
  font-weight: 700;
  line-height: 1.1em;
}

.search {
  margin-top: 15px;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  width: 180px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.search input {
  border: none;
  outline: none;
  padding: 8px 10px;
  flex: 1;
  font-size: 0.9em;
}

.search button {
  border: none;
  background: none;
  padding: 0 10px;
  font-size: 1.1em;
  cursor: pointer;
}

.info {
  background-color: #fff;
  padding: 30px 20px 60px;
  border-radius: 40px;
  margin-top: 0;
}

.info h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  margin-top: 10px;
  font-size: 1.9em;
  line-height: 1.2em;
  margin-bottom: 10px;
}

.info p {
  font-size: 0.9em;
  line-height: 1.5em;
  color: #333;
}


@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero img {
    height: 75vh;
  }

  .overlay-text h1 {
    font-size: 1.8em;
  }

  .info {
    padding: 25px 18px 50px;
    margin-top: 0;
  }
}


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

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

  .hero {
    background-color: #d2c6da;
  }

  .hero img {
    height: 85vh;
    border-radius: 40px;
  }

  .overlay-text h1 {
    font-size: 2.6em;
  }

  .search {
    width: 220px;
  }

  .info {
    background-color: #fff;
    margin-top: 40px;
    border-radius: 40px;
    padding: 60px;
  }
}

.boton-filmoteca {
  display: inline-block;
  background-color: white;   /* Fondo blanco */
  color: black;              /* Texto negro */
  font-weight: bold;
  text-transform: uppercase; /* Todo en mayúsculas */
  border: none;
  border-radius: 30px;       /* Bordes redondeados */
  padding: 12px 28px;
  font-size: 14px;
  text-decoration: none;     /* Sin subrayado */
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;       /* ✅ Mantiene el texto en una línea */
}

.boton-filmoteca:hover {
  background-color: #cbb7e6; /* Lila suave al pasar el cursor */
  color: white;              /* Texto blanco */
  cursor: pointer;
}