/* Conteneur principal */
.hoenn-container {
    padding-top: 100px;
    max-width: 1200px;
    margin: auto;
    padding-inline: 2rem;
}

.hoenn-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff0000;
    font-weight: 700;
}

/* Recherche */
.search-container {
    text-align: center;
    margin-bottom: 2rem;
}

.search-container input {
    width: 350px;
    max-width: 90%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #667eea;
}

/* Layout */
.hoenn-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Carte */
.map-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 900px;
    width: 100%;
}

.hoenn-map {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Zones cliquables */
.zone {
    position: absolute;
    cursor: pointer;
    border-radius: 20px;
    background: rgba(102, 126, 234, 0.15);
    border: 2px solid rgba(102, 126, 234, 0.4);
    transition: all 0.25s ease;
}


.zone:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
}

/* 1. Nord-Ouest (routes + montagnes) */
.zone-nord-ouest {
    top: 17%;
    left: 10%;
    width: 30%;
    height: 30%;
}

/* 2. Centre Montagnes / Désert */
.zone-centre-montagne {
    top: 17%;
    left: 40%;
    width: 25%;
    height: 30%;
}

/* 3. Sud-Ouest continental */
.zone-sud-ouest {
    bottom: 12%;
    left: 8%;
    width: 45%;
    height: 42%;
}

/* 4. Centre-Est urbain */
.zone-centre-est {
    top: 30%;
    left: 65%;
    width: 20%;
    height: 15%;
}

/* 7. Îles Est */
.zone-iles-est {
    top: 45%;
    right: 5%;
    width: 40%;
    height: 35%;
}

/* Panneau infos */
.info-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.info-panel h2 {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.5rem;
}

#pokemonList li {
    padding: 0.4rem 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
    .hoenn-content {
        flex-direction: column;
    }
}

/* Grille de cartes Pokémon */
.pokemon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pokemon-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pokemon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

.pokemon-card h3 {
    font-size: 1.1rem;
    margin: 10px 0 6px;
    text-transform: capitalize;
    color: #2d3748;
}

.pokemon-types {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #667eea;
}

.pokemon-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    font-size: 0.75rem;
    margin-top: 8px;
}

.pokemon-stats div {
    background: #f7fafc;
    border-radius: 8px;
    padding: 6px 4px;
}

.pokemon-stats strong {
    display: block;
    font-size: 0.65rem;
    color: #718096;
}

@media (max-width: 900px) {
    .pokemon-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

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