:where([class^="ri-"])::before {
    content: "\f3c2";
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -2s;
}

.animate-float-delayed-2 {
    animation: float 6s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@media (max-width: 768px) {
    .animate-float,
    .animate-float-delayed,
    .animate-float-delayed-2 {
        transform: scale(0.4);
        opacity: 0.08 !important;
    }
}

.platform-button {
    transition: all 0.3s ease;
}

.platform-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(51, 54, 82, 0.15);
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.platform-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .tooltip {
        display: none;
    }
}

.bg-animated {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(233, 234, 236, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(233, 234, 236, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(250, 208, 44, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 80% 20%;
    }
}