body {
    background: url('image_7bfc96.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; 
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.juego-container {
    width: 100%;
    max-width: 375px; 
    height: 100vh;    
    max-height: 812px; 
    position: relative;
}

.juego-inner {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 10px solid #4f82a0; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.bg-pibble {
    background: url('Juego/PibbleEmo.jpg') no-repeat center center;
    background-size: cover;
}

.bg-default {
    background: url('CSS/Fondo.jpeg') no-repeat center center;
    background-size: cover;
}

.dark-label {
    background-color: #05161e;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 10px;
    letter-spacing: 2px;
}

.level-btn {
    width: 110px;
    height: 90px;
    background-color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
}
.level-btn:active {
    transform: scale(0.95);
}

.pet-box {
    background-color: #f7e099;
    border-radius: 25px;
    height: 250px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.action-btn {
    width: 100px;
    height: 100px;
    background-color: white;
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.1s;
}
.action-btn:active {
    transform: scale(0.9);
    background-color: #f0f0f0;
}
.action-btn img {
    max-width: 60%;
}
.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #05161e;
    z-index: 100;
    transition: transform 0.2s;
    cursor: pointer;
}
.back-arrow:hover { 
    transform: scale(1.1); 
    color: white; 
}