/* Modern Gradient Backgrounds and Visual Effects */

/* Animated gradient backgrounds */
.gradient-bg-1 {
    background: linear-gradient(-45deg, #ff6b9d, #c44569, #6c5ce7, #a29bfe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.gradient-bg-2 {
    background: linear-gradient(-45deg, #ffeaa7, #fdcb6e, #ff6b9d, #fd79a8);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

.gradient-bg-3 {
    background: linear-gradient(-45deg, #74b9ff, #0984e3, #6c5ce7, #a29bfe);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Glass morphism effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Floating elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Pulse effects */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Shimmer effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Modern card hover effects */
.card-hover-lift {
    transition: var(--transition-bounce);
}

.card-hover-lift:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.card-hover-glow {
    transition: var(--transition-normal);
    position: relative;
}

.card-hover-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-normal);
}

.card-hover-glow:hover::after {
    opacity: 0.3;
}

/* Text gradient effects */
.text-gradient-primary {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern shadows */
.shadow-soft {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.shadow-medium {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.shadow-strong {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.shadow-colored-primary {
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.25);
}

.shadow-colored-accent {
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.25);
}

/* Neon glow effects */
.neon-primary {
    box-shadow: 
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color),
        0 0 20px var(--primary-color);
}

.neon-accent {
    box-shadow: 
        0 0 5px var(--accent-color),
        0 0 10px var(--accent-color),
        0 0 15px var(--accent-color),
        0 0 20px var(--accent-color);
}

/* Modern borders */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
}

.border-animated {
    position: relative;
    border: 2px solid transparent;
}

.border-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Particle effects */
.particles {
    position: relative;
    overflow: hidden;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 234, 167, 0.3) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(-60px) rotate(240deg);
    }
}

/* Modern loading states */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Interactive elements */
.interactive-scale {
    transition: var(--transition-bounce);
    cursor: pointer;
}

.interactive-scale:hover {
    transform: scale(1.05);
}

.interactive-scale:active {
    transform: scale(0.98);
}

.interactive-rotate {
    transition: var(--transition-normal);
    cursor: pointer;
}

.interactive-rotate:hover {
    transform: rotate(5deg);
}

/* Modern focus states */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

.focus-ring-accent:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

/* Utility classes for modern effects */
.blur-sm { backdrop-filter: blur(4px); }
.blur-md { backdrop-filter: blur(8px); }
.blur-lg { backdrop-filter: blur(16px); }
.blur-xl { backdrop-filter: blur(24px); }

.brightness-110 { filter: brightness(1.1); }
.brightness-125 { filter: brightness(1.25); }

.saturate-150 { filter: saturate(1.5); }
.saturate-200 { filter: saturate(2); }

.hue-rotate-15 { filter: hue-rotate(15deg); }
.hue-rotate-30 { filter: hue-rotate(30deg); }
.hue-rotate-45 { filter: hue-rotate(45deg); }