body {
    background: linear-gradient(to bottom, #7ee8fa, #80ff72);
    font-family: Arial, Helvetica, sans-serif;

    margin: 0;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.page {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;
}

.top-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* Top section */
.top-section {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    justify-content: center;
}

/* Start button */
#startButton {
    margin-bottom: 20px;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #28a745, #218838);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 0 #1e7e34;
    justify-content: center;
}

#startButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #1e7e34;
}

#startButton:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1e7e34;
}

/* Game container */
.container {
    background-image: url("grass2.jpg");
    background-size: cover;

    display: grid;
    grid-template-columns: repeat(4, minmax(60px, 140px));
    gap: 20px;

    padding: 20px;
    border-radius: 20px;
    border: 4px solid #2e7d32;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

    max-width: 95vw;
    margin-top: 20px;
}

/* Holes */
.hole {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: url("hole.jpg") center/cover no-repeat;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s;
}

.hole:hover {
    transform: scale(1.05);
}

/* Mole */
.mole {
    background-image: url("mole.png");
    background-position: center bottom;
    background-size: 120px;
    background-repeat: no-repeat;
    animation: pop 0.2s ease;
}

/* Pop animation */
@keyframes pop {
    from {
        transform: scale(0.7);
    }
    to {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(3, minmax(60px, 1fr));
    }
}
