/* ===== EYECATCHER ADVANCED ANIMATIONS ===== */

/* Base Eyecatcher Styles */
.eyecatcher {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.eyecatcher-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

.eyecatcher-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.eyecatcher-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.eyecatcher-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
}

.eyecatcher-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.eyecatcher-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Height Classes */
.eyecatcher-small { min-height: 200px; }
.eyecatcher-medium { min-height: 300px; }
.eyecatcher-large { min-height: 400px; }
.eyecatcher-fullscreen { min-height: 100vh; }

/* Text Color Classes */
.eyecatcher-text-white { color: white; }
.eyecatcher-text-black { color: black; }

/* ===== ANIMATION: GRADIENT ===== */
.eyecatcher-gradient {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== ANIMATION: PULSE ===== */
.eyecatcher-pulse {
    animation: pulseBackground 3s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ===== ANIMATION: WAVE ===== */
.eyecatcher-wave {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.eyecatcher-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm0 0c0 11.046 8.954 20 20 20s20-8.954 20-20-8.954-20-20-20-20 8.954-20 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

/* ===== ANIMATION: AMBIENT BACKGROUND ===== */
.eyecatcher-ambient {
    background: radial-gradient(ellipse at center, #1e3c72 0%, #2a5298 100%);
    position: relative;
}

.eyecatcher-ambient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: ambientFloat 8s ease-in-out infinite;
}

@keyframes ambientFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    33% { transform: translateY(-20px) rotate(120deg); opacity: 1; }
    66% { transform: translateY(10px) rotate(240deg); opacity: 0.6; }
}

/* ===== ANIMATION: PARTICLES ===== */
.eyecatcher-particles {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.eyecatcher-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

/* ===== ANIMATION: PARTICLE NETWORK ===== */
.eyecatcher-particle_network {
    background: linear-gradient(45deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.eyecatcher-particle_network::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 25px 25px, rgba(0,255,255,0.8), transparent),
        radial-gradient(1px 1px at 75px 75px, rgba(255,0,255,0.6), transparent),
        radial-gradient(1px 1px at 125px 25px, rgba(255,255,0,0.7), transparent),
        radial-gradient(1px 1px at 175px 75px, rgba(0,255,0,0.5), transparent);
    background-size: 200px 100px;
    animation: networkPulse 4s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ===== ANIMATION: GEOMETRIC ===== */
.eyecatcher-geometric {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: geometricShift 10s ease infinite;
    position: relative;
}

.eyecatcher-geometric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        polygon(50% 0%, 0% 100%, 100% 100%) at 10% 20%,
        polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%) at 80% 70%;
    background-size: 100px 100px;
    opacity: 0.1;
    animation: geometricRotate 15s linear infinite;
}

@keyframes geometricShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes geometricRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ANIMATION: LIQUID ===== */
.eyecatcher-liquid {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: liquidFlow 8s ease infinite;
    position: relative;
}

.eyecatcher-liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: liquidBubbles 6s ease-in-out infinite;
}

@keyframes liquidFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes liquidBubbles {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* ===== ANIMATION: MATRIX ===== */
.eyecatcher-matrix {
    background: linear-gradient(to bottom, #000000, #001100);
    position: relative;
    color: #00ff00;
}

.eyecatcher-matrix::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(transparent 50%, rgba(0,255,0,0.03) 50%),
        linear-gradient(90deg, transparent 50%, rgba(0,255,0,0.03) 50%);
    background-size: 20px 20px;
    animation: matrixRain 2s linear infinite;
}

@keyframes matrixRain {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* ===== ANIMATION: FLOATING ===== */
.eyecatcher-floating {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.eyecatcher-floating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 60% 80%, rgba(255,255,255,0.08) 3px, transparent 3px),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: floatingElements 12s ease-in-out infinite;
}

@keyframes floatingElements {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-20px) translateX(-5px); }
    75% { transform: translateY(-5px) translateX(10px); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .eyecatcher-title {
        font-size: 2rem;
    }
    
    .eyecatcher-subtitle {
        font-size: 1.2rem;
    }
    
    .eyecatcher-description {
        font-size: 1rem;
    }
    
    .eyecatcher-content {
        padding: 1rem;
    }
    
    .eyecatcher-fullscreen {
        min-height: 70vh;
    }
}

@media (max-width: 480px) {
    .eyecatcher-title {
        font-size: 1.5rem;
    }
    
    .eyecatcher-subtitle {
        font-size: 1rem;
    }
    
    .eyecatcher-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}