:root {
  --scroll-thumb-color: #00aaff; /* Neon Purple */
  --scroll-track-color: #072a3b; /* Dark Background */
}

/* WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scroll-track-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 10px;
  border: 2px solid var(--scroll-track-color);
  box-shadow: 0 0 8px var(--scroll-thumb-color);
  transition: background-color 0.3s, box-shadow 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a084f8; /* Slightly brighter on hover */
  box-shadow: 0 0 12px #a084f8;
}

/* Firefox */
html {
  scrollbar-color: var(--scroll-thumb-color) var(--scroll-track-color);
  scrollbar-width: thin;
}


body {
    margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0B1622;
  color: #f5f5f5;
}

.anime-card {
  background: #0A1420;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #243c5a;

  max-width: 160px;
  display: inline-block;
  vertical-align: top;
   width: 160px;
  text-align: center;
  margin: 10px 5px;
}
.anime-card-s {
  background: #0A1420;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #243c5a;

  max-width: 160px;
  display: inline-block;
  vertical-align: top;
   width: 160px;
  text-align: center;
  margin: 0 auto;
}
.anime-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.anime-card-s:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.anime-thumb-wrapper {
  position: relative;
   background-color: #f1f1f1;
  border-radius: 6px;
  overflow: hidden;
  min-height: 240px; /* Reserve space to avoid layout shift */
}

.anime-thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
    display: block;
  margin: 0 auto;
}

.lang-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(13, 4, 111, 0.73);
  color: white !important;
  font-size: 0.9rem;
  padding: 3px 6px;
  border-radius: 3px;
  z-index: 2;
  text-transform: uppercase;
}

.lang-saisons {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(87, 0, 174, 0.7);
  color: white !important;
  font-size: 13pt;
  padding: 2px 5px;
  border-radius: 5px;
  z-index: 2;
  text-transform: uppercase;
  transition:.3s;
  animation:name-show 1s ease forwards;
    display: flex !important;
  align-items: center;
  justify-content: flex-start;
}
.anime-info {
  padding: 0.6rem;
  text-align: center;
}

.anime-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0.4rem 0 0.2rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anime-title a {
  color: inherit;
  text-decoration: none;
}

.anime-meta {
  display: flex;
  justify-content: center;
  margin: 0.7rem;
}

.episode-badge {
  background-color: #072a3b;
  color: #fff;
  padding: 4px 6px;
  font-size: 0.68rem;
  border-radius: 4px;
}
.saisons-badge {
background-color: rgb(10, 20, 32);
  color: #ece0ff !important;
  padding: 3px 7px;
  font-size: 12pt;
  border-radius: 6px;
  border:1px solid #103e67;
}
.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.logo img {
  height: 65px;
  margin-right: 2px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin: 0 8px;
}

.search-bar {
  position: relative;
  flex: 1;
  max-width: 300px;
  margin: 10px;
}

.search-bar input {
  width: 100%;
  padding: 8px 35px 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
}

.search-bar i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.main-nav a {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.main-nav a i {
  margin-right: 6px;
}

/* Pagination Container */
.navigation {
  background-color: rgba(21, 38, 57, 0.22);
  border-radius: 10px;
  padding: 20px 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  margin-bottom: 30px;
    
}

/* Pagination Numbers */
.pages a,
.pages span,
.pages b {
  display: inline-block;
  margin: 4px 4px;
  padding: 4px 10px;
  font-size: 18px;
  border-radius: 6px;
  background-color: ##d1927;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #677e92;
}

.pages a:hover {
  background-color: #0b1622;
  border-color: #1e50b9;
  color: #fff;
}

.pages b {
  background-color: #444;
  font-weight: bold;
  cursor: default;
}

/* Prev/Next Buttons */
.page b {
  display: table-caption;
  align-items: center;
  background: #0d1927;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 15px;
  color: #fff;
  border: 1px solid #0af;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page b:hover {
  background: linear-gradient(135deg, #10337c, #2967e8);
  color: #fff;
  transform: scale(1.03);
}

.page svg {
  margin: 0 6px;
  font-size: 16px;
}
@media (max-width: 576px) {
  .pages a,
  .pages span,
  .pages b {
    padding: 8px 10px;
    font-size: 14px;
  }

  .page b {
    padding: 8px 12px;
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .anime-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
/* Default link style */
a {
  color: #1b9cfc; /* Neon blue for contrast */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover effect */
a:hover {
  color: #00aafe; /* Brighter blue on hover */
  text-shadow: 0 0 6px rgba(0, 170, 254, 0.6);
  text-decoration: underline;
}

/* Visited links */
a:visited {
  color: #8ab4f8; /* Slightly lighter blue */
}

/* Active state */
a:active {
  color: #42a5f5;
}
