body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(to top, #1a1a1a, #0a0a0a, #000000);
    color: white;
    font-family: 'Press Start 2P';
    font-size: 15px;
    text-shadow: 2px 2px darkslateblue;
}

button {
    outline: none;

    font-family: 'Press Start 2P', cursive;
    color : black;
    text-shadow: 1px 1px darkgray;
    font-size: 15px;
    padding: 15px 18px;
    margin: 10px 0;
    width: 45%;
    background: linear-gradient(to left, goldenrod, peru);
    border-color: darkslateblue;
    border-width: 8px;

    
}
button:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 10px darkslateblue;
    text-shadow: 1px 1px pink;

    cursor: pointer;
}
button:active {
    filter: brightness(1.4);
    transform: translateY(3.5px);
    box-shadow: 0 0 20px darkslateblue;
    text-shadow: 1px 1px plum;
    
}

.icon {
    font-size : 20px;
    line-height: 15px;

}



/* MAIN LAYOUT */
.layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: 100vw;
    height: 100vh;

    align-items: center;
}

/* LEFT PANEL */
.left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* TITLE */
#game-title {
    font-size: 12px;
    text-align: center;
}

.title {
    font-family: 'Press Start 2P', cursive;
    font-size: 30px;
    color: goldenrod;
    text-shadow: 
                0 0 20px rgba(140, 90, 255, 0.75),
                3px 3px darkblue
}

/* CENTER PANEL */
.center-panel {
    display: flex;
    justify-content: center;
    align-items: center;
}



#gameCanvas {
    border: 2px solid wheat;
    box-shadow:
        0 0 10px rgba(218, 165, 32, 0.7),
        0 0 20px rgba(140, 90, 255, 0.4),
        0 0 40px rgba(140, 90, 255, 0.25),
        0 0 80px rgba(140, 90, 255, 0.1);
    border-radius: 10px;
    background: radial-gradient(circle at bottom, #2b1b50, darkblue);
}

/* RIGHT PANEL (HUD) */
.right-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: start;

    height: 82vh;
}

#nextPieceCanvas {
    border: 5px solid #2b1b50;
    border-radius: 60px;

}

#statsDisplay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 80px;
}

.hud-item {
    font-size: 24px;
    text-shadow: 3px 3px darkslateblue;
}

