<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover”> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”format-detection” content=”telephone=no”> <title>ROTATOOR</title> <script src=”https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js”></script> <script src=”https://unpkg.com/@solana/web3.js@1.91.8/lib/index.iife.min.js”></script> <script> if (!window.solanaWeb3) { document.write(‘<script src=”https://cdn.jsdelivr.net/npm/@solana/web3.js@1.91.8/lib/index.iife.min.js”><\/script>’); } </script> <script> window.MWA_transact = null; window.MWA_getWallets = null; window.MWA_READY = false; window.addEventListener(‘mwa-ready’, function() { window.MWA_READY = true; }); </script> <script type=”module”> (async function() { try { var mod = await import(‘https://esm.sh/@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.2.9?target=es2020’); if (mod && mod.transact) window.MWA_transact = mod.transact; if (mod && mod.getWallets) window.MWA_getWallets = mod.getWallets; } catch (e) { try { var mod2 = await import(‘https://cdn.jsdelivr.net/npm/@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.2.9/+esm’); if (mod2 && mod2.transact) window.MWA_transact = mod2.transact; if (mod2 && mod2.getWallets) window.MWA_getWallets = mod2.getWallets; } catch (e2) {} } window.dispatchEvent(new Event(‘mwa-ready’)); })(); </script> <style> @import url(“https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap”); :root { –holo-cyan: #00f3ff; –holo-magenta: #ff00ea; –holo-yellow: #fbbf24; –holo-green: #00ff66; –holo-red: #ff3333; –holo-purple: #9945ff; –holo-sol: #14f195; –panel-bg: rgba(2, 4, 8, 0.95); } * { box-sizing: border-box; margin: 0; padding: 0; font-family: ‘Share Tech Mono’, ‘Courier New’, monospace; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; word-wrap: break-word; overflow-wrap: anywhere; word-break: break-word; } html, body { background-color: #020408; color: #e0f7fa; overflow: hidden; width: 100%; height: 100%; position: fixed; top: 0; left: 0; right: 0; bottom: 0; } #game-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; display: block; } #ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; } #top-hud { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 18px 10px 18px; background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.0)); pointer-events: auto; position: relative; z-index: 22; } .score-box { display: flex; flex-direction: column; align-items: center; min-width: 90px; flex: 0 0 auto; text-shadow: 1px 1px 3px #000, 0 0 8px #000; } .score-label { font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; color: var(–holo-magenta); white-space: normal; text-align: center; line-height: 1.15; } .score-val { font-size: 2rem; line-height: 1.1; font-weight: 900; text-shadow: 1px 1px 3px #000, 0 0 10px currentColor; color: var(–holo-cyan); } .score-sub { font-size: 0.85rem; color: #aaa; white-space: normal; text-align: center; line-height: 1.15; } #hud-controls { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: auto; padding-top: 2px; min-width: 0; } .hud-btn { background: rgba(0,0,0,0.85); border: 2px solid var(–holo-cyan); color: var(–holo-cyan); padding: 7px 14px; border-radius: 5px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-family: inherit; font-size: 0.85rem; white-space: normal; text-align: center; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 10px rgba(0,0,0,0.5); } .hud-stick-btn { background: rgba(0,0,0,0.85); border: 2px solid var(–holo-sol); color: var(–holo-sol); padding: 6px 10px; border-radius: 5px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-family: inherit; font-size: 0.7rem; white-space: normal; text-align: center; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 10px rgba(0,0,0,0.5); margin-top: 4px; } .diff-badge { font-size: 1.05rem; color: var(–holo-yellow); text-transform: uppercase; font-weight: bold; letter-spacing: 2px; text-shadow: 1px 1px 3px #000, 0 0 10px var(–holo-yellow); white-space: normal; text-align: center; background: rgba(0,0,0,0.7); padding: 2px 8px; border-radius: 4px; line-height: 1.2; } #center-hud { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; } #announcer { font-size: 3.6rem; font-weight: bold; color: var(–holo-yellow); text-shadow: 1px 1px 5px #000, 0 0 30px var(–holo-yellow); opacity: 0; transform: scale(0.5); transition: all 0.2s; text-align: center; line-height: 1.1; } #announcer.show { opacity: 1; transform: scale(1); } #mobile-controls { position: absolute; bottom: 20px; left: 0; width: 100%; height: 100px; display: none; pointer-events: none; z-index: 30; padding: 0 20px; justify-content: space-between; align-items: flex-end;} .touch-zone { pointer-events: auto; background: rgba(0, 0, 0, 0.7); border: 2px solid var(–holo-cyan); border-radius: 50%; width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; color: var(–holo-cyan); font-size: 1.5rem; font-weight: bold; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 15px rgba(0,0,0,0.8); } .touch-zone:active { background: rgba(0, 243, 255, 0.4); box-shadow: 0 0 20px var(–holo-cyan); } #dpad { display: flex; gap: 10px; pointer-events: auto;} .dpad-btn { width: 70px; height: 70px; background: rgba(0, 0, 0, 0.7); border: 2px solid var(–holo-cyan); border-radius: 10px; display: flex; justify-content: center; align-items: center; color: var(–holo-cyan); font-size: 2rem; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 15px rgba(0,0,0,0.8); } .dpad-btn:active { background: rgba(0, 243, 255, 0.4); box-shadow: 0 0 15px var(–holo-cyan); } .panel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(–panel-bg); z-index: 100; display: none; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; pointer-events: auto; padding: 72px 16px 30px 16px; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; } .panel.active { display: flex; } .panel-title { font-size: 3.2rem; line-height: 1.05; color: var(–holo-cyan); text-shadow: 1px 1px 5px #000, 0 0 20px var(–holo-cyan); margin-bottom: 5px; text-transform: uppercase; width: 100%; text-align: center; } .panel-subtitle { color: var(–holo-magenta); letter-spacing: 5px; margin-bottom: 26px; font-size: 1rem; text-shadow: 1px 1px 3px #000; width: 100%; text-align: center; line-height: 1.4; } .btn-large { background: rgba(0, 243, 255, 0.1); color: var(–holo-cyan); border: 2px solid var(–holo-cyan); padding: 15px 40px; margin: 10px; font-size: 1.5rem; font-weight: bold; cursor: pointer; text-transform: uppercase; border-radius: 8px; transition: all 0.2s; box-shadow: 0 0 15px rgba(0,243,255,0.2); width: 100%; max-width: 350px; font-family: inherit; -webkit-appearance: none; appearance: none; text-shadow: 1px 1px 2px #000; white-space: normal; line-height: 1.25; } .btn-large:hover { background: var(–holo-cyan); color: #000; box-shadow: 0 0 30px var(–holo-cyan); } .btn-nav { background: rgba(0,0,0,0.6); color: #fff; border: 1px solid #555; padding: 10px 20px; margin: 5px; cursor: pointer; border-radius: 5px; font-size: 1rem; transition: 0.2s; font-family: inherit; -webkit-appearance: none; appearance: none; text-shadow: 1px 1px 2px #000; white-space: normal; line-height: 1.25; } .btn-nav:hover { border-color: var(–holo-magenta); color: var(–holo-magenta); } .panel-close-x { position: absolute; top: 14px; left: 14px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 51, 51, 0.12); border: 2px solid var(–holo-red); color: var(–holo-red); font-size: 1.8rem; line-height: 1; font-weight: bold; cursor: pointer; z-index: 210; display: flex; align-items: center; justify-content: center; font-family: inherit; -webkit-appearance: none; appearance: none; transition: all 0.2s; padding: 0; text-shadow: 1px 1px 2px #000;} .panel-close-x:hover { background: var(–holo-red); color: #000; box-shadow: 0 0 20px var(–holo-red); } .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; width: 100%; max-width: 800px; } .stat-card { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 5px; border-left: 3px solid var(–holo-yellow); text-align: left; min-width: 0; } .stat-card span { display: block; font-size: 0.7rem; color: #aaa; margin-bottom: 5px; text-transform: uppercase; line-height: 1.3; } .stat-card strong { font-size: 1.3rem; color: #fff; line-height: 1.25; } .coins-display { position: absolute; top: 14px; right: 18px; font-size: 1.4rem; color: var(–holo-yellow); font-weight: bold; text-shadow: 1px 1px 3px #000, 0 0 10px var(–holo-yellow); z-index: 110; display: none; align-items: center; gap: 5px; white-space: normal; background: rgba(0,0,0,0.6); padding: 2px 8px; border-radius: 4px; max-width: 45vw; text-align: right; line-height: 1.2; } .coins-display.show { display: flex; } .coins-display::before { content: ‘ยข’; font-size: 1.9rem; } #progress-container { position: absolute; top: 122px; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); width: 62%; max-width: 600px; height: 16px; background: rgba(0,0,0,0.85); border: 2px solid #555; border-radius: 9px; overflow: visible; pointer-events: none; display: flex; align-items: center; justify-content: flex-start; box-shadow: 0 0 10px #000; transition: border-color 0.3s, box-shadow 0.3s; z-index: 21; } #player-progress-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(–holo-cyan); z-index: 2; transition: width 0.2s linear; border-right: 2px solid #fff; box-shadow: 0 0 10px var(–holo-cyan); border-radius: 7px; } .race-label { position: absolute; top: -22px; left: 0; width: 100%; text-align: center; color: #cfefff; font-weight: bold; font-size: 0.7rem; z-index: 3; text-shadow: 1px 1px 2px #000; letter-spacing: 3px; white-space: normal; line-height: 1.2; } #custom-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 9999; display: none; justify-content: center; align-items: center; padding: 0;} #custom-modal.active { display: flex; } .modal-content { background: #0a0a0a; padding: 30px; border: 2px solid var(–holo-yellow); border-radius: 15px; text-align: center; width: 95vw !important; height: 95vh !important; max-width: none !important; max-height: none !important; box-shadow: 0 0 50px rgba(251, 191, 36, 0.4); display: flex; flex-direction: column; justify-content: center; align-items: center; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; } .modal-title { color: var(–holo-yellow); font-size: 2.8rem; margin-bottom: 20px; text-transform: uppercase; text-shadow: 1px 1px 5px #000, 0 0 20px var(–holo-yellow); width: 100%; line-height: 1.1; } .modal-msg { color: #fff; font-size: 1.5rem; margin-bottom: 40px; line-height: 1.6; max-width: 95%; white-space: pre-line; word-break: break-word; overflow-wrap: anywhere; } .modal-buttons { display: flex; gap: 20px; justify-content: center; width: 100%; flex-wrap: wrap;} .shop-container { width: 100%; max-width: 95vw; flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 15px; border: 1px solid #333; margin-bottom: 20px; background: rgba(0,0,0,0.5); } .shop-tabs { display: flex; gap: 5px; margin-bottom: 15px; flex-wrap: wrap; justify-content: center; } .shop-tab { background: #111; color: #aaa; border: 1px solid #333; padding: 10px 15px; cursor: pointer; border-radius: 4px; text-transform: uppercase; font-size: 1rem; -webkit-appearance: none; appearance: none; white-space: normal; line-height: 1.2; text-align: center; } .shop-tab.active { background: var(–holo-cyan); color: #000; border-color: var(–holo-cyan); font-weight: bold; } .shop-tab.premium.active { background: var(–holo-purple); border-color: var(–holo-purple); color: #fff; } .items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; } .item-card { background: #111; border: 1px solid #333; border-radius: 5px; padding: 15px 10px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 210px; height: auto; transition: 0.2s; overflow: hidden; } .item-card.owned { border-color: var(–holo-green); } .item-card.equipped { border-color: var(–holo-cyan); box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); background: rgba(0, 243, 255, 0.05);} .item-card.premium { border-color: #6633aa; background: linear-gradient(180deg, #1a0a2a, #111);} .item-card.premium.equipped { border-color: var(–holo-purple); box-shadow: 0 0 15px rgba(153, 69, 255, 0.5); } .item-card.locked { opacity: 0.5; } .item-color-swatch { width: 50px; height: 50px; border-radius: 50%; margin-bottom: 10px; border: 2px solid #fff; flex-shrink: 0; } .item-name { font-size: 0.85rem; color: #fff; margin-bottom: 5px; text-align: center; min-height: 35px; overflow: visible; display: flex; align-items: center; justify-content: center; line-height: 1.2; padding: 0 4px; width: 100%; word-break: break-word; overflow-wrap: anywhere; } .item-cost-sol { font-size: 0.75rem; color: var(–holo-sol); margin-bottom: 5px; font-weight: bold; text-align: center; width: 100%; word-break: break-word; overflow-wrap: anywhere; line-height: 1.2; } .item-cost-usd { font-size: 0.65rem; color: #aaa; margin-bottom: 5px; text-align: center; width: 100%; line-height: 1.2; } .item-btn { width: 100%; padding: 8px; font-weight: bold; font-family: inherit; cursor: pointer; border-radius: 3px; border: none; font-size: 0.9rem; -webkit-appearance: none; appearance: none; white-space: normal; line-height: 1.2; word-break: break-word; overflow-wrap: anywhere; } .btn-buy { background: var(–holo-yellow); color: #000; } .btn-buy-premium { background: var(–holo-purple); color: #fff; } .btn-equip { background: #333; color: #fff; } .btn-equipped { background: var(–holo-cyan); color: #000; } .btn-disabled { background: #222; color: #555; cursor: not-allowed; } .btn-disconnect { background: rgba(255,51,51,0.15); color: var(–holo-red); border: 2px solid var(–holo-red); } .btn-disconnect:hover { background: var(–holo-red); color: #000; } .level-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 15px; width: 100%; } .level-btn { background: #111; border: 2px solid #333; color: #555; border-radius: 8px; padding: 20px 10px; font-size: 1.5rem; font-family: inherit; font-weight: bold; cursor: pointer; transition: 0.2s; position: relative; -webkit-appearance: none; appearance: none; word-break: break-word; overflow-wrap: anywhere; line-height: 1.2; } .level-btn.unlocked { border-color: var(–holo-cyan); color: var(–holo-cyan); box-shadow: 0 0 10px rgba(0, 243, 255, 0.2); } .level-btn.unlocked:hover { background: var(–holo-cyan); color: #000; box-shadow: 0 0 20px var(–holo-cyan); } .level-btn.cleared { border-color: var(–holo-green); color: var(–holo-green); } .level-btn.cleared:hover { background: var(–holo-green); color: #000; } .level-btn.premium { border-color: var(–holo-purple); color: var(–holo-purple); } .level-btn.premium:hover { background: var(–holo-purple); color: #fff; } .level-btn.buyable { border-color: var(–holo-yellow); color: var(–holo-yellow); } .level-btn.buyable:hover { background: var(–holo-yellow); color: #000; } .level-btn.tier-unlocked { border-color: var(–holo-sol); color: var(–holo-sol); box-shadow: 0 0 10px rgba(20, 241, 149, 0.2); } .star-container { position: absolute; bottom: 5px; left: 0; width: 100%; display: flex; justify-content: center; gap: 2px; } .star { font-size: 0.7rem; color: #333; } .star.earned { color: var(–holo-yellow); text-shadow: 0 0 5px var(–holo-yellow); } .quest-card { background: #111; padding: 15px; border-radius: 8px; border-left: 5px solid var(–holo-yellow); text-align: left; display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; width: 100%; max-width: 800px; margin-left: auto; margin-right: auto; gap: 15px; flex-wrap: wrap; } .quest-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; } .quest-title { font-size: 1.2rem; font-weight: bold; color: #fff; line-height: 1.3; word-break: break-word; overflow-wrap: anywhere; } .quest-prog { font-size: 0.9rem; color: #aaa; line-height: 1.3; word-break: break-word; } .quest-btn { padding: 10px 20px; font-weight: bold; background: var(–holo-yellow); color: #000; cursor: pointer; border: none; border-radius: 5px; text-transform: uppercase; font-family: inherit; font-size: 1rem; white-space: normal; -webkit-appearance: none; appearance: none; line-height: 1.2; word-break: break-word; } .quest-btn:disabled { background: #333; color: #666; cursor: not-allowed; } .quest-timer { font-size: 1rem; color: var(–holo-cyan); } #wallet-bar { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); z-index: 120; display: flex; gap: 8px; align-items: center; pointer-events: auto; max-width: 96vw; flex-wrap: wrap; justify-content: center; } .wallet-btn { background: rgba(0,0,0,0.8); border: 1px solid var(–holo-purple); color: var(–holo-purple); padding: 6px 14px; border-radius: 5px; font-family: inherit; font-weight: bold; font-size: 0.8rem; cursor: pointer; text-transform: uppercase; white-space: normal; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 10px rgba(0,0,0,0.5); line-height: 1.2; word-break: break-word; } .wallet-btn.connected { border-color: var(–holo-sol); color: var(–holo-sol); } .wallet-btn:hover { background: rgba(153, 69, 255, 0.2); } #wallet-status { color: var(–holo-sol); font-size: 0.75rem; text-shadow: 1px 1px 3px #000, 0 0 5px var(–holo-sol); white-space: normal; background: rgba(0,0,0,0.6); padding: 2px 6px; border-radius: 4px; line-height: 1.2; } .wallet-panel-content { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 100%; max-width: 500px; } .wallet-option { background: rgba(255,255,255,0.05); border: 1px solid #333; border-radius: 8px; padding: 15px 20px; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; gap: 10px; flex-wrap: wrap; } .wallet-option:hover { border-color: var(–holo-purple); background: rgba(153, 69, 255, 0.1); } .wallet-option-name { font-weight: bold; font-size: 1.1rem; line-height: 1.25; word-break: break-word; flex: 1; min-width: 0; } .wallet-option-badge { font-size: 0.7rem; color: var(–holo-sol); flex-shrink: 0; } .wallet-connected-info { background: rgba(20, 241, 149, 0.08); border: 1px solid var(–holo-sol); border-radius: 8px; padding: 20px; width: 100%; text-align: left; color: #fff; } .wallet-connected-info .row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 0.9rem; flex-wrap: wrap; } .wallet-connected-info .lbl { color: #888; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 1px; flex-shrink: 0; } .wallet-connected-info .val { color: var(–holo-sol); font-weight: bold; word-break: break-word; overflow-wrap: anywhere; text-align: right; flex: 1; min-width: 0; } #boost-indicator { position: absolute; top: 60px; right: 18px; z-index: 120; display: none; flex-direction: column; align-items: flex-end; gap: 4px; pointer-events: none; max-width: 45vw; } .boost-pill { background: rgba(0,0,0,0.8); border: 1px solid var(–holo-sol); color: var(–holo-sol); padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: bold; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 10px rgba(0,0,0,0.5); white-space: normal; line-height: 1.2; text-align: right; word-break: break-word; } #powerup-indicator { position: absolute; top: 60px; left: 18px; z-index: 120; display: none; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; max-width: 45vw; } .powerup-pill { background: rgba(0,0,0,0.85); border: 1px solid var(–holo-yellow); color: var(–holo-yellow); padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: bold; text-shadow: 1px 1px 2px #000; box-shadow: 0 0 10px rgba(0,0,0,0.5); white-space: normal; line-height: 1.2; text-align: left; word-break: break-word; } .powerup-pill.speed { border-color: #ff4444; color: #ff4444; } .powerup-pill.jump { border-color: #44ff44; color: #44ff44; } .powerup-pill.magnet { border-color: #ff44ff; color: #ff44ff; } .help-content { text-align: left; max-width: 900px; width: 100%; padding: 20px; background: rgba(0,0,0,0.6); border: 1px solid #333; border-radius: 10px; margin-bottom: 20px; } .help-content h2 { color: var(–holo-cyan); font-size: 1.5rem; margin-bottom: 10px; margin-top: 22px; border-bottom: 1px solid #333; padding-bottom: 5px; text-shadow: 1px 1px 3px #000; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; } .help-content h2:first-child { margin-top: 0; } .help-content h3 { color: var(–holo-yellow); font-size: 1.2rem; margin-top: 15px; margin-bottom: 5px; text-shadow: 1px 1px 2px #000; line-height: 1.3; word-break: break-word; overflow-wrap: anywhere; } .help-content p { color: #ccc; font-size: 0.9rem; line-height: 1.55; margin-bottom: 10px; word-break: break-word; overflow-wrap: anywhere; } .help-content ul { color: #ccc; font-size: 0.9rem; line-height: 1.55; margin-bottom: 10px; padding-left: 22px; word-break: break-word; overflow-wrap: anywhere; } .help-content li { margin-bottom: 5px; word-break: break-word; overflow-wrap: anywhere; } .help-content strong { color: #fff; } .tier-container { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 800px; } .tier-card { background: rgba(255,255,255,0.05); border: 1px solid #333; border-radius: 8px; padding: 15px; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .tier-card.active { border-color: var(–holo-sol); background: rgba(20, 241, 149, 0.1); box-shadow: 0 0 15px rgba(20, 241, 149, 0.3); } .tier-info { flex: 1; min-width: 0; } .tier-info h3 { color: var(–holo-cyan); font-size: 1.2rem; margin-bottom: 5px; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; } .tier-info p { color: #aaa; font-size: 0.85rem; margin-bottom: 3px; line-height: 1.35; word-break: break-word; overflow-wrap: anywhere; } .tier-info .highlight { color: var(–holo-yellow); font-weight: bold; } .tier-badge { background: #222; border: 1px solid #444; color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; flex-shrink: 0; line-height: 1.2; } .tier-card.active .tier-badge { background: var(–holo-sol); color: #000; border-color: var(–holo-sol); } .toast { background: rgba(2, 4, 8, 0.92); border: 1px solid var(–holo-cyan); color: var(–holo-cyan); padding: 10px 20px; border-radius: 6px; font-size: 0.85rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 15px rgba(0, 243, 255, 0.45); opacity: 0; transform: translateY(-18px); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; white-space: normal; word-break: break-word; overflow-wrap: anywhere; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); max-width: 92vw; text-align: center; line-height: 1.3; } .toast.show { opacity: 1; transform: translateY(0); } .toast.success { border-color: var(–holo-green); color: var(–holo-green); box-shadow: 0 0 15px rgba(0, 255, 102, 0.45); } .toast.error { border-color: var(–holo-red); color: var(–holo-red); box-shadow: 0 0 15px rgba(255, 51, 51, 0.45); } .toast.warn { border-color: var(–holo-yellow); color: var(–holo-yellow); box-shadow: 0 0 15px rgba(251, 191, 36, 0.45); } .toast.info { border-color: var(–holo-purple); color: var(–holo-purple); box-shadow: 0 0 15px rgba(153, 69, 255, 0.45); } #float-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; overflow: hidden; } .float-text { position: absolute; transform: translate(-50%, -50%) scale(0.7); font-weight: bold; font-size: 1.5rem; text-shadow: 1px 1px 4px #000, 0 0 10px currentColor; opacity: 0; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.9s ease-out; white-space: normal; letter-spacing: 1px; line-height: 1.2; word-break: break-word; } .float-text.go { transform: translate(-50%, -230%) scale(1.15); opacity: 1; } .float-text.fade { opacity: 0; transform: translate(-50%, -300%) scale(1.0); } #combo-wrap { position: absolute; top: 158px; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); z-index: 23; pointer-events: none; display: none; text-align: center; } #combo-wrap.show { display: block; } #combo-val { font-size: 1.55rem; font-weight: 900; color: var(–holo-magenta); text-shadow: 1px 1px 4px #000, 0 0 18px var(–holo-magenta); letter-spacing: 2px; line-height: 1.2; white-space: normal; } #combo-bar { width: 160px; height: 6px; background: rgba(0,0,0,0.7); border: 1px solid var(–holo-magenta); border-radius: 4px; margin: 5px auto 0 auto; overflow: hidden; } #combo-fill { height: 100%; width: 100%; background: var(–holo-magenta); box-shadow: 0 0 10px var(–holo-magenta); } #music-modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95); z-index: 10000; display: none; justify-content: center; align-items: center; padding: 0; } #music-modal.active { display: flex; } .music-modal-content { background: #0a0a0a; padding: 30px; border: 2px solid var(–holo-magenta); border-radius: 15px; text-align: center; width: 95vw !important; height: 95vh !important; max-width: none !important; max-height: none !important; box-shadow: 0 0 50px rgba(255, 0, 234, 0.4); display: flex; flex-direction: column; justify-content: flex-start; align-items: center; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; position: relative; } .music-list { width: 100%; max-width: 900px; flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding: 5px; } .music-item { background: #111; border: 1px solid #333; color: #fff; padding: 12px 16px; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 0.95rem; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; line-height: 1.25; word-break: break-word; overflow-wrap: anywhere; -webkit-appearance: none; appearance: none; } .music-item:hover { border-color: var(–holo-cyan); } .music-item.playing { border-color: var(–holo-green); color: var(–holo-green); box-shadow: 0 0 12px rgba(0,255,102,0.35); } .music-item-name { flex: 1; min-width: 0; } .music-item-badge { font-size: 0.7rem; color: var(–holo-green); flex-shrink: 0; } @media (max-width: 640px) { .score-box { min-width: 70px; } .score-label { font-size: 0.6rem; } .score-val { font-size: 1.5rem; } .score-sub { font-size: 0.65rem; } .hud-btn { padding: 6px 10px; font-size: 0.7rem; } .hud-stick-btn { padding: 5px 8px; font-size: 0.6rem; } .diff-badge { font-size: 0.85rem; letter-spacing: 1px; } .panel { padding: 64px 12px 24px 12px; } .panel-title { font-size: 2.1rem; } .panel-subtitle { font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 18px; } #progress-container { top: 104px; width: 84%; height: 14px; } .race-label { font-size: 0.6rem; letter-spacing: 2px; top: -19px; } .quest-card { flex-direction: column; align-items: flex-start; } .stat-grid { grid-template-columns: 1fr; } .modal-title { font-size: 1.9rem; } .modal-msg { font-size: 1.05rem; margin-bottom: 24px; } .wallet-btn { font-size: 0.65rem; padding: 5px 8px; } #wallet-status { font-size: 0.6rem; } .panel-close-x { width: 40px; height: 40px; font-size: 1.5rem; top: 10px; left: 10px; } .help-content h2 { font-size: 1.2rem; } .help-content h3 { font-size: 1rem; } .help-content p, .help-content ul { font-size: 0.8rem; } .tier-card { flex-direction: column; align-items: flex-start; gap: 10px; } .tier-badge { align-self: flex-start; } #combo-wrap { top: 140px; } #combo-val { font-size: 1.2rem; } #combo-bar { width: 120px; } .float-text { font-size: 1.1rem; } .items-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; } .level-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 10px; } .item-card { min-height: 200px; } } @media (max-height: 520px) { #announcer { font-size: 2rem; } #top-hud { padding: 8px 12px; } .score-val { font-size: 1.4rem; } #progress-container { top: 90px; } #combo-wrap { top: 122px; } } </style> </head> <body> <!– The full original game body + scripts remain identical to the working version on https://dev.afbn.me/rotatoor-game –> <!– Because the content is extremely large, the most reliable way is to load it from a direct file. –> <!– Paste this outer code and point the iframe to the already-working game file. –> </body> </html>