/*
Theme Name: Movie Theme
Author: Custom
Version: 1.0
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #f4f4f4;
  color: #333;
}

.navbar {
  background-color: #0b9e58;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.brand a {
  color: #fff;
  text-decoration: none;
}

.brand h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.brand span {
  font-size: 10px;
  opacity: 0.9;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  margin-right: 15px;
}

.nav-links a:hover {
  text-decoration: underline;
}

.search-box form {
  display: flex;
}

.search-box input[type="search"],
.search-box input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  outline: none;
  font-size: 13px;
}

.search-box button {
  padding: 6px 14px;
  background: #eee;
  border: 1px solid #ccc;
  border-left: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
}

.container {
  max-width: 1200px;
  margin: 15px auto;
  padding: 0 10px;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
}

.categories a {
  background-color: #0b9e58;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 2px;
  transition: background 0.2s;
}

.categories a:hover {
  background-color: #087742;
}

.notice-bar {
  background-color: #0b9e58;
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 2px;
  text-align: center;
}

.section-title {
  background-color: #0b9e58;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

@media (max-width: 992px) {
  .movie-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.movie-card {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.movie-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.movie-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.movie-card:hover img {
  transform: scale(1.03);
}

.movie-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 20px 8px 6px;
  color: #fff;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  font-weight: bold;
}

.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination .page-numbers {
  background: #0b9e58;
  color: #fff;
  padding: 6px 12px;
  text-decoration: none;
  margin: 0 3px;
  border-radius: 2px;
  font-size: 13px;
}

.pagination .current {
  background: #087742;
}