body {
    margin: 0;
    padding: 0;
    background: #fff8f6;
    font-family: 'Georgia', serif;
    color: #4B3B40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Contenedor principal del flipbook */
#flipbook {
    width: 600px;
    height: 800px;
    margin: 20px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: white;
    position: relative;
}

/* Estilo para cada página individual */
#flipbook > div {
    width: 600px;
    height: 800px;
    overflow: hidden;
    background-color: #fcfcfc;
}

/* Estilo para las imágenes dentro del flipbook */
#flipbook img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Controles de audio */
#muteButton {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f0c5c0;
    border: none;
    padding: 12px 22px;
    font-size: 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

#muteButton:hover {
    background: #e6aba5;
    transform: scale(1.05);
}

/* Estilos responsivos */
@media (max-width: 700px) {
    #flipbook {
        width: 90vw;
        height: calc(90vw * 1.333); /* Mantener proporción */
    }
    
    #flipbook > div {
        width: 90vw;
        height: calc(90vw * 1.333);
    }
}

/* Estilo específico para turn.js */
.turn-page {
    background-color: #fff; /* Fondo de cada página */
}

/* Ocultar la sombra de la segunda página cuando está en modo single */
.turn-page-wrapper:nth-child(2) {
    visibility: visible !important;
}