body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a2e;
    background-image: url('./media/background.png');
    background-size: auto;
    background-position: center;
    background-repeat: repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.game-container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 650px;
}

h1 {
    margin: 0 0 20px;
    font-size: 2rem;
    font-weight: 600;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    opacity: 0.9;
}

.stats-bar strong {
    color: #e67e22;
    font-size: 1.5rem;
}

#start-stop-btn {
    margin-bottom: 20px;
    padding: 12px 36px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #27ae60;
    color: #fff;
}

#start-stop-btn:hover {
    background: #1e8449;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

#start-stop-btn.stop {
    background: #e74c3c;
}

#start-stop-btn.stop:hover {
    background: #c0392b;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.grid {
    width: 450px;
    height: 450px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background-color: #3d5a3c;
}

.square {
    width: 150px;
    height: 150px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    cursor: url('media/hammer.png'), pointer;
    transition: transform 0.1s;
}

.square:active {
    transform: scale(0.95);
}

.mole {
    background-image: url("media/mole.png");
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: center;
}

button {
    background-color: #e67e22;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.hidden {
    display: none;
}

@media (max-width: 500px) {
    .game-container {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .stats-bar {
        gap: 25px;
        font-size: 1rem;
    }

    .stats-bar strong {
        font-size: 1.2rem;
    }

    #start-stop-btn {
        margin-bottom: 10px;
        padding: 10px 28px;
        font-size: 1rem;
    }

    .grid {
        width: 330px;
        height: 330px;
    }

    .square {
        width: 110px;
        height: 110px;
    }
}