.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px;
    min-height: 100vh;
    background: linear-gradient(#244488, #0d1b2a);
    color: #fff;
}

.play-board {
    width: min(90vmin, 600px);
    aspect-ratio: 1 / 1;
    background: #071020;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    grid-template-rows: repeat(30, 1fr);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.food {
    background: #bbff7c;
    border-radius: 4px;
}

.head {
    background: #7cffb2;
    border-radius: 4px;
}

.controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dpad-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pad {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: 0.1s;
}

.pad i {
    font-size: 24px;
}

.pad:active,
.pad.pressed {
    background: rgba(255,255,255,0.25);
    transform: scale(0.92);
}

@media (min-width: 600px) {
    .controls { display: none; }
}
