#pokedex-page {
  --video-fallback-bg-light:
    linear-gradient(180deg, rgba(10, 37, 64, 0.2) 0%, rgba(6, 24, 48, 0.55) 100%),
    radial-gradient(520px 220px at 15% 18%, rgba(14, 165, 233, 0.34), transparent 62%),
    radial-gradient(460px 260px at 85% 16%, rgba(34, 197, 94, 0.2), transparent 60%),
    linear-gradient(180deg, #d6e6f5 0%, #a5c1de 48%, #6f9ac0 100%);
  --video-fallback-bg-dark:
    linear-gradient(180deg, rgba(2, 6, 23, 0.28) 0%, rgba(2, 6, 23, 0.72) 100%),
    radial-gradient(520px 220px at 15% 18%, rgba(14, 165, 233, 0.22), transparent 62%),
    radial-gradient(460px 260px at 85% 16%, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(180deg, #162033 0%, #101827 48%, #0b1220 100%);
}

#pokemon-world-wrapper {
  z-index: 2;
  margin-top: -100px;
  min-height: 350px;
}

#pokemon-world-wrapper .parallax-item,
#pokemon-world-wrapper section {
  min-height: 150px;
}

#pokemon-world-wrapper {
  transition: opacity 0.55s ease;
}

#pokemonWorldCanvas {
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.8s ease;
}

#pokemon-world-wrapper.pokemon-world-ready #pokemonWorldCanvas {
  opacity: 1;
}

.pokedex-summary-kicker {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #0369a1;
  width: fit-content;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(20, 184, 166, 0.15));
}

.pokedex-guide-card {
  background:
    radial-gradient(420px 110px at 92% -16%, rgba(20, 184, 166, 0.12), transparent),
    radial-gradient(250px 120px at 8% 94%, rgba(2, 132, 199, 0.08), transparent),
    var(--my-white-bg-subtle, #f8f9fb);
}

.pokedex-guide-card--info h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.pokedex-guide-text {
  font-size: 1rem;
  line-height: 1.65;
  color: #4b5879;
}

.pokedex-guide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pokedex-guide-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0369a1;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(20, 184, 166, 0.1));
}

.pokedex-guide-block {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(20, 184, 166, 0.05));
}

.pokedex-guide-block__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(20, 184, 166, 0.18));
  color: #0284c7;
}

.pokedex-guide-block__icon svg {
  width: 18px;
  height: 18px;
}

.pokedex-guide-block__text strong {
  color: #0369a1;
}

.pokedex-guide-block__text span {
  color: #4b5879;
}

.pokedex-widget-preview.pokemon-preview-stage {
  display: grid;
  place-items: center;
  gap: 1rem;
  min-height: 220px;
  padding: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(167, 214, 255, 0.24), rgba(223, 245, 228, 0.92)),
    linear-gradient(0deg, rgba(49, 104, 63, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 104, 63, 0.06) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
}

[data-bs-theme="dark"] .pokedex-widget-preview.pokemon-preview-stage {
  background:
    linear-gradient(180deg, rgba(167, 214, 255, 0.12), rgba(223, 245, 228, 0.116)),
    linear-gradient(0deg, rgba(49, 104, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 104, 63, 0.04) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
}

.pokedex-widget-preview__shell {
  display: grid;
  place-items: center;
  gap: 1.1rem;
  width: 100%;
}

.pokedex-widget-preview .pokemon-bush {
  position: relative;
  right: auto;
  bottom: auto;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  border: 0;
  background: url("../img/pokemon/bush_animated-D0tsE7j.gif") center/140% no-repeat;
  box-shadow: 0 10px 30px rgba(31, 199, 31, 0.18), 0 0 0 3px rgba(28, 140, 34, 0.08);
  z-index: 1;
  pointer-events: none;
  animation: pokemonBushIdle 1.9s ease-in-out infinite;
}

.pokedex-widget-preview .pokemon-bush__label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 54px);
  height: calc(100% + 54px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: rgba(17, 24, 39, 0.9);
}

.pokedex-widget-preview .pokemon-bush__label-ring {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 12px rgba(117, 255, 140, 0.18));
  animation: pokemonLabelOrbit 14s linear infinite;
}

.pokedex-widget-preview .pokemon-bush__label-text {
  fill: currentColor;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.pokedex-widget-preview .pokemon-bush__label::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(173, 255, 173, 0.14), 0 0 18px rgba(104, 255, 104, 0.22);
  animation: pokemonLabelHalo 2.2s ease-in-out infinite;
}

[data-bs-theme="dark"] .pokedex-widget-preview .pokemon-bush__label {
  color: rgba(255, 255, 255, 0.88);
}

[data-bs-theme="dark"] .pokedex-widget-preview .pokemon-bush__label-ring {
  filter: drop-shadow(0 0 14px rgba(127, 166, 255, 0.28));
}

[data-bs-theme="dark"] .pokedex-widget-preview .pokemon-bush {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(127, 166, 255, 0.16);
}

.pokedex-widget-preview .pokemon-bush:hover {
  transform: none;
  filter: none;
}

@keyframes pokemonBushIdle {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes pokemonLabelHalo {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes pokemonLabelOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pokedex-grid {
  display: block;
  position: relative;
  margin: 0 auto;
}

.pokedex-shiny-filters .filter-btn,
.pokedex-rarity-filters .filter-btn {
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--filter-color) 35%, transparent);
  background: color-mix(in srgb, var(--filter-color) 14%, transparent);
  color: color-mix(in srgb, var(--filter-color) 80%, #000);
  transition: all 0.35s ease-in-out;
}

.pokedex-shiny-filters .filter-btn:hover,
.pokedex-shiny-filters .filter-btn:focus-visible,
.pokedex-rarity-filters .filter-btn:hover,
.pokedex-rarity-filters .filter-btn:focus-visible {
  background: color-mix(in srgb, var(--filter-color) 90%, transparent);
  color: #fff;
  border-color: var(--filter-color);
}

.pokedex-shiny-filters .filter-btn.active,
.pokedex-rarity-filters .filter-btn.active {
  background: var(--filter-color);
  color: #fff;
  border-color: var(--filter-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--filter-color) 30%, transparent);
}

/* Couleurs personnalisées par région */
[data-region="all"] { --region-color: #64748b; }
[data-region="kanto"] { --region-color: #22c55e; }
[data-region="johto"] { --region-color: #eab308; }
[data-region="hoenn"] { --region-color: #ef4444; }
[data-region="sinnoh"] { --region-color: #a855f7; }
[data-region="unys"] { --region-color: #52525b; }
[data-region="kalos"] { --region-color: #ec4899; }
[data-region="alola"] { --region-color: #f97316; }
[data-region="galar"] { --region-color: #8b5cf6; }
[data-region="paldea"] { --region-color: #14b8a6; }
[data-region="unknown"] { --region-color: #71717a; }

.pokedex-region-filters .filter-btn {
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--region-color) 35%, transparent);
  background: color-mix(in srgb, var(--region-color) 18%, transparent);
  color: color-mix(in srgb, var(--region-color) 80%, #000);
  transition: all 0.35s ease-in-out;
}

.pokedex-region-filters .filter-btn:hover,
.pokedex-region-filters .filter-btn:focus-visible {
  background: color-mix(in srgb, var(--region-color) 90%, transparent);
  color: #ffffff;
  border-color: var(--region-color);
}

.pokedex-region-filters .filter-btn.active {
  background: var(--region-color);
  color: #fff;
  border-color: var(--region-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--region-color) 30%, transparent);
}

[data-shiny-filter="all"] { --filter-color: #64748b; }
[data-shiny-filter="shiny"] { --filter-color: #eab308; }
[data-shiny-filter="normal"] { --filter-color: #0ea5e9; }

[data-rarity="all"] { --filter-color: #64748b; }
[data-rarity="common"] { --filter-color: rgba(68, 84, 115, 0.9); }
[data-rarity="uncommon"] { --filter-color: rgba(53, 126, 83, 0.9); }
[data-rarity="rare"] { --filter-color: rgba(177, 121, 39, 0.95); }
[data-rarity="epic"] { --filter-color: rgba(115, 66, 171, 0.95); }
[data-rarity="legendary"] { --filter-color: rgba(111, 18, 18, 0.95); }
[data-rarity="mythical"] { --filter-color: rgba(115, 66, 171, 0.95); }


.pokedex-card {
  --pokemon-type-primary: #9fa4a8;
  --pokemon-type-secondary: var(--pokemon-type-primary);
  --card-spacing: 1rem;
  margin: 0.5rem;
  width: calc(100% / 2 - var(--card-spacing));
  min-width: 0;
  height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(220px 140px at 88% 14%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(180px 120px at 82% 38%, rgba(255, 255, 255, 0.18), transparent 62%),
    linear-gradient(135deg, color-mix(in srgb, var(--pokemon-type-primary) 82%, #ffffff 18%) 0%, color-mix(in srgb, var(--pokemon-type-primary) 74%, #ffffff 26%) 68%, color-mix(in srgb, var(--pokemon-type-secondary) 72%, #ffffff 28%) 150%);
  box-shadow: 0 18px 30px rgba(40, 58, 91, 0.18);
  transition: box-shadow 0.28s ease;
  contain: layout style paint;
  will-change: transform, opacity;
}

.pokedex-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -80px;
  width: 250px;
  height: 250px;
  transform: translateY(-50%) rotate(9deg);
  background: url("../img/pokemon/pokeball-XHyLlyd.svg") center / contain no-repeat;
  opacity: 0.1;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.88) 42%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.88) 42%, rgba(0, 0, 0, 0.55) 52%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.pokedex-card__shiny {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  line-height: 0;
  color: #fff7a8;
  filter: drop-shadow(0 3px 10px rgba(255, 245, 156, 0.35));
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 3;
}

.pokedex-card__shiny svg {
  width: 18px;
  height: 18px;
  transform-origin: center;
  animation: pokedexShinyIconPulse 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 245, 156, 0.25)); /* On applique le filtre statiquement ici */
}

.pokedex-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.pokedex-card__info-top,
.pokedex-card__info-bottom,
.pokedex-card__meta {
  position: relative;
  z-index: 2;
}

.pokedex-card__info-top .pokedex-card__meta {
  gap: 0.2rem;
  max-width: calc(100% - 2rem);
}

.pokedex-card__info-bottom .pokedex-card__meta {
  gap: 0;
  max-width: 100%;
}

.pokedex-card__info-bottom {
  margin-top: auto;
}

.pokedex-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
}

.pokedex-card__row + .pokedex-card__row {
  margin-top: 0.65rem;
}

.pokedex-card__number {
  letter-spacing: 0.04em;
}

.pokedex-card__name {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.08;
  max-width: 10ch;
}

.pokedex-card__types {
  gap: 0.45rem;
  margin-bottom: 0;
}

.pokedex-card__row--types {
  gap: 0.45rem;
}

.pokedex-card__body {
  width: 100%;
}

.pokedex-card__row--obtention {
  display: none !important;
}

.pokedex-type-chip {
  --pokemon-type-chip: #9fa4a8;
  gap: 0.38rem;
  padding: 0.34rem 0.6rem;
  border-radius: 9px;
  background: var(--pokemon-type-chip);
  font-size: 0.78rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pokedex-type-chip__icon svg {
  width: 14px;
  height: 14px;
}

.pokedex-card__rarity {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
}

.pokedex-card__rarity--common { background: rgba(68, 84, 115, 0.35); }
.pokedex-card__rarity--uncommon { background: rgba(53, 126, 83, 0.35); }
.pokedex-card__rarity--rare { background: rgba(177, 121, 39, 0.35); }
.pokedex-card__rarity--epic { background: rgba(115, 66, 171, 0.38); }
.pokedex-card__rarity--legendary { background: rgba(111, 18, 18, 0.38); box-shadow: 0 0 0 1px rgba(244, 208, 111, 0.22), 0 8px 18px rgba(167, 42, 42, 0.16); text-shadow: 0 1px 0 rgba(56, 9, 9, 0.45); }
.pokedex-card__rarity--mythical { background: rgba(115, 66, 171, 0.38); }

.pokedex-card__region {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: color-mix(in srgb, var(--region-color) 80%, rgba(0,0,0,0.2));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--region-color) 40%, rgba(255,255,255,0.2));
  backdrop-filter: blur(6px);
}

.pokedex-card__sprite-shell {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.65rem 0.35rem 0.35rem 0;
  z-index: 1;
  pointer-events: none;
}

.pokedex-card__sprite {
  width: 148px;
  height: 148px;
  object-fit: contain;
  image-rendering: pixelated;
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: flex-end;
  filter: drop-shadow(0 12px 22px rgba(36, 48, 74, 0.26));
}

.pokedex-card__sprite--fallback {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
}

.pokedex-pill {
  gap: 0.42rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.pokedex-pill__icon svg {
  width: 15px;
  height: 15px;
}

@keyframes pokedexShinyIconPulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.9;
  }
  35% {
    transform: scale(1.08) rotate(-6deg);
    opacity: 1;
  }
  60% {
    transform: scale(0.96) rotate(5deg);
    opacity: 0.96;
  }
}

[data-bs-theme="dark"] .pokedex-region-filters .filter-btn {
  background: color-mix(in srgb, var(--region-color) 10%, transparent);
  color: color-mix(in srgb, var(--region-color) 80%, #fff);
  border-color: color-mix(in srgb, var(--region-color) 20%, transparent);
}

[data-bs-theme="dark"] .pokedex-region-filters .filter-btn:hover,
[data-bs-theme="dark"] .pokedex-region-filters .filter-btn:focus-visible {
  background: color-mix(in srgb, var(--region-color) 80%, transparent);
  color: #fff;
  border-color: var(--region-color);
}

[data-bs-theme="dark"] .pokedex-region-filters .filter-btn.active {
  background: var(--region-color);
  color: #fff;
  border-color: var(--region-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--region-color) 20%, transparent);
}

[data-bs-theme="dark"] .pokedex-shiny-filters .filter-btn,
[data-bs-theme="dark"] .pokedex-rarity-filters .filter-btn {
  background: color-mix(in srgb, var(--filter-color) 10%, transparent);
  color: color-mix(in srgb, var(--filter-color) 80%, #fff);
  border-color: color-mix(in srgb, var(--filter-color) 20%, transparent);
}

[data-bs-theme="dark"] .pokedex-shiny-filters .filter-btn:hover,
[data-bs-theme="dark"] .pokedex-shiny-filters .filter-btn:focus-visible,
[data-bs-theme="dark"] .pokedex-rarity-filters .filter-btn:hover,
[data-bs-theme="dark"] .pokedex-rarity-filters .filter-btn:focus-visible {
  background: color-mix(in srgb, var(--filter-color) 80%, transparent);
  color: #fff;
  border-color: var(--filter-color);
}

[data-bs-theme="dark"] .pokedex-shiny-filters .filter-btn.active,
[data-bs-theme="dark"] .pokedex-rarity-filters .filter-btn.active {
  background: var(--filter-color);
  color: #fff;
  border-color: var(--filter-color);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--filter-color) 20%, transparent);
}

[data-bs-theme="dark"] .pokedex-guide-text {
  color: #cbd5e1;
}

[data-bs-theme="dark"] .pokedex-guide-tag {
  color: #5eead4;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(20, 184, 166, 0.15));
}

[data-bs-theme="dark"] .pokedex-guide-block {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(20, 184, 166, 0.08));
  box-shadow: none;
}

[data-bs-theme="dark"] .pokedex-guide-block__icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(20, 184, 166, 0.2));
  color: #5eead4;
}

[data-bs-theme="dark"] .pokedex-guide-block__text strong,
[data-bs-theme="dark"] .pokedex-guide-block__text span {
  color: #e2e8f0;
}

@media (max-width: 1399px) {
  .pokedex-card {
    width: calc(100% / 3 - var(--card-spacing));
  }
}

@media (min-width: 768px) {
  .pokedex-card {
    width: calc(100% / 4 - var(--card-spacing));
  }

  .pokedex-card__row--obtention {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  #pokemon-world-wrapper .parallax-item > .row {
    width: auto;
    max-width: none;
    margin-inline: 0;
  }

  .pokedex-card {
    width: calc(100% / 2 - var(--card-spacing));
    height: 140px;
    padding: 12px;
  }

  .pokedex-card::after {
    right: -10px;
    width: 130px;
    height: 130px;
    opacity: 0.12;
  }

  .pokedex-card__number {
    font-size: 0.82rem;
  }

  .pokedex-card__shiny svg {
    width: 16px;
    height: 16px;
  }

  .pokedex-card__name {
    font-size: 0.95rem;
    line-height: 1.15;
    max-width: 9ch;
  }

  .pokedex-card__meta {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }

  .pokedex-card__info-bottom .pokedex-card__meta {
    max-width: 100%;
  }

  .pokedex-card__row + .pokedex-card__row {
    margin-top: 0.45rem;
  }

  .pokedex-card__types {
    gap: 0.28rem;
  }

  .pokedex-type-chip {
    font-size: 0.53rem;
    padding: 0.22rem 0.38rem;
    border-radius: 7px;
  }

  .pokedex-type-chip__icon svg {
    width: 10px;
    height: 10px;
  }

  .pokedex-card__rarity,
  .pokedex-card__region {
    padding: 0.14rem 0.36rem;
    font-size: 0.46rem;
    letter-spacing: 0.02em;
  }

  .pokedex-card__sprite-shell {
    inset: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding: 0.65rem 0.1rem 0.2rem 0;
  }

  .pokedex-card__sprite {
    width: 82px;
    height: 82px;
    flex: none;
  }

  .pokedex-card {
    min-height: 140px;
    padding: 12px;
  }
}

@media (max-width: 360px) {
  .pokedex-card {
    width: calc(100% / 2 - var(--card-spacing));
  }
}




.pokedex-list-footer {
  gap: 0.75rem;
}

.pokedex-count-info {
  font-size: 0.9rem;
  color: #1f1f1f;
  font-weight: 500;
}

#pokedexPagination {
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#pokedexPagination .page-link {
  border: 1px solid #d8deeb;
  background: #fff;
  color: #1d1d1d;
  border-radius: 10px;
  min-width: 40px;
  text-align: center;
}

#pokedexPagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  border-color: #0ea5e9;
  color: #fff;
}

[data-bs-theme="dark"] .pokedex-count-info {
  color: #94a3b8;
}

[data-bs-theme="dark"] #pokedexPagination .page-link {
  background: var(--my-dark-bg-subtle, #1f242a);
  color: #cbd5e1;
  border-color: rgba(14, 165, 233, 0.2);
}

[data-bs-theme="dark"] #pokedexPagination .page-item.active .page-link {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  border-color: #0ea5e9;
  color: #000000;
}

@media (max-width: 640px) {
  .pokedex-list-footer {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }

  #pokedexPagination {
    justify-content: center;
  }
}
