/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(180deg, #0c0032, #14003f 40%, #1d004e 100%);
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR — GLASS + PURPLE GLOW */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  padding: 25px 40px;

  background: rgba(20, 0, 60, 0.25);
  backdrop-filter: blur(8px);
}

/* SEARCH BAR — NEON PURPLE GLOW */
.search-bar {
  width: 280px;
  padding: 12px 18px;
  font-size: 15px;

  border-radius: 12px;
  border: 2px solid rgba(180, 80, 255, 0.6);
  background: rgba(40, 0, 95, 0.3);
  color: #fff;

  outline: none;
  transition: 0.3s ease;
  box-shadow: 0 0 12px rgba(170, 70, 255, 0.4);
}

.search-bar::placeholder {
  color: rgba(220, 180, 255, 0.7);
}

.search-bar:focus {
  box-shadow: 0 0 18px rgba(200, 120, 255, 0.9);
  border-color: #c77dff;
}

/* HERO BANNER */
.banner {
  margin-top: 100px; /* Push below navbar */
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.banner h1 {
  font-size: 64px;
  font-weight: 700;
  color: #fff;

  text-shadow: 0 0 25px rgba(255, 200, 255, 0.75);
}

/* SECTIONS */
.row {
  margin: 40px;
}

.row h2 {
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: 600;

  color: #fff;
  text-shadow: 0 0 12px rgba(180, 80, 255, 0.6);
}

/* MOVIE AND TV LIST ROWS */
.list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
}

.list::-webkit-scrollbar {
  height: 8px;
}

.list::-webkit-scrollbar-thumb {
  background: rgba(120, 60, 180, 0.4);
  border-radius: 5px;
}

.list img {
  width: 150px;
  border-radius: 10px;
  cursor: pointer;

  transition: 0.3s ease;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.6),
    0 0 10px rgba(170, 70, 255, 0.25);
}

.list img:hover {
  transform: scale(1.06);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(200, 100, 255, 0.6);
}

/* MODAL */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.modal-content {
  background: rgba(25, 0, 60, 0.85);
  padding: 25px;

  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;

  border-radius: 16px;
  box-shadow: 0 0 25px rgba(180, 80, 255, 0.6);
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 140, 255, 0.9);
}

.modal-body {
  display: flex;
  gap: 25px;
}

.modal-body img {
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(170, 70, 255, 0.45);
}

.modal-text {
  flex: 1;
  font-size: 15px;
}

/* FOOTER */
.footer {
  background: rgba(20, 0, 60, 0.3);
  text-align: center;
  padding: 30px 15px;
  margin-top: 80px;
  color: #c8a8ff;
  backdrop-filter: blur(6px);
}

.footer-links a {
  color: #c77dff;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {

  .search-bar {
    width: 100%;
  }

  .banner h1 {
    font-size: 32px;
  }

  .list img {
    width: 120px;
  }

  .modal-body {
    flex-direction: column;
    align-items: center;
  }

  .modal-body img {
    width: 60%;
  }
}
