body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #0e0e0e;
  color: white;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1c1c1c;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
}

.website-title {
  font-size: 25px;
  font-weight: bold;
  color: #ffc107;
  flex: 1;
  text-align: center;
}

/* Recent Banner */
.recent-banner {
  background: #ffc107;
  color: #000;
  padding: 10px 20px;
  font-weight: bold;
}

#menuIcon {
  position: absolute;
  left: 20px;
  font-size: 30px;
  color : #ffc107;
  cursor: pointer;
}

#searchIcon {
  position: absolute;
  right: 30px;
  font-size: 25px;
  cursor: pointer;
}

/* SIDEBAR HIDDEN INITIALLY */
#sidebar {
  width: 200px;
  background: #1c1c1c;
  position: fixed;
  top: 75px;
  left: -250px; /* Hide initially */
  bottom: 0;
  overflow-y: auto;
  padding: 10px;
  transition: left 0.3s;
  z-index: 999;
}

#sidebar.active {
  left: 0; /* Slide in */
}

.sidebar-category {
  margin-bottom: 25px;
}

.sidebar-title {
  font-weight: bold;
  padding: 10px;
  background: #333;
  cursor: pointer;
  border-radius: 5px;
}

.sidebar-links {
  display: none;
  flex-direction: column;
  margin-top: 5px;
}

.sidebar-links a {
  color: white;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 5px;
}

.sidebar-links a:hover {
  background: yellow;
  color: black;
}

/* SEARCH */
#searchContainer {
  margin-top: 10px;
  margin-left: 160px;
  display: none;
}

#searchBar {
  width: 200px;
  padding: 8px;
  border-radius: 5px;
  border: none;
}

/* MAIN CONTENT */
#animeList {
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.anime-card {
  background: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

.anime-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.anime-card:hover {
  transform: translateY(-5px);
}

.anime-title {
  font-weight: bold;
  color: white;
  text-align: center;
  padding: 8px;
}

/* PAGINATION */
#pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.page-btn {
  background: #ffc107;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.page-btn:hover {
  background: orange;
}
