body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    background-color: #444;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

h1 {
    color: #BA68C8;
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    margin-bottom: 20px;
}

.campoPalpite {
    padding: 12px;
    width: 100%;
    font-size: 18px;
    margin-top: 20px;
    border: 1px solid #666;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #555;
    color: #fff;
}

.envioPalpite {
    padding: 12px 20px;
    background-color: #9C27B0;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.envioPalpite:hover {
    background-color: #7B1FA2;
}

.palpites {
    margin-top: 30px;
    font-size: 18px;
    font-weight: bold;
}

.ultimoResultado {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
}

.baixoOuAlto {
    margin-top: 10px;
    font-size: 16px;
    color: #ccc;
}

.botao-reinicio {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    width: 100%;
}

.botao-reinicio:hover {
    background-color: #45a049;
}
/* Novo estilo para o header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.back-button {
    color: #BA68C8;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 16px;
    border: 2px solid #BA68C8;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.back-button:hover {
    background-color: #BA68C8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(186, 104, 200, 0.3);
}

/* Ajuste no container principal para acomodar o header */
.container {
    margin-top: 80px; /* Espaço para o header */
    text-align: center;
    background-color: #444;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
}

/* ... (mantenha o resto do CSS existente) ... */