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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 450px;
    width: 90%;
    position: relative;
    margin-bottom: 80px;
}

/* 语言切换器 */
.language-switcher {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid #74b9ff;
    background: rgba(116, 185, 255, 0.1);
    color: #0984e3;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(116, 185, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
    background: #74b9ff;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #2d3436;
    margin-bottom: 20px;
    margin-top: 40px;
    font-size: 2.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.guinea-pig-container {
    margin: 20px 0;
    position: relative;
}

.guinea-pig {
    width: 220px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.face {
    width: 130px;
    height: 110px;
    background: linear-gradient(145deg, #FFE4E1, #FFC0CB, #FFB6C1);
    border-radius: 60% 60% 50% 50%;
    position: relative;
    margin: 0 auto;
    border: 2px solid #FF69B4;
    box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.6), 
                0 6px 20px rgba(255, 105, 180, 0.3);
    overflow: visible;
}





.eye {
    width: 26px;
    height: 26px;
    background: radial-gradient(circle at 35% 25%, #4A90E2, #2E5BBA, #1A365D);
    border-radius: 50%;
    position: absolute;
    top: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2),
                inset 0 1px 3px rgba(255, 255, 255, 0.3);
    border: 2px solid #FFFFFF;
}

/* 日式卡通眼睛高光 */
.eye::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #FFFFFF 0%, rgba(255,255,255,0.8) 60%, transparent 100%);
    border-radius: 50%;
    top: 3px;
    left: 5px;
    opacity: 0.9;
}

/* 眼睛装饰光晕 */
.eye::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(255,182,193,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -3px;
    left: -3px;
    z-index: -1;
}

.left-eye {
    left: 22px;
}

.right-eye {
    right: 22px;
}

.mouth {
    width: 24px;
    height: 12px;
    background: linear-gradient(145deg, #FF69B4, #FF1493, #DC143C);
    border-radius: 0 0 60% 60%;
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(220, 20, 60, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.4);
    border: 1px solid #FF1493;
}

/* 可爱的小鼻子 */
.mouth::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 8px;
    background: linear-gradient(145deg, #FF69B4, #FF1493);
    border-radius: 50% 50% 30% 30%;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(255, 105, 180, 0.4),
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    border: 1px solid #FF1493;
}

/* 鼻孔 - 日式风格 */
.mouth::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 1px;
    background: #FF1493;
    border-radius: 50%;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: -3px 0 0 #FF1493;
    opacity: 0.7;
}

.body {
    width: 170px;
    height: 85px;
    background: linear-gradient(145deg, #FFE4E1, #FFC0CB, #FFB6C1, #FF69B4);
    border-radius: 60%;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #FF69B4;
    box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.5),
                0 8px 20px rgba(255, 105, 180, 0.3);
}

/* 可爱的身体装饰斑点 */
.body::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 14px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.4), transparent 70%);
    border-radius: 50%;
    top: 18px;
    left: 35px;
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(255, 105, 180, 0.2);
}

.body::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.4), transparent 70%);
    border-radius: 50%;
    top: 28px;
    right: 45px;
    opacity: 0.8;
    box-shadow: 0 2px 4px rgba(255, 105, 180, 0.2);
}

/* 日式卡通腮红效果 */
.guinea-pig .left-blush {
    position: absolute;
    width: 18px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.8), rgba(255, 182, 193, 0.3));
    border-radius: 50%;
    left: 12px;
    top: 75px;
    box-shadow: 0 0 8px rgba(255, 182, 193, 0.4);
    z-index: 3;
}

.guinea-pig .right-blush {
    position: absolute;
    width: 18px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.8), rgba(255, 182, 193, 0.3));
    border-radius: 50%;
    right: 12px;
    top: 75px;
    box-shadow: 0 0 8px rgba(255, 182, 193, 0.4);
    z-index: 3;
}

/* 日式卡通耳朵 */
.left-ear, .right-ear {
    position: absolute;
    width: 32px;
    height: 45px;
    background: linear-gradient(145deg, #FFE4E1, #FFC0CB);
    border-radius: 60% 60% 20% 20%;
    top: -20px;
    border: 2px solid #FF69B4;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5),
                0 4px 12px rgba(255, 105, 180, 0.2);
    z-index: 1;
}

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

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

/* 内耳 */
.left-ear::before, .right-ear::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 25px;
    background: linear-gradient(145deg, #FF69B4, #FFB6C1);
    border-radius: 60% 60% 10% 10%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 6px rgba(255, 105, 180, 0.3);
}

.guinea-pig {
    position: relative;
}

/* 日式卡通小手 */
.left-hand, .right-hand {
    position: absolute;
    width: 25px;
    height: 35px;
    background: linear-gradient(145deg, #FFE4E1, #FFC0CB);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 85px;
    border: 2px solid #FF69B4;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5),
                0 3px 8px rgba(255, 105, 180, 0.2);
    z-index: 2;
}

.left-hand {
    left: 5px;
    transform: rotate(-15deg);
}

.right-hand {
    right: 5px;
    transform: rotate(15deg);
}

/* 手指细节 */
.left-hand::before, .right-hand::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    background: linear-gradient(145deg, #FFB6C1, #FF69B4);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 1px 3px rgba(255, 105, 180, 0.3);
}

.left-hand::after, .right-hand::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 8px;
    background: linear-gradient(145deg, #FFB6C1, #FF69B4);
    border-radius: 50%;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 1px 2px rgba(255, 105, 180, 0.3);
}

/* 情绪状态样式 */
.guinea-pig.happy {
    animation: bounce 0.5s ease;
}

.guinea-pig.happy .eye {
    transform: scaleY(0.3);
    background: radial-gradient(circle at 30% 30%, #4CAF50, #2E7D32);
}

.guinea-pig.happy .mouth {
    width: 35px;
    height: 18px;
    background: linear-gradient(145deg, #FFD700, #FFA000);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 开心时的腮红 */
.guinea-pig.happy .face::before,
.guinea-pig.happy .face::after {
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3),
                0 0 10px rgba(255, 182, 193, 0.8);
}

.guinea-pig.happy::before,
.guinea-pig.happy::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.7), transparent 70%);
    border-radius: 50%;
    top: 65px;
    z-index: 2;
}

.guinea-pig.happy::before {
    left: 45px;
}

.guinea-pig.happy::after {
    right: 45px;
}

.guinea-pig.angry {
    animation: shake 0.5s ease;
}

.guinea-pig.angry .eye {
    background: radial-gradient(circle at 30% 30%, #FF5722, #B71C1C);
    width: 22px;
    height: 10px;
    border-radius: 0;
    transform: rotate(20deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.guinea-pig.angry .left-eye {
    transform: rotate(-20deg);
}

.guinea-pig.angry .mouth {
    width: 28px;
    height: 10px;
    background: linear-gradient(145deg, #8B0000, #4A0000);
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* 生气时的眉毛 */
.guinea-pig.angry::before,
.guinea-pig.angry::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: linear-gradient(145deg, #8B4513, #654321);
    top: 50px;
    z-index: 3;
    border-radius: 2px;
}

.guinea-pig.angry::before {
    left: 50px;
    transform: rotate(-30deg);
}

.guinea-pig.angry::after {
    right: 50px;
    transform: rotate(30deg);
}

.guinea-pig.dizzy {
    animation: spin 1s ease;
}

.guinea-pig.dizzy .eye {
    background: radial-gradient(circle at 30% 30%, #FFD700, #FF8F00);
    animation: spiral 2s infinite;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.guinea-pig.dizzy .mouth {
    width: 18px;
    height: 18px;
    background: linear-gradient(145deg, #90EE90, #66BB6A);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 头晕时的星星效果 */
.guinea-pig.dizzy::before,
.guinea-pig.dizzy::after {
    content: '✦';
    position: absolute;
    font-size: 16px;
    color: #FFD700;
    top: 20px;
    animation: twinkle 1.5s infinite alternate;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.8);
    z-index: 3;
}

.guinea-pig.dizzy::before {
    left: 20px;
    animation-delay: 0.3s;
}

.guinea-pig.dizzy::after {
    right: 20px;
    animation-delay: 0.8s;
}

.emotion-text {
    margin-top: 20px;
    font-size: 1.2em;
    color: #2d3436;
    font-weight: bold;
    min-height: 30px;
    transition: all 0.3s ease;
}

.food-options {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    gap: 12px;
}

.food-btn {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: none;
    border-radius: 15px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 120px;
}

.food-btn:hover {
    transform: translateY(-5px);
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.2);
}

.food-btn:active {
    transform: translateY(0);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.food-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.food-btn span {
    display: block;
    font-weight: bold;
    color: #2d3436;
}

.score-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
}

.score {
    font-size: 1.3em;
    font-weight: bold;
    color: #2d3436;
}

#happiness {
    color: #e17055;
}

#resetBtn {
    background: #fd79a8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#resetBtn:hover {
    background: #e84393;
    transform: scale(1.05);
}

/* 动画效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-15px) scale(1.05);
    }
    60% {
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px) rotate(-2deg); }
    20%, 40%, 60%, 80% { transform: translateX(8px) rotate(2deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(0.95); }
    50% { transform: rotate(180deg) scale(1.05); }
    75% { transform: rotate(270deg) scale(0.95); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes spiral {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1.3); }
    75% { transform: rotate(270deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes twinkle {
    0% { 
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
    100% { 
        opacity: 0.3;
        transform: scale(0.8) rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                    0 0 30px rgba(255, 215, 0, 0.6);
    }
}

@keyframes sadBob {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes tearDrop {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0.5);
    }
}

@keyframes superBounce {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) scale(1.1) rotate(-5deg);
    }
    50% {
        transform: translateY(-30px) scale(1.15) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) scale(1.1) rotate(5deg);
    }
}

@keyframes sparkle {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 1),
                    0 0 25px rgba(255, 255, 255, 0.8);
    }
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg) brightness(1.1); }
    16.66% { filter: hue-rotate(60deg) brightness(1.1); }
    33.33% { filter: hue-rotate(120deg) brightness(1.1); }
    50% { filter: hue-rotate(180deg) brightness(1.1); }
    66.66% { filter: hue-rotate(240deg) brightness(1.1); }
    83.33% { filter: hue-rotate(300deg) brightness(1.1); }
    100% { filter: hue-rotate(360deg) brightness(1.1); }
}

/* 悲伤状态样式 */
.guinea-pig.sad {
    animation: sadBob 2s ease-in-out infinite;
}

.guinea-pig.sad .eye {
    background: radial-gradient(circle at 30% 70%, #4A90E2, #2E5BBA);
    transform: scaleY(0.6);
}

.guinea-pig.sad .mouth {
    width: 25px;
    height: 8px;
    background: linear-gradient(145deg, #87CEEB, #4682B4);
    border-radius: 50% 50% 0 0;
    transform: translateX(-50%) rotate(180deg);
}

/* 悲伤时的眼泪 */
.guinea-pig.sad::before,
.guinea-pig.sad::after {
    content: '💧';
    position: absolute;
    font-size: 12px;
    top: 75px;
    animation: tearDrop 2s ease-in-out infinite;
    z-index: 3;
}

.guinea-pig.sad::before {
    left: 55px;
    animation-delay: 0.5s;
}

.guinea-pig.sad::after {
    right: 55px;
    animation-delay: 1s;
}

/* 超级开心状态样式 */
.guinea-pig.super-happy {
    animation: superBounce 1s ease-in-out infinite;
}

.guinea-pig.super-happy .eye {
    background: radial-gradient(circle at 30% 30%, #FFD700, #FFA000);
    transform: scaleY(0.2);
    animation: sparkle 1.5s ease-in-out infinite;
}

.guinea-pig.super-happy .mouth {
    width: 40px;
    height: 20px;
    background: linear-gradient(145deg, #FFD700, #FF8F00);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

.guinea-pig.super-happy .face,
.guinea-pig.super-happy .body {
    animation: rainbow 3s linear infinite;
}

/* 作者信息样式 */
.author-info {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    padding: 12px 32px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    min-width: 200px;
}

.author-info:hover {
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    transform: translateX(-50%) translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(116, 185, 255, 0.6);
}

/* 胜利画面样式 */
.victory-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
}

.victory-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    width: 90%;
}

.victory-title {
    font-size: 3em;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.victory-message {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.victory-subtitle {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.play-again-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: confettiFall linear infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .game-container {
        padding: 15px;
        margin: 0 auto;
        max-width: 380px;
        margin-bottom: 70px;
    }
    
    h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
        margin-top: 25px;
    }
    
    .guinea-pig {
        width: 180px;
        height: 130px;
        transform: scale(0.85);
    }
    
    .face {
        width: 115px;
        height: 95px;
    }
    
    /* 调整脸部元素间距 */
    .left-eye {
        left: 20px;
        width: 22px;
        height: 22px;
    }
    
    .right-eye {
        right: 20px;
        width: 22px;
        height: 22px;
    }
    
    .mouth {
        bottom: 24px;
        width: 20px;
        height: 10px;
    }
    

    
    /* 耳朵移动端适配 */
    .left-ear, .right-ear {
        width: 28px;
        height: 38px;
        top: -16px;
    }
    
    .left-ear {
        left: 16px;
    }
    
    .right-ear {
        right: 16px;
    }
    
    .left-ear::before, .right-ear::before {
        width: 14px;
        height: 20px;
        top: 6px;
    }
    
    /* 小手移动端适配 */
    .left-hand, .right-hand {
        width: 22px;
        height: 30px;
        top: 72px;
    }
    
    .left-hand {
        left: 4px;
    }
    
    .right-hand {
        right: 4px;
    }
    
    .left-hand::before, .right-hand::before {
        width: 7px;
        height: 10px;
        top: 4px;
    }
    
    .left-hand::after, .right-hand::after {
        width: 5px;
        height: 7px;
        top: 15px;
    }
    
    /* 腮红调整 */
    .guinea-pig .left-blush {
        width: 14px;
        height: 10px;
        left: 8px;
        top: 62px;
    }
    
    .guinea-pig .right-blush {
        width: 14px;
        height: 10px;
        right: 8px;
        top: 62px;
    }
    
    .body {
        width: 150px;
        height: 75px;
        bottom: -19px;
    }
    
    .food-options {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        margin: 15px 0;
    }
    
    .food-btn {
        width: 80%;
        max-width: 200px;
        padding: 15px;
    }
    
    .language-switcher {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        gap: 5px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .author-info {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        padding: 10px 28px;
        white-space: nowrap;
        min-width: 180px;
    }
    
    .author-info:hover {
        transform: translateX(-50%) translateY(-2px) scale(1.03);
    }
    
    .victory-content {
        padding: 30px 20px;
    }
    
    .victory-title {
        font-size: 2.5em;
    }
    
    .victory-message {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 480px) {
    .game-container {
        padding: 15px;
        max-width: 100%;
        margin-bottom: 60px;
    }
    
    h1 {
        font-size: 1.8em;
        margin-bottom: 15px;
        margin-top: 60px;
    }
    
    .guinea-pig {
        width: 160px;
        height: 115px;
        transform: scale(0.75);
    }
    
    .face {
        width: 105px;
        height: 85px;
    }
    
    /* 小屏幕下进一步调整脸部元素 */
    .left-eye {
        left: 18px;
        width: 20px;
        height: 20px;
    }
    
    .right-eye {
        right: 18px;
        width: 20px;
        height: 20px;
    }
    
    .mouth {
        bottom: 22px;
        width: 18px;
        height: 9px;
    }
    

    
    /* 耳朵小屏幕适配 */
    .left-ear, .right-ear {
        width: 24px;
        height: 32px;
        top: -14px;
    }
    
    .left-ear {
        left: 14px;
    }
    
    .right-ear {
        right: 14px;
    }
    
    .left-ear::before, .right-ear::before {
        width: 12px;
        height: 16px;
        top: 5px;
    }
    
    /* 小手小屏幕适配 */
    .left-hand, .right-hand {
        width: 18px;
        height: 25px;
        top: 60px;
    }
    
    .left-hand {
        left: 3px;
    }
    
    .right-hand {
        right: 3px;
    }
    
    .left-hand::before, .right-hand::before {
        width: 6px;
        height: 8px;
        top: 3px;
    }
    
    .left-hand::after, .right-hand::after {
        width: 4px;
        height: 6px;
        top: 12px;
    }
    
    /* 腮红小屏幕调整 */
    .guinea-pig .left-blush {
        width: 12px;
        height: 9px;
        left: 6px;
        top: 54px;
    }
    
    .guinea-pig .right-blush {
        width: 12px;
        height: 9px;
        right: 6px;
        top: 54px;
    }
    
    .body {
        width: 135px;
        height: 68px;
        bottom: -17px;
    }
    
    .food-options {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .food-btn {
        max-width: 200px;
        width: 90%;
        padding: 12px;
    }
    
    .language-switcher {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        gap: 3px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .author-info {
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        padding: 8px 20px;
        white-space: nowrap;
        min-width: 160px;
    }
    
    .author-info:hover {
        transform: translateX(-50%) translateY(-2px) scale(1.03);
    }
    
    .emotion-text {
        font-size: 1em;
        margin-top: 15px;
    }
    
    .victory-content {
        padding: 25px 15px;
    }
    
    .victory-title {
        font-size: 2.2em;
    }
    
    .victory-message {
        font-size: 1em;
    }
}