*{box-sizing:border-box;margin:0;padding:0}:root{--neon-green: #39ff14;--neon-yellow: greenyellow;--bg-dark: #0a0a0a}html,body{height:100%;overflow-x:hidden}body{background-color:var(--bg-dark);font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:10px;touch-action:manipulation;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.bg-cat{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:hidden}.floating-cat{position:absolute;opacity:.15;filter:grayscale(30%)}.cat-1{width:200px;bottom:5%;left:-5%;animation:float1 8s ease-in-out infinite}.cat-2{width:150px;top:10%;right:-3%;animation:float2 10s ease-in-out infinite;transform:scaleX(-1)}.cat-3{width:120px;bottom:30%;right:5%;animation:float3 12s ease-in-out infinite}@keyframes float1{0%,to{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-20px) rotate(5deg)}}@keyframes float2{0%,to{transform:scaleX(-1) translateY(0) rotate(3deg)}50%{transform:scaleX(-1) translateY(-30px) rotate(-3deg)}}@keyframes float3{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-15px) scale(1.05)}}h1{text-align:center;color:var(--neon-yellow);font-size:2.5em;margin-top:20px;margin-bottom:5px;text-shadow:0 0 10px var(--neon-green),0 0 20px var(--neon-green);position:relative;z-index:1}h2{color:var(--neon-green);font-weight:700;text-shadow:1px 1px 4px rgba(0,0,0,.8);text-align:center;font-size:1.2em;margin-bottom:15px;position:relative;z-index:1}.game-container{display:flex;flex-direction:column;align-items:center;width:100%;max-width:500px;position:relative;z-index:1}.game-ui{display:flex;justify-content:space-between;width:100%;max-width:448px;padding:10px 5px;margin-bottom:5px}.score,.lives{color:#fff;font-size:1.1em;font-weight:700;text-shadow:0 0 5px var(--neon-green)}#score-value,#lives-value{color:var(--neon-green)}canvas{border:4px solid #fff;border-bottom:4px solid var(--neon-green);background:url(bg1.png);background-repeat:repeat;display:block;max-width:100%;height:auto;touch-action:none;box-shadow:0 0 20px #39ff144d}.mobile-controls{display:none;width:100%;max-width:350px;margin-top:20px;padding:10px}.control-row{display:flex;justify-content:center;align-items:center;gap:20px}.control-btn{width:70px;height:70px;border-radius:50%;border:3px solid var(--neon-green);background:#39ff141a;color:var(--neon-green);font-size:1.2em;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s ease;box-shadow:0 0 15px #39ff144d;-webkit-tap-highlight-color:transparent}.control-btn svg{width:40px;height:40px}.control-btn:active{background:#39ff1466;transform:scale(.95);box-shadow:0 0 25px #39ff1499}.start-btn{width:80px;height:50px;border-radius:25px;font-size:.9em;letter-spacing:1px}.start-btn.playing{border-color:#f44;color:#f44;background:#ff44441a;box-shadow:0 0 15px #ff44444d}.start-btn.playing:after{content:"PAUSE"}.start-btn:not(.playing):after{content:""}.instructions{color:#888;font-size:.85em;text-align:center;margin-top:15px;padding:0 10px}.desktop-only{display:block}@media (max-width: 768px){h1{font-size:2em;margin-top:15px}h2{font-size:1em}.cat-1{width:150px}.cat-2{width:120px}.cat-3{width:100px}}@media (max-width: 600px){body{padding:5px}h1{font-size:1.8em;margin-top:10px}h2{font-size:.9em;margin-bottom:10px}.game-ui{padding:8px 10px}.score,.lives{font-size:1em}.mobile-controls{display:block}.desktop-only{display:none}.cat-1{width:120px;opacity:.1;left:-10%;bottom:2%}.cat-2{width:100px;opacity:.08}.cat-3{display:none}}@media (max-width: 400px){.control-btn{width:60px;height:60px}.control-btn svg{width:32px;height:32px}.start-btn{width:70px;height:45px;font-size:.8em}.control-row{gap:15px}}@media (max-height: 500px) and (orientation: landscape){h1{font-size:1.4em;margin-top:5px;margin-bottom:3px}h2{font-size:.8em;margin-bottom:5px}.game-ui{padding:5px}.mobile-controls{margin-top:10px}.control-btn{width:50px;height:50px}.start-btn{width:60px;height:40px;font-size:.7em}.floating-cat{display:none}}@media screen and (-webkit-min-device-pixel-ratio: 0){input,select,textarea,button{font-size:16px}}
