body {
  background-color: #0f0f0f;
  color: white;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #181818;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}
.ad-item {
  width: 100%;
  margin: 10px 0;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
}
.logo img {
  height: 40px;
  margin-right: 10px;
}

.search-box {
  display: flex;
  align-items: center;
}

.search-box input {
  background-color: #121212;
  color: white;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 8px 15px;
  width: 200px;
  outline: none;
  transition: 0.2s;
}

.search-box input:focus {
  border-color: #555;
  width: 250px;
}

/* Content */
.content {
  padding: 20px;
}

/* Grid layout for movie posters */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-content: center;
}

/* Each video card */
.video {
  background-color: #181818;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}



/* Poster-style thumbnails */
.thumbnail {
  width: 100%;
  aspect-ratio: 2/3; /* Makes them tall like movie posters */
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.title {
  padding: 10px;
  font-size: 0.95rem;
  font-weight: bold;
  color: white;
  text-align: center;
}

/* No results message */
.no-results {
  text-align: center;
  font-size: 1.2rem;
  color: #aaa;
  display: none;
  margin-top: 40px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 posters per row on mobile */
    gap: 10px;
  }
}