body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ffe6f2, #fff0f5, #fff5f5);
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', cursive, sans-serif;
    padding: 1rem;
}

.sparkle-container {
    text-align: center;
    padding: 2rem;
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(255, 192, 203, 0.6);
    backdrop-filter: blur(10px);
}

.rainbow-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff8000,
        #ffff00,
        #00ff00,
        #00ffff,
        #0000ff,
        #8000ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 5s linear infinite;
    margin: 0 0 1rem 0;
}

.cats-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cat-image {
    width: clamp(200px, 40vw, 400px);
    height: clamp(200px, 40vw, 400px);
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #ffb6c1;
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.cat-image:hover, .cat-image:active, .cat-image:focus {
    animation: wiggle 0.5s ease-in-out forwards;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 182, 193, 1), 0 0 50px rgba(255, 105, 180, 0.5);
}
@keyframes wiggle {
    0% { transform: scale(1.1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    75% { transform: scale(1.1) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}
.sparkles {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: 1rem;
    animation: twinkle 1.5s ease-in-out infinite;
}

.click-hint {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #ff69b4;
    margin: 0.5rem 0 1rem 0;
    opacity: 0.8;
    font-style: italic;
}

.cat-counter {
    margin-top: 1.5rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
    color: #ff1493;
    text-shadow: 0 2px 4px rgba(255, 182, 193, 0.5);
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}
