html, body {
            height: 100%;
            margin: 0;
            overflow-x: auto; 
            overflow-y: hidden; 
            position: relative;
            scroll-behavior: smooth;
        }
        body {
            background-image: url('https://hadrianuspage.my.id/nsekekkaisolver/images/mentahan_ns_aniv_full.jpg');
            background-repeat: no-repeat;
            background-size: cover;
            animation: moveBackground 10s linear infinite;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            height: 100vh;
        }
        @keyframes moveBackground {
            0% { background-position: 0% 0%; }
            50% { background-position: 100% 0%; }
            100% { background-position: 0% 0%; }
        }
        #player-container {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        #ruffle-player {
            width: 500px;
            height: 375px;
            margin: -80px;
            position: absolute;
            left: 0;
            transition: left 0.2s ease, top 0.2s ease;
        }
        .label {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 2px 5px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            text-align: center;
            font-size: 1.2em;
            display: inline-block;
            overflow: hidden;
        }
        .label-text {
            background-image: linear-gradient(90deg, rgba(255,0,0,1), rgba(0,255,0,1), rgba(0,0,255,1), rgba(255,0,255,1));
            -webkit-background-clip: text;
            color: transparent;
            animation: blink 1s infinite;
            font-size: 0.8em;
            margin-top: -2px;
        }
        .button-container {
            margin-top: 20px;
            position: relative;
            top: -80px;
            text-align: center;
        }
        button {
            padding: 10px 20px;
            font-size: 16px;
            margin: 5px 0;
            cursor: pointer;
            background-color: #4CAF50;
            border: none;
            color: white;
            border-radius: 5px;
            transition: background-color 0.3s, transform 0.2s;
        }
        button:hover {
            background-color: #45a049;
            transform: translateY(-2px);
        }
        button:active {
            transform: translateY(1px);
        }
        .movement-button {
            display: none;
            position: absolute;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
        }
        #up-button { top: 20px; left: 50%; transform: translateX(-50%); }
        #down-button { bottom: 20px; left: 50%; transform: translateX(-50%); }
        #left-button { left: 20px; top: 50%; transform: translateY(-50%); }
        #right-button { right: 20px; top: 50%; transform: translateY(-50%); }
        .popup {
            display: none;
            position: fixed;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            z-index: 10;
            max-width: 300px;
            width: 90%;
        }
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 5;
        }
        #fps-counter {
            position: absolute;
            top: 10px;
            left: 10px;
            background: rgba(255, 255, 255, 0.8);
            padding: 5px;
            border-radius: 5px;
            font-size: 1.2em;
            color: black;
            z-index: 15;
        }
        .blink {
            background-image: linear-gradient(90deg, rgba(255,0,0,1), rgba(0,255,0,1), rgba(0,0,255,1), rgba(255,0,255,1));
            -webkit-background-clip: text;
            color: transparent;
            animation: blink 1s infinite;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }
        .close-popup {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            color: blue;
            font-weight: bold;
        }