#game-container {
    background-color: rgba(42, 42, 42, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto; /* Center horizontally */
    max-width: 800px; /* Match players-container max-width */
}

#game-title {
    color: #ffffff;
    font-size: 2.5em;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#players-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    margin-bottom: 10px;
    position: relative;
    height: 150px;
}

.player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 100px;
    height: 100px;
    background-color: #444;
    border-radius: 8px;
    border: 2px solid #666;
}

.username {
    color: #ffffff;
    font-size: 1.2em;
    background-color: rgba(51, 51, 51, 0.6);
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #555;
}

#game-canvas {
    border: 2px solid #444;
    border-radius: 5px;
    margin-top: 10px;
    height: 600px;
    align-self: center;
}

#game-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    color: #ffffff;
    font-size: 1.2em;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.player-stats {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.stat {
    background-color: #333;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Ensure #game-canvas itself doesn't restrict centering */
#game-canvas canvas {
    display: block; /* Prevents extra space below canvas */
    margin: 0 auto; /* Center canvas within its div if parent uses text-align */
} 