
.archive-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.anime-list {
  width: 70%;
}
.filter-sidebar {
  width: 30%;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.filter-section {
  background: rgba(25, 25, 25, 0.7);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.filter-section h2 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #fff;
  font-size: 18px;
  font-family: "Funnel Display", arial, serif;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(205, 194, 255, 0.1);
}

.filter-item {
  margin-bottom: 15px;
}

.filter-item label {
  display: block;
  margin-bottom: 8px;
  color: #cdc2ff;
}

.filter-item input,
.filter-item select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid rgba(82, 41, 204, 0.5);
  color: #fff;
  border-radius: 4px;
}

.range-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.range-separator {
  color: #fff;
}

.filter-button {
  width: 100%;
  padding: 10px;
  background: rgb(82, 41, 204);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: bold;
  margin-bottom: 10px;
}

.filter-button:hover {
  background: rgb(102, 61, 224);
}

.filter-button.clear-filters {
  background: rgba(255, 0, 0, 0.7);
}

.filter-button.clear-filters:hover {
  background: rgba(255, 0, 0, 0.9);
}
.categories-table {
  width: 100%;
  border-collapse: collapse;
}

.categories-table tr {
  border-bottom: 1px solid rgba(80, 80, 80, 0.3);
}

.categories-table td {
  padding: 12px 5px;
  width: 50%;
  color: #8e8ec2;
  cursor: pointer;
  font-size: 15px;
}

.categories-table td:hover {
  color: #c5c5ff;
}

.categories-table td.active {
  color: #ffffff;
}

.category-marker {
  display: flex !important;
  width: 100% !important;
  height: 30px !important;
  border: none !important;
  vertical-align: middle !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.active .category-marker {
  background-color: #8e8ec2;
}

.deactive .category-marker {
  background-color: rgba(0, 0, 0, 0.2);
}
.anime-card {
  width: 100%;
  margin-bottom: 15px;
  background: rgba(25, 25, 25, 0.7);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease;
}

.anime-card:hover {
  transform: translateY(-5px);
}

.anime-poster {
  width: 120px;
  min-width: 120px;
  height: 200px;
  overflow: hidden;
}

.anime-poster img {
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.anime-info {
  padding-right: 15px;
  padding-left: 15px;
  width: 100%;
  position: relative;
}

.anime-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Funnel Display", arial, serif;
  display: flex;
  align-items: center;
}

.anime-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 16px;
}

.anime-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  margin-top: 15px;
  color: #cdc2ff;
}

.anime-meta-2 {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
  margin-top: -10px;
  color: #cdc2ff;
}

.anime-description {
  font-size: 14px;
  line-height: 1.4;
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: #ccc;
  margin-bottom: 10px;
}

.anime-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.anime-tag {
  background: rgba(82, 41, 204, 0.3);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.imdb-score {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffd700;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  gap: 10px;
}

.page-link {
  padding: 8px 15px;
  background: rgba(82, 41, 204, 0.5);
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.page-link:hover,
.page-link.active {
  background: rgb(82, 41, 204);
}

.page-link.disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 768px) {
  .archive-container {
    flex-direction: column;
  }

  .anime-list,
  .filter-sidebar {
    width: 100%;
  }

  .filter-sidebar {
    order: -1;
    margin-bottom: 20px;
  }
}
