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

#game-container {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    color: #4d_a_f_f;
    text-shadow: 0 0 10px #4d_a_f_f;
}

#input-area {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 1.5rem 0;
}

#guess-input {
    padding: 10px;
    font-size: 1rem;
    width: 150px;
    background-color: #333;
    border: 1px solid #555;
    color: #e0e0e0;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #4d_a_f_f;
    color: #121212;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-weight: bold;
}

button:hover {
    background-color: #6_b_c_f_f;
    box-shadow: 0 0 15px #4d_a_f_f;
}

#history-area {
    margin-top: 2rem;
}

#history-list {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: #2a2a2a;
    border-radius: 5px;
    padding: 1rem;
}

#history-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    border-bottom: 1px solid #444;
}

#history-list li:last-child {
    border-bottom: none;
}

.guess-value {
    font-weight: bold;
    letter-spacing: 2px;
}

.guess-result {
    font-weight: bold;
}

#result-area {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    min-height: 50px;
}

.hidden {
    display: none;
}

#reset-button {
    margin-top: 1rem;
    background-color: #f44336;
    color: white;
}

#reset-button:hover {
    background-color: #d32f2f;
    box-shadow: 0 0 15px #f44336;
}

/* Responsive Design */
@media (max-width: 480px) {
    #game-container {
        padding: 1rem;
    }

    #input-area {
        flex-direction: column;
        align-items: center;
    }

    #guess-input {
        width: 80%;
    }

    button {
        width: 85%;
    }
}
