@font-face{font-display:swap;font-family:'Press Start 2P';font-style:normal;font-weight:400;src:url('../assets/fonts/press-start-2p-v16-latin-regular.woff2') format('woff2')} body,html{margin:0;padding:0;width:100%;height:100%;background-color:#1a1a1a;color:#fff;overflow:hidden;font-family:'Press Start 2P',cursive;font-size:14px} #game-container{position:relative;width:100%;height:100%;box-shadow:0 0 50px rgba(0,0,0,.8);border:4px solid #444;background:#000} canvas{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:1!important;background:#000;image-rendering:pixelated;opacity:0;pointer-events:none;transition:opacity .3s;visibility:hidden} canvas.game-active{opacity:1;pointer-events:auto;z-index:2000!important;visibility:visible} .overlay-screen{position:fixed!important;top:0;left:0;width:100%;height:100%;background:url('background.jpg') center/cover no-repeat,rgba(0,0,0,.85);display:flex;justify-content:center;align-items:center;z-index:1000;box-sizing:border-box;padding:20px} .overlay-screen.hidden{display:none!important} #startScreen{display:flex;flex-direction:row;gap:40px;width:100%;height:100%;align-items:center;justify-content:center} .start-left{flex:2;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:60%} .start-right{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:35%} .center-box{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:600px;width:100%} h1{font-size:32px;color:#f44;text-shadow:4px 4px 0 #000;line-height:1.4;margin:10px 0 25px;text-align:center;text-transform:uppercase} button{font-family:'Press Start 2P',cursive;background:#fc0;border:4px solid #fff;padding:18px 30px;font-size:18px;cursor:pointer;color:#000;box-shadow:0 6px 0 #997a00;text-transform:uppercase;margin:12px;transition:all .1s} button:hover{background:#ffd700} button:active{transform:translateY(4px);box-shadow:0 1px 0 #997a00} .big-btn{font-size:22px;padding:20px 40px} .back-btn{background:#fc0;border:3px solid #fff;color:#000;box-shadow:0 4px 0 #997a00;font-size:12px;padding:10px 20px;margin-top:30px;font-weight:700} .back-btn:hover{background:#ffd700;color:#000;transform:translateY(2px);box-shadow:0 2px 0 #997a00} .legal-btn{font-size:10px;padding:8px 12px;margin:5px;background:rgba(0,0,0,.6);border:2px solid #fc0;color:#fc0;box-shadow:none} .legal-btn:hover{background:rgba(255,204,0,.2);color:#fff;border-color:#fff} input[type=text]{font-family:'Press Start 2P',cursive;padding:12px;font-size:16px;border:3px solid #fff;background:#222;color:#fff;text-align:center;margin-bottom:15px;width:100%;max-width:350px;outline:0;box-sizing:border-box} input[type=text]::placeholder{color:#666} input[type=text]:focus{border-color:#fc0;box-shadow:0 0 10px rgba(255,204,0,.5)} input[type=range]{width:100%;max-width:300px} .info-box{background:rgba(0,0,0,.6);border:4px solid #fc0;padding:15px;margin:8px 0;width:100%;max-width:320px;text-align:left;box-sizing:border-box} .info-box p{font-family:sans-serif;font-size:14px;color:#ccc;line-height:1.4;margin:0} .info-title{color:#fc0;font-size:12px;margin-bottom:6px;text-align:center;text-decoration:underline} .legal-bar{margin-top:20px;display:flex;gap:15px;flex-wrap:wrap;justify-content:center} .hall-of-fame-box{background:rgba(0,0,0,.6);border:4px solid #fc0;padding:15px;width:100%;max-height:300px;overflow-y:auto;box-shadow:0 0 15px rgba(255,204,0,.1)} .hall-of-fame-box h3{color:#fc0;text-align:center;margin-top:0;margin-bottom:10px;border-bottom:2px solid #555;padding-bottom:8px;font-size:14px} .leaderboard-box{background:rgba(0,0,0,.5);border:4px solid #666;padding:15px;width:100%;max-width:500px;max-height:400px;overflow-y:auto;font-family:sans-serif;color:#ddd} .leaderboard-item{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dotted #444;font-size:12px;font-family:sans-serif;color:#ddd;line-height:1.4} .leaderboard-rank{color:#fc0;font-weight:700;margin-right:10px;min-width:40px} .leaderboard-name{flex:1} .leaderboard-score{color:#fff;font-weight:700} .settings-group{display:flex;flex-direction:column;gap:25px;width:100%;max-width:500px;margin:20px 0} .setting-item{display:flex;flex-direction:column;align-items:center;gap:10px} .setting-item label{color:#fc0;font-size:12px} .setting-item span{color:#fff;font-size:14px} .loading-screen{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.95);display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:9999} .spinner{border:8px solid #333;border-top:8px solid #fc0;border-radius:50%;width:60px;height:60px;animation:spin 1s linear infinite} @keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}} #mute-btn{position:fixed;top:10px;left:10px;z-index:10000;background:rgba(0,0,0,.5);border:2px solid #555;color:#fff;font-size:20px;width:40px;height:40px;border-radius:50%;cursor:pointer;padding:0;margin:0;display:flex;align-items:center;justify-content:center;box-shadow:0 0 10px rgba(0,0,0,.5)} #mute-btn:hover{background:rgba(255,255,255,.2);border-color:#fff} #rotate-overlay{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#222;z-index:99999;color:#fff;flex-direction:column;align-items:center;justify-content:center;text-align:center} .icon{font-size:60px;margin-bottom:20px} @media screen and (orientation:portrait){#rotate-overlay{display:flex}#game-container{display:none!important}} @media (min-width:1024px){h1{font-size:48px}button{font-size:22px;padding:20px 40px}input[type=text]{max-width:450px;font-size:20px;padding:15px}.info-box{max-width:500px}.hall-of-fame-box{max-height:400px}}