
  @import url("https://fonts.googleapis.com/css2?family=Epilogue:wght@400;600&display=swap");

  html {
    scroll-behavior: smooth;
  }

  body {
    margin: 0px;
    padding: 0px;
    font-family: "Epilogue", sans-serif;
  }

  input, select {
    border-radius: 4px;
    padding: 0.6em;
    font-size: 1.2rem;
  }

  select option {
    line-height: 1em;
    padding: 0.6em;
    font-size: 1.2rem;
  }

  .data-container.svelte-1n46o8q {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
  }

  .filter-container.svelte-3b8ze {
    width: 100%;
    display: flex;
    align-items: start;
    margin: 2rem;
    /* height: 15rem;
    min-height: 200px; */
  }

  .filter-container.svelte-3b8ze div:where(.svelte-3b8ze) {
    padding-right: 1rem;
  }

  .error-msg.svelte-3b8ze {
    color: #da1e28;
    position: absolute;
  }

  .header-container.svelte-yhgkbt {
    text-align: center;
    margin: 3rem 0;
  }

  .list-container.svelte-zpbuit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 4rem;
    padding: 2rem;
    min-height: 1500px;
    min-width: 1400px;
  }

  .loading-container.svelte-zpbuit {
    height: 60vh;
    width: 1400px;
  }

  .showing-text.svelte-zpbuit {
    text-align: center;
    font-size: 1.4rem;
  }

  .social-container.svelte-1dnh9d3 {
    background-color: #d4d8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
  }
  .social-container.svelte-1dnh9d3 img:where(.svelte-1dnh9d3) {
    width: 32px;
    cursor: pointer;
    margin: 0 0.5rem;
  }
  .love.svelte-1dnh9d3 {
    margin-top: 1rem;
  }

  .pokeCard.svelte-13cprbj {
    border-radius: 8px;
    padding: 1rem;
    width: 200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-size: 1rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    cursor: pointer;
  }

  .pokeCard.svelte-13cprbj .name:where(.svelte-13cprbj) {
    font-weight: 500;
    font-size: 1.5rem;
    text-transform: uppercase;
  }

  .pokeCard.svelte-13cprbj .type:where(.svelte-13cprbj) {
    text-transform: capitalize;
  }

  .stats.svelte-13cprbj {
    display: flex;
    justify-content: space-around;
    width: 100%;
    text-align: center;
  }

  .pagination-list.svelte-136r6so {
    display: flex;
    justify-content: center;
  }
  .pagination-btn.svelte-136r6so {
    padding: 0.7rem;
    margin: 1rem;
    border: 1px solid #3c3399;
    cursor: pointer;
    border-radius: 4px;
  }

  .number-btn.svelte-136r6so {
    width: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .pagination-btn.svelte-136r6so:hover,
  .activeBtn.svelte-136r6so {
    background-color: #3c3399;
    color: white;
  }

  .pagination-container.svelte-136r6so {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  .button-list.svelte-136r6so {
    display: flex;
  }

  .page-no.svelte-136r6so {
    font-weight: 700;
    margin-top: 1rem;
  }

  .modal-screen.svelte-1n01t2y {
    z-index: 200;
    width: 100vw;
    height: 100vh;
    background-color: rgba(96, 128, 160, 0.74);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
  }

  .modal-container.svelte-1n01t2y {
    z-index: 250;
    width: 30rem;
    max-height: 800px;
    border-radius: 16px;
    padding: 2rem;
    color: var(--text-color, #333);
    font-size: 1.2rem;

    /* Metallic Golden Gradient Border */
    border: 8px solid transparent;
    background-image: linear-gradient(var(--bg-color, white), var(--bg-color, white)), 
                      linear-gradient(135deg, #ffe066, #f5af19, #e65c00, #ffd700, #b8860b, #ffe066);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* 3D tilt and golden glow effects */
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2),
                0 0 15px rgba(245, 175, 25, 0.35);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
  }

  .modal-container.svelte-1n01t2y:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(245, 175, 25, 0.55);
  }

  /* Holo / Simmer Sheen effect */
  .modal-container.svelte-1n01t2y::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at var(--simmer-x, 50%) var(--simmer-y, 50%),
      rgba(255, 255, 255, var(--simmer-opacity, 0)) 0%,
      rgba(255, 255, 255, 0) 50%
    ), linear-gradient(
      115deg,
      transparent 0%,
      rgba(255, 255, 255, calc(var(--simmer-opacity, 0) * 0.45)) calc(var(--simmer-x, 50%) - 15%),
      transparent calc(var(--simmer-x, 50%) + 15%),
      transparent 100%
    );
    pointer-events: none;
    z-index: 300;
    mix-blend-mode: color-dodge;
  }


  .close-btn.svelte-1n01t2y {
    float: right;
    font-size: 1.8rem;
    margin-top: -15px;
    margin-right: -10px;
    cursor: pointer;
    z-index: 400;
    position: relative;
    color: var(--text-color, #333);
  }

  /* TCG Top Header */
  .tcg-header.svelte-1n01t2y {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 4px;
  }

  .tcg-title-block.svelte-1n01t2y {
    display: flex;
    flex-direction: column;
  }

  .tcg-stage.svelte-1n01t2y {
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .tcg-name.svelte-1n01t2y {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: capitalize;
    font-family: 'Outfit', 'Arial Black', sans-serif;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
  }

  .tcg-hp-block.svelte-1n01t2y {
    display: flex;
    align-items: baseline;
    gap: 4px;
  }

  .tcg-hp-text.svelte-1n01t2y {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ff3333;
  }

  .tcg-hp-val.svelte-1n01t2y {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ff3333;
    font-family: 'Impact', sans-serif;
  }

  .tcg-energy-circle.svelte-1n01t2y {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.4), 
                0 2px 4px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  }

  .tcg-energy-circle.header-energy.svelte-1n01t2y {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    margin-left: 8px;
  }

  .tcg-energy-circle.small.svelte-1n01t2y {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.4);
  }

  /* Subheader Evolution Bar */
  .tcg-subheader.svelte-1n01t2y {
    font-size: 0.75rem;
    font-style: italic;
    background: linear-gradient(90deg, #ffd700, #ffe066, #d4af37);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 2px 8px;
    margin-top: 4px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  /* Holo Art Window Frame */
  .tcg-art-window.svelte-1n01t2y {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(200, 220, 240, 0.9) 100%);
    border: 4px solid #d4af37;
    border-radius: 6px;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1),
                inset 0 0 20px rgba(255,255,255,0.6);
    overflow: hidden;
  }

  .avatar.svelte-1n01t2y {
    transform: translateZ(30px);
    transition: transform 0.1s ease-out;
  }

  .avatar.svelte-1n01t2y img:where(.svelte-1n01t2y) {
    width: 13rem;
    height: 13rem;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
  }

  /* Specs Strip */
  .tcg-specs-strip.svelte-1n01t2y {
    font-size: 0.7rem;
    font-style: italic;
    text-align: center;
    background: linear-gradient(90deg, #e3c053, #f7df8f, #e3c053);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 2px;
    font-weight: 700;
    color: #333;
    margin-top: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  }

  /* Moves and Attacks List */
  .tcg-moves-section.svelte-1n01t2y {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(0,0,0,0.05);
  }

  /* Ability */
  .tcg-ability.svelte-1n01t2y {
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(0,0,0,0.15);
    padding-bottom: 6px;
  }

  .tcg-ability-badge.svelte-1n01t2y {
    font-size: 0.8rem;
    font-weight: 800;
    color: #cc2200;
    text-transform: uppercase;
    background: rgba(200,30,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(200,30,0,0.2);
    display: inline-block;
  }

  .tcg-ability-desc.svelte-1n01t2y {
    font-size: 0.85rem;
    margin: 4px 0 0 0;
    line-height: 1.15rem;
    color: #444;
    font-style: italic;
  }

  /* Attack Row */
  .tcg-attack-row.svelte-1n01t2y {
    display: flex;
    align-items: center;
    padding: 8px 0;
    gap: 12px;
  }

  .tcg-attack-row.border-top.svelte-1n01t2y {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .tcg-attack-cost.svelte-1n01t2y {
    display: flex;
    gap: 3px;
    width: 48px;
    flex-shrink: 0;
  }

  .tcg-attack-info.svelte-1n01t2y {
    flex-grow: 1;
  }

  .tcg-attack-name.svelte-1n01t2y {
    font-size: 1rem;
    font-weight: 800;
    text-transform: capitalize;
    color: #111;
  }

  .tcg-attack-desc.svelte-1n01t2y {
    font-size: 0.8rem;
    margin: 2px 0 0 0;
    color: #555;
    line-height: 1.1rem;
  }

  .tcg-attack-damage.svelte-1n01t2y {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111;
    font-family: 'Impact', 'Arial Black', sans-serif;
    width: 32px;
    text-align: right;
  }

  /* TCG Bottom Footer info */
  .tcg-footer.svelte-1n01t2y {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    padding-top: 6px;
  }

  .tcg-footer-item.svelte-1n01t2y {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .tcg-footer-label.svelte-1n01t2y {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
  }

  .tcg-resistance-text.svelte-1n01t2y {
    font-size: 0.75rem;
    font-weight: 800;
    color: #333;
  }

  .tcg-retreat-dots.svelte-1n01t2y {
    display: flex;
    gap: 2px;
  }

  /* Lore description */
  .tcg-bottom-desc.svelte-1n01t2y {
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.25rem;
    color: #333;
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 6px 10px;
  }

  /* Evolution Chain bottom */
  .tcg-evolution-chain.svelte-1n01t2y {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
  }

  .tcg-evo-label.svelte-1n01t2y {
    font-weight: 800;
    color: #444;
  }

  .family.svelte-1n01t2y {
    text-transform: capitalize;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .family.svelte-1n01t2y .link:where(.svelte-1n01t2y) + .link:where(.svelte-1n01t2y):before {
    content: "► ";
    margin-right: 4px;
    color: #d4af37;
  }

  .link.svelte-1n01t2y {
    display: inline;
    cursor: pointer;
    color: #3c3399;
    transition: color 0.15s ease;
  }

  .link.svelte-1n01t2y:hover {
    color: #ff3333;
    text-decoration: underline;
  }

  .tcg-card-number.svelte-1n01t2y {
    text-align: right;
    font-size: 0.7rem;
    font-weight: bold;
    color: #666;
    margin-top: 6px;
  }

  .loader-container.svelte-90a7xb {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    flex-direction: column;
    font-weight: bold;
  }

  .loader.svelte-90a7xb {
    -webkit-animation: svelte-90a7xb-spin 1s linear infinite;
    -moz-animation: svelte-90a7xb-spin 1s linear infinite;
    animation: svelte-90a7xb-spin 1s linear infinite;
  }

  @keyframes svelte-90a7xb-spin {
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }

  @-moz-keyframes svelte-90a7xb-spin {
    100% {
      -moz-transform: rotate(360deg);
    }
  }
  @-webkit-keyframes svelte-90a7xb-spin {
    100% {
      -webkit-transform: rotate(360deg);
    }
  }
