/* Reset y configuración básica */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo h1 {
    color: #2c5aa0;
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-pokemon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-pikachu, .hero-charizard, .hero-mewtwo {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.hero-pikachu:hover, .hero-charizard:hover, .hero-mewtwo:hover {
    transform: scale(1.1) rotate(5deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* Search Section */
.search-section {
    background: white;
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.search-section h3 {
    text-align: center;
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

#pokemonSearch {
    flex: 1;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

#pokemonSearch:focus {
    border-color: #2c5aa0;
}

/* Estilos para autocompletado */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 60px; /* Espacio para el botón */
    background: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f8f9fa;
    color: #2c5aa0;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-name {
    font-weight: 500;
    color: #333;
}

.suggestion-item.active .suggestion-name {
    color: #2c5aa0;
    font-weight: 600;
}

/* Estilos para sugerencias del buscador de generación */
.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    margin-top: 5px;
}

.suggestions-container .suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestions-container .suggestion-item:hover {
    background-color: #f8f9fa;
    color: #2c5aa0;
}

.suggestions-container .suggestion-item:last-child {
    border-bottom: none;
}

.search-container button {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
    z-index: 10;
    position: relative;
    min-width: 120px;
}

.search-container button:hover {
    background: #1e3d6f;
    transform: translateY(-2px);
}

.search-results {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Múltiples resultados de búsqueda */
.multiple-results {
    margin-top: 2rem;
}

.multiple-results h3 {
    color: #2c5aa0;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
}

.multiple-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.search-error {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fee, #fdd);
    border-radius: 15px;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.search-error p {
    margin: 0.5rem 0;
}

.search-error p:first-child {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Generations Section */
.generations {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.generations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.generation-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.generation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.generation-card:hover::before {
    left: 100%;
}

.generation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gen-header {
    margin-bottom: 1.5rem;
}

.gen-header h4 {
    color: #2c5aa0;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gen-region {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.gen-pokemon {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gen-pokemon img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.gen-pokemon img:hover {
    transform: scale(1.2) rotate(10deg);
}

.gen-count {
    color: #666;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Enhanced Pokemon Cards */
.pokemon-card.enhanced {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.pokemon-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.pokemon-card.enhanced:hover::before {
    left: 100%;
}

.pokemon-card.enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #2c5aa0;
}

.pokemon-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pokemon-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}

.evolution-indicator {
    background: #ff6b6b;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.pokemon-image-container {
    position: relative;
    margin-bottom: 1rem;
}

.pokemon-image {
    width: 120px;
    height: 120px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.pokemon-card.enhanced:hover .pokemon-image {
    transform: scale(1.1) rotate(5deg);
}

.pokemon-stats-preview {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pokemon-card.enhanced:hover .pokemon-stats-preview {
    opacity: 1;
}

.stat-preview {
    background: rgba(44, 90, 160, 0.9);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 35px;
}

.pokemon-name {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.pokemon-quick-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: #666;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.info-icon {
    font-size: 0.8rem;
}

.pokemon-abilities {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.ability-tag {
    background: #f0f0f0;
    color: #555;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.pokemon-card-footer {
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
}

.total-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-label {
    color: #666;
    font-weight: 600;
}

.stats-value {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 700;
}

/* Generation Pokemon Section */
.generation-pokemon {
    background: white;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Generation Hero Section */
.generation-hero {
    background: linear-gradient(135deg, var(--primary-color), #1e73be);
    color: white;
    padding: 4rem 2rem;
    border-radius: 0;
    text-align: center;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.back-button {
    position: absolute;
    left: 2rem;
    top: 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.generation-hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.generation-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.generation-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.generation-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nav-gen-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-gen-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-gen-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.generation-starters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.starter-pokemon {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.starter-pokemon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.starter-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.pokemon-version {
    text-align: center;
    transition: all 0.3s ease;
}

.pokemon-version:hover {
    transform: scale(1.1);
}

.pokemon-version img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
    border-radius: 8px;
    transition: all 0.3s ease;
}

.version-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.3rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-label.shiny {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.starter-pokemon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.starter-pokemon h4 {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: capitalize;
}

.starter-pokemon .starter-type {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.generation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.pokemon-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem auto 2rem auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
}

.search-container {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 400px;
}

.search-container input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    border-color: #2c5aa0;
}

.search-container button {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    opacity: 1;
    visibility: visible;
    z-index: 10;
    position: relative;
    min-width: 120px;
}

.search-container button:hover {
    background: #1e73be;
}

.sort-controls select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    outline: none;
}

.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem auto 0 auto;
    padding: 0 2rem 4rem 2rem;
    max-width: 1200px;
}

.loading-container {
    text-align: center;
    padding: 3rem;
}

.loading-container p {
    margin-top: 1rem;
    color: #666;
    font-size: 1.1rem;
}

/* Featured Pokemon Section */
.featured-pokemon {
    background: white;
    padding: 4rem 0;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.pokemon-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pokemon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pokemon-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.pokemon-card h4 {
    color: #2c5aa0;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.pokemon-types {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.type-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

/* Type colors */
.type-normal { background: #A8A878; }
.type-fire { background: #F08030; }
.type-water { background: #6890F0; }
.type-electric { background: #F8D030; }
.type-grass { background: #78C850; }
.type-ice { background: #98D8D8; }
.type-fighting { background: #C03028; }
.type-poison { background: #A040A0; }
.type-ground { background: #E0C068; }
.type-flying { background: #A890F0; }
.type-psychic { background: #F85888; }
.type-bug { background: #A8B820; }
.type-rock { background: #B8A038; }
.type-ghost { background: #705898; }
.type-dragon { background: #7038F8; }
.type-dark { background: #705848; }
.type-steel { background: #B8B8D0; }
.type-fairy { background: #EE99AC; }

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #2c5aa0;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-pokemon {
        gap: 1rem;
    }
    
    .hero-pikachu, .hero-charizard, .hero-mewtwo {
        width: 100px;
        height: 100px;
    }
    
    .generations-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .gen-pokemon {
        gap: 0.5rem;
    }
    
    .gen-pokemon img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 10px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .generation-card {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* Nuevos estilos para curiosidades y descripciones de movimientos */
.pokemon-description-section {
    margin: 15px 0;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.pokemon-description {
    margin: 10px 0 0 0;
    font-style: italic;
    line-height: 1.5;
    color: #495057;
}

.curiosities-section {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 12px;
    border-left: 4px solid #ffc107;
}

.curiosities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.legendary-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b6f00;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.mythical-badge {
    background: linear-gradient(135deg, #e6b3ff 0%, #cc99ff 100%);
    color: #6600cc;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(230, 179, 255, 0.3);
}

.loading-moves {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

.moves-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.move-item-detailed {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.move-item-detailed:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.move-name {
    font-weight: bold;
    color: var(--primary-color);
    text-transform: capitalize;
    margin-bottom: 6px;
    font-size: 1em;
    display: flex;
    align-items: center;
}

.move-name::before {
    content: "⚔️";
    margin-right: 8px;
    font-size: 0.9em;
}

.move-description {
    color: #495057;
    line-height: 1.4;
    font-size: 0.85em;
}

/* Pokemon Modal Styles */
.pokemon-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.pokemon-modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #1e73be);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close:hover,
.close:focus {
    opacity: 0.7;
    text-decoration: none;
}

.pokemon-details {
    padding: 30px;
}

.pokemon-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.pokemon-images-center {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.main-pokemon-image {
    text-align: center;
}

.pokemon-image-main {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.2));
    border-radius: 10px;
}

.secondary-pokemon-image {
    text-align: center;
    margin-top: 20px;
}

.pokemon-image-shiny {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(255, 215, 0, 0.3));
    border-radius: 8px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.image-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shiny-label {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
    font-weight: 700;
}

.pokemon-image-large {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.pokemon-info h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    text-transform: capitalize;
    font-weight: 800;
}

.pokemon-id {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.pokemon-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.stat-item {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.stat-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9em;
}

.stat-value {
    font-size: 1.5em;
    font-weight: 800;
    color: #333;
}

.abilities-section, .moves-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.section-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.abilities-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ability-item {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: capitalize;
}

.moves-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.move-item {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.move-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.language-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.language-btn:hover {
    background: #1e73be;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    border: 1px solid #e0e0e0;
    z-index: 1001;
}

.language-menu.show,
.language-menu[style*="display: block"] {
    display: block !important;
    transform: translateY(0);
}

.language-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.language-option:last-child {
    border-bottom: none;
}

/* Estilos para páginas legales */
.legal-page {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.legal-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 600;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Estilos específicos para la página About */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #2c5aa0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tech-category {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #2c5aa0;
}

.tech-category h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-align: center;
}

.features-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #28a745;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item h3 {
    color: #28a745;
    margin-bottom: 0.8rem;
}

.credits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.credit-item {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    padding: 1.5rem;
    border-radius: 15px;
    border-top: 4px solid #1976d2;
}

.credit-item h3 {
    color: #1976d2;
    margin-bottom: 0.8rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    padding: 1.5rem;
    border-radius: 15px;
    border-top: 4px solid #4caf50;
    text-align: center;
}

.contact-item h3 {
    color: #2e7d32;
    margin-bottom: 0.8rem;
}

.contact-link {
    display: inline-block;
    background: #4caf50;
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* Footer mejorado */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #fff;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-accept {
    background: #4caf50;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-decline:hover {
    background: white;
    color: #2c5aa0;
}

.cookie-info {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.cookie-info:hover {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-accept,
    .cookie-decline {
        width: 100%;
        padding: 1rem;
    }
}

/* Responsive para páginas legales */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .tech-stack,
    .credits {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.curiosity-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid #8B5CF6; /* Default purple, will be overridden by JS */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.curiosity-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.curiosity-item .curiosity-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.05em;
}

.curiosity-item .curiosity-text {
    color: #495057;
    line-height: 1.6;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .curiosities-grid {
        grid-template-columns: 1fr;
    }
    
    .moves-grid-detailed {
        grid-template-columns: 1fr;
    }
    
    .move-item-detailed {
        padding: 10px;
    }
    
    .pokemon-modal .modal-content {
        width: 95%;
        max-width: none;
        margin: 10px;
        max-height: 90vh;
    }
    
    .pokemon-details {
        padding: 15px;
    }
    
    .pokemon-images-center {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .pokemon-image-main {
        width: 150px;
        height: 150px;
    }
    
    .pokemon-image-shiny {
        width: 80px;
        height: 80px;
    }
    
    .secondary-pokemon-image {
        margin-top: 0;
    }
    
    .language-selector {
        margin-top: 10px;
    }
    
    .language-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* Generation Pokemon Section - Mobile */
    .generation-hero {
        padding: 2rem 1rem;
    }
    
    .back-button {
        position: static;
        margin-bottom: 1rem;
    }
    
    .generation-title {
        font-size: 2rem;
    }
    
    .generation-description {
        font-size: 1.1rem;
    }
    
    .generation-navigation {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-gen-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .generation-starters {
        gap: 1rem;
    }
    
    .starter-pokemon {
        padding: 1rem;
    }
    
    .starter-images {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pokemon-version img {
        width: 60px;
        height: 60px;
    }
    
    .starter-pokemon img {
        width: 80px;
        height: 80px;
    }
    
    .generation-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .pokemon-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        max-width: none;
    }
    
    .pokemon-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* Evolution chain header styles */
.pokemon-evolution-chain-header {
    margin: 1.5rem 0;
    text-align: center;
}

.evolution-chain-loading {
    color: #666;
    font-size: 0.9rem;
    padding: 1rem;
}

.evolution-chain-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #dee2e6;
}

.evolution-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.evolution-item-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 80px;
}

.evolution-item-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    border-color: #007bff;
    background: #f8f9ff;
}

.evolution-sprite-small {
    width: 50px;
    height: 50px;
    image-rendering: pixelated;
    margin-bottom: 0.3rem;
}

.evolution-name-small {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c5aa0;
    text-align: center;
    line-height: 1.2;
}

.evolution-level {
    font-size: 0.7rem;
    color: #28a745;
    font-weight: 500;
    margin-top: 0.2rem;
}

.evolution-arrow {
    font-size: 1.5rem;
    color: #007bff;
    font-weight: bold;
    margin: 0 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.evolution-error {
    color: #dc3545;
    font-size: 0.9rem;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

/* Responsive evolution chain */
@media (max-width: 768px) {
    .evolution-chain-horizontal {
        padding: 0.8rem;
        gap: 0.3rem;
    }
    
    .evolution-item-horizontal {
        padding: 0.6rem;
        min-width: 70px;
    }
    
    .evolution-sprite-small {
        width: 40px;
        height: 40px;
    }
    
    .evolution-name-small {
        font-size: 0.7rem;
    }
    
    .evolution-arrow {
        font-size: 1.2rem;
        margin: 0 0.2rem;
    }
}

/* Legacy evolution styles - keeping for compatibility */
.evolution-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.evolution-item:hover {
    background: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.evolution-sprite {
    margin-bottom: 1rem;
}

.evolution-sprite img {
    width: 80px;
    height: 80px;
    image-rendering: pixelated;
}

.evolution-name {
    color: #2c5aa0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.evolution-types {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.evolution-types .type-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

.evolution-condition {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.no-evolutions {
    text-align: center;
    padding: 2rem;
    color: #666;
    grid-column: 1 / -1;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
    grid-column: 1 / -1;
}

/* Breadcrumbs para SEO y navegación */
.breadcrumbs {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.breadcrumbs a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumbs li:last-child span {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
    
    .breadcrumbs ol {
        gap: 0.3rem;
    }
}

/* Responsive evolution styles */
@media (max-width: 768px) {
    .evolution-item {
        padding: 1rem;
    }
    
    .evolution-sprite img {
        width: 60px;
        height: 60px;
    }
    
    .evolution-name {
        font-size: 1rem;
    }
}