body {
    background-color: pink;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: 'Microsoft YaHei', sans-serif;
    overflow: hidden;
    min-height: 600px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.cat {
    font-size: 80px;
    margin: 0;
    position: relative;
    transition: all var(--animation-duration) ease;
}

.question {
    font-size: 24px;
    margin: 0;
    color: #333;
    transition: all var(--animation-duration) ease;
    text-align: center;
    width: 100%;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    position: relative;
    margin: 0;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--animation-duration) ease;
    transform-origin: center;
}

#yesBtn {
    background-color: #ff4081;
    color: white;
    position: relative;
    z-index: 1;
}

#noBtn {
    background-color: #9e9e9e;
    color: white;
}

#yesBtn:hover {
    background-color: #e91e63;
}

#noBtn:hover {
    background-color: #757575;
}

.heart {
    position: fixed;
    pointer-events: none;
    animation: verticalMove 4s ease-in-out infinite;
}

.success-text {
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: 600px;
    font-size: 32px;
    color: #e91e63;
    text-align: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
}

.success-text.show {
    opacity: 1;
    transform: scale(1);
}

.cat-bounce {
    display: inline-block;
    animation: verticalMove 2s ease-in-out infinite;
}

.cat-cry {
    animation: shake 0.5s ease-in-out infinite;
}

.happy-cat {
    font-size: 80px;
    margin-bottom: 20px;
    animation: dance 1s ease-in-out infinite;
}

@keyframes verticalMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(-5deg); }
    50% { transform: translateX(5px) rotate(5deg); }
}

@keyframes dance {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

:root {
    --animation-duration: 0.3s;
    --bounce-duration: 2s;
    --shake-duration: 0.5s;
    --dance-duration: 1s;
} 