body {
    font-family: Arial;
    background: linear-gradient(#0b1f3a, #102a54);
    color: white;
    text-align: center;
}

.board {
    display: grid;
    grid-template-columns: repeat(10, 35px);
    gap: 4px;
    margin: 10px;
}

.cell {
    width: 35px;
    height: 35px;
    background: #1e90ff;
    border-radius: 5px;
    transition: 0.2s;
}

.cell:hover {
    transform: scale(1.1);
}

.ship {
    background: #555;
}

.ship.start {
    border-radius: 10px 0 0 10px;
}

.ship.end {
    border-radius: 0 10px 10px 0;
}

.ship.vertical.start {
    border-radius: 10px 10px 0 0;
}

.ship.vertical.end {
    border-radius: 0 0 10px 10px;
}

.ship.middle {
    background: #777;
}

.hit {
    background: red;
    animation: explode 0.3s;
}

.miss {
    background: white;
}

@keyframes explode {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.boards {
    display: flex;
    justify-content: center;
}