﻿
body {
    margin: 0;
    background: #fefefe;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: sans-serif;
}

#loading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Kedi + gölge birlikte zıplıyor */
.cat-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: jump 0.8s infinite ease-in-out;
}

/* Kedi gövdesi */
.cat {
    position: relative;
    width: 100px;
    height: 70px;
    background: #ffcc66;
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Kulaklar */
.ear {
    position: absolute;
    top: -25px;
    width: 25px;
    height: 25px;
    background: #ffcc66;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

    .ear.left {
        left: 8px;
    }

    .ear.right {
        right: 8px;
    }

/* Gözler */
.eye {
    position: absolute;
    top: 25px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    border: 2px solid #333;
    animation: blink 3s infinite;
}

    .eye.left {
        left: 25px;
    }

    .eye.right {
        right: 25px;
    }

/* Burun */
.nose {
    position: absolute;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: pink;
    border-radius: 50%;
}

/* Bıyıklar */
.whisker {
    position: absolute;
    width: 25px;
    height: 2px;
    background: #333;
    top: 40px;
}

    .whisker.left1 {
        left: -25px;
        transform: rotate(10deg);
    }

    .whisker.left2 {
        left: -25px;
        transform: rotate(-10deg);
        top: 44px;
    }

    .whisker.right1 {
        right: -25px;
        transform: rotate(-10deg);
    }

    .whisker.right2 {
        right: -25px;
        transform: rotate(10deg);
        top: 44px;
    }

/* Kuyruk */
.tail {
    position: absolute;
    right: -30px;
    top: 25px;
    width: 40px;
    height: 12px;
    background: #ffcc66;
    border-radius: 12px;
    transform-origin: left center;
    animation: wag 0.4s infinite alternate;
}

/* Patiler */
.paw {
    position: absolute;
    bottom: -10px;
    width: 16px;
    height: 16px;
    background: #ffcc66;
    border-radius: 50%;
    animation: pawMove 0.6s infinite alternate;
}

    .paw.left {
        left: 20px;
    }

    .paw.right {
        right: 20px;
        animation-delay: 0.3s;
    }

/* Gölge */
.shadow {
    width: 60px;
    height: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    margin-top: 8px;
    animation: shadowPulse 0.8s infinite ease-in-out;
}

/* Animasyonlar */
@keyframes wag {
    0% {
        transform: rotate(20deg);
    }

    100% {
        transform: rotate(-20deg);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        height: 12px;
    }

    95% {
        height: 3px;
    }
}

@keyframes pawMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.2;
    }

    50% {
        transform: scaleX(0.6);
        opacity: 0.05;
    }
}

/* Yazı */
#loading-text {
    margin-top: 12px;
    font-size: 18px;
    color: #444;
    animation: pulse 1.2s infinite;
}