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

/* HEADER */
.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;
}


.watchlist-header {
  text-align: center;
  background-color: #d2c6da;
  color: #000;
  padding: 40px 40px 20px 40px;
  margin: 20px 20px 0 20px;
}

.watchlist-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.watchlist-header p {
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  max-width: 700px;
  margin: 0 auto;
}


.watchlist-grid {
  background-color: #dde5b6;
  border-radius: 30px;
  padding: 30px;
  margin: 40px 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  max-height: 600px;
  overflow-y: scroll;
}


.film-card {
  text-align: center;
}

.film-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}

.film-card img:hover {
  transform: scale(1.05);
}

.film-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}


@media (max-width: 768px) {
  .app { max-width: 100%; }
  .nav-links { display: none; }
  .menu-btn { display: block; }

  .watchlist-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 16px;
    max-height: none;
    overflow-y: visible;
  }

  .film-card img {
    height: 240px;
  }
}

@media (min-width: 769px) {
  body { background-color: #d2c6da; }
  .app {
    max-width: 100%;
    border-radius: 0;
    background-color: #d2c6da;
  }
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none; }
}