    body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(
        135deg,
        #000000,
        #3a3a3a
    ); /* dark black to gray */
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    transition: background 0.5s ease;
    }

    .game-container {
    background: #1e1e1e; /* dark container */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    width: 350px;
    max-width: 95vw;
    text-align: center;
    transition: background-color 0.3s ease;
    }

    /* Responsive styles */
    @media (max-width: 600px) {
    .game-container {
        padding: 1rem;
        width: 95vw;
    }
    .display-word {
        font-size: 1.5rem;
    }
    }

    @media (min-width: 601px) and (max-width: 900px) {
    .game-container {
        width: 400px;
    }
    .display-word {
        font-size: 2.2rem;
        letter-spacing: 0.5rem;
    }
    }

    @media (min-width: 901px) {
    .game-container {
        width: 450px;
        padding: 2.5rem;
    }
    .display-word {
        font-size: 2.7rem;
        letter-spacing: 0.6rem;
    }
    }

    h1 {
    margin-bottom: 0.5rem;
    color: #81a1c1; /* soft blue */
    }

    input[type="text"] {
    width: 2.5rem;
    font-size: 1.2rem;
    text-align: center;
    margin-right: 1rem;
    margin-top: 1rem;
    background-color: #2e3440; /* dark input background */
    border: none;
    border-radius: 5px;
    color: #e0e0e0;
    outline: none;
    transition: background-color 0.3s ease;
    }

    input[type="text"]:focus {
    background-color: #434c5e;
    }

    button {
    padding: 0.5rem 1.2rem;
    background: #81a1c1; /* lighter blue */
    color: #2e3440;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    }

    button:hover {
    background: #5e81ac; /* darker blue */
    }

    .display-word {
    font-size: 2rem;
    letter-spacing: 0.4rem;
    margin: 1.5rem 0;
    user-select: none;
    color: #d8dee9; /* light gray text */
    }
