body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, red, orange, yellow, green, blue, indigo, violet, red, orange, yellow, green, blue, indigo, violet);
    background-size: 200% 200%;
    animation: gradientBG 30s linear infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.3), inset 0 0 100px rgba(255, 255, 255, 0.1);
}

#unicorn {
    width: 28vw;
    max-width: 400px;
    min-width: 200px;
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

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

.sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 70%);
    animation: twinkle var(--duration) infinite ease-in-out;
    opacity: 0;
}

@keyframes twinkle {
    0% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

#sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

#message {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 96%;
    max-width: 480px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

#message svg {
    width: 100%;
    height: auto;
}

#message text {
    font-size: 28.8px;
    font-family: Arial, sans-serif;
    fill: url(#rainbowGradient);
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8), 0 0 16px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.4);
}

#footer-message {
    position: relative;
    top: 20px;
    font-family: "Lucida Handwriting", cursive;
    font-size: 24px;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    animation: pulseGlow 2s infinite;
    z-index: 4;
}

@keyframes pulseGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6); }
}

@media (max-width: 768px) {
    #message {
        top: 16%;
    }

    #message svg {
        width: 100%;
    }

    #unicorn {
        width: 45vw;
        max-width: 360px;
        min-width: 200px;
    }

    #footer-message {
        font-size: 18px;
    }
}
