#game-container {
    width: 400px;
    height: 600px;
    background-color: #2c3e50;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

#board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.tile {
    width: 50px;
    height: 50px;
    border: 2px solid #7f8c8d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    box-sizing: border-box;
}

.tile.correct { background-color: #2ecc71; border-color: #2ecc71; }
.tile.present { background-color: #f1c40f; border-color: #f1c40f; }
.tile.absent { background-color: #7f8c8d; border-color: #7f8c8d; }

#keyboard {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding: 0 10px 20px 10px;
    box-sizing: border-box;
}

.key-row {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.key {
    background-color: #bdc3c7;
    border: none;
    border-radius: 4px;
    padding: 15px 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
    max-width: 40px;
    color: #2c3e50;
}

.key.wide {
    max-width: 60px;
}

.key.correct { background-color: #2ecc71; color: white; }
.key.present { background-color: #f1c40f; color: white; }
.key.absent { background-color: #7f8c8d; color: white; }

#hud-score {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 5px;
}
