* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {

  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  /* 🔥 key change */
  line-height: 1.6;

  margin: 0;
  min-height: 100vh;

  background-image: url("Untitled design.png");
  /* your image */
  background-size: cover;
  /* 🔥 fills screen */
  background-position: center;
  /* 🔥 keeps focus */
  background-repeat: no-repeat;
  /* 🔥 no tiling */
  background-attachment: fixed;
  /* 🔥 cinematic feel */

  display: flex;
  justify-content: center;
  align-items: flex-start;
}


.container {
  width: min(90%, 900px);
  /* responsive width */
  margin: 60px auto;
  padding: 30px 40px;

  background: rgba(214, 61, 61, 0.95);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}



h1 {
  text-align: center;
  font-family: "Classy Marisa";
  font-size: 5.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 25px;
  margin-top: 5px;
  color: #111;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}


.search-box {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}


.search-box input {
  width: 520px;          /* ⬅️ change this */
  height: 52px;          /* ⬅️ change this */
  font-size: 1.1rem;     /* text size inside */
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  outline: none;
}


.search-box button {
  height: 52px;
  padding: 0 18px;
  font-size: 1.1rem;
  border: none;
  background: rgb(183, 28, 28);
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

.search-box button {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.search-box button:hover {
  background: #ff1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
}




.suggestions {
  background: #976a6a;
  border-radius: 6px;
  margin-top: -10px;
  max-height: 250px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 10px;
  border-bottom: 1px solid rgba(214, 61, 61, 0.92);
  cursor: pointer;
}

.suggestion-item:hover {
  background: rgba(214, 61, 61, 0.92);
}

/* Mobile friendly */
@media (max-width: 600px) {
  .suggestion-item {
    font-size: 14px;
  }
}


.results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.movie-card {
  background: rgb(216, 193, 193);
  padding: 18px 20px;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.movie-card:hover {
  background: #d45454;
}

.movie-details {
  display: none;
  margin-top: 30px;
  text-align: center;
}

.movie-details img {
  width: 220px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.detail-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
}

.detail-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: #444;
  color: white;
  cursor: pointer;
}

.detail-buttons button:hover {
  background: crimson;
}

.detail-output {
  font-size: 16px;
  margin-top: 10px;
}

button,
select,
input {
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 8px;
}

button:hover {
  background: #b31918;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}


/* 📱 Mobile tweaks */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 20px;
    margin: 30px auto;
  }

  h1 {
    font-size: 2rem;
  }

  .movie-details img {
    width: 160px;
  }

  .search-box input {
    width: 90%;
  }
  .search-box {
    flex-direction: column;
    gap: 12px;
  }
   .search-box button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}