body {
    background-color: #e0f2fe;
    background-image: url('../../BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
}

        #flipbook {
            box-shadow: 0 0 30px rgba(0,0,0,0.6);
            transition: all 0.5s ease;
        }

        #flipbook .page {
            background-color: #fff;
            color: #333;
            text-align: center;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }

        /* (Removed custom hard cover CSS that conflicted with canvas rendering) */

        /* Page Content Styling (Placeholder) */
        .page-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
            box-sizing: border-box;
        }

        .page-content h2 {
            color: #2A7BDE;
            margin-bottom: 1rem;
            font-family: 'Outfit', sans-serif;
        }

        .page-number {
            position: absolute;
            bottom: 20px;
            width: 100%;
            text-align: center;
            font-weight: bold;
            color: #888;
        }

        .odd .page-number { text-align: right; right: 20px; width: auto; }
        .even .page-number { text-align: left; left: 20px; width: auto; }

        /* Navigation Buttons */
        .back-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50px;
            text-decoration: none;
            color: #2A7BDE;
            font-weight: 800;
            font-family: 'Outfit', sans-serif;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .back-btn:hover {
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        }

        .controls {
            position: absolute;
            bottom: 30px;
            display: flex;
            gap: 20px;
            z-index: 100;
        }

        .ctrl-btn {
            background: #2A7BDE;
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(42, 123, 222, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .ctrl-btn:hover {
            background: #1e60b3;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(42, 123, 222, 0.5);
        }
        
        /* Book binding shadow */
        #flipbook .page {
            box-shadow: inset -5px 0 10px rgba(0,0,0,0.05);
        }
        #flipbook .even {
            box-shadow: inset 5px 0 10px rgba(0,0,0,0.05);
        }