/* Basic page setup */
body, button, input {
  font-family: 'VT323', monospace;
  background-color: #121212;
  color: #00ff00;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(135deg, #121212 25%, #000000 100%);
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
}

.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
  margin-top: 20px;
}

.title {
  font-size: 48px;
  text-shadow: 0 0 10px #00ff00;
  margin-bottom: 20px;
}

.search-area {
  text-align: center;
  margin-bottom: 20px;
}

#search-input, button {
  padding: 10px;
  font-size: 18px;
  background: #121212;
  border: 2px solid #00ff00;
  border-radius: 0; /* Square design */
  color: #00ff00;
}

#search-input {
  width: 500px;
  margin-right: 10px;
}

button {
  padding: 10px 20px;
  cursor: pointer;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  width: 80%;
  max-width: 1200px;
  margin: 20px auto;
}

.movie-card {
  background: #121212;
  border: 2px solid #00ff00;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0; /* Square design */
}

.movie-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0; /* Square design */
  margin-bottom: 10px;
}

#video-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}

#video-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
}

#close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #00ff00;
  color: #121212;
  border: 2px solid #00ff00;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 0; /* Square design */
}
