/* Reset some defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Press Start 2P', monospace; /* Retro pixel font */
}

/* Background and body */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6a0dad, #00ff99, #00bfff);
    background-size: 600% 600%;
    animation: gradientBG 15s ease infinite;
    color: #ffffff;
    text-align: center;
}

/* Animate gradient background */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Page title */
h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px #000000;
}

/* Cow count */
#cow-count {
    font-size: 10rem;
    margin: 20px 0;
    padding: 20px;
    border: 4px solid #00ff99;
    border-radius: 20px;
    background: rgba(0,0,0,0.3);
    box-shadow: 0 0 20px #00ff99, 0 0 40px #6a0dad;
    transition: transform 0.2s;
}

#cow-count:hover {
    transform: scale(1.1);
}

/* Button styling */
button {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    padding: 15px 30px;
    color: #ffffff;
    background: linear-gradient(45deg, #6a0dad, #00ff99, #00bfff);
    border: 3px solid #ffffff;
    border-radius: 10px;
    cursor: pointer;
    text-shadow: 1px 1px #000;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00bfff, 0 0 20px #6a0dad inset;
  -webkit-tap-highlight-color: transparent; /* Chrome/Safari/Android */	
}

button:hover {
    background: linear-gradient(45deg, #00ff99, #6a0dad, #00bfff);
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 0 0 20px #00ff99, 0 0 30px #6a0dad inset;
}

/* Footer or small text */
footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #ffffffaa;
}

/* Optional: make page responsive for smaller screens */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    #cow-count {
        font-size: 2.5rem;
        padding: 15px;
    }
    button {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
}
/* Remove the persistent focus highlight on buttons for mobile */
button:focus {
  outline: none;
  box-shadow: none;
}