





/* --- Variáveis de Cores (Paleta GLC) --- */
:root {
    --bg-dark: #050a14;
    --bg-card: #0d1626;
    --accent-color: #3b82f6; /* Azul Brilhante */
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
        
    /* Cores dos Tipos Pokémon */
    --type-grass: #59c523;
    --type-fire: #f08030;
    --type-water: #6890f0;
    --type-psychic: #d409b3;
    --type-dark: #705848;
}

/* --- Reset e Configuração Geral --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Fundo com Filtro --- */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente com filtro escuro */
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent),
                linear-gradient(rgba(5, 10, 20, 0.95), rgba(5, 10, 20, 0.95));
    z-index: -1;
}

/* --- Header & Navbar --- */
header {
    background: rgba(13, 22, 38, 0.8);
    backdrop-filter: blur(10px); /* Filtro de desfoque no menu */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-glc { color: var(--accent-color); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-contato {
    background: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
}

/* --- Hero Section --- */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), transparent);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* --- Grid de Posts (Blog Style) --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
}

.grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--accent-color);
}

.post-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    padding: 1rem;
}

.post-image img {
    height: 100%;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.8));
}

.post-content { padding: 1.5rem; }

.category {
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Cores das Tags */
.tag-grass { background: var(--type-grass); color: #fff; }
.tag-psychic { background: var(--type-psychic); color: #fff; }
.tag-fire { background: var(--type-fire); color: #fff; }
.tag-water { background: var(--type-water); color: #fff; }

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

/* --- Tabela de Resultados --- */
.table-container {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th { color: var(--accent-color); text-transform: uppercase; font-size: 0.8rem; }

/* --- Badge Section (Insígnias) --- */
.badge-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
    transition: 0.3s;
}

.badge-item img {
    width: 80px;
    filter: grayscale(1) opacity(0.5);
    transition: 0.5s;
}

.badge-item:hover img {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 10px gold);
    transform: scale(1.1);
}

.badge-item span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* --- Footer --- */
footer {
    padding: 4rem 5%;
    text-align: center;
    background: #03070d;
    margin-top: 4rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.7rem;
    margin-top: 1rem;
    opacity: 0.5;
}







/*Insignias*/

:root {
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Bebas Neue', cursive;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 40px;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 25px;
}

.badge-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}



/* Círculo do Ícone */

/* --- 1. Estrutura do Ícone --- */
.badge-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* O círculo interno que recebe a cor */
.type-symbol {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: filter 0.3s ease;
}

/* --- 2. Definição de Cores por Tipo --- */
/* Usamos a cor no 'color' do card para o CSS herdar no brilho automaticamente */
.badge-card[data-type="grass"]     { color: #78c850; }
.badge-card[data-type="fire"]      { color: #f80505; }
.badge-card[data-type="water"]     { color: #6890f0; }
.badge-card[data-type="lightning"] { color: #f8d030; }
.badge-card[data-type="psychic"]   { color: #a33ea1; }
.badge-card[data-type="fighting"]  { color: #964b00; }
.badge-card[data-type="dark"]      { color: #1f1d1d; } /* Brilho branco para destacar o preto */
.badge-card[data-type="metal"]     { color: #a8a8b3; }
.badge-card[data-type="fairy"]     { color: #ffb7d5; }
.badge-card[data-type="dragon"]    { color: #c6a114; }
.badge-card[data-type="colorless"] { color: #ffffff; }

/* Aplicação das cores de fundo nos símbolos */
.grass     { background: #42b807; }
.fire      { background: #f30014; }
.water     { background: #0c46ce; }
.lightning { background: #f1d900; }
.psychic   { background: #c903c5; }
.fighting  { background: #8d2302; }
.dark      { background: #000000; }
.metal     { background: #a8a8c8; }
.fairy     { background: #fc0238; }
.colorless { background: #ffffff; }
.dragon    { background: linear-gradient(45deg, #c6a114, #ecd983); }

/* --- 3. Tipografia --- */
.badge-card span {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff; /* Texto sempre branco por padrão */
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* --- 4. Estados de Hover (Interação) --- */
.badge-card:hover .badge-icon {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    /* O box-shadow agora usa 'currentColor', que pega a cor definida no item 2 */
    box-shadow: 0 0 20px currentColor; 
}

.badge-card:hover span {
    color: currentColor; /* O texto ganha a cor do tipo no hover */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Caso especial: Sombrio (Dark) precisa de um brilho suave para não sumir */
.badge-card[data-type="dark"]:hover .badge-icon {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}



/*
REMOVER LINK
*/

.card-link {
    text-decoration: none;
    color: inherit; /* Mantém a cor do texto original */
    display: block; /* Faz o link ocupar o card todo */
}

/* Garante que o efeito de hover que você já tem continue funcionando */
.post-card:hover .read-more {
    text-decoration: underline;
    color: var(--accent-color);
}







