body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #141414;
  color: #fff;
  overflow-x: hidden;
}

#bg-blur {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.5);
  z-index: -1;
}

header {
  padding: 20px;
  background: #000;
  color: red;
  font-size: 24px;
  font-weight: bold;
}

.hero {
  text-align: center;
  margin: 40px 0;
}

.controls {
  margin-top: 20px;
}

.controls select, .controls input {
  padding: 10px;
  margin: 0 10px;
  border-radius: 5px;
  border: none;
}

.controls button {
  padding: 10px 20px;
  background: red;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.row {
  margin: 30px;
}

.row h3 {
  margin-left: 10px;
}

.movie-row {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px;
  scrollbar-width: none;
}

.movie-row::-webkit-scrollbar {
  display: none;
}

.movie-card {
  position: relative;
  width: 180px;
  transition: transform 0.3s;
  cursor: pointer;
}

.movie-card img {
  width: 100%;
  border-radius: 10px;
}

.movie-card:hover {
  transform: scale(1.2);
  z-index: 10;
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.movie-card:hover .overlay {
  opacity: 1;
}

.overlay button {
  background: red;
  border: none;
  padding: 5px 10px;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 3px;
}

/* Trailer Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 30px;
  cursor: pointer;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #141414;
  color: #fff;
  overflow-x: hidden;
}

header {
  padding: 20px;
  background: #000;
  color: red;
  font-size: 28px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  font-weight: 300;
}

.row h3 {
  margin-left: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.movie-card .overlay h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.movie-card .overlay p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 300;
}
.movie-panel {
  position: fixed;
  top: 0;
  right: -400px; /* hidden initially */
  width: 400px;
  height: 100%;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: -4px 0 10px rgba(0,0,0,0.6);
  transition: right 0.4s ease-in-out;
  z-index: 999;
  overflow-y: auto;
}

.movie-panel.active {
  right: 0;
}

.panel-content {
  padding: 20px;
}

.panel-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.panel-text h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
}

.panel-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}


