/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes floatBall {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(-5px, -25px) rotate(-3deg); }
    75% { transform: translate(15px, -10px) rotate(4deg); }
}

@keyframes floatVR {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-12px, -8px) rotate(-3deg); }
    50% { transform: translate(8px, -20px) rotate(2deg); }
    75% { transform: translate(-6px, -12px) rotate(-2deg); }
}

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

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 177, 60, 0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(251, 177, 60, 0.15); }
}

/* ============================================
   ANIMATION CLASSES — HERO
   ============================================ */
.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in-right {
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ============================================
   SCROLL TRIGGERED ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-delay="1"] {
    transition-delay: 0.15s;
}

.animate-on-scroll[data-delay="2"] {
    transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="3"] {
    transition-delay: 0.45s;
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */
/* Button click */
.btn:active {
    transform: scale(0.97);
    transition-duration: 100ms;
}

/* Card hover lift */
.experience-card,
.vr-world-card,
.pricing-card,
.testimonial-card,
.value-card,
.team-card {
    will-change: transform;
}

/* Image zoom on hover */
.card-image-wrapper img,
.gallery-item img,
.vr-card-visual img {
    will-change: transform;
}

/* Smooth active state for buttons */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:active::after {
    opacity: 1;
}

/* Link underline animation */
.footer-nav a,
.location-link,
.contact-info-item a {
    position: relative;
}

/* Countdown pulse */
.countdown-number {
    transition: all var(--transition-fast);
}

/* FAQ accordion animation */
.faq-answer {
    animation: fadeInUp 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .floating-element {
        animation: none;
    }

    .hero-scroll-indicator {
        display: none;
    }
}