* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    touch-action: manipulation;
}

.container {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    font-size: 2.5em;
    color: #ff6b6b;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.cat-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
    cursor: pointer;
    user-select: none;
}

.cat {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* 耳朵 */
.ear {
    position: absolute;
    width: 30px;
    height: 40px;
    background: #ff9a9e;
    border-radius: 50% 50% 0 0;
    top: -20px;
}

.ear.left {
    left: 20px;
    transform: rotate(-15deg);
}

.ear.right {
    right: 20px;
    transform: rotate(15deg);
}

/* 脸 */
.face {
    position: absolute;
    width: 120px;
    height: 100px;
    background: #ff9a9e;
    border-radius: 50%;
    top: 20px;
    left: 15px;
}

/* 眼睛 */
.eye {
    position: absolute;
    width: 25px;
    height: 35px;
    background: white;
    border-radius: 50%;
    top: 30px;
}

.eye::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.eye.left {
    left: 25px;
}

.eye.right {
    right: 25px;
}

/* 鼻子 */
.nose {
    position: absolute;
    width: 15px;
    height: 10px;
    background: #ff6b6b;
    border-radius: 50%;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
}

/* 嘴巴 */
.mouth {
    position: absolute;
    width: 20px;
    height: 10px;
    border-bottom: 3px solid #ff6b6b;
    border-radius: 0 0 50% 50%;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
}

/* 胡须 */
.whisker {
    position: absolute;
    width: 30px;
    height: 2px;
    background: #666;
    top: 50px;
}

.whisker.left {
    left: -25px;
    transform: rotate(-20deg);
}

.whisker.right {
    right: -25px;
    transform: rotate(20deg);
}

/* 身体 */
.body {
    position: absolute;
    width: 140px;
    height: 80px;
    background: #ff9a9e;
    border-radius: 50% 50% 40% 40%;
    top: 80px;
    left: 5px;
}

/* 尾巴 */
.tail {
    position: absolute;
    width: 40px;
    height: 15px;
    background: #ff9a9e;
    border-radius: 50%;
    top: 100px;
    right: -10px;
    transform: rotate(45deg);
}

/* 爪子 */
.paw {
    position: absolute;
    width: 25px;
    height: 15px;
    background: #ff9a9e;
    border-radius: 50%;
    bottom: 0;
}

.paw.left {
    left: 35px;
}

.paw.right {
    right: 35px;
}

/* 动画类 */
.jump {
    animation: jump 0.5s ease;
}

.shake {
    animation: shake 0.5s ease;
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-50px); }
}

@keyframes shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

/* 控制按钮 */
.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 100px;
    touch-action: manipulation;
}

button:active {
    transform: scale(0.95);
}

.hint {
    color: #888;
    font-size: 0.9em;
    margin-top: 20px;
}

/* 移动端优化 */
@media (max-width: 480px) {
    h1 { font-size: 2em; }
    .cat-container { width: 180px; height: 180px; }
    .cat { width: 130px; height: 130px; }
    button { padding: 10px 20px; min-width: 90px; }
}