* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffeef2;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    color: #6d4c41;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px #fff;
    text-align: center;
}

p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #8d6e63;
}

.cat-container {
    position: relative;
    width: 300px;
    height: 300px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(255, 182, 193, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-face {
    position: relative;
    width: 160px;
    height: 140px;
    background: #f5f5f5;
    border-radius: 50% 50% 45% 45%;
    cursor: pointer;
    z-index: 2;
}

.ear {
    position: absolute;
    top: -20px;
    width: 50px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 30% 70% 30% 30%;
}
.ear.left { left: 10px; transform: rotate(-15deg); }
.ear.right { right: 10px; transform: rotate(15deg); border-radius: 70% 30% 30% 30%; }

.ear::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 40px;
    background: #ffcdd2;
    border-radius: inherit;
}

.eye {
    position: absolute;
    top: 45px;
    width: 25px;
    height: 25px;
    background: #333;
    border-radius: 50%;
}
.eye.left { left: 35px; }
.eye.right { right: 35px; }

.eye::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.nose {
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 10px;
    background: #ff8a80;
    border-radius: 50% 50% 60% 60%;
}

.paw {
    position: absolute;
    width: 45px;
    height: 70px;
    background: #e0e0e0;
    border-radius: 20px 20px 10px 10px;
    border-top: 4px solid #ffcdd2;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.15s ease-out;
    pointer-events: none;
    opacity: 0;
}

.paw::before {
    content: '🐾';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.paw.grabbing {
    opacity: 1;
    bottom: var(--paw-y, 100px);
    left: var(--paw-x, 150px);
    transform: translate(-50%, -50%) scale(1.2);
}
