/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://tierstrategy.com
Description: Child theme para arquitectura personalizada TierStrategy
Author: Juan Francisco
Template: twentytwentyfive
Version: 1.0
*/
/* ====== CONTENEDOR GENERAL ====== */
.single-pokemon {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px;
}
.competitive-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* Tablet */
@media (max-width: 1024px) {
    .competitive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Móvil */
@media (max-width: 600px) {
    .competitive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.data-box {
    background: #222;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: 0.2s ease;
    
}

.data-box:hover {
    transform: translateY(-4px);
}

.data-box .label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-box .value {
    font-size: 18px;
    font-weight: 600;
}

/* ====== TÍTULO ====== */
.single-pokemon h1 {
    font-size: 42px;
    margin-bottom: 10px;
}
.pokemon-subtitle {
    color: #888;
    font-size: 15px;
    margin-top: 4px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}
.tier-badge {
    margin-bottom: 12px;
}

/* ====== BADGE TIER ====== */
.tier-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1f4d8f, #2c3e50);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ====== ROLES TAGS ====== */
.roles span {
    display: inline-block;
    background: #f1f3f5;
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin: 6px 6px 0 0;
    transition: 0.2s ease;
}

.roles span:hover {
    background: #2c3e50;
    color: white;
}
.roles {
    margin-bottom: 20px;
}
/* ====== TARJETA DATOS COMPETITIVOS ====== */
.datos-competitivos {
    background: linear-gradient(145deg, #1a1a1a, #111);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    padding: 25px;
border-radius: 16px;
}
.datos-competitivos strong {
    color: #aaa;
    font-weight: 500;
}
.datos-competitivos h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ====== ANÁLISIS ====== */
.analisis-estrategico {
    margin-top: 60px;
    padding-top: 40px;
    position: relative;
}

.analisis-estrategico::before {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #1f4d8f, #2c3e50);
    margin-bottom: 25px;
    border-radius: 3px;
}
.type-badge {
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s ease;
}

.type-badge:hover {
    transform: scale(1.05);
}
.rank-badge {
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    display: inline-block;
}
.meta-badge {
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s ease;
}
.speed-badge {
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-weight: 700;
    display: inline-block;
    transition: 0.2s ease;
}

.speed-badge:hover {
    transform: scale(1.05);
}

.meta-badge:hover {
    transform: scale(1.05);
}
.competitive-set {
    margin-top: 50px;
    padding: 35px;
    background: linear-gradient(145deg, #1a1a1a, #111);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    color: #f5f5f5;
    border: 1px solid rgba(255,255,255,0.04);
}
.competitive-set h2 {
    margin-bottom: 25px;
    font-size: 24px;
    letter-spacing: 0.5px;
}

.set-info p {
    font-size: 15px;
    margin-bottom: 10px;
}

.set-analysis {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.set-role {
    display: inline-block;
    background: #2c3e50;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}
.set-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.set-moves ul {
    list-style: none;
    padding: 0;
}

.set-moves li {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.move-list li {
    color: #fff;
}
.move-list li * {
    color: #fff !important;
}
.move-name {
    color: #fff;
    font-weight: 600;
}

.move-meta {
    color: #000;
}

.move-power {
    color: #fff;
}

.set-analysis {
    margin-top: 25px;
    line-height: 1.6;
}
.set-info p {
    margin-bottom: 8px;
    color: #ddd;
}
.set-info p strong {
    color: #f1c40f;
}

.set-info strong {
    color: #ffffff;
}
.set-moves li {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.move-name {
    flex: 1;
}

.move-meta {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    margin-left: 10px;
}

.move-power {
    background: #000;
    color: #00c3ff;
    font-weight: 700;
    font-size: 14px;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    box-shadow: 0 0 12px rgba(0,195,255,0.6);
    border: 1px solid rgba(0,195,255,0.4);
}
.competitive-grid {
    margin-bottom: 40px;
}
@media (min-width: 1024px) {

    .single-pokemon {
        max-width: 1300px;
    }

    .datos-competitivos {
        padding: 40px 60px;
    }

    .competitive-grid {
        grid-template-columns: repeat(5, 1fr);
    }

}
/* ====== RESPONSIVE FIX PARA SETS ====== */

@media (max-width: 768px) {

    .set-grid {
        grid-template-columns: 1fr;
    }

    .competitive-set {
        padding: 20px;
    }

}
@media (max-width: 480px) {

    .competitive-grid {
        grid-template-columns: 1fr;
    }

}
/* ===== COMPETITIVE INTELLIGENCE ===== */

.competitive-intelligence-section {
    margin-top: 40px;
}

.intelligence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.intel-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: 0.2s ease;
}

.intel-card a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.intel-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg, #1f4d8f, #2c3e50);
}

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

@media (max-width: 480px) {
    .intelligence-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== COMPETITIVE INTELLIGENCE FINAL FIX ===== */

.competitive-intelligence-section {
    margin-top: 40px;
}

.intelligence-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .intelligence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.intel-card {
    background: linear-gradient(145deg, #1c1f2b, #141622);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.intel-card:hover {
    transform: translateY(-3px);
    border: 1px solid rgba(255,255,255,0.15);
}

.intel-content {
    flex: 1;
}

.intel-content a {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.intel-content a:hover {
    color: #4da3ff;
}

.intel-tier {
    font-size: 13px;
    margin-top: 6px;
    color: #bbbbbb;
}

.intel-relation {
    font-size: 13px;
    margin-top: 4px;
    color: #888;
}

.intel-explanation {
    font-size: 14px;
    margin-top: 10px;
    color: #dddddd;
    line-height: 1.5;
}

.intel-impact {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
}
.tier-page{
max-width:1200px;
margin:auto;
padding:40px 20px;
}

.tier-header{
margin-bottom:40px;
}

.tier-header h1{
font-size:42px;
margin-bottom:10px;
}

.tier-description{
color:#777;
}



.tier-pokemon-card{
background:#1c1c1c;
padding:20px;
border-radius:12px;
text-align:center;
transition:0.2s ease;
}

.tier-pokemon-card:hover{
transform:translateY(-4px);
}

.tier-pokemon-card a{
color:white;
font-weight:600;
text-decoration:none;
}
.pvp-stats{
    margin-bottom: 40px;
margin-top:40px;
background:#111;
padding:25px;
border-radius:12px;
color:#f5f5f5;
}
.pvp-stats h2{
margin-bottom:15px;
}
.pvp-stats h3{
color:#ffffff;
margin-bottom:10px;
}

.pvp-stats ul{
list-style:none;
padding:0;
}

.pvp-stats li{
margin-bottom:8px;
font-size:16px;
color:#ddd;
}
.pvp-stats strong{
color:#00c3ff;
font-weight:600;
}

.tier-meta-ranking{
margin:40px 0;
}

.meta-ranking{
list-style:none;
padding:0;
margin-top:20px;
}

.ranking-row{
display:flex;
justify-content:space-between;
align-items:center;
background:#111;
padding:12px 18px;
margin-bottom:10px;
border-radius:10px;
}

.ranking-row a{
color:white;
font-weight:600;
text-decoration:none;
}

.usage{
background:#2ecc71;
padding:4px 10px;
border-radius:8px;
font-size:14px;
}
.rank-number{
font-weight:bold;
margin-right:10px;
color:#00ffa6;
}
.meta-table{

width:100%;
border-collapse:collapse;
margin-top:30px;

background:#0d1117;
border-radius:10px;
overflow:hidden;

}

.meta-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.meta-table th {
    text-align: left;
    padding: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
}

.meta-table td {
    padding: 12px;
    border-top: 1px solid #e2e8f0;
    color: #334155;
}

.meta-table tr:hover {
    background: #f8fafc;
}

.meta-table a {
    color: #3b82f6;
    text-decoration: none;
}
.month-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.month-link {
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.month-link:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.month-link.active {
    background: #86efac; /* verde pastel */
    color: #065f46;
    font-weight: 600;
}

.month-link.active {
    background: #22c55e;
    color: #000;
    font-weight: bold;
}
.meta-shifts {
    margin-top: 15px;
    padding: 0;
    list-style: none;
}
.meta-shifts li {
    margin-bottom: 6px;
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f8fafc;
    padding: 8px 10px;
    border-radius: 8px;
}
 
.meta-shifts .up {
    color: #22c55e;
}

.meta-shifts .down {
    color: #ef4444;
}

.meta-shifts .new {
    color: #3b82f6;
}

.meta-shifts .neutral {
    color: #aaa;
}
.meta-highlight {
    background: #0f172a;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #e5e7eb;
}

.meta-rise {
    color: #22c55e;
}

.meta-drop {
    color: #ef4444;
}

.meta-new {
    color: #3b82f6;
}
.badges {
    margin-top: 4px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.badge-meta {
    background: #fde68a;
    color: #92400e;
}

.badge-rising {
    background: #bbf7d0;
    color: #065f46;
}

.badge-falling {
    background: #fecaca;
    color: #7f1d1d;
}

.badge-new {
    background: #bfdbfe;
    color: #1e3a8a;
}
/* 🟢 RISING */.row-rising {
    background: #ecfdf5;
}

.row-falling {
    background: #fef2f2;
}

.row-meta {
    background: #fffbeb;
}

.row-new {
    background: #eff6ff;
}
.archetypes-section {
    margin: 40px 0;
}

.archetype-card {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    color: white;
}

.archetype-header {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 8px;
}

.archetype-rate {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 14px;
    color: #2ecc71;
    font-weight: 500;
    opacity: 0.9;
}

.archetype-strategy {
    font-size: 14px;
    opacity: 0.9;
}
.archetype-meta {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 6px;
}
.set-disclaimer {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid #f1c40f;
    padding: 10px 14px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #ccc;
    border-radius: 6px;
}
.pokemon-tier {
    background: #2c2f36;
    color: #fff;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}

.pokemon-tier:hover {
    background: #3a3f47;
}
.pokemon-types {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
}

.type {
    text-transform: capitalize;
}

/* Separador */
.type-separator {
    margin: 0 6px;
    opacity: 0.5;
}

/* COLORES POR TIPO */
.type.fire { color: #e74c3c; }
.type.water { color: #3498db; }
.type.grass { color: #2ecc71; }
.type.electric { color: #f1c40f; }
.type.ice { color: #5dade2; }
.type.fighting { color: #c0392b; }
.type.poison { color: #8e44ad; }
.type.ground { color: #d4ac0d; }
.type.flying { color: #85c1e9; }
.type.psychic { color: #ff6b81; }
.type.bug { color: #7d6608; }
.type.rock { color: #7f8c8d; }
.type.ghost { color: #5b2c6f; }
.type.dragon { color: #6c5ce7; }
.type.dark { color: #2d3436; }
.type.steel { color: #95a5a6; }
.type.fairy { color: #fd79a8; }
.type.normal { color: #bdc3c7; }
.pokemon-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Tipos */
.pokemon-types {
    font-size: 14px;
    font-weight: 500;
}

.type-separator {
    margin: 0 6px;
    opacity: 0.5;
}

.type-separator {
    color: #aaa;
    font-weight: 400;
}


/* Título */
.pokemon-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-pokemon-card {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.tier-pokemon-card a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #333;
}

.tier-pokemon-card:hover {
    transform: translateY(-3px);
    border-color: #4a90e2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.pokemon-sprite img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.pokemon-name {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
}
.pokemon-types {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.type {
    font-size: 12px;
    font-weight: 600;
    margin: 0 4px;
    padding: 0;
    background: none;
}
/* 🔥 TIPOS */.type-fire { color: #EE8130; }
.type-water { color: #6390F0; }
.type-grass { color: #7AC74C; }
.type-electric { color: #F7D02C; }
.type-ice { color: #96D9D6; }
.type-fighting { color: #C22E28; }
.type-poison { color: #A33EA1; }
.type-ground { color: #E2BF65; }
.type-flying { color: #A98FF3; }
.type-psychic { color: #F95587; }
.type-bug { color: #A6B91A; }
.type-rock { color: #B6A136; }
.type-ghost { color: #735797; }
.type-dragon { color: #6F35FC; }
.type-dark { color: #705746; }
.type-steel { color: #B7B7CE; }
.type-fairy { color: #D685AD; }
.type-normal { color: #A8A77A; }

.pokemon-sprite-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 6px;
}

.tier-pokemon-grid {
    display: grid;
    gap: 12px;
}



/* 📱 MÓVIL (hasta 768px) → 4 columnas */
@media (max-width: 768px) {
    .tier-pokemon-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 💻 DESKTOP → automático */
@media (min-width: 769px) {
    .tier-pokemon-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}
.pokedex-container {
    padding: 20px;
}

.stat-bar {
    background: #222;
    height: 8px;
    border-radius: 4px;
}

.stat-fill {
    background: #4caf50;
    height: 100%;
}
.pokedex-moves h4 {
    margin-top: 20px;
    color: #ccc;
}

.pokedex-moves ul {
    padding-left: 15px;
}

.pokedex-moves li {
    margin-bottom: 5px;
}
.location-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.location-table th {
    text-align: left;
    padding: 10px;
    background: #1a1a1a;
    color: #aaa;
    font-size: 14px;
}

.location-table td {
    padding: 10px;
    border-bottom: 1px solid #222;
}

.location-table tr:hover {
    background: #111;
}

.location-table a {
    color: #4da6ff;
    text-decoration: none;
}

.location-table a:hover {
    text-decoration: underline;
}
.location-table td:last-child {
    color: #9b59b6;
    font-weight: 500;
}
.pokemon-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pokemon-row {
    display: grid;
    grid-template-columns: 150px 150px 1fr 120px 150px;
    padding: 10px;
    background: #1e1e1e;
    border-radius: 10px;
    color: white;
    align-items: center;
}

.pokemon-name a {
    color: #4CAF50;
    font-weight: bold;
    text-decoration: none;
}

.type {
    background: #444;
    padding: 3px 6px;
    margin-right: 5px;
    border-radius: 5px;
}

.egg-group {
    background: #2a2a2a;
    padding: 3px 6px;
    border-radius: 5px;
}
/* CONTENEDOR */
.pokemon-types {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

/* SEPARADOR */
.type-separator {
    color: #888;
    font-weight: bold;
}

/* BASE TYPE */
.type {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
    transition: 0.2s;
}

/* HOVER */
.type:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

/* 🎯 COLORES OFICIALES */

/* NORMAL */
.type.normal { background: #A8A77A; }

/* FIRE */
.type.fire { background: #EE8130; }

/* WATER */
.type.water { background: #6390F0; }

/* ELECTRIC */
.type.electric { background: #F7D02C; color: #000; }

/* GRASS */
.type.grass { background: #7AC74C; }

/* ICE */
.type.ice { background: #96D9D6; color: #000; }

/* FIGHTING */
.type.fighting { background: #C22E28; }

/* POISON */
.type.poison { background: #A33EA1; }

/* GROUND */
.type.ground { background: #E2BF65; color: #000; }

/* FLYING */
.type.flying { background: #A98FF3; }

/* PSYCHIC */
.type.psychic { background: #F95587; }

/* BUG */
.type.bug { background: #A6B91A; }

/* ROCK */
.type.rock { background: #B6A136; }

/* GHOST */
.type.ghost { background: #735797; }

/* DRAGON */
.type.dragon { background: #6F35FC; }

/* DARK */
.type.dark { background: #705746; }

/* STEEL */
.type.steel { background: #B7B7CE; color: #000; }

/* FAIRY */
.type.fairy { background: #D685AD; }

/* PAGE */
.type-page {
    padding: 20px;
}

/* TITLE */
.type-title {
    font-size: 28px;
    margin-bottom: 20px;
}

/* GRID */
.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

/* CARD */
.pokemon-card {
    background: #1e1e2f;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
}

/* HOVER */
.pokemon-card:hover {
    transform: translateY(-5px);
    background: #2a2a40;
}

/* IMAGE */
.pokemon-card img {
    width: 80px;
    height: auto;
}

/* NAME */
.pokemon-card h3 {
    font-size: 14px;
    margin: 8px 0;
}

/* TYPES */
.pokemon-card .types {
    display: flex;
    justify-content: center;
    gap: 5px;
}
.stats {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}
.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.pokemon-card {
    background: linear-gradient(145deg, #1e1e2f, #2a2a40);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.sort-bar {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sort-bar a {
    padding: 5px 10px;
    background: #2a2a40;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.sort-bar a:hover {
    background: #444;
}
.sort-bar a.active {
    background: #6f35fc;
}
.filter-label {
    font-size: 12px;
    color: #888;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pokemon-items,
.pokemon-evs,
.pokemon-egg-groups {
    margin: 8px 0;
}

.pokemon-egg-groups a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.pokemon-egg-groups a:hover {
    text-decoration: underline;
}
.pokemon-main-img {
    width: 160px;
    height: 160px;
    image-rendering: pixelated;
    transition: transform 0.2s ease;
}

.pokemon-main-img:hover {
    transform: scale(1.1);
}
.single-item {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.item-title {
    text-align: center;
    font-size: 32px;
}

.item-description {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

.item-section-title {
    margin-bottom: 15px;
}

.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.pokemon-card {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: transform 0.2s;
}

.pokemon-card:hover {
    transform: scale(1.05);
}

.pokemon-sprite-img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
}

.pokemon-name {
    font-weight: bold;
}

.pokemon-types {
    font-size: 12px;
}
.single-ability {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.ability-title {
    text-align: center;
    font-size: 32px;
}

.ability-description {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}
.competitive-sets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.set-card {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 16px;
    padding: 15px;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.set-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.card-header {
    text-align: center;
}

.card-sprite {
    width: 96px;
    height: 96px;
    image-rendering: pixelated;
}

.card-name {
    margin: 10px 0 5px;
}

.card-types {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.card-body {
    margin-top: 10px;
    font-size: 14px;
}
.moves-inline {
    display: flex;
    flex-direction: column; /* 👈 OBLIGATORIO */
    gap: 10px;
}

.move-row {
   display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: nowrap; /* 👈 IMPORTANTE */
}
.move-badge {
    background: none !important;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    color: white;
    opacity: 0.9;
    text-decoration: none;
}

.move-separator {
    font-weight: bold;
    color: #aaa;
    opacity: 0.6;
}
.move-badge:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* TIPOS */

.type-fire { background: #EE8130; }
.type-water { background: #6390F0; }
.type-grass { background: #7AC74C; }
.type-electric { background: #F7D02C; color: #222; }
.type-ice { background: #96D9D6; color: #222; }
.type-fighting { background: #C22E28; }
.type-poison { background: #A33EA1; }
.type-ground { background: #E2BF65; color: #222; }
.type-flying { background: #A98FF3; }
.type-psychic { background: #F95587; }
.type-bug { background: #A6B91A; color: #222; }
.type-rock { background: #B6A136; }
.type-ghost { background: #735797; }
.type-dragon { background: #6F35FC; }
.type-dark { background: #705746; }
.type-steel { background: #B7B7CE; color: #222; }
.type-fairy { background: #D685AD; }

.type-dragon { color: #7038F8; }
.type-ground { color: #E0C068; }
.type-rock   { color: #B8A038; }
.type-fire   { color: #F08030; }
.type-water  { color: #6890F0; }
.type-grass  { color: #78C850; }
.type-electric { color: #F8D030; }
.type-ice    { color: #98D8D8; }
.type-fighting { color: #C03028; }
.type-poison { color: #A040A0; }
.type-flying { color: #A890F0; }
.type-psychic { color: #F85888; }
.type-bug    { color: #A8B820; }
.type-ghost  { color: #705898; }
.type-dark   { color: #705848; }
.type-steel  { color: #B8B8D0; }
.type-normal { color: #A8A878; }
/* 🎯 MOVES SOLO TEXTO */

.move-type-fire { color: #EE8130; }
.move-type-water { color: #6390F0; }
.move-type-grass { color: #7AC74C; }
.move-type-electric { color: #F7D02C; }
.move-type-ice { color: #96D9D6; }
.move-type-fighting { color: #C22E28; }
.move-type-poison { color: #A33EA1; }
.move-type-ground { color: #E2BF65; }
.move-type-flying { color: #A98FF3; }
.move-type-psychic { color: #F95587; }
.move-type-bug { color: #A6B91A; }
.move-type-rock { color: #B6A136; }
.move-type-ghost { color: #735797; }
.move-type-dragon { color: #6F35FC; }
.move-type-dark { color: #705746; }
.move-type-steel { color: #B7B7CE; }
.move-type-fairy { color: #D685AD; }
.move-type-normal { color: #A8A77A; }
/* 🔥 LINK COMPLETO */
.move-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 🎯 BADGE */
.move-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    color: #fff;
    text-transform: uppercase;
}

/* 🧾 NOMBRE */
.move-name {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
}
.method-header td {
    padding: 10px 12px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #bbb;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.autocomplete-list {
    background: #111;
    border: 1px solid #333;
    position: absolute;
    z-index: 999;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 8px;
    cursor: pointer;
    color: #fff;
}

.autocomplete-item:hover {
    background: #222;
}
.moves-ui {
    background: linear-gradient(180deg, #0f0f0f, #0a0a0a);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    position: relative;
    max-height: 500px;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.moves-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.moves-filters input,
.moves-filters select {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.moves-filters input:focus,
.moves-filters select:focus {
    border-color: #00c3ff;
    box-shadow: 0 0 0 2px rgba(0,195,255,0.2);
    outline: none;
}
.active-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.filter-chip {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.filter-chip:hover {
    background: #ff4d4d;
}
.moves-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.moves-table th {
    text-align: left;
    font-size: 12px;
    color: #aaa;
    padding-bottom: 6px;
}

.moves-table td {
    padding: 6px 0;
    transition: 0.2s;
    color: #e5e7eb;
}
.moves-table td:nth-child(2) { /* nombre movimiento */
    color: #ffffff;
    font-weight: 500;
}

.moves-table td:nth-child(4),
.moves-table td:nth-child(5) { /* power / accuracy */
    color: #9ca3af;
    font-size: 13px;
}
.moves-table tbody tr {
    transition: background 0.2s ease, transform 0.1s ease;
    transition:opacity 0.25s ease, transform 0.25s ease;
}

.moves-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
    transform: scale(1.01);}
.moves-table tbody tr {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.25s ease;
}
.moves-table tbody tr.hide {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
}
.moves-table tbody tr.hidden {
    opacity: 0;
    transform: translateY(6px);
}
.moves-table tbody tr.show {
    opacity: 1;
    transform: translateY(0);
}
.moves-table tbody tr:active {
    transform: scale(0.98);
}
.move-type {
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
#move-search {
    width: 100%;
    margin-bottom: 8px;
}

#move-search::placeholder {
    color: #666;
}
.moves-ui::before {
    content: "Moves";
    display: block;
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #00c3ff, transparent);
    border-radius: 2px;
}
.moves-skeleton {
    display: none;
}

.skeleton-row {
    height: 18px;
    margin: 10px 0;
    border-radius: 6px;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.05),
        rgba(255,255,255,0.12),
        rgba(255,255,255,0.05)
    );
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.moves-ui::-webkit-scrollbar {
    width: 6px;
}

.moves-ui::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}
.pokemon-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pokemon-tiers {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* BADGE */
.pokemon-tier {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #2b2f36;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}

/* quitar el slash visual */
.tier-separator {
    display: none;
}
.meta-top-picks {
    margin-bottom: 40px;
}

.meta-tier-block {
    margin-bottom: 25px;
}

.meta-tier-block h3 {
    margin-bottom: 10px;
}

.meta-tier-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-pokemon-card {
    background: #1f2937;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.tier-S .meta-pokemon-card {
    border: 2px solid #f59e0b;
}

.tier-A .meta-pokemon-card {
    border: 2px solid #3b82f6;
}

.tier-B .meta-pokemon-card {
    border: 2px solid #10b981;
}

.tier-C .meta-pokemon-card {
    border: 2px solid #6b7280;
}
.meta-core-card {
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.impact-high {
    background: #ef4444;
    color: white;
}

.impact-medium {
    background: #f59e0b;
    color: white;
}

.impact-low {
    background: #64748b;
    color: white;
}
.core-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.core-bar-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.impact-high { background: #ff4d4d; }
.impact-medium { background: #f59e0b; }
.impact-low { background: #3b82f6; }
.core-meta {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 14px;
    font-weight: 600;
}

.core-impact {
    padding: 2px 8px;
    border-radius: 6px;
}

.impact-high {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
}

.impact-medium {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.impact-low {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.core-percent {
    color: #9ca3af;
}

.core-bar {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    overflow: hidden;
}

.core-bar-fill {
    height: 100%;
}
/* 🔥 Nombres de Pokémon en Top Picks */
.meta-pokemon-card h3 {
    color: #ffffff !important;
}

/* 🔥 Nombre del core (Garchomp + Dragonite) */
.meta-core-card h4 {
    color: #ffffff !important;
}

/* 🔥 Texto META DEFINING CORE */
.meta-core-card .meta-label {
    color: #ffffff !important;
    font-weight: 700;
}
/* 🔥 NOMBRE REAL DEL POKEMON EN TOP PICKS */
/* 🔥 SOLO TEXTO DEL CORE (NO spans de stats) */
.meta-core-card .core-header {
    color: #ffffff;
}

/* 🔥 SOLO META DEFINING CORE */
.top-core-badge {
    color: #ffffff;
    font-weight: 700;
}
.meta-pokemon-card .name {
    color: #ffffff;
    font-weight: 600;
}