/* style.css (Novo Layout Lateral Blindado) */
:root {
    --text-color: #ffffff;
    --accent-color: #f1c40f; /* Amarelo Capacete */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --blur-strength: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace; /* Estética Terminal */
}

body {
    background-color: #101010;
    color: var(--text-color);
    overflow: hidden; /* Impede scroll */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container da Imagem de Fundo */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Escurece um pouco para dar contraste */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
}

/* --- CONTEÚDO EM CAMADAS LATERAIS --- */
.main-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative; /* Para posicionamento absoluto dos cards */
    padding: 40px; /* Margem de segurança nas bordas */
}

/* Efeito Vidro Fosco (Glassmorphism) Mestre */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    padding: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    position: absolute; /* Chave para o novo layout */
}

/* ⏱️ CARD DO TIMER (SUPERIOR ESQUERDO) */
.timer-card {
    top: 40px;
    left: 40px;
    width: 350px; /* Largura fixa */
}

.timer-card h1 {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timer-card h2 {
    font-size: 0.9em;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.8;
}

#countdown-timer {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--text-color);
}

#countdown-timer span {
    color: var(--accent-color);
}

/* 📝 CARD DO LOG DA NOTE (INFERIOR DIREITO) */
.log-card {
    bottom: 40px;
    right: 40px;
    width: 450px; /* Mais largo para o texto */
    text-align: left;
    font-size: 0.85em;
    line-height: 1.5;
}

.log-card h3 {
    color: var(--accent-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    text-align: center;
    font-size: 1em;
}

.log-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.75em;
    opacity: 0.7;
    margin-bottom: 8px;
}

.log-card hr {
    border: 0;
    border-top: 1px solid var(--glass-border);
    margin: 12px 0;
}

#log-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    min-height: 70px;
}

.log-status {
    font-size: 0.75em;
    font-weight: bold;
    text-align: center;
}

#sys-status {
    color: var(--accent-color);
}

/* --- RESPONSIVIDADE (MOBILE) --- */
/* Se a tela for pequena, voltamos a empilhar */
@media (max-width: 800px) {
    .main-content {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }
    
    .glass-card {
        position: relative; /* Volta ao fluxo normal */
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        width: 100%;
        max-width: 500px;
    }
}
