body {
    color: #FFF;
    position: relative;
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', 'Montserrat', sans-serif; /* More modern font */
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(45deg, #121212, #2d2d2d, #121212, #1a1a2e);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}

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

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: var(--opacity);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: var(--opacity); }
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

h1 {
    letter-spacing: 4px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.animated-avyva {
    position: absolute;
    color: #FFF;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
    animation: fly var(--fly-duration, 20s) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s);
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.animated-avyva:hover {
    transform: scale(1.2);
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

@keyframes fly {
    0% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.6; 
    }
    25% {
        transform: translate(50px, -50px) rotate(-5deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(100px, 0) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: translate(50px, 50px) rotate(5deg);
        opacity: 0.8;
    }
    100% { 
        transform: translate(0, 0) rotate(0deg); 
        opacity: 0.6; 
    }
}

@media (max-width: 768px) {
    .animated-avyva {
        font-size: 18px;
    }
    
    h1 {
        font-size: 36px;
    }
}
