body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23e0e0e0"/><circle cx="20" cy="20" r="5" fill="%23d0d0d0"/><circle cx="50" cy="40" r="7" fill="%23d0d0d0"/><circle cx="80" cy="25" r="6" fill="%23d0d0d0"/><circle cx="30" cy="70" r="8" fill="%23d0d0d0"/><circle cx="70" cy="75" r="5" fill="%23d0d0d0"/></svg>');
}

.game-container {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #555;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px auto;
    padding: 20px;
    background-color: #8bc34a;
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.mole-hole {
    position: relative;
    width: 100%;
    height: 120px;
    background-color: #5d4037;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.5);
}

.mole {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: #795548;
    border-radius: 50%;
    bottom: -100%;
    transition: bottom 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mole.show {
    bottom: 10%;
}

.mole-face {
    position: relative;
    width: 60%;
    height: 60%;
}

.mole-eyes {
    position: absolute;
    top: 20%;
    width: 15%;
    height: 15%;
    background-color: #000;
    border-radius: 50%;
}

.mole-eye-left {
    left: 20%;
}

.mole-eye-right {
    right: 20%;
}

.mole-nose {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 15%;
    background-color: #5d4037;
    border-radius: 50%;
}

.controls {
    margin: 20px 0;
}

button {
    padding: 12px 24px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.status {
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: #e0e0e0;
    color: #333;
}

.status.success {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.status.error {
    background-color: #ffcdd2;
    color: #c62828;
}

@media (max-width: 600px) {
    .game-container {
        padding: 20px;
    }
    
    .game-board {
        gap: 15px;
        padding: 15px;
    }
    
    .mole-hole {
        height: 100px;
    }
}