/* Kartal Spinner V2 - Döndürmeden Animasyon */
.eagle-loader {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 20px auto;
}

.eagle-loader img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
    animation: eaglePulse 2s ease-in-out infinite;
}

/* Nabız efekti */
@keyframes eaglePulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.6));
    }
}

/* Göz animasyonu - Mavi parlayan göz */
.eagle-loader::before {
    content: '';
    position: absolute;
    width: 10px;     /* GÖZ BOYUTU: Gözün genişliği */
    height: 10px;    /* GÖZ BOYUTU: Gözün yüksekliği */
    top: 22%;        /* POZİSYON: Yukarıdan uzaklık (azaltın yukarı çıksın) */
    left: 56%;       /* POZİSYON: Soldan uzaklık (azaltın sola, artırın sağa kayar) */
    background: radial-gradient(circle, #00d4ff 0%, #0099cc 40%, transparent 70%);
    border-radius: 50%;
    animation: eyeGlow 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes eyeGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
        box-shadow: 0 0 5px #00d4ff;
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 15px #00d4ff, 0 0 25px #0099cc, 0 0 35px rgba(0, 212, 255, 0.5);
    }
}

/* Tarama efekti - Kartalın üzerinde yukarıdan aşağıya tarama */
.eagle-loader.scanning::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.4) 50%, 
        transparent 100%);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% {
        top: -20%;
    }
    100% {
        top: 100%;
    }
}

/* Dalga efekti */
.eagle-loader.wave {
    animation: waveMotion 3s ease-in-out infinite;
}

@keyframes waveMotion {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-2deg);
    }
    75% {
        transform: translateY(5px) rotate(2deg);
    }
}

/* Parçacık efekti */
.eagle-loader.particles {
    overflow: visible;
}

.eagle-loader.particles::before,
.eagle-loader.particles::after,
.eagle-loader.particles .particle {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00d4ff;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.eagle-loader.particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.eagle-loader.particles::after {
    top: 70%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateY(-30px) scale(1);
        opacity: 1;
    }
}

/* Yükleme çemberi */
.eagle-loader-circle {
    position: relative;
}

.eagle-loader-circle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}

.eagle-loader-circle::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid transparent;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: circleRotate 1.5s linear infinite;
}

@keyframes circleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Yükleme metni */
.eagle-loading-text {
    text-align: center;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7280;
}

.eagle-loading-text span {
    display: inline-block;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.eagle-loading-text span:nth-child(1) { animation-delay: 0s; }
.eagle-loading-text span:nth-child(2) { animation-delay: 0.2s; }
.eagle-loading-text span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* Boyutlar */
.eagle-loader.small {
    width: 60px;
    height: 60px;
}

.eagle-loader.small::before {
    width: 6px;      /* KÜÇÜK GÖZ BOYUTU: Gözün genişliği */
    height: 6px;     /* KÜÇÜK GÖZ BOYUTU: Gözün yüksekliği */
    top: 22%;        /* KÜÇÜK POZİSYON: Yukarıdan uzaklık */
    left: 56%;       /* KÜÇÜK POZİSYON: Soldan uzaklık */
}

.eagle-loader.large {
    width: 180px;
    height: 180px;
}

.eagle-loader.large::before {
    width: 15px;     /* BÜYÜK GÖZ BOYUTU: Gözün genişliği */
    height: 15px;    /* BÜYÜK GÖZ BOYUTU: Gözün yüksekliği */
    top: 22%;        /* BÜYÜK POZİSYON: Yukarıdan uzaklık */
    left: 56%;       /* BÜYÜK POZİSYON: Soldan uzaklık */
}

/* Glitch efekti */
.eagle-loader.glitch {
    animation: glitchEffect 4s ease-in-out infinite;
}

@keyframes glitchEffect {
    0%, 90%, 100% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
    }
    92% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3)) 
                hue-rotate(90deg);
    }
    94% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3)) 
                hue-rotate(-90deg);
        transform: translateX(2px);
    }
    96% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
        transform: translateX(-2px);
    }
}