body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 5px;
}

#game-board {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hand, .discard, .wall {
    border: 2px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.hand h3, .discard h3, .wall h3 {
    margin-top: 0;
    color: #555;
}

#hand-tiles, #discard-tiles, #wall-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 60px;
}

.tile {
    width: 40px;
    height: 60px;
    background-color: white;
    border: 1px solid #999;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tile:hover {
    background-color: #f9f9f9;
}

.tile.selected {
    background-color: #ffeaa7;
    border-color: #d63031;
}

.tile.hidden {
    background-color: #ddd;
    color: #ddd;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #0984e3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #74b9ff;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#message {
    text-align: center;
    font-size: 18px;
    color: #d63031;
    min-height: 24px;
}
