/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d;
  color: #f5f5f5;
}

/* Navbar */
.navbar {
  background: #111;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo img {
  height: 40px;
}

.navbar .logo span {
  font-size: 22px;
  font-weight: bold;
  color: #ff4757;
}

.search-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Search Bar */
.search-bar-container {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.search-bar-container input {
  width: 50%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease;
}

.search-bar-container input:focus {
  border-color: #ff4757;
  box-shadow: 0 0 5px rgba(255, 71, 87, 0.5);
}

.search-results {
  position: relative;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.search-results img {
  width: 150px;
  height: 225px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-results img:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.5);
}

.search-results p {
  color: #fff;
  font-size: 14px;
  text-align: center;
  margin: 5px 0;
}

/* Banner */
.banner {
  height: 50vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.banner .overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  padding: 40px;
}

.banner h1 {
  font-size: 40px;
  color: #fff;
}

#banner-description {
  color: #fff;
  font-size: 18px;
  margin-top: 20px;
}

/* Play Button Styling */
.play-btn {
  background-color: #ff4757; /* Red color */
  color: white;
  font-size: 18px;
  padding: 12px 30px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.play-btn:hover {
  background-color: #e0394f; /* Darker red on hover */
}

/* Container */
.container {
  padding: 30px 20px;
}

/* Rows */
.row h2 {
  font-size: 24px;
  color: #ff4757;
  margin-bottom: 10px;
}

/* Lists */
.list {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 20px;
}

.list img {
  width: 150px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.list img:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.5);
}

/* Modal Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-content {
  width: 90%;
  max-width: 900px;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.modal-body {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-body img {
  width: 35%;
  border-radius: 8px;
}

.modal-text {
  flex: 1;
}

.modal-text h2 {
  margin-bottom: 10px;
}

.stars {
  color: gold;
}

.modal p {
  color: #ccc;
}

/* Footer */
.footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-links a {
  color: #ff4757;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}
