* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    height: 100vh;
    overflow: hidden;
}

#gameContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 40px;
    padding: 20px;
}

#leftPanel, #rightPanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#centerPanel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

h1 {
    font-size: 2.5em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

#gameStatus {
    font-size: 1.2em;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.username {
    font-size: 1.1em;
    font-weight: bold;
}

.score {
    font-size: 1.5em;
    color: #ffd700;
}

.lines {
    font-size: 0.9em;
    opacity: 0.8;
}

canvas {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
}

#controls {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9em;
    opacity: 0.7;
}

.control-hint {
    text-align: center;
}

@media (max-width: 768px) {
    #gameContainer {
        flex-direction: column;
        gap: 20px;
    }
    
    canvas {
        width: 200px;
        height: 400px;
    }
}

