/* Environment Lock & Layering */
html, body { overflow: hidden !important; height: 100%; margin: 0; }
main { height: 100% !important; margin: 0 !important; }

/* The Infinite Stage */
.my-page { background-color: white; box-shadow: 0 0 50px rgba(0,0,0,0.4); border-radius: 4px; overflow: hidden; }
.my-page canvas { width: 100%; height: auto; display: block; }

/* Floating Stage Refinement */
#book-viewport { 
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.2s ease; 
    transform-origin: center center; 
    z-index: 10; 
    max-width: 1500px; 
}

/* Animations */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.animate-slide-up { animation: slideUp 0.4s ease forwards; }
