/* Pokemon Info Page - pokemongohub inspired */
body.pokemon-info-page {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0f1419;
  color: #f1f5f9;
  min-height: 100vh;
  background-image: radial-gradient(ellipse at 20% 0%, rgba(74, 130, 74, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(74, 130, 74, 0.15) 0%, transparent 50%);
  background-attachment: fixed;
  transition: background 0.4s ease, background-image 0.4s ease;
}

body.pokemon-info-page a {
  color: #FFF;
}

body.pokemon-info-page a:hover {
  color: #FFF;
}

body.pokemon-info-page .footer-links a {
  color: #94a3b8;
}

body.pokemon-info-page .footer-links a:hover {
  color: #f5c518;
}

body.pokemon-info-page .footer {
  border-top: 1px solid #334155;
  margin-top: 1rem;
}

/* Üst menüdeki .header-menu-search görünümü ortak styles.css ile gelir */

.pokemon-search-landing-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #f1f5f9;
}

.pokemon-search-landing-desc {
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.pokemon-search-landing-seo {
  color: #94a3b8;
  margin: 1rem 0 0;
  line-height: 1.55;
  font-size: 0.95rem;
}

.pokemon-search-landing-seo a {
  color: #f5c518;
  text-decoration: underline;
}

.pokemon-search-landing-seo a:hover {
  color: #fde047;
}

/* Arama sonuçları: tam genişlik, sola dayalı tek sütun */
main.pokemon-page-wrap:has(.pokemon-search-grid) {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 3rem;
  box-sizing: border-box;
}

.pokemon-search-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.pokemon-search-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(51, 65, 85, 0.85);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.pokemon-search-card:hover {
  border-color: rgba(245, 197, 24, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 197, 24, 0.12);
  transform: translateY(-2px);
}

.pokemon-search-card-img-wrap {
  flex: 0 0 112px;
  width: 112px;
  min-height: 100%;
  background: radial-gradient(circle at 35% 35%, rgba(245, 197, 24, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.pokemon-search-card-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.pokemon-search-card-body {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pokemon-search-card-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.pokemon-search-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pokemon-search-card-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}

.pokemon-search-card-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pokemon-search-card-type {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  color: rgba(15, 23, 42, 0.95);
  line-height: 1.3;
}

/* Görseldeki gibi paragraf + kalın vurgular */
.pokemon-search-card-rich-wrap {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e2e8f0;
  text-align: left;
  margin-top: 0.15rem;
}

.pokemon-search-card-rich-wrap p,
.pokemon-search-card-rich-p {
  margin: 0 0 0.65rem;
  font-size: inherit;
  line-height: inherit;
  color: #e2e8f0;
}

.pokemon-search-card-rich-wrap p:last-child {
  margin-bottom: 0;
}

.pokemon-search-card-rich-wrap strong {
  color: #f8fafc;
  font-weight: 700;
}

.pokemon-search-card-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.45;
}

.pokemon-search-empty,
.pokemon-search-hint {
  color: #94a3b8;
  padding: 1rem 0;
  line-height: 1.5;
}

.pokemon-search-more {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.pokemon-page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.pokemon-page .page-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  color: #f5c518;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.pokemon-page .page-back:hover {
  color: #4ade80;
}

/* Pokemon detay kartı - arka plan burada */
.pokemon-detail-card {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}

/* Başlık alanı - type-icon rengi referans (--type-primary) */
.pokemon-header-bar {
  position: relative;
  background: var(--type-primary, #4a824a);
  border-radius: 12px 12px 0 0;
  padding: 1rem 1.5rem;
  overflow: hidden;
}

.pokemon-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Accent - 2. tip varsa onun rengi, yoksa ilk tip (--type-accent) */
.pokemon-header-accent {
  position: absolute;
  top: -105px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, transparent 50%, var(--type-accent, var(--type-primary, #7c3aed)) 50%);
  transform: rotate(45deg);
  opacity: 0.9;
}

/* Navigasyon butonları - hero-card altında */
.pokemon-nav-buttons {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #444;
  border-radius: 8px;
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.nav-btn:hover:not([aria-disabled="true"]) {
  background: rgba(0, 0, 0, 0.3);
}

.nav-btn[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.nav-btn img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-arrow {
  color: #94a3b8;
  font-size: 1.2rem;
}

.nav-prev {
  flex: 1 1 50%;
  min-width: 0;
  justify-content: flex-start;
}

.nav-next {
  flex: 1 1 50%;
  min-width: 0;
  justify-content: flex-end;
}

/* Hero kart - resim ve tip ikonları */
.pokemon-hero-card {
  position: relative;
  border-top: none;
  border-radius: 0;
  padding: 2rem 2rem 0.5rem 2rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.pokemon-hero-img-wrap {
  position: relative;
  z-index: 1;
  width: 256px;
  height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* Şeffaf WebP - arka plan kart rengiyle uyumlu */
.pokemon-hero-card .pokemon-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}

.pokemon-hero-types {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pokemon-hero-types .type-icon,
.pokemon-hero-types .type-icon-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.pokemon-hero-types .type-icon {
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pokemon-hero-types .type-icon-img {
  object-fit: contain;
  
}

/* Info section - açıklama alanı */
.pokemon-info-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2d333b;
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid #2d333b;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  margin-bottom: 1rem;
}

.toc-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.toc-arrow {
  font-size: 0.8rem;
  color: #94a3b8;
}

.pokemon-description {
  color: #f1f5f9;
  line-height: 1.7;
  font-size: 1.2rem;
}

.pokemon-description p {
  margin: 0 0 1rem 0;
}

.pokemon-description p:last-child {
  margin-bottom: 0;
}

.pokemon-description strong {
  color: #ffffff;
  font-weight: 700;
}

/* Section cards */
.pokemon-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.pokemon-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  align-items: center;
  gap: 0.5rem;
}


/* Stats - pokemon-description içinde, zebra striping */
.stats-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #FFF;
  margin: 1.5rem 0 1rem 0;
}

.pokemon-stats-list {
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.pokemon-stats-list .stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  gap: 1rem;
}

.pokemon-stats-list .stat-row-dark {
  background: rgba(255, 255, 255, 0.05);
}

.pokemon-stats-list .stat-row-light {
  
}

.pokemon-stats-list .stat-label {
  font-weight: 600;
  color: #fff;
  font-size: 1.1rem;
  min-width: 120px;
}

.pokemon-stats-list .stat-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.pokemon-stats-list .stat-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.pokemon-stats-list .stat-bar-wrap {
  width: 100%;
  min-width: 120px;
  max-width: 200px;
  height: 6px;
  background: #2d333b;
  border-radius: 3px;
  overflow: hidden;
}

.pokemon-stats-list .stat-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.pokemon-stats-list .stat-row-text .stat-right {
  flex-direction: row;
  justify-content: flex-end;
}

.pokemon-stats-list .stat-row-text .stat-value {
  color: #fff;
}

/* Type chart */
.type-chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 500px) {
  .type-chart-grid {
    grid-template-columns: 1fr;
  }
}

.type-chart-block h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.type-chart-block.weak h3 {
  color: #f87171;
}

.type-chart-block.resist h3 {
  color: #4ade80;
}

.type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.type-tag {
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #334155;
  color: #f1f5f9;
}

.type-tag.weak {
  background: rgba(248, 113, 113, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.4);
}

.type-tag.resist {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Best Moveset - görsele göre: açıklama + 2 sütun (moves | stats) */
.moveset-summary {
  color: #f1f5f9;
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.moveset-summary strong {
  color: #4ade80;
}

.moveset-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.moveset-moves {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.move-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #4ade80;
  border-radius: 10px;
  font-weight: 600;
  color: #fff;
}

.move-type-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.moveset-stats {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2d333b;
}

.moveset-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.moveset-stat-row:last-child {
  border-bottom: none;
}

.moveset-stat-val {
  font-weight: 600;
  color: #f5c518;
}

.moveset-stat-row:first-child .moveset-stat-val { color: #f5c518; }
.moveset-stat-row:nth-child(2) .moveset-stat-val { color: #4ade80; }
.moveset-stat-row:nth-child(3) .moveset-stat-val { color: #fff; }

/* Type Effect - TÜR ETKİSİ (görsele benzer) */
.type-effect-section {
  margin-top: 1.5rem;
}

.type-effect-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-align: center;
}

.type-effect-card {
  
}

.type-effect-types {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.type-effect-type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.type-effect-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.type-effect-type-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.type-effect-type-icon .type-effect-icon-fallback {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.type-effect-type-name {
  text-align: center;
}

.type-effect-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.type-effect-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1rem;
  position: relative;
  min-height: 100px;
}

.type-effect-arrow {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #4a90d9;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.type-effect-arrow-down { top: -10px; }
.type-effect-arrow-up { top: -10px; }

.type-effect-label {
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  margin-top: 0.2rem;
}

.type-effect-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.type-effect-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.type-effect-icon-wrap .type-effect-icon,
.type-effect-icon-wrap img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.type-effect-icon-fallback {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

@media (max-width: 500px) {
  .type-effect-bottom {
    grid-template-columns: 1fr;
  }
}

.weather-mini {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 550px) {
  .moveset-layout {
    grid-template-columns: 1fr;
  }
}

/* Evolution chart */
.evo-chart-title,
.moveset-title {
  text-align: center;
}

/* Evolution chart table */
.evo-chart-table-wrap {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #334155;
}

.evo-chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.evo-chart-table th {
  background: rgba(0, 0, 0, 0.35);
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.evo-chart-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.evo-chart-table tr:last-child td {
  border-bottom: none;
}

.evo-chart-table .evo-pokemon {
  text-align: center;
}

.evo-chart-table .evo-pokemon a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}

.evo-chart-table .evo-pokemon a:hover {
  color: #f5c518;
}

.evo-sprite {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.evo-sprite.evo-mega {
  position: relative;
}

.evo-name {
  font-size: 0.9rem;
}

.evo-requires {
  text-align: center;
}

.evo-cost-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.evo-summary {
  margin: 1.25rem 1rem 1rem;
  padding-left: 1.25rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.evo-summary li {
  margin-bottom: 0.35rem;
}

/* Evolution chain (fallback) */
.evo-chain {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.evo-chain .evo-item {
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #334155;
}

.evo-chain .evo-arrow {
  color: #f5c518;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Family */
.family-title {
  text-align: center;
}

.family-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.family-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid #334155;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
}

.family-card:hover {
  border-color: #f5c518;
  background: rgba(0, 0, 0, 0.35);
}

.family-sprite-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.family-sprite {
  width: 56px;
  height: 56px;
  object-fit: contain;
  z-index: 1;
}

.family-card.family-mega .family-sprite-wrap::before,
.family-card.family-gigantamax .family-sprite-wrap::before {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  opacity: 0.5;
  z-index: 0;
}

.family-card.family-shadow .family-sprite-wrap::before {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  opacity: 0.5;
  z-index: 0;
}

.family-name {
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.family-name-active {
  border-bottom: 2px solid #4ade80;
  padding-bottom: 2px;
}

@media (max-width: 500px) {
  .family-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pokedex table */
.pokedex-table {
  width: 100%;
  font-size: 0.9rem;
}

.pokedex-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pokedex-table td:first-child {
  color: #94a3b8;
  width: 35%;
  font-size: 0.85rem;
}

.pokedex-entries {
  margin-top: 1rem;
}

.pokedex-entries .entry-item {
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pokedex-entries .entry-version {
  font-weight: 600;
  color: #f5c518;
  margin-bottom: 0.25rem;
}

/* Loading & Error */
.pokemon-loading {
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
}

.pokemon-loading::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #334155;
  border-top-color: #f5c518;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pokemon-error {
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
}

.pokemon-error a {
  color: #f5c518;
  text-decoration: none;
  font-weight: 600;
}

.pokemon-error a:hover {
  text-decoration: underline;
}
