@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; } body { background: #1a1a1a; min-height: 100vh; overflow-x: hidden; position: relative; margin: 0; user-select: none; touch-action: manipulation; outline: none; -webkit-tap-highlight-color: transparent; } .header-glass { background: rgba(42, 42, 42, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 215, 0, 0.2); padding: 12px 0; position: sticky; top: 0; z-index: 999; transition: opacity 0.3s; width: 100%; } body.fullscreen .header-glass { opacity: 0; pointer-events: none; } .container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; } .header-text { font-size: 15px; font-weight: 600; color: white; text-align: center; white-space: nowrap; } .gradient-text { background: linear-gradient(to right, #fde047, #f59e0b); background-clip: text; -webkit-background-clip: text; color: transparent; display: inline-block; } .game-window-wrapper { padding: 1.5rem 1rem; display: flex; justify-content: center; min-height: calc(100vh - 180px); width: 100%; } body.fullscreen .game-window-wrapper { padding: 0; margin: 0; min-height: 100vh; } .game-container-outer { position: relative; min-height: 500px; width: 100%; max-width: 1600px; height: calc(100vh - 180px); flex: 1; overflow: hidden; border-radius: 12px; } body.fullscreen .game-container-outer { position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; border-radius: 0; border: none; z-index: 9999; overflow: hidden; } .loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; border-radius: 12px; } .loading-slogan { color: white; font-size: 1.5rem; margin-bottom: 1rem; } .loading-tagline { color: #999; font-size: 1rem; } #gameIframe { width: 100%; height: 100%; border: none; background: #000; border-radius: 12px; display: none; z-index: 9999; } body.fullscreen #gameIframe { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; border-radius: 0; object-fit: cover; } .game-footer { height: 64px; display: flex; align-items: center; justify-content: space-between; background: #2a2a2a; padding: 0 1.5rem; border-radius: 0 0 12px; transition: opacity 0.3s; width: 100%; } body.fullscreen .game-footer { opacity: 0; pointer-events: none; } .game-info { display: flex; align-items: center; gap: 1rem; } .game-name { font-size: 1rem; font-weight: 700; color: #e5e7eb; white-space: nowrap; } .game-divider { width: 1px; height: 24px; background: #4b5563; } .game-brand { font-size: 0.875rem; font-weight: 700; color: #9ca3af; white-space: nowrap; } .control-button { display: flex; flex-direction: row; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; color: #6a7c91; cursor: pointer; transition: all 0.3s; background: #374151; border-radius: 6px; min-width: 80px; outline: none; } .control-button:hover { color: #fbbf24; background: #4b5563; } .control-icon { width: 20px; height: 20px; } .control-text { font-size: 0.9rem; white-space: nowrap; } .fullscreen-floating-btn { position: fixed; top: 20px; left: 20px; z-index: 10001; width: 45px !important; height: 45px !important; min-width: 40px; min-height: 40px; border-radius: 50%; background: url("https://dks.my/tu/y.png") center/cover no-repeat; box-shadow: 0 2px 10px rgba(0,0,0,0.6); cursor: move; display: none; touch-action: none; user-select: none; outline: none; left: calc(20px + env(safe-area-inset-left)); transition: opacity 0.3s ease; } body.fullscreen .fullscreen-floating-btn { display: block; } .bottom-full-menu { position: fixed; bottom: 0; left: 0; right: 0; width: 100%; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -4px 15px rgba(0,0,0,0.5); display: none; z-index: 10002; user-select: none; touch-action: manipulation; outline: none; overflow: hidden; } .menu-item { padding: 12px 0; font-size: 1.1rem; color: #1a1a1a; text-align: center; cursor: pointer; border-bottom: 1px solid #eee; user-select: none; outline: none; transition: background 0.2s ease, color 0.2s ease; } .menu-item:last-child { border-bottom: none; } .menu-item:hover { background: #f3f4f6; color: #000; } .refresh-btn { outline: none !important; -webkit-tap-highlight-color: transparent !important; }