body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#gameCanvas {
    width: 100vw;
    height: 100vh;
    display: block;
    cursor: pointer;
}

#score {
    position: fixed;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    z-index: 100;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

.menu.hidden {
    display: none;
}

.goal-section {
    margin: 1.5rem 0;
}

.goal-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.goal-input input {
    width: 80px;
    padding: 5px;
    font-size: 16px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    text-align: center;
}

.color-section {
    margin: 1.5rem 0;
}

.preset-colors {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.color-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-btn:hover {
    transform: scale(1.1);
}

#colorPicker {
    width: 100px;
    height: 40px;
    margin: 1rem 0;
}

#startGame, .menu-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

#startGame:hover, .menu-button:hover {
    background: #45a049;
}

.menu-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.click-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    pointer-events: none;
    animation: clickRipple 1s ease-out;
    z-index: 99;
}

@keyframes clickRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animal-section {
    margin: 1.5rem 0;
}

.animal-choices label {
    margin-right: 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
}

.animal-choices input[type="radio"] {
    margin-right: 0.3rem;
} 