body {
    margin: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#gameCanvas {
    width: 100vw;
    height: 100vh;
    display: block;
    cursor: pointer;
}

.hud {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

#score {
    color: white;
    font-size: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
}

.hud-birds {
    color: white;
    font-size: 18px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
}

.camera-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.camera-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 40px;
    text-align: center;
}

.camera-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.camera-btn:active {
    background: rgba(255, 255, 255, 0.7);
}

.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;
    }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 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;
}

/* Zoom slider improvements */
#zoomSlider {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    cursor: pointer;
}

#zoomSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
}

#zoomSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4CAF50;
    cursor: pointer;
    border: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .hud {
        width: 100%;
        left: 0;
        bottom: 0;
        padding: 0.8rem;
        gap: 10px;
        background: rgba(0,0,0,0.4);
        border-radius: 0;
    }
    
    #score, .hud-birds {
        font-size: 16px;
        padding: 6px 10px;
    }
    
    .camera-controls {
        justify-content: center;
        width: 100%;
        margin-top: 8px;
    }
    
    .camera-btn {
        padding: 0.4em 0.8em;
        font-size: 1.1rem;
        min-width: 45px;
    }
    
    .menu {
        padding: 1rem;
        max-width: 95vw;
    }
    
    .color-btn {
        width: 40px;
        height: 40px;
        font-size: 0.5em;
    }
    
    .goal-input input {
        width: 50px;
        font-size: 12px;
    }
    
    .animal-choices label {
        font-size: 0.9rem;
        margin-right: 0.8rem;
    }
    
    #zoomSlider {
        height: 12px;
    }
    
    #zoomSlider::-webkit-slider-thumb {
        width: 24px;
        height: 24px;
    }
    
    #zoomSlider::-moz-range-thumb {
        width: 24px;
        height: 24px;
    }
} 