@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;800&display=swap');

/* Base styles */
body {
    font-family: 'Baloo 2', cursive;
    background: linear-gradient(135deg, #fff1f7 0%, #e0e7ff 100%);
    /* Fundo mais suave e pastel */
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Paisagem de fundo: montanhas e horizonte */
body::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    display: block;
    /* Garante que o ::before seja renderizado */
    /* Montanhas e horizonte */
    background:
        /* Montanhas mais distantes */
        linear-gradient(to top, #b4aee8 0 20%, transparent 60%),
        /* Montanhas médias */
        linear-gradient(to top, #a5b4fc 0 30%, transparent 70%),
        /* Montanhas próximas */
        linear-gradient(to top, #7c3aed 0 40%, transparent 80%),
        /* Horizonte/grama */
        linear-gradient(to top, #bbf7d0 0 10%, transparent 30%);
    background-repeat: no-repeat;
    background-size: 100% 40%, 100% 50%, 100% 60%, 100% 100%;
    background-position: bottom;
    /* transition removida para gifs */
}

/* Game wrapper and container */
.game-wrapper {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(to bottom, #fff5f7, #f3ebff);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 10;
}

/* Game title and card */
.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: #ec4899;
    margin-bottom: 1.5rem;
}

.game-card {
    max-width: 28rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-radius: 38px;
    background: linear-gradient(145deg, #fff7fa 0%, #f3e8ff 100%);
    box-shadow: 0 12px 36px 0 rgba(236, 72, 153, 0.10), 0 2px 8px 0 #e0e7ff44;
    border: 3.5px solid #f9e7f7;
    position: relative;
    overflow: visible;
    /* transition removida para gifs */
}

.game-card::after {
    content: '';
    position: absolute;
    top: -18px;
    right: 30px;
    width: 38px;
    height: 18px;
    background: radial-gradient(circle, #fff 60%, #f3e8ff 100%);
    border-radius: 50px;
    opacity: 0.7;
    filter: blur(2px);
    pointer-events: none;
}

/* Fundo aconchegante para o cenário do panda */
.panda-bg {
    background: linear-gradient(135deg, #f3e8ff 0%, #ffe4fa 100%);
    border-radius: 36px;
    box-shadow: 0 8px 32px 0 #f9e7f7cc, 0 2px 8px 0 #e0e7ff44;
    padding-top: 16px;
    padding-bottom: 16px;
    position: relative;
}

.kawaii-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 260px;
    position: relative;
    z-index: 1;
    overflow: hidden; /* Impede que os gifs saiam do contêiner */
    max-height: 280px; /* Define uma altura máxima para manter a proporção */
}

/* Pandas principais */
.panda-pixel,
.panda-awake,
.panda-sit,
.panda-sleep,
.panda-sad,
.panda-eat,
.panda-rain,
.panda-rain-eat,
.panda-rain-pet,
.panda-rain-sleep,
.panda-rain-sad {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    z-index: 2;
    display: none;
    max-width: 80%; /* Reduzido para evitar que os gifs fiquem muito grandes */
    width: 180px; /* Largura fixa para todos os pandas */
    height: auto;
    pointer-events: none;
    object-fit: contain; /* Mantém a proporção da imagem */
}

/* Ajuste para sentar na grama (mais próximo da grama) */
.panda-sit {
    transform: translate(-50%, 0) !important;
    bottom: 5px !important; /* Descido para ficar mais próximo da grama */
}
.panda-eat {
    transform: translate(-50%, 0) !important;
    bottom: 5px !important; /* Descido para ficar mais próximo da grama */
}
.panda-rain-eat {
    transform: translate(-50%, 0) !important;
    bottom: 5px !important;
}
.panda-rain-pet {
    transform: translate(-50%, 0) !important;
    bottom: 15px !important;
}

/* Panda triste e dormindo */
.panda-sad {
    transform: translate(-50%, 0) !important;
    bottom: 0 !important;
    max-height: 85%; /* Evita que o panda triste seja muito alto */
}

.panda-sleep {
    transform: translate(-50%, 0) !important;
    bottom: 0 !important;
    max-height: 95%; /* Aumentado o tamanho máximo do panda dormindo */
}

/* Ajustes específicos para aumentar o tamanho do panda dormindo */
#panda-sleep {
    width: auto;
    height: auto; 
    max-height: 95%; 
    transform: translate(-50%, 0) scale(1.1);
}

#panda-rain-sleep {
    width: auto;
    height: auto;
    max-height: 95%;
    transform: translate(-50%, 0) scale(1.1);
}

/* Panda dormindo na chuva */
.panda-rain-sleep {
    transform: translate(-50%, 0) !important;
    bottom: 0px !important; /* Ajustado para ficar exatamente na grama como os outros pandas */
    max-height: 95%; /* Aumentado o tamanho máximo do panda dormindo na chuva */
    max-width: 90% !important;
    width: 210px !important; /* Aumentado conforme nova solicitação */
    opacity: 1 !important;
    z-index: 3 !important;
}

/* Panda triste na chuva */
.panda-rain-sad {
    transform: translate(-50%, 0) !important;
    bottom: 0 !important;
    max-height: 100%;
    width: 230px !important; /* Aumentado ainda mais o tamanho do panda triste na chuva */
}

/* Panda chuva padrão (em pé) */
.panda-rain {
    transform: translate(-50%, 0) !important;
    bottom: 0px !important; /* Ajustado para ficar exatamente na grama */
    width: 200px; /* Um pouco maior para mostrar o guarda-chuva */
}

.panda-rain-eat {
    transform: translate(-50%, 0) !important;
    bottom: 0px !important; /* Ajustado para ficar exatamente na grama como o panda-rain */
}
.panda-rain-pet {
    transform: translate(-50%, 0) !important;
    bottom: 0px !important; /* Ajustado para ficar exatamente na grama como o panda-rain */
}

/* Garante que só um panda aparece por vez */
#panda-container .panda-pixel[style*="display: block"] {
    display: block !important;
    z-index: 3;
}
/* CENÁRIO FIXO DO PANDA */
.panda-scenery {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    /* Evitar que elementos saiam do contêiner */
}

.panda-grass {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35px; /* Aumentado para melhor base para os pandas */
    background: linear-gradient(to top, #4ade80 60%, #bbf7d0 100%);
    border-radius: 0 0 32px 32px;
    z-index: 1; /* Garante que a grama fique abaixo do panda */
}

/* Ajustes responsivos para o cenário */
@media (max-width: 480px) {
    .panda-bg {
        border-radius: 20px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .panda-grass {
        height: 25px;
        border-radius: 0 0 20px 20px;
    }

    .panda-grass-tuft {
        width: 15px;
        height: 18px;
    }

    .panda-flower {
        width: 10px;
        height: 10px;
    }

    .panda-bamboo {
        height: 50px;
        width: 10px;
    }

    .panda-bamboo.left {
        left: 8px;
    }

    .panda-bamboo.right {
        right: 8px;
    }

    .kawaii-container {
        min-height: 200px;
        max-height: 240px; /* Reduzido para telas menores */
    }

    /* Sobrescrevendo apenas os tamanhos e posicionamentos do sleep-bubble para mobile */
    #sleep-bubble {
        width: 80px;
        height: 80px;
        right: 10px;
        top: 5px;
    }

    #sleep-bubble::before {
        width: 40px;
        height: 40px;
        bottom: -20px;
        left: 15px;
    }

    #sleep-bubble::after {
        font-size: 2.5rem;
    }
}

/* Ajustes adicionais para responsividade dos pandas */
@media (max-width: 480px) {
    /* Ajuste geral para todos os pandas em telas pequenas */
    .panda-pixel {
        max-width: 75% !important;
        width: 160px !important;
    }
    
    /* Ajuste específico para o panda-rain-sleep em telas médias */
    .panda-rain-sleep {
        max-width: 85% !important;
        width: 190px !important;
    }
    
    /* Ajuste para os pandas com capa de chuva */
    .panda-rain, 
    .panda-rain-eat,
    .panda-rain-pet {
        max-width: 75% !important;
        width: 160px !important;
    }
    
    /* Ajuste específico para o panda triste na chuva em telas menores */
    .panda-rain-sad {
        max-width: 95% !important;
        width: 210px !important;
    }
}

/* Ajustes ainda mais específicos para telas muito pequenas */
@media (max-width: 350px) {
    .panda-pixel {
        max-width: 70% !important;
        width: 140px !important;
    }
    
    .panda-rain-sleep {
        max-width: 80% !important;
        width: 180px !important;
    }
}

.panda-grass-tuft {
    position: absolute;
    bottom: 10px;
    width: 18px;
    height: 22px;
    background: #22c55e;
    border-radius: 8px 8px 12px 12px;
}

.panda-grass-tuft.left {
    left: 28px;
}

.panda-grass-tuft.right {
    right: 28px;
}

.panda-flower {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    bottom: 8px;
    z-index: 2; /* Adicionando z-index para garantir visibilidade */
}

.panda-flower.pink {
    background: #f472b6;
}

.panda-flower.yellow {
    background: #facc15;
}

.panda-flower.blue {
    background: #38bdf8;
}

.panda-flower.orange {
    background: #fbbf24;
}

.panda-flower.purple {
    background: #a855f7;
}

/* Mini flores para decoração extra */
.mini-flower {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    bottom: 10px;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    z-index: 2; /* Adicionando z-index para garantir visibilidade */
}

.mini-flower.pink { background: #fb7185; }
.mini-flower.yellow { background: #facc15; }
.mini-flower.blue { background: #38bdf8; }
.mini-flower.purple { background: #a855f7; }
.mini-flower.orange { background: #fdba74; }

.panda-bamboo {
    position: absolute;
    width: 12px;
    height: 60px;
    bottom: 20px;
    background: linear-gradient(to top, #7dd87d 60%, #a3e635 100%);
    border-radius: 6px;
}

.panda-bamboo.left {
    left: 12px;
}

.panda-bamboo.right {
    right: 12px;
}

.panda-bamboo:before,
.panda-bamboo:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 6px;
    background: #4ade80;
    border-radius: 4px;
}

.panda-bamboo.left:before {
    left: -8px;
    top: 10px;
}

.panda-bamboo.left:after {
    left: 2px;
    top: 30px;
}

.panda-bamboo.right:before {
    right: -8px;
    top: 10px;
}

.panda-bamboo.right:after {
    right: 2px;
    top: 30px;
}

/* Adicionar nervuras à folha de bambu */
.bamboo-leaf::before,
.bamboo-leaf::after {
    content: '';
    position: absolute;
    background: #5a9216;
    border-radius: 50%;
}

.bamboo-leaf::before {
    width: 30px;
    height: 2px;
    top: 10px;
    left: 5px;
}

.bamboo-leaf::after {
    width: 25px;
    height: 2px;
    top: 15px;
    left: 8px;
    transform: rotate(-5deg);
}

/* Status bars */
.status-bars {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    box-shadow: 0 2px 8px #f3e8ff33;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
}

.status-group {
    margin-bottom: 1rem;
}

.status-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: bold;
}

.hunger-label {
    color: #22c55e;
}

.happiness-label {
    color: #ec4899;
}

.energy-label {
    color: #8b5cf6;
}

.progress-bar {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 22px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    will-change: transform, opacity;
}

.progress {
    height: 100%;
    border-radius: 22px;
    display: block !important;
    will-change: transform, width;
    /* transition removida para gifs */
}

.bg-green {
    background: linear-gradient(90deg, #bbf7d0 0%, #4ade80 100%) !important;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.bg-blue {
    background: linear-gradient(90deg, #fecdd3 0%, #ec4899 100%) !important;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

.bg-purple {
    background: linear-gradient(90deg, #c7d2fe 0%, #8b5cf6 100%) !important;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

/* Buttons */
.buttons-container {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.btn-kawaii {
    border: none;
    padding: 0.85rem 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(236, 72, 153, 0.10), 0 2px 8px #e0e7ff44;
    /* transition removida para gifs */
    border: 2.5px solid #f9e7f7;
    font-family: 'Baloo 2', cursive;
    font-size: 1.1rem;
    background: linear-gradient(120deg, #f9a8d4 0%, #a5b4fc 100%);
    position: relative;
    overflow: hidden;
}

.btn-kawaii::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0) 40%, 
                rgba(255,255,255,0.4) 50%, 
                rgba(255,255,255,0) 60%, 
                rgba(255,255,255,0) 100%);
    /* Removendo o rotate daqui, pois agora está no @keyframes */
    animation: shineEffect 6s infinite;
    pointer-events: none;
}

@keyframes shineEffect {
    0% {
        transform: translate(-150%, -50%) rotate(45deg);
    }
    40%, 100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

.btn-kawaii:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.18), 0 2px 8px #e0e7ff44;
    background: linear-gradient(120deg, #f9a8d4 10%, #c4b5fd 100%);
}


/* Botão de banho */
.shower-btn {
    background: linear-gradient(120deg, #f9a8d4 0%, #a5b4fc 100%);
}

.shower-btn:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.18), 0 2px 8px #e0e7ff44;
    background: linear-gradient(120deg, #f9a8d4 10%, #c4b5fd 100%);
}

.shower-btn:active {
    transform: scale(0.97) rotate(1deg);
    background: linear-gradient(120deg, #f9a8d4 0%, #a5b4fc 100%);
}

/* Ajustar o container de botões para quatro botões */
.buttons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

@media (min-width: 480px) {
    .buttons-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Message */
.message {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 1.18rem;
    font-weight: bold;
    color: #a78bfa;
    text-shadow: 0 2px 8px #f3e8ff88;
    letter-spacing: 0.5px;
}

.game-instructions {
    position: absolute;
    top: 32px;
    right: 32px;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 4px 18px 0 #bdb4e633;
    color: #8b5cf6;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 1.1rem 1.5rem 1.1rem 1.5rem;
    z-index: 30;
    text-align: left;
    line-height: 1.5;
    border: 2px solid #e9d5ff;
    display: block;
}

/* Welcome message with author bubble */
.welcome-message-section {
    margin-bottom: 1.5rem;
}

.author-bubble {
    display: flex;
    align-items: center;
    background-color: #f9f5ff;
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid #e9d5ff;
    animation: floatBubble 5s ease-in-out infinite;
}

.author-photo-message {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #ec4899;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background: url('../img/itsmee.jpg') center/cover no-repeat;
}

.message-content {
    flex: 1;
}

.message-content p {
    margin: 0;
    font-weight: 600;
    color: #8b5cf6;
    font-size: 1.05rem;
    line-height: 1.4;
}

/* Animation for author photo */
@keyframes gentle-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 3px 10px rgba(236, 72, 153, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Links de redes sociais removidos pois não estão mais em uso */

/* Elementos de corações do footer removidos - agora definidos em footer-cleanup.css */

/* Responsividade para o rodapé */
@media (max-width: 480px) {
    .footer {
        padding: 0.6rem 0.5rem;
    }

    .developed-by {
        font-size: 0.8rem;
    }

    .author-info {
        margin-top: 0.3rem;
    }

    .author-photo {
        width: 32px;
        height: 32px;
    }

    /* .social-link removido - não está mais em uso */
}

/* Extra responsive rules for very small screens */
@media (max-width: 350px) {
    .footer-content {
        padding: 0.5rem;
    }

    .developed-by {
        font-size: 0.9rem;
    }

    .author-photo {
        width: 28px;
        height: 28px;
    }

    /* .social-links e .social-link removidos - não estão mais em uso */
}

.night-mode .footer {
    background: linear-gradient(145deg, #23243a 0%, #3a3a5a 100%);
    border-top: 2px solid rgba(80, 80, 160, 0.3);
}

.night-mode .developed-by {
    color: #c4b5fd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.night-mode .author-info {
    color: #c4b5fd;
}

.night-mode .author-name {
    color: #d8b4fe;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

.night-mode .author-info:hover .author-name {
    color: #e9d5ff;
}

.night-mode .author-photo {
    border-color: #f472b6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.night-mode .developed-by span {
    color: #f472b6;
}

/* Estilos night-mode para .social-link removidos - não estão mais em uso */

/* Responsividade para diferentes tamanhos de tela */

/* Tablets e telas médias */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 0.75rem;
    }

    .game-title {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }

    .game-card {
        max-width: 90%;
        padding: 1.2rem;
    }

.panda-pixel {
    width: 180px;
    image-rendering: pixelated;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    display: none;
}

#panda-container {
    position: relative;
    min-height: 200px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Garante que só um panda aparece por vez, exceto efeitos temporários */
#panda-container .panda-pixel[style*="display: block"] {
    display: block;
}

/* Ajuste para os novos gifs de chuva */
#panda-rain-eat,
#panda-rain-pet,
#panda-rain-sleep {
    z-index: 3;
}

    .kawaii-container {
        width: 180px;
        height: 180px;
    }

    .game-instructions {
        position: static;
        max-width: 100%;
        margin: 1rem auto 0 auto;
        right: unset;
        top: unset;
        border-radius: 14px;
        font-size: 1rem;
        box-shadow: 0 2px 8px 0 #bdb4e633;
        padding: 0.8rem 1rem;
    }
}

/* Smartphones e telas pequenas */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.5rem;
    }

    .game-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .game-card {
        max-width: 100%;
        padding: 1rem;
        border-radius: 20px;
    }

    .level-display {
        font-size: 1.2rem;
    }

    .buttons-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .btn-kawaii {
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }

    .panda-pixel {
        width: 150px;
        /* Reduzido para telas pequenas */
    }

    .kawaii-container {
        width: 150px;
        height: 150px;
    }

    .status-label {
        font-size: 0.8rem;
    }

    .progress-bar {
        height: 16px;
    }

    .message {
        font-size: 1rem;
    }

    /* Sleep bubble styles - totalmente refeito */
    .sleep-bubble {
        position: absolute;
        width: 80px;
        height: 80px;
        right: 30px;
        top: 0;
        background: white;
        border-radius: 50%;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        z-index: 1000;
        opacity: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sleep-bubble::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
        bottom: -15px;
        left: 15px;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

    .sleep-bubble::after {
        content: 'Zzz';
        color: #8b5cf6;
        font-size: 2.5em;
        font-weight: bold;
        text-shadow: 2px 2px 0 rgba(139,92,246,0.3);
        position: relative;
        z-index: 1;
    }
}

/* Telas muito pequenas (telefones compactos) */
@media (max-width: 350px) {
    .game-title {
        font-size: 1.5rem;
    }

    .buttons-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
    }

    .btn-kawaii {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .panda-pixel {
        width: 130px;
        max-width: 90%;
    }

    .kawaii-container {
        min-height: 180px;
        max-height: 180px;
    }
    
    .panda-grass {
        height: 20px;
    }
    
    /* Otimizar espaço em telas pequenas */
    .status-label {
        flex-direction: column;
        align-items: center;
    }
    
    .game-card {
        padding: 1rem 0.8rem;
    }
}

/* Melhorando os botões para telas muito pequenas */
@media (max-width: 350px) {
    .buttons-container {
        gap: 0.5rem;
    }
    
    .btn-kawaii {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Regras específicas para orientação paisagem em dispositivos móveis */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
    }

    .game-title {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .game-card {
        display: flex;
        flex-direction: row;
        max-width: 95%;
        padding: 0.8rem;
    }

    .panda-bg {
        flex: 1;
        margin-right: 1rem;
    }

    .status-bars {
        flex: 1;
        margin-top: 0;
    }

    .level-section {
        padding: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .buttons-container {
        margin-top: 0.8rem;
    }

    .message {
        margin-top: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Decorative elements */
.bamboo {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 32px;
    height: 90px;
    background: linear-gradient(to right, #7cb342, #8bc34a, #7cb342);
    border-radius: 10px;
    margin: 0 auto;
    z-index: 15;
    box-shadow: 0 2px 8px #a3e63555;
    display: flex;
    align-items: flex-end;
}

.bamboo::before,
.bamboo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    background: #5a9216;
    border-radius: 5px;
}

.bamboo::before {
    top: 30px;
}

.bamboo::after {
    top: 70px;
}

.bamboo-leaf {
    position: absolute;
    width: 40px;
    height: 20px;
    background: #8bc34a;
    border-radius: 50%;
    top: 10px;
    left: 15px;
    transform: rotate(30deg);
    /* Removendo a imagem incorreta do panda */
    background: linear-gradient(145deg, #9ccc65, #7cb342);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Ground decorations */
.ground-decorations {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.grass {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, #a6d189, #c3e6a1);
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.flower {
    position: absolute;
    bottom: 50px;
    width: 20px;
    height: 20px;
}

/* Flores pequenas adicionadas */
.flower.small {
    width: 15px;
    height: 15px;
    bottom: 30px;
}

.flower.small::before {
    width: 15px;
    height: 15px;
    background: #a78bfa; /* Cor lilás para variar */
}

.flower.small::after {
    width: 6px;
    height: 6px;
    top: 4.5px;
    left: 4.5px;
}

.flower::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff9ed2;
    border-radius: 50%;
}

.flower::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ffeb3b;
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

/* Variações de cores para as flores */
.flower.pink::before { background: #ff9ed2; }
.flower.blue::before { background: #93c5fd; }
.flower.purple::before { background: #c4b5fd; }
.flower.yellow::before { background: #fcd34d; }
.flower.orange::before { background: #fdba74; }

.stem {
    position: absolute;
    width: 4px;
    height: 10px;
    background: #4ade80;
    border-radius: 2px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Animations */
/* Classe .heart removida - agora definida em footer-cleanup.css */

/* Adicionando a definição da classe .heart para o efeito de carinho mais kawaii */
.heart {
    position: absolute;
    font-size: 28px;
    pointer-events: none;
    z-index: 100; /* Para garantir que fique acima do panda */
    animation: kawaii-float 2s ease-out forwards;
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(255, 182, 193, 0.7));
    text-shadow: 0 0 8px #ff80ab;
    transform-origin: center;
}

.heart:nth-child(odd) {
    animation-duration: 2.2s;
    animation-timing-function: ease-in-out;
}

.heart:nth-child(even) {
    animation-duration: 1.8s;
    animation-timing-function: cubic-bezier(0.1, 0.8, 0.2, 1);
}

.heart:nth-child(3n+1) {
    animation: kawaii-float 2s ease-out forwards, kawaii-pulse 0.5s infinite alternate;
}

/* Pulsação kawaii especial para alguns corações */
@keyframes kawaii-pulse {
    0% {
        transform: scale(1) rotate(-5deg);
    }
    100% {
        transform: scale(1.2) rotate(5deg);
    }
}

@keyframes kawaii-float {
    0% {
        transform: translateY(0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    10% {
        transform: translateY(-10px) scale(1.2) rotate(-5deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) scale(1) rotate(5deg);
        opacity: 0.9;
    }
    100% {
        transform: translateY(-100px) scale(0.8) rotate(-5deg);
        opacity: 0;
    }
}

.star {
    position: absolute;
    font-size: 20px;
    color: #ffeaa7;
    animation: twinkle 1.5s ease-in-out infinite;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    animation: drift linear infinite;
}

.rainbow {
    position: absolute;
    width: 150px;
    height: 75px;
    border-top-left-radius: 75px;
    border-top-right-radius: 75px;
    background: linear-gradient(to bottom,
            #ff9a9e,
            #fad0c4,
            #ffecd2,
            #a1c4fd,
            #c2e9fb);
    opacity: 0.6;
    bottom: 60px;
    left: 10%;
    transform: scale(0.5);
}

.moon {
    position: absolute;
    top: 40px;
    left: 80px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #fffbe6 80%, #e0d7ff 100%);
    border-radius: 50%;
    box-shadow: 0 0 40px 10px #fffbe6, 0 0 0 8px #e0d7ff44;
    z-index: 1;
    border: 2px solid #e0d7ff;
}

.moon::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    width: 30px;
    height: 30px;
    background: #3a3a5a;
    border-radius: 50%;
    opacity: 0.5;
}

.sun {
    background: radial-gradient(circle at 60% 40%, #fff7b2 60%, #ffe066 100%);
    box-shadow: 0 0 60px 10px #ffe066, 0 0 0 8px #fff7b244;
    border: 2px solid #ffe066;
}

/* Melhorando o visual dos raios solares */
.sun-ray {
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,190,0.8) 0%, rgba(255,255,220,0.1) 70%, rgba(255,255,255,0) 100%);
    border-radius: 50%;
    opacity: 0.7;
    animation: sunRayPulse 5s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
}

@keyframes sunRayPulse {
    from {
        transform: scale(1);
        opacity: 0.5;
    }
    to {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* Transitions - removidas para melhorar performance com gifs */

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-40px) scale(1.5);
        opacity: 0;
    }
}

@keyframes twinkle {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes drift {
    from {
        transform: translateX(-100px);
    }

    to {
        transform: translateX(calc(100vw + 100px));
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0) rotate(0);
    }

    25% {
        transform: translateX(-5px) rotate(-5deg);
    }

    50% {
        transform: translateX(5px) rotate(5deg);
    }

    75% {
        transform: translateX(-5px) rotate(-5deg);
    }
}

@keyframes blush {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes sparkle {
    0% {
        transform: rotate(45deg) scale(0);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) scale(1);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) scale(0);
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes rainfall {
    from {
        transform: translateY(-10px);
    }

    to {
        transform: translateY(100vh);
    }
}

@keyframes snowfall {
    from {
        transform: translate(0, -10px) rotate(0deg);
    }

    to {
        transform: translate(20px, 100vh) rotate(360deg);
    }
}

@keyframes sunray {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Level and Experience */
.level-section {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.level-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6366f1;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.exp-label {
    color: #eab308;
    font-weight: bold;
}

.bg-yellow {
    background: linear-gradient(to right, #fbbf24, #d97706);
}

/* Achievement Messages */
.achievement-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideDown 0.5s ease-out, fadeOut 0.5s ease-in 2.5s;
}

/* Level Up Message */
.level-up-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to right, #fbbf24, #d97706);
    color: white;
    padding: 2rem 3rem;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: popIn 0.5s ease-out, fadeOut 0.5s ease-in 2.5s;
}

/* Responsividade para mensagens de conquista e nível */
@media (max-width: 480px) {
    .achievement-message {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 30px;
    }

    .level-up-message {
        padding: 1.5rem 2rem;
        font-size: 1.3rem;
    }
}

/* Weather Effects */
.weather-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    /* Assegura que o contêiner de clima cobre todo o cenário do panda */
    min-height: 280px;
    border-radius: 36px;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    width: 3px;
    height: 15px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(158, 214, 255, 0.9));
    box-shadow: 0 0 4px rgba(158, 214, 255, 0.8);
    border-radius: 10px;
    display: block;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    transform-origin: center bottom;
    z-index: 2;
    animation: fallDrop 1.5s linear infinite;
}

/* Gota de chuva grande com efeito splash */
.rain-drop.large {
    width: 4px;
    height: 22px;
    opacity: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(158, 214, 255, 0.95));
    box-shadow: 0 0 6px rgba(158, 214, 255, 0.9);
}

.rain-drop.large::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -7px;
    width: 15px;
    height: 5px;
    border-radius: 50%;
    background: rgba(158, 214, 255, 0.5);
    opacity: 0;
    transform: scale(0);
    animation: splash-effect 1.5s linear infinite;
    animation-delay: inherit;
}

/* Efeito splash melhorado para as gotas grandes */
.rain-drop.large::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -5px;
    width: 10px;
    height: 3px;
    background: rgba(158, 214, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: rain-splash 0.8s linear;
    animation-delay: inherit;
}

@keyframes splash-effect {
    0%, 70% {
        opacity: 0;
        transform: scale(0);
    }
    72% {
        opacity: 0.7;
        transform: scale(0.1);
    }
    80% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes fallDrop {
    0% {
        transform: translateY(-150px) scaleY(1.2);
    }
    5% {
        opacity: 0.2; /* Começa mais sutil */
    }
    20% {
        opacity: 1; /* Atinge opacidade total */
    }
    70% {
        transform: translateY(0) scaleY(1.2);
        opacity: 1;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scaleY(0.5);
        opacity: 0;
    }
}

@keyframes rain-splash {
    0%, 80% {
        opacity: 0;
        transform: scale(0);
    }
    85% {
        opacity: 0.7;
        transform: scale(0.5);
    }
    95% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.snow-flake {
    position: absolute;
    color: white;
    font-size: 10px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    animation: snowfall 3s linear infinite;
}

.weather-effects.weather-rain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(158, 214, 255, 0.05), rgba(116, 170, 255, 0.15));
    z-index: 1;
    pointer-events: none;
}

/* Adicionando nuvens de chuva ao fundo */
.weather-effects.weather-rain::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, rgba(146, 156, 189, 0.4) 0%, rgba(146, 156, 189, 0.1) 100%);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}

/* Nova animação de chuva para cobrir toda a área do panda */
@keyframes rainFall {
    0% {
        transform: translateY(-10px);
        opacity: 0.2;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
        transform: translateY(calc(100% - 30px)); /* Usa porcentagem para ser responsivo */
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

.weather-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.rain-drop {
    position: absolute;
    width: 3px;
    height: 15px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(158, 214, 255, 0.9));
    box-shadow: 0 0 4px rgba(158, 214, 255, 0.8);
    border-radius: 10px;
    display: block;
    opacity: 1;
    pointer-events: none;
    position: absolute;
    transform-origin: center bottom;
    z-index: 2;
    animation: fallDrop 1.5s linear infinite;
}

/* Gota de chuva grande com efeito splash */
.rain-drop.large {
    width: 4px;
    height: 22px;
    opacity: 1;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(158, 214, 255, 0.95));
    box-shadow: 0 0 6px rgba(158, 214, 255, 0.9);
}

.rain-drop.large::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -7px;
    width: 15px;
    height: 5px;
    border-radius: 50%;
    background: rgba(158, 214, 255, 0.5);
    opacity: 0;
    transform: scale(0);
    animation: splash-effect 1.5s linear infinite;
    animation-delay: inherit;
}

/* Efeito splash melhorado para as gotas grandes */
.rain-drop.large::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -5px;
    width: 10px;
    height: 3px;
    background: rgba(158, 214, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: rain-splash 0.8s linear;
    animation-delay: inherit;
}

@keyframes splash-effect {
    0%, 70% {
        opacity: 0;
        transform: scale(0);
    }
    72% {
        opacity: 0.7;
        transform: scale(0.1);
    }
    80% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

@keyframes fallDrop {
    0% {
        transform: translateY(-150px) scaleY(1.2);
    }
    5% {
        opacity: 0.2; /* Começa mais sutil */
    }
    20% {
        opacity: 1; /* Atinge opacidade total */
    }
    70% {
        transform: translateY(0) scaleY(1.2);
        opacity: 1;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scaleY(0.5);
        opacity: 0;
    }
}

@keyframes rain-splash {
    0%, 80% {
        opacity: 0;
        transform: scale(0);
    }
    85% {
        opacity: 0.7;
        transform: scale(0.5);
    }
    95% {
        opacity: 0.5;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.snow-flake {
    position: absolute;
    color: white;
    font-size: 10px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    animation: snowfall 3s linear infinite;
}

.weather-effects.weather-rain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(158, 214, 255, 0.05), rgba(116, 170, 255, 0.15));
    z-index: 1;
    pointer-events: none;
}

/* Adicionando nuvens de chuva ao fundo */
.weather-effects.weather-rain::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, rgba(146, 156, 189, 0.4) 0%, rgba(146, 156, 189, 0.1) 100%);
    filter: blur(4px);
    z-index: 0;
    pointer-events: none;
}

/* Estilos para os pandas no chuveiro */
.panda-shower,
.panda-rain-shower {
    transform: translate(-50%, 0) !important;
    bottom: 0px !important;
    /* Alinhado com a grama */
    max-width: 85% !important;
    width: 180px !important;
    z-index: 3 !important;
}

/* Ajustes responsivos para dispositivos móveis */
@media (max-width: 480px) {
    .panda-shower,
    .panda-rain-shower {
        max-width: 85% !important;
        width: 180px !important;
    }
}

@media (max-width: 350px) {
    .panda-shower,
    .panda-rain-shower {
        max-width: 80% !important;
        width: 160px !important;
    }
}

/* Panda dormindo na chuva */

/* Estilos para a foto do autor como link clicável */
.author-bubble a {
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.author-bubble a::after {
    content: "Ver sobre";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 105, 180, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    opacity: 1;
    pointer-events: none;
}

.author-bubble a:hover::after {
    /* Mantém para compatibilidade, mas não é mais necessário */
    opacity: 1;
}

.author-bubble a:hover {
    transform: scale(1.05);
}

.author-bubble a:hover::after {
    content: "Ver sobre";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 105, 180, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}

.autor-link {
    color: #FF69B4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.autor-link:hover {
    color: #ff5ca8;
    text-decoration: underline;
}

/* Estilos para os GIFs de animais */
.animal-gifs-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 5;
    pointer-events: none; /* Para não interferir com cliques no panda */
}

.animal-gif {
    position: absolute;
    bottom: 0;
}

.rabbit-gif {
    left: 6%;
    bottom: 20px;
    width: 70px;
}

.cat-gif {
    left: 22%;
    bottom: 12px;
    width: 60px;
}

.frog-gif {
    left: 30%;
    bottom: 28px;
    width: 62px;
}

.hamster-gif {
    right: 18%;
    bottom: 32px;
    width: 54px;
}

.dog-gif {
    right: 7%;
    bottom: 22px;
    width: 68px;
}

.toggle-animals-btn {
    display: none; /* Escondido por padrão em telas maiores */
    position: fixed; /* Alterado para fixed para ficar visível mesmo com scroll */
    bottom: 20px; /* Aumentado para ficar mais distante do fundo */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 20, 147, 0.9); /* Cor mais vibrante */
    color: white;
    border: 2px solid white; /* Borda para destacar */
    border-radius: 25px; /* Mais arredondado */
    padding: 12px 24px; /* Botão maior para ser mais fácil de clicar */
    font-size: 16px; /* Texto maior */
    font-weight: bold; /* Texto em negrito */
    cursor: pointer;
    z-index: 100; /* Aumentado para garantir que fique acima de tudo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Sombra mais forte */
    transition: background-color 0.3s, transform 0.3s;
}

.toggle-animals-btn:hover, .toggle-animals-btn:focus {
    background-color: rgba(255, 0, 127, 1);
    transform: translateX(-50%) scale(1.1);
}

.toggle-animals-btn.active {
    background-color: #32CD32; /* Verde mais vivo */
    animation: pulse 1.5s infinite; /* Adiciona animação pulsante */
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Classe aplicada quando os animais são exibidos em dispositivos móveis */
.show-animals .animal-gifs-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.show-animals .animal-gif {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    width: 50px;
    height: auto;
}

@media (max-width: 768px) {
    .toggle-animals-btn {
        display: block;
    }
    
    .animal-gifs-container {
        display: none; /* Esconder os animais por padrão em celular */
    }
    
    .show-animals .animal-gifs-container {
        display: flex;
    }
    
    /* Adiciona brilho ao redor do botão em dispositivos móveis */
    .toggle-animals-btn::before {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-radius: 30px;
        background: linear-gradient(45deg, #ff0, #f0f, #0ff, #0f0, #ff0);
        background-size: 400%;
        z-index: -1;
        filter: blur(5px);
        animation: glowing 12s linear infinite;
        opacity: 0.7;
    }
    
    @keyframes glowing {
        0% { background-position: 0 0; }
        50% { background-position: 400% 0; }
        100% { background-position: 0 0; }
    }
}

@media (max-width: 480px) {
    .show-animals .animal-gif {
        width: 40px;
    }
}

/* Garantindo que não haja sombreamento nas estatísticas */
.hunger-label, .happiness-label, .energy-label, 
.status-label span {
    text-shadow: none !important;
}

/* Garantindo que os valores de porcentagem não tenham sombreamento */
#hunger-value, #happiness-value, #energy-value {
    text-shadow: none !important;
}