/* paginas/placar_truco/estilo_placar_truco.css */


html, body.pagina-placar-truco {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.pagina-placar-truco {
    background-color: #000000;
    color: #E0E0E0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

#truco-container {
    user-select: none;
    
    /* === MUDANÇA DEFINITIVA PARA TELA CHEIA === */
    position: fixed; /* Fixa o elemento na janela do navegador */
    top: 0;
    left: 0;
    width: 100%;     /* Ocupa 100% da largura da tela */
    height: 100%;    /* Ocupa 100% da altura da tela */
    
    /* Usa padding para o espaçamento interno, em vez de margin */
    padding-top: 1.5rem; 
    box-sizing: border-box; 
}

.team-name {
     font-weight: 500;
    text-transform: uppercase;
    color: #cccccc;
    font-size: 1.5rem;
}

.score-display {
    font-size: 35vw; /* Tamanho responsivo gigante baseado na largura da tela */
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Ajuste para telas deitadas ou mais largas */
@media (min-width: 768px) {
    .score-display {
        font-size: 25vh; /* Usa a altura da tela como base */
    }
    .team-name {
        font-size: 2rem;
    }
}

.btn-control {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #555;
    color: #E0E0E0;
    font-size: 1.6rem;
    font-weight: 700;
    transition: transform 0.1s ease-out; /* Transição mais rápida para o toque */
    flex-shrink: 0;
}

/* ESTADO ATIVO: Quando o dedo está pressionando o botão (funciona no mobile!) */
.btn-control:active {
    transform: scale(0.95); /* Dá um feedback de "pressionado" */
}

.btn-control.btn-minus {
    border-color: #803333;
    color: #ff6b6b;
}

.btn-control.btn-plus {
    border-color: #D4AF37;
    color: #FFD700;
}


/* =================================================================== */
/* === NOVOS ESTILOS PARA OS BOTÕES DE TRUCO (-3 e +3) === */
/* =================================================================== */

.truco-buttons-group {
    display: flex;
    width: 180px;
}

.truco-buttons-group .btn-control {
    flex-grow: 1;
    height: 95px; /* Altura aumentada */
    border-radius: 0;
    border-width: 2px;
}

.truco-buttons-group .btn-minus-3 {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-color: #a04040;
    color: #ff8080;
}

.truco-buttons-group .btn-plus-3 {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-left-width: 0;
    border-color: #FFD700;
    color: #FFD700;
}











.btn-command {
    background: none;
    border: none;
    color: #777;
    font-size: 1.5rem;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.btn-command:hover {
    color: #fff;
    transform: scale(1.1);
}


#btnManterTelaAtiva.ativo {
    color: #FFD700; /* Cor dourada quando o bloqueio de tela está ativo */
    text-shadow: 0 0 10px #FFD700;
}


.truco-footer {
    width: 100%;
    background-color: #111;
    padding: 1rem 0;
    margin-top: auto; /* Empurra para a base do container flex */
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Espaçamento entre os botões */
}


@media (hover: hover) {
    .btn-control {
        transition: all 0.2s ease-in-out; /* Retorna a transição mais suave para o desktop */
    }

    .btn-control:hover {
        background-color: #333;
        border-color: #E0E0E0;
        transform: scale(1.05); /* Efeito de crescimento no hover */
    }

    .btn-control.btn-minus:hover {
        background-color: #803333;
        color: white;
    }

    .btn-control.btn-plus:hover {
        background-color: #D4AF37;
        color: black;
    }

    .truco-buttons-group .btn-minus-3:hover {
        background-color: #a04040;
        color: white;
    }

    .truco-buttons-group .btn-plus-3:hover {
        background-color: #FFD700;
        color: #000;
    }
}