body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    font-family: 'Arial', sans-serif;
    color: white;
    overflow: hidden;
}

.game-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

#game-board {
    border: 3px solid #4cc9f0;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(76, 201, 240, 0.5);
}

.side-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel {
    background: rgba(30, 30, 60, 0.7);
    border: 2px solid #4cc9f0;
    border-radius: 8px;
    padding: 15px;
    width: 150px;
    box-shadow: 0 0 15px rgba(76, 201, 240, 0.3);
}

h2 {
    margin-top: 0;
    color: #4cc9f0;
    font-size: 1.2em;
    text-align: center;
}

#next-piece {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

#score {
    font-size: 1.5em;
    text-align: center;
    color: #f72585;
    font-weight: bold;
}

.controls {
    font-size: 0.9em;
    line-height: 1.5;
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.game-over h2 {
    color: #f72585;
    font-size: 2em;
}

button {
    background: #4cc9f0;
    border: none;
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background: #f72585;
    color: white;
    transform: scale(1.05);
}