body {
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    background-color: #ffcce6;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    color: #ff1493;
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.sparkle {
    position: fixed;
    pointer-events: none;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    animation: sparkle 1.5s linear infinite;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

#unicorn-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.image-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading {
    position: absolute;
    font-size: 40px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.unicorn-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.unicorn-image:hover {
    transform: scale(1.05);
}
