        /* DARK MODE & RESPONSIVE */
        html, body {
            cursor: pointer;
            height: 100%;
            margin: 0; padding: 0;
            background-color: #121212;
            color: #e0e0e0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-direction: column;
            user-select: none;
            min-height: 100vh;
        }

        #container {
            position: relative;
            width: 90vw;
            max-width: 80%;
            aspect-ratio: 1152 / 752;
            background-color: #1e1e1e;
            box-shadow: 0 0 30px rgba(0,0,0,0.9);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
        }

        #magazine {
            width: 100%;
            height: 100%;
            flex-grow: 1;
        }

        #magazine .turn-page {
            background-size: 100% 100%;
            background-color: #1e1e1e;
            background-position: center center;
            box-shadow: inset 0 0 10px #000;
            border-radius: 4px;
        }

        #controls {
            position: fixed;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            z-index: 10000;
            background: #222;
            border-radius: 10px;
            padding: 10px 16px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.8);
            align-items: center;
        }

        #controls button {
            background: transparent;
            border: 1.5px solid #555;
            border-radius: 6px;
            padding: 10px 18px;
            cursor: pointer;
            font-size: 18px;
            color: #ccc;
            user-select: none;
            font-weight: 600;
            transition: all 0.25s ease;
            min-width: 50px;
        }

        #controls button:hover {
            background: #333;
            border-color: #aaa;
            color: #eee;
            box-shadow: 0 0 8px #aaa;
        }

        #controls button:focus {
            outline: none;
            border-color: #fff;
            box-shadow: 0 0 12px #fff;
            color: #fff;
        }

        /* Sayfa numarası ve hız kontrolleri */
        #page-control,
        #speed-control {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ccc;
            font-weight: 600;
            user-select: none;
        }

        #page-control input,
        #speed-control input {
            width: 50px;
            border-radius: 5px;
            border: none;
            padding: 3px;
            font-size: 16px;
            text-align: center;
            background-color: #333;
            color: #eee;
        }

        #speed-control input[type="range"] {
            width: 100px;
            -webkit-appearance: none;
            background: #555;
            border-radius: 5px;
            cursor: pointer;
        }

        #speed-control input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            background: #ddd;
            cursor: pointer;
            border-radius: 50%;
            border: 1px solid #aaa;
        }

        #speed-control input[type="range"]::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: #ddd;
            cursor: pointer;
            border-radius: 50%;
            border: 1px solid #aaa;
        }

        /* Küçük ekranlarda container biraz küçülsün */
        @media (max-width: 600px) {
            #container {
                width: 98vw;
                aspect-ratio: auto;
                height: auto;
            }
            #speed-control input[type="range"] {
                width: 80px;
            }
        }
		


        /* Loader */
        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #111;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease;
        }
        #loader.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .spinner {
            border: 8px solid #444;
            border-top: 8px solid #fff;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }