/* RaceFinder Loading Animasyonu Stilleri */
.kp-loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3399CB 0%, #ffffff 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    font-family: 'Open Sans', sans-serif;
}

    .kp-loading-wrapper.hide {
        opacity: 0;
        visibility: hidden;
    }

.kp-loading-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite ease-in-out;
}

.kp-loading-text {
    color: #3399CB;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInOut 2s infinite ease-in-out;
}

.kp-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.kp-loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
}

    .kp-loader-circle:nth-child(1) {
        border-top-color: #3399CB;
        animation: spinClockwise 1.5s infinite linear;
    }

    .kp-loader-circle:nth-child(2) {
        border-right-color: #666666;
        animation: spinCounterClockwise 1.5s infinite linear;
    }

    .kp-loader-circle:nth-child(3) {
        border-bottom-color: #ffffff;
        animation: spinClockwise 1.5s infinite linear;
    }

@keyframes spinClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinCounterClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .kp-loading-logo {
        width: 120px;
    }

    .kp-loading-text {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .kp-loader {
        width: 90px;
        height: 90px;
    }
}