
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
    --cosmic-purple: #9c4dff;
    --cosmic-pink: #ff3f81;
    --cosmic-blue: #2e86de;
    --dark-space: #0a0a1a;
    --neon-glow: 0 0 10px currentColor, 0 0 20px currentColor;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    color: white;
    background: var(--dark-space);
}
#main-word {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(156, 77, 255, 0.7), 
                 0 0 40px rgba(156, 77, 255, 0.5),
                 0 0 60px rgba(156, 77, 255, 0.3);
    letter-spacing: 0.3em;
    user-select: none;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#vanta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
}

main {
    perspective: 1000px;
}

.text-center {
    transform-style: preserve-3d;
}

@keyframes cosmic-pulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.8;
    }
}

#main-word {
    animation: cosmic-pulse 5s infinite ease-in-out;
}
#change-bg {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 30px rgba(156, 77, 255, 0.3);
    font-weight: 600;
    letter-spacing: 0.05em;
}

#change-bg:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 7px 30px rgba(156, 77, 255, 0.5);
    background: rgba(0, 0, 0, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
#change-bg i {
    transition: transform 0.5s ease;
}

#change-bg:hover i {
    transform: rotate(180deg);
}
