.game-wrapper { position: relative; width: 100%; background: #1a1a1a; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.4); overflow: hidden; border: 1px solid #333; } .iframe-container { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; background: #000; overflow: hidden; }
.myarcade-output, .myarcade-output iframe, .myarcade-output object, .myarcade-output embed, .myarcade-output ruffle-player { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; border: none !important; display: block !important; } .game-controls { display: flex; justify-content: space-between; align-items: center; padding: 8px 15px; background: #232323; color: #fff; border-top: 1px solid #333; position: relative; z-index: 60; }
.game-title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50%; }
.control-buttons { display: flex; align-items: center; gap: 8px; } .share-btn-main { background: #5c27fe; color: white; border: none; padding: 5px 14px !important; border-radius: 20px; font-size: 13px !important; font-weight: 700 !important; line-height: 1 !important; text-transform: none !important; cursor: pointer; display: flex; align-items: center; margin-right: 5px; transition: background 0.2s; }
.share-btn-main:hover { background: #7b4fff; }
.vote-btn { margin: 0 5px; } .vote-btn:hover { color: #fff; }
.vote-count { font-size: 13px; font-weight: bold; margin-left: 4px; }
.icon-btn { background: transparent; border: none; color: #ccc; cursor: pointer; padding: 6px; border-radius: 4px; display: flex; align-items: center; } .play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; background-position: center; background-size: cover; z-index: 50; display: flex; justify-content: center; align-items: center; box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.6); cursor: pointer; transition: opacity 0.3s; }
.play-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn { background: #5c27fe; color: white; padding: 15px 40px; font-size: 18px; font-weight: 800; border-radius: 50px; box-shadow: 0 4px 15px rgba(92, 39, 254, 0.5); display: flex; align-items: center; }
.play-btn:hover { transform: scale(1.05); } .qr-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 99999; display: flex; justify-content: center; align-items: center; } .qr-modal.hidden { display: none; }
.close-qr { position: absolute; top: 10px; right: 15px; font-size: 28px; cursor: pointer; color: #888; } .close-qr:hover { color: #fff; }
.share-content { background: #232323; padding: 25px; border-radius: 12px; width: 320px; text-align: center; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 1px solid #333; }
.share-title { color: #fff; margin: 0 0 20px 0; font-size: 18px; }
.share-icons { display: flex; justify-content: center; gap: 15px; margin-bottom: 20px; }
.s-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s; } .s-icon:hover { transform: scale(1.1); }
.fb { background: #1877f2; } .x { background: #000; border: 1px solid #333; } .wa { background: #25d366; }
.share-link-box { display: flex; background: #111; border: 1px solid #333; border-radius: 6px; padding: 4px; align-items: center; }
.share-link-box input { background: transparent; border: none; color: #ccc; width: 100%; padding: 8px; font-size: 13px; outline: none; }
.copy-btn { background: #333; border: none; border-radius: 4px; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; } .copy-btn:hover { background: #444; }
.qr-content { background: #2b2b2b; padding: 20px; border-radius: 10px; text-align: center; color: white; position: relative; } .game-wrapper.ios-fullscreen { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; z-index: 99999 !important; margin: 0 !important; border-radius: 0 !important; }
.game-wrapper.ios-fullscreen .iframe-container { height: 100% !important; padding-bottom: 0 !important; }
.game-wrapper.ios-fullscreen .game-controls { display: none; }
.exit-fs-btn { display: none; }
.game-wrapper.ios-fullscreen .exit-fs-btn { display: flex; position: fixed; top: 20px; right: 20px; z-index: 100000; background: rgba(0,0,0,0.7); border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); } .sg-row-wrapper { margin-bottom: 40px; position: relative; }
.sg-row-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding: 0 5px; }
.sg-row-header h2 { font-size: 20px; color: #fff; margin: 0; text-transform: uppercase; }
.sg-header-link { color: #aaa; font-size: 13px; text-decoration: none; }
.sg-row-inner { position: relative; }
.sg-scroll-container, .sg-sticky-grid, .sg-new-grid, .sg-recent-list { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 0; scrollbar-width: none; -ms-overflow-style: none; }
.sg-scroll-container::-webkit-scrollbar, .sg-sticky-grid::-webkit-scrollbar, .sg-new-grid::-webkit-scrollbar, .sg-recent-list::-webkit-scrollbar { display: none; }
.sg-game-card { flex: 0 0 250px; height: 160px; border-radius: 12px; overflow: hidden; position: relative; transform: scale(1); transition: transform 0.2s; background: #000; }
.sg-game-card:hover { transform: scale(1.05); z-index: 2; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.sg-card-thumb { width: 100%; height: 100%; background-size: cover; background-position: center; position: relative; }
.sg-card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 10px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff; font-size: 13px; font-weight: bold; text-align: center; opacity: 0; transform: translateY(20px); transition: all 0.3s ease; }
.sg-game-card:hover .sg-card-overlay { opacity: 1; transform: translateY(0); }
.sg-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.7); color: white; border: none; width: 40px; height: 40px; border-radius: 10%; font-size: 20px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s, background 0.3s; padding: 80px 5px;}
.sg-nav-btn:hover { background: #5c27fe; } .prev { left: -10px; } .next { right: -10px; }
.sg-row-inner:hover .sg-nav-btn { opacity: 1; }
.sg-view-all-card { background: #333; } .view-all-thumb { display: flex; align-items: center; justify-content: center; text-align: center; color: #ccc; font-weight: bold; } .view-all-thumb span { line-height: 1.4; } .sg-sticky-grid { display: grid; grid-template-rows: 180px 180px; grid-auto-columns: 260px; grid-auto-flow: column; gap: 15px; }
.sticky-card { width: 100%; height: 100%; } .sticky-card.big { grid-row: span 2; grid-column: span 2; border: 1px solid #333; }
.big-nav { width: 50px; height: 50px; font-size: 24px; background: rgba(0,0,0,0.85); } .sg-new-grid { display: grid; grid-template-rows: 160px 160px; grid-auto-columns: 150px; grid-auto-flow: column; gap: 10px; }
.tall-card { border: 1px solid #222; } .tall-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(92, 39, 254, 0.3); border-color: #5c27fe; }
.tall-card .sg-card-thumb { background-position: center top; }
.sg-new-badge { position: absolute; top: 10px; left: 10px; background: #CC0000; color: white; font-size: 12px; font-weight: 800; padding: 2px 5px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.5); z-index: 2; }
.tall-nav { margin-top: 0; height: 60px; } .sg-recent-wrapper { background: #011852; display: flex; align-items: center; padding: 10px 20px; height: 70px; margin-bottom: 20px; overflow: hidden; opacity: 1; transition: opacity 0.3s; }
.sg-recent-wrapper.hidden { display: none; }
.sg-recent-label { color: #ccc; font-size: 13px; font-weight: 700; text-transform: uppercase; margin-right: 15px; display: flex; align-items: center; border-right: 1px solid #444; padding-right: 15px; height: 40px; }
.sg-recent-item { display: block; width: 80px; height: 50px; flex-shrink: 0; border-radius: 8px; overflow: hidden; position: relative; border: 2px solid transparent; transition: all 0.2s; }
.sg-recent-item:hover { transform: translateY(-3px); border-color: #5c27fe; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
@media (max-width: 768px) {
.desktop-only { display: none !important; } .sg-nav-btn { display: none; }
.sg-game-card { flex: 0 0 120px; height: 120px; }
.sg-sticky-grid { grid-template-rows: 120px 120px; grid-auto-columns: 180px; } .sticky-card:hover { transform: none; }
.sg-new-grid { grid-template-rows: 180px 180px; grid-auto-columns: 120px; }
.sg-recent-wrapper { padding: 5px 10px; height: 60px; } .sg-recent-item { width: 40px; height: 40px; } .sg-recent-label { font-size: 0; } .sg-recent-label svg { margin: 0; }
}