/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 3 de set. de 2026, 11:04:46
    Author     : glaub
*/

.home-content {

    width: 100%;

    padding:
        18px
        var(--app-padding);
}


/* =====================================================
   CARD DE DESTAQUE
   ===================================================== */

.hero-card {

    position: relative;

    overflow: hidden;

    width: 100%;

    padding: 20px;

    border-radius: var(--radius-xl);

    background: var(--gradiente-dourado);

    color: var(--cor-azul-deep);

    box-shadow: var(--sombra-dourada);
}


.hero-card::after {

    content: "";

    position: absolute;

    width: 130px;
    height: 130px;

    right: -35px;
    top: -35px;

    border-radius: 50%;

    background: rgba(255,255,255,0.12);
}


.hero-card::before {

    content: "⚽";

    position: absolute;

    right: 15px;
    bottom: -18px;

    font-size: 82px;

    opacity: 0.16;

    transform: rotate(-12deg);
}


.hero-label {

    position: relative;
    z-index: 1;

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 5px 9px;

    border-radius: var(--radius-pill);

    background: rgba(255,255,255,0.25);

    font-size: 10px;

    font-weight: var(--peso-bold);

    text-transform: uppercase;

    letter-spacing: 0.4px;
}


.hero-card h2 {

    position: relative;
    z-index: 1;

    margin: 13px 0 5px;

    font-size: 23px;

    line-height: 1.15;

    font-weight: var(--peso-extra);
}


.hero-card p {

    position: relative;
    z-index: 1;

    margin: 0;

    max-width: 260px;

    font-size: 13px;

    line-height: 1.45;

    opacity: 0.82;
}


.hero-button {

    position: relative;
    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 16px;

    min-height: 40px;

    padding: 0 16px;

    border: 0;

    border-radius: var(--radius-md);

    background: var(--cor-azul-deep);

    color: var(--cor-branco);

    font-size: 13px;

    font-weight: var(--peso-bold);

    text-decoration: none;

    box-shadow: var(--sombra-pequena);
}


/* =====================================================
   TÍTULOS DE SEÇÃO
   ===================================================== */

.section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin:
        24px
        0
        12px;
}


.section-header h2 {

    margin: 0;

    color: var(--cor-texto);

    font-size: 18px;

    font-weight: var(--peso-extra);
}


.section-header a {

    color: var(--cor-azul);

    font-size: 12px;

    font-weight: var(--peso-bold);

    text-decoration: none;
}


/* =====================================================
   JOGO
   ===================================================== */

.match-card {

    position: relative;

    width: 100%;

    background: var(--card);

    border: 1px solid var(--borda-clara);

    border-radius: var(--radius-lg);

    padding: 15px;

    margin-bottom: 10px;

    box-shadow: var(--sombra-pequena);

    transition: var(--transicao);
}


.match-card:hover {

    transform: translateY(-1px);

    box-shadow: var(--sombra-card);
}


.match-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 15px;
}


.match-championship {

    display: flex;

    align-items: center;

    gap: 6px;

    color: var(--cor-texto-secundario);

    font-size: 11px;

    font-weight: var(--peso-semibold);
}


.match-championship i {

    color: var(--cor-dourado);

    font-size: 10px;
}


.match-date {

    color: var(--cor-cinza-500);

    font-size: 10px;
}


.teams {

    display: grid;

    grid-template-columns: 1fr 45px 1fr;

    align-items: center;

    gap: 8px;
}


.team {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 7px;
}


.team-logo {

    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cor-cinza-100);

    border: 1px solid var(--borda-clara);

    color: var(--cor-azul);

    font-size: 18px;
}


.team-name {

    color: var(--cor-texto);

    font-size: 12px;

    line-height: 1.2;

    font-weight: var(--peso-bold);
}


.versus {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;
}


.versus strong {

    color: var(--cor-azul);

    font-size: 14px;

    font-weight: var(--peso-extra);
}


.versus small {

    color: var(--cor-cinza-500);

    font-size: 9px;
}


.match-button {

    width: 100%;

    height: 38px;

    margin-top: 15px;

    border: 1px solid var(--borda-azul);

    border-radius: var(--radius-md);

    background: rgba(6,59,115,0.05);

    color: var(--cor-azul);

    font-size: 12px;

    font-weight: var(--peso-bold);

    cursor: pointer;

    transition: var(--transicao);
}


.match-button:hover {

    background: var(--cor-azul);

    color: var(--cor-branco);
}


/* =====================================================
   RESUMO
   ===================================================== */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;
}


.stat-card {

    min-width: 0;

    padding: 14px 8px;

    text-align: center;

    background: var(--card);

    border: 1px solid var(--borda-clara);

    border-radius: var(--radius-md);

    box-shadow: var(--sombra-pequena);
}


.stat-icon {

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 7px;

    border-radius: 9px;

    background: var(--cor-cinza-100);

    color: var(--cor-azul);

    font-size: 13px;
}


.stat-card:nth-child(2) .stat-icon {

    color: var(--cor-dourado);

    background: var(--cor-alerta-claro);
}


.stat-card:nth-child(3) .stat-icon {

    color: var(--cor-sucesso);

    background: var(--cor-sucesso-claro);
}


.stat-value {

    display: block;

    color: var(--cor-texto);

    font-size: 19px;

    font-weight: var(--peso-extra);

    line-height: 1;
}


.stat-label {

    display: block;

    margin-top: 5px;

    color: var(--cor-texto-secundario);

    font-size: 9px;

    line-height: 1.2;
}


/* =====================================================
   RANKING
   ===================================================== */

.ranking-card {

    background: var(--card);

    border: 1px solid var(--borda-clara);

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--sombra-pequena);
}


.ranking-item {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 14px;

    border-bottom: 1px solid var(--cor-cinza-200);
}


.ranking-item:last-child {

    border-bottom: 0;
}


.ranking-position {

    width: 25px;

    flex-shrink: 0;

    text-align: center;

    color: var(--cor-cinza-500);

    font-size: 12px;

    font-weight: var(--peso-bold);
}


.ranking-item:first-child .ranking-position {

    color: var(--cor-dourado);

    font-size: 15px;
}


.ranking-avatar {

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--gradiente-azul);

    color: var(--cor-branco);

    font-size: 12px;

    font-weight: var(--peso-bold);
}


.ranking-name {

    flex: 1;

    min-width: 0;

    color: var(--cor-texto);

    font-size: 12px;

    font-weight: var(--peso-semibold);

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.ranking-points {

    color: var(--cor-azul);

    font-size: 12px;

    font-weight: var(--peso-extra);
}


/* =====================================================
   COMO FUNCIONA
   ===================================================== */

.how-card {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px;

    margin-bottom: 9px;

    background: var(--card);

    border: 1px solid var(--borda-clara);

    border-radius: var(--radius-md);

    box-shadow: var(--sombra-pequena);
}


.how-number {

    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cor-azul);

    color: var(--cor-branco);

    font-size: 13px;

    font-weight: var(--peso-extra);
}


.how-card strong {

    display: block;

    color: var(--cor-texto);

    font-size: 12px;
}


.how-card span {

    display: block;

    margin-top: 3px;

    color: var(--cor-texto-secundario);

    font-size: 10px;

    line-height: 1.35;
}


/* =====================================================
   RESPONSIVIDADE
   ===================================================== */

@media (max-width: 360px) {

    .home-content {

        padding-left: 12px;
        padding-right: 12px;
    }

    .home-header {

        padding-left: 12px;
        padding-right: 12px;
    }

    .brand-name strong {

        font-size: 16px;
    }

    .welcome h1 {

        font-size: 22px;
    }

    .team-logo {

        width: 40px;
        height: 40px;
    }
}


@media (min-width: 431px) {

    .bottom-nav {

        border-radius:
            var(--radius-xl)
            var(--radius-xl)
            0
            0;
    }
}