/* Additional Premium Enhancements */

/* Animated Background Particles */
@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 1000px 100%;
    animation: shimmer 3s infinite;
}

/* Premium Card Hover Effect */
.card-premium {
    position: relative;
    overflow: hidden;
}

.card-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

/* Disable overlays on cards containing forms */
form.card-premium::after,
.card-premium:has(form)::after,
.card-premium:has(input)::after,
.card-premium:has(textarea)::after {
    display: none !important;
}

.card-premium:hover::after {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Glowing Text Effect */
.glow-text {
    text-shadow:
        0 0 10px rgba(6, 182, 212, 0.5),
        0 0 20px rgba(6, 182, 212, 0.3),
        0 0 30px rgba(6, 182, 212, 0.2);
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow:
            0 0 10px rgba(6, 182, 212, 0.5),
            0 0 20px rgba(6, 182, 212, 0.3),
            0 0 30px rgba(6, 182, 212, 0.2);
    }

    to {
        text-shadow:
            0 0 20px rgba(6, 182, 212, 0.8),
            0 0 30px rgba(6, 182, 212, 0.5),
            0 0 40px rgba(6, 182, 212, 0.3);
    }
}

/* Parallax Scroll Effect */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Morphing Shapes */
@keyframes morph {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.morphing-shape {
    animation: morph 8s ease-in-out infinite;
}

/* Gradient Border Animation */
@keyframes borderGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-border {
    position: relative;
    background: linear-gradient(90deg, #667EEA, #764BA2, #EC4899, #06B6D4);
    background-size: 300% 300%;
    animation: borderGradient 3s ease infinite;
    padding: 3px;
    border-radius: 1rem;
}

.gradient-border-inner {
    background: var(--color-white);
    border-radius: calc(1rem - 3px);
    padding: 2rem;
}

/* Stagger Animation */
.stagger-animation>* {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-animation>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animation>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animation>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-animation>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-animation>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-animation>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Magnetic Button Effect */
.btn-magnetic {
    transition: transform 0.2s ease;
}

.btn-magnetic:hover {
    transform: scale(1.05);
}

/* Neon Glow Effect */
.neon-glow {
    box-shadow:
        0 0 5px rgba(6, 182, 212, 0.5),
        0 0 10px rgba(6, 182, 212, 0.4),
        0 0 20px rgba(6, 182, 212, 0.3),
        0 0 40px rgba(6, 182, 212, 0.2);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow:
            0 0 5px rgba(6, 182, 212, 0.5),
            0 0 10px rgba(6, 182, 212, 0.4),
            0 0 20px rgba(6, 182, 212, 0.3),
            0 0 40px rgba(6, 182, 212, 0.2);
    }

    50% {
        box-shadow:
            0 0 10px rgba(6, 182, 212, 0.7),
            0 0 20px rgba(6, 182, 212, 0.6),
            0 0 30px rgba(6, 182, 212, 0.5),
            0 0 60px rgba(6, 182, 212, 0.4);
    }
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:hover::before {
    width: 300px;
    height: 300px;
}