body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to right, #8b0000, #daa520); 
}

.container {
    text-align: center;
    background: #fffaf0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    margin: 20px;
    border: 3px solid #333; 
}

h1 {
    font-size: 2em;
    margin-bottom: 25px;
    color: #b22222;
    text-shadow: 1px 1px 2px #333;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
}

.image-container {
    flex: 1;
    margin-bottom: 25px;
    max-width: 300px;
    overflow: hidden; 
}

#player-image {
    width: 100%;
    border: 3px solid #333; 
    border-radius: 8px;
    transition: filter 0.3s;
}

.blurred {
    filter: blur(10px);
}

.game-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#timer {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: #555;
}

form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#guess-input {
    padding: 12px;
    font-size: 1em;
    margin-bottom: 15px;
    width: 80%;
    max-width: 300px;
    border: 2px solid #b22222; 
    border-radius: 4px;
    transition: border-color 0.3s;
}

#guess-input:focus {
    border-color: #daa520;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    width: 100%;
}

.buttons button {
    flex: 1;
    margin: 0 5px;
    padding: 12px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #b22222; 
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s;
}

.buttons button:hover {
    background-color: #8b0000;
}

.buttons button:active {
    transform: scale(0.95);
}

.buttons button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }

    .game-controls {
        width: 100%;
        max-width: 100%;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    button {
        width: 100%;
        margin-top: 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    #timer {
        font-size: 1em;
    }
}

.hint-table {
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: none;
}

td {
    padding: 5px;
    text-align: left;
    vertical-align: top;
    color: #333;
    font-size: 1em;
}
