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

body {
    font-family: 'VT323', 'Courier New', monospace;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff10f0;
}

.container {
    text-align: center;
    padding: 2rem;
}

.title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #ff10f0, 0 0 20px #ff10f0, 2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    color: #ff10f0;
    text-transform: uppercase;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-wrapper::before,
.image-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.image-wrapper.burst::before {
    animation: rainbowBurst1 0.8s ease-out;
}

.image-wrapper.burst::after {
    animation: rainbowBurst2 0.8s ease-out 0.1s;
}

@keyframes rainbowBurst1 {
    0% {
        width: 400px;
        height: 400px;
        opacity: 1;
        box-shadow: 0 0 20px 10px #ff10f0,
                    0 0 40px 20px #00ffff,
                    0 0 60px 30px #ffff00;
    }
    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
        box-shadow: 0 0 20px 10px #ff10f0,
                    0 0 40px 20px #00ffff,
                    0 0 60px 30px #ffff00;
    }
}

@keyframes rainbowBurst2 {
    0% {
        width: 400px;
        height: 400px;
        opacity: 1;
        box-shadow: 0 0 20px 10px #00ff41,
                    0 0 40px 20px #ff6b35,
                    0 0 60px 30px #9d4edd;
    }
    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
        box-shadow: 0 0 20px 10px #00ff41,
                    0 0 40px 20px #ff6b35,
                    0 0 60px 30px #9d4edd;
    }
}

.collie {
    max-width: 400px;
    width: 100%;
    height: auto;
    cursor: pointer;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease;
    border-radius: 8px;
}

.collie:hover {
    transform: scale(1.05);
}

.collie.animated {
    animation: bounceAndSpin 0.6s ease-in-out;
}

@keyframes bounceAndSpin {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    10% {
        transform: translateX(-10px) translateY(-15px) rotate(-5deg);
    }
    20% {
        transform: translateX(10px) translateY(-25px) rotate(5deg);
    }
    30% {
        transform: translateX(-10px) translateY(-30px) rotate(-5deg);
    }
    40% {
        transform: translateX(10px) translateY(-35px) rotate(5deg);
    }
    50% {
        transform: translateX(-8px) translateY(-30px) rotate(-4deg);
    }
    60% {
        transform: translateX(8px) translateY(-25px) rotate(4deg);
    }
    70% {
        transform: translateX(-5px) translateY(-15px) rotate(-2deg);
    }
    80% {
        transform: translateX(5px) translateY(-10px) rotate(2deg);
    }
    90% {
        transform: translateX(-2px) translateY(-5px) rotate(-1deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

.hint {
    margin-top: 1rem;
    font-size: 1.5rem;
    opacity: 0.8;
    color: #ff10f0;
    text-shadow: 0 0 5px #ff10f0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 1.8rem;
    }
    
    .collie {
        max-width: 300px;
    }
}
