* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f0f8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 450px;
    text-align: center;
}

h1 {
    color: #34495e;
    margin-bottom: 10px;
}

p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.input-area {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

#guess-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    transition: border-color 0.3s;
}

#guess-input:focus {
    border-color: #3498db;
    outline: none;
}

#guess-button {
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s;
}

#guess-button:hover {
    background-color: #2980b9;
}

.feedback-area {
    text-align: left;
    background-color: #f7f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #bdc3c7;
    margin-bottom: 25px;
}

#feedback-message {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Cores de feedback dinâmicas */
.low { color: #f39c12; } /* Amarelo/Laranja para 'Baixo' */
.high { color: #e74c3c; } /* Vermelho para 'Alto' */
.win { color: #2ecc71; } /* Verde para 'Vitória' */
.lose { color: #c0392b; } /* Vermelho escuro para 'Derrota' */

#guesses-list {
    font-weight: 700;
    color: #34495e;
}

#remaining-guesses {
    font-weight: 700;
    color: #2c3e50;
}

#reset-button {
    padding: 12px 20px;
    background-color: #1abc9c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s;
}

#reset-button.hidden {
    display: none;
}