/* Arquivo: style.css - Versão Final e Definitiva */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@keyframes flip-gol {
    0% { transform: rotateX(0deg); }
    50% { transform: rotateX(90deg); opacity: 0.5; }
    100% { transform: rotateX(0deg); }
}

.gol-animacao {
    display: inline-block;
    animation: flip-gol 0.6s ease-in-out;
}

body {
    background: linear-gradient(to bottom, #0a4f0a, #0d3a0d);
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagens/marca_dagua.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.1;
    z-index: -1; 
}

.placar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 96vw; 
    height: 92vh;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2vh 4vw;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.time-label {
    font-size: clamp(1em, 2.5vw, 3.5em);
    color: #bdc3c7;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: -2vh; 
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    flex-basis: 33%;
    height: 100%;
}

.time h2 {
    font-size: clamp(3em, 7.5vw, 10em);
    margin: 0;
    text-transform: uppercase;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.time img {
    width: clamp(120px, 18vw, 300px);
    height: clamp(120px, 18vw, 300px);
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.9));
}

.info-central {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#cronometro {
    font-size: clamp(3.5em, 7vw, 9em);
    background-color: #111;
    padding: 1vh 2.5vw;
    border-radius: 10px;
    margin-bottom: 5vh;
    border: 2px solid #555;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
    letter-spacing: 5px;
    white-space: nowrap;
}

.decimos {
    font-size: 0.7em;
    color: #bbb;
    vertical-align: middle;
}

.gols {
    font-size: clamp(8em, 22vw, 28em);
    font-weight: bold;
    display: flex;
    gap: 4vw;
    align-items: center;
    color: #f2e541;
    text-shadow: 6px 6px 15px rgba(0, 0, 0, 0.8);
}

#periodo-display {
    font-size: clamp(1.5em, 3vw, 4em);
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -3vh;
    margin-bottom: 2vh;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* --- ESTILOS PARA O CONTAINER DOS GOLS E LOGO --- */
.gols-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* <-- ESTA É A LINHA QUE CENTRALIZA A LOGO */
}

.logo-divulgacao {
    width: clamp(80px, 10vw, 350px);
    height: auto;
    margin-top: -2vh;
    opacity: 0.6; 
    z-index: -1; 
}

/* --- ESTILO DO BOTÃO DE LOGIN FLUTUANTE --- */
.admin-login-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.admin-login-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border-color: white;
}