/* ================================================= */
/* === CONFIGURAÇÕES GLOBAIS E RESET               === */
/* ================================================= */

:root {
    --counter-color: #FFD700; 
    --font-primary: 'Montserrat', sans-serif;
    --color-text: #FFFFFF;
    --color-secondary: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px; 
    position: relative;
    z-index: 1;
}

/* Fundo fixo compatível com mobile */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/img/background.jpg");
    background-size: cover;
    background-position: center center;
    z-index: -1; /* fica atrás do conteúdo */
}

/* ------------------------------------------------- */
/* === CONTADOR PRINCIPAL (HEADER)                 === */
/* ------------------------------------------------- */

header {
    width: 100%;
    min-height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    box-shadow: none;
    background-color: transparent; 
}

.counter-container {
    background: transparent; 
    padding: 0; 
    border-radius: 0;
    box-shadow: none; 
    margin-top: -15vh; 
}

.total-goals {
    font-size: 8em;
    font-weight: 900;
    color: var(--counter-color);
    display: block;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* ------------------------------------------------- */
/* === CONTEÚDO PRINCIPAL (MAIN)                   === */
/* ------------------------------------------------- */

main {
    width: 90%;
    max-width: 1200px;
    padding-top: 50px;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 2.5em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    color: var(--counter-color);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

/* ------------------------------------------------- */
/* === GRID DE DADOS (Clubes e Troféus)            === */
/* ------------------------------------------------- */

.data-grid {
    display: grid;
    gap: 20px;       
    padding: 20px;   
    background: transparent; 
    border-radius: 0;
}

/* CLUBS GRID */
.clubs-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-content: center;
    align-items: center;
}

.club-item {
    background: transparent;
    border-radius: 0;
    padding: 15px; 
    display: flex;
    flex-direction: column; 
    text-align: center;
    align-items: center; 
    transition: none; 
    box-shadow: none; 
}

.club-item:hover {
    transform: none; 
    box-shadow: none; 
}

.club-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 0 10px 0;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.club-name {
    font-weight: 900;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.club-goals {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--counter-color);
}

.club-games {
    font-size: 0.85em;
    color: var(--color-secondary);
}

/* TROPHIES GRID */
.trophies-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    text-align: center;
}

.trophy-item {
    background: transparent; 
    border-radius: 0;
    padding: 15px 10px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: none; 
    min-height: 180px;
    box-shadow: none; 
}

.trophy-item:hover {
    box-shadow: none; 
}

.trophy-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.trophy-count {
    font-size: 2em;
    font-weight: 900;
    color: var(--counter-color);
    margin: 5px 0;
}

.trophy-name {
    font-size: 0.8em;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
    min-height: 3em; 
}

/* ------------------------------------------------- */
/* === MEDIA QUERIES (Responsividade)              === */
/* ------------------------------------------------- */

@media (max-width: 768px) {
    .total-goals {
        font-size: 6em;
    }
    .club-item {
        flex-direction: column;
        text-align: center;
    }
    .club-logo {
        margin: 0 0 10px 0;
    }
    .trophies-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .total-goals {
        font-size: 4em;
    }
}

