body {
  margin: 0;
  font-family: Arial;
  background: #111;
  color: white;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  color: red;
}

/* HERO (FIXED — NO REPEATING) */
.hero {
  height: 70vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 40px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

/* ROWS */
.row {
  padding: 20px;
}

.movies {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.movies::-webkit-scrollbar {
  display: none;
}

/* CARDS */
.card {
  min-width: 150px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.2);
  z-index: 10;
}

.card img {
  width: 100%;
  border-radius: 6px;
}

.card span {
  position: absolute;
  bottom: 5px;
  left: 5px;
  font-size: 12px;
}

/* MODAL */
#modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #222;
  padding: 20px;
  width: 60%;
  border-radius: 8px;
}

button {
  background: red;
  color: white;
  border: none;
  padding: 8px;
  cursor: pointer;
}
#searchInput {
  width: 260px;
  padding: 10px 14px;
  border: none;
  outline: none;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.15);
  color: white;

  font-size: 14px;

  transition: 0.3s;
}

/* when typing */
#searchInput:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.6);
}

/* placeholder styling */
#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
}