/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    text-decoration: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Banner no topo */
.banner {
    width: 100%;
    text-align: center;
    background-color: #1a1a1a;
}

.banner img {
    width: 100%;
    height: 35vh;
    object-fit: cover;
    margin: 0;
    display: block;
}

/* Menu Header abaixo do banner */
.menuHeader {
    background-color: #1e1e1e;
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.menu li a {
    color: #FFFFFF;
    /* Amarelo Pokémon-like */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.menu li a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.login {
    color: #f1c40f !important;
    border: 1px solid transparent;
}

.login:hover {
    border: 1px solid #f1c40f;
    opacity: .9;
}

.menuHeader.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-in-out;
}

/* Container da pesquisa */
.search-container {
    display: flex;
    justify-content: center;
    padding: 20px 15px;
    margin: 0 auto;
    max-width: 800px;
}

/* Estilo do input */
.search-input {
    width: 100%;
    max-width: 600px;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 30px 0 0 30px;
    background-color: #2a2a2a;
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.5);
}

/* Estilo do botão */
.search-button {
    padding: 0 12px 0 8px;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #f1c40f;
    color: #121212;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.search-button:hover {
    background-color: #e6ac00;
    transform: translateY(-2px);
}

/* Estilo do Card TM */
.tm-card {
    background: #1e1e1e;
    border-radius: 16px;
    border: 1px solid #333;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-width: 400px;
    margin: 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* Cabeçalho do card */
.tm-header {
    padding: 16px;
    background: linear-gradient(90deg, #2c2c2c, #3a3a3a);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-name {
    color: #f1c40f;
    font-size: 1.3rem;
    margin: 0;
}

.tm-uploader {
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
}

/* Área de mídia (GIF/Vídeo) */
.tm-media {
    text-align: center;
    background: #000;
}

.tm-media img,
.tm-media video {
    max-width: 100%;
    height: 100%;
    border: 2px solid #444;
    display: block;
}

/* Detalhes do TM */
.tm-details {
    padding: 16px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #3a3a3a;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-row strong {
    color: #ddd;
    min-width: 90px;
}

/* Estilos específicos por tipo */
.type,
.category {
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Cores das tipagens (em inglês) */
.type.normal {
    background: #A8A878;
    color: #000;
}

.type.fire {
    background: #F08030;
    color: #fff;
}

.type.water {
    background: #6890F0;
    color: #fff;
}

.type.electric {
    background: #F8D030;
    color: #000;
}

.type.grass {
    background: #78C850;
    color: #fff;
}

.type.ice {
    background: #98D8D8;
    color: #000;
}

.type.fighting {
    background: #C03028;
    color: #fff;
}

.type.poison {
    background: #A040A0;
    color: #fff;
}

.type.ground {
    background: #E0C068;
    color: #000;
}

.type.flying {
    background: #A890F0;
    color: #fff;
}

.type.psychic {
    background: #F85888;
    color: #fff;
}

.type.bug {
    background: #A8B820;
    color: #000;
}

.type.rock {
    background: #B8A038;
    color: #000;
}

.type.ghost {
    background: #705898;
    color: #fff;
}

.type.dragon {
    background: #7038F8;
    color: #fff;
}

.type.dark {
    background: #705848;
    color: #fff;
}

.type.steel {
    background: #B8B8D0;
    color: #000;
}

.type.fairy {
    background: #EE99AC;
    color: #000;
}

/* Categoria */
/* .category {
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
} */

.category.physical {
    background: #C03028;
    color: white;
}

/* Vermelho */
.category.special {
    background: #6890F0;
    color: white;
}

/* Azul */
.category.status {
    background: #A8A878;
    color: black;
}

/* Cinza claro */

/* Target */
.target.yes {
    color: #2ecc71;
    font-weight: bold;
}

.target.no {
    color: #e74c3c;
    font-weight: bold;
}

/* Preço e Cooldown */
.price,
.cooldown {
    font-weight: 600;
    color: #f1c40f;
}

/* Container dos cards */
.tm-grid {
    display: grid;
    gap: 24px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Estilo padrão (Mobile primeiro) */
.tm-grid {
    grid-template-columns: repeat(1, 1fr);
    /* 1 coluna */
}

/* Estilo da section de informações */
.infos {
    padding: 60px 20px;
    text-align: center;
    margin: 40px auto;
    max-width: 1200px;
}

.infos h1 {
    font-size: 2.2rem;
    color: #f1c40f;
    /* Amarelo Pokémon */
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.infos p {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

/* Estilo do botão */
.btn {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #f1c40f;
    color: #121212;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(241, 196, 15, 0.3);
}

.btn:hover {
    background: #e6ac00;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(241, 196, 15, 0.5);
}

.btn:active {
    transform: translateY(1px);
}

/* Container centralizado do login */
.login-container {
    max-width: 400px;
    margin: 80px auto !important;
    padding: 40px;
    background: #1e1e1e;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    text-align: center;
}

/* Título */
.login-container h2 {
    color: #f1c40f;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Estilo dos inputs */
.login-container input {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-container input:focus {
    border-color: #f1c40f;
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.4);
}

/* Botão de login */
.login-container button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #f1c40f;
    color: #121212;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(241, 196, 15, 0.3);
}

.login-container button:hover {
    background-color: #e6ac00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(241, 196, 15, 0.5);
}

.login-container button:active {
    transform: translateY(0);
}

/* Mensagem de feedback (sucesso/erro) */
#loginMsg {
    margin-top: 20px;
    font-size: 0.95rem;
    min-height: 24px;
}

#loginMsg.success {
    color: #2ecc71;
}

#loginMsg.error {
    color: #e74c3c;
}

/* Responsividade */
@media (min-width: 480px) {
    .login-container {
        margin: 40px 15px;
        padding: 30px 20px;
    }

    .login-container h2 {
        font-size: 1.7rem;
    }

    .login-container input,
    .login-container button {
        padding: 12px;
        font-size: 1rem;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .infos {
        padding: 40px 15px;
        margin: 20px 10px;
    }

    .infos h1 {
        font-size: 1.8rem;
    }

    .infos p {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
}

/* Animação opcional (suave ao fixar) */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Seção de Atualizações */
.updates-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #181818;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 20px;
    border: 1px solid #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.updates-section h2 {
    color: #f1c40f;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.updates-grid {
    display: grid;
    gap: 24px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.update-card {
    background: #1e1e1e;
    border-radius: 16px;
    border: 1px solid #3a3a3a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    padding: 24px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.update-title {
    color: #f1c40f;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.update-desc {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.update-date {
    display: inline-block;
    background: #3a3a3a;
    color: #f1c40f;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsividade para Atualizações */
@media (min-width: 768px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .updates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsividade */
@media (min-width: 768px) {
    .tm-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 colunas */
    }
}

/* Desktop: a partir de 1024px */
@media (min-width: 1024px) {
    .tm-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 colunas */
    }
}