* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.score-container {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #666;
}

#score {
    font-weight: bold;
    color: #4CAF50;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    gap: 10px;
    margin-bottom: 1.5rem;
    background-color: #8B4513;
    padding: 15px;
    border-radius: 10px;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #654321;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.cell:hover {
    background-color: #7B3F00;
}

.cell.has-gnome {
    background-color: #2E7D32;
}

.gnome-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    pointer-events: none;
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.reset-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reset-btn:hover {
    background-color: #45a049;
}

.reset-btn:active {
    transform: translateY(2px);
}
