/*!
 * GaloDoido.css - Framework CSS Extremista do Atlético Mineiro
 * "Ditadura Total" - Preto & Branco, sem exceções!
 *
 * Inspirado pelo mascote Galo Doido e pela Massa Atleticana
 * Aqui é Galo! 🐓⚫⚪
 */

/* ========================================
   REGRA 1: DITADURA DAS CORES P&B
   ======================================== */

/* Seletor universal - FORÇA MÁXIMA com !important */
* {
    color: white !important;
    background-color: black !important;
    border-color: white !important;
}

/* Garantir que body e html também obedeçam */
html,
body {
    color: white !important;
    background-color: black !important;
}

/* ========================================
   REGRA 2: CURSOR PERSONALIZADO GALO DOIDO
   ======================================== */

* {
    cursor: url('assets/galo-cursor-32.png'), auto !important;
}

/* ========================================
   REGRA 3: LINKS - ESTILO BICADA
   ======================================== */

/* Links padrão - Branco sublinhado */
a,
a:link {
    color: white !important;
    text-decoration: underline !important;
}

/* Links visitados - Cinza escuro (Luto pelos rivais) */
a:visited {
    color: #666666 !important;
}

/* Hover - Efeito BICADA (inversão rápida) */
a:hover,
a:focus {
    color: black !important;
    background-color: white !important;
    transition: all 0.15s ease-in-out !important;
    text-decoration: underline !important;
}

/* Links ativos - Manter inversão */
a:active {
    color: black !important;
    background-color: white !important;
}

/* ========================================
   REGRA 4: IMAGENS - FILTRO ESCALA DE CINZA
   ======================================== */

/* Todas as imagens em P&B, exceto as oficiais do Galo */
img:not(.galo-oficial) {
    filter: grayscale(100%) contrast(120%) !important;
}

/* Imagens oficiais do Galo mantêm cores originais */
img.galo-oficial {
    filter: none !important;
}

/* ========================================
   REGRA 5: BLOQUEIO DE AZUL (RIVAIS)
   ======================================== */

/*
 * Se alguém tentar usar termos rivais, o elemento DESAPARECE!
 * Cruzeiro = Série B forever
 * Blue = Cor proibida
 * Maria = Você sabe quem
 */
[class*="blue"],
[class*="Blue"],
[class*="BLUE"],
[class*="azul"],
[class*="Azul"],
[class*="cruzeiro"],
[class*="Cruzeiro"],
[class*="CRUZEIRO"],
[id*="maria"],
[id*="Maria"],
[id*="MARIA"],
[id*="blue"],
[id*="Blue"],
[id*="cruzeiro"],
[id*="Cruzeiro"],
[data-team*="cruzeiro"],
[data-color*="blue"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    /* Bônus: Deixar mensagem no DOM (invisível mas está lá) */
}

/* Mensagem para os rivais (aparece em ::after mas é invisível) */
[class*="cruzeiro"]::after,
[id*="cruzeiro"]::after {
    content: "REBAIXADO PARA SÉRIE B" !important;
    display: none !important;
}

/* ========================================
   REGRA 6: LOCAIS SAGRADOS (ESTÁDIOS)
   ======================================== */

/*
 * Estádios e locais históricos do Galo ganham destaque especial:
 * - Mineirão
 * - Independência
 * - Arena MRV
 * - Horto (local sagrado do Milagre)
 */
#mineirao,
#Mineirao,
#MINEIRAO,
#independencia,
#Independencia,
#INDEPENDENCIA,
#arena-mrv,
#Arena-MRV,
#ARENA-MRV,
#arenamrv,
#ArenaMRV,
#horto,
#Horto,
#HORTO {
    border: 5px solid white !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    padding: 10px !important;
    letter-spacing: 2px !important;
}

/* ========================================
   AJUSTES DE LEGIBILIDADE
   ======================================== */

/* Garantir contraste em inputs e forms */
input,
textarea,
select,
button {
    color: white !important;
    background-color: black !important;
    border: 2px solid white !important;
}

/* Placeholder text */
input::placeholder,
textarea::placeholder {
    color: #999999 !important;
    opacity: 0.8 !important;
}

/* Botões - Destaque extra */
button,
[type="submit"],
[type="button"] {
    background-color: black !important;
    color: white !important;
    border: 2px solid white !important;
    padding: 8px 16px !important;
    font-weight: bold !important;
}

button:hover,
[type="submit"]:hover,
[type="button"]:hover {
    background-color: white !important;
    color: black !important;
    transition: all 0.15s ease-in-out !important;
}

/* Cursor em botões e links mantém a mão apontando */
button,
[type="submit"],
[type="button"],
a {
    cursor: url('assets/galo-cursor-32.png'), pointer !important;
}

/* ========================================
   TABELAS - ESTRUTURA P&B
   ======================================== */

table {
    border-collapse: collapse !important;
    border: 2px solid white !important;
}

th,
td {
    border: 1px solid white !important;
    padding: 8px !important;
}

th {
    background-color: #1a1a1a !important;
    font-weight: bold !important;
}

tr:nth-child(even) {
    background-color: #0a0a0a !important;
}

/* ========================================
   CÓDIGOS E PRE - LEGIBILIDADE
   ======================================== */

code,
pre {
    background-color: #1a1a1a !important;
    border: 1px solid white !important;
    padding: 4px !important;
    font-family: monospace !important;
}

pre {
    padding: 12px !important;
    overflow-x: auto !important;
}

/* ========================================
   EASTER EGGS - MENSAGENS GALOISTAS
   ======================================== */

/* Seleção de texto - Cores invertidas */
::selection {
    background-color: white !important;
    color: black !important;
}

::-moz-selection {
    background-color: white !important;
    color: black !important;
}

/* ========================================
   OBSERVAÇÕES FINAIS
   ======================================== */

/*
 * "Caiu no Horto, tá morto!" - Milagre do Horto, 2013
 * "Aqui é Galo!" - Massa Atleticana
 *
 * Este CSS é uma homenagem à paixão atleticana.
 * Preto e Branco, sem meio termo.
 * Galo Forte Vingador! 🐓
 *
 * Uso: Adicione <link rel="stylesheet" href="galodoido.css">
 * no <head> da sua página e veja a mágica acontecer!
 *
 * Para injetar em sites alheios (modo troll):
 * var link = document.createElement('link');
 * link.rel = 'stylesheet';
 * link.href = 'https://seu-dominio.com/galodoido.css';
 * document.head.appendChild(link);
 */
