/* 布朗探长 Loading 动画 */

.detective-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.detective-avatar {
    width: 120px;
    height: 120px;
    animation: detective-bounce 1s ease-in-out infinite;
}

@keyframes detective-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-10px) scale(1.05);
    }
    50% {
        transform: translateY(0) scale(1);
    }
    75% {
        transform: translateY(-5px) scale(1.02);
    }
}

.detective-magnifier {
    animation: magnifier-search 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes magnifier-search {
    0%, 100% {
        transform: rotate(-15deg) scale(1);
    }
    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

.loading-text {
    margin-top: 20px;
    color: #00ffff;
    font-size: 16px;
    text-align: center;
    animation: text-pulse 1.5s ease-in-out infinite;
}

@keyframes text-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.loading-dots span {
    animation: dot-fade 1.4s infinite;
    display: inline-block;
    margin-left: 2px;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-fade {
    0%, 20% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    80%, 100% {
        opacity: 0;
    }
}

/* 搜查线索动画 */
.search-clues {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.clue-item {
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    animation: clue-blink 1s ease-in-out infinite;
}

.clue-item:nth-child(1) {
    animation-delay: 0s;
}

.clue-item:nth-child(2) {
    animation-delay: 0.3s;
}

.clue-item:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes clue-blink {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}
