@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:100vw!important;height:100vh!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} .spinner-small{display:inline-block;border:2px solid #666;border-top:2px solid #000;border-radius:50%;width:12px;height:12px;animation:spin 1s linear infinite;vertical-align:middle;margin-right:8px} @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} #fullscreen-btn{position:fixed;top:10px;right:10px;z-index:10000;background:rgba(0,0,0,.5);border:2px solid #555;color:#fff;font-size:18px;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)} #fullscreen-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} /* Viewport-basierte dynamische Skalierung für Mobile */ @media (min-width:1024px){ h1{font-size:48px;margin-bottom:40px} button{font-size:22px;padding:20px 40px} input[type=text]{width:350px;font-size:20px;padding:15px} .info-box{max-width:500px} .info-box p{font-size:16px} .info-title{font-size:14px} .hall-of-fame-box{max-height:400px} } @media (max-height:500px){ #startScreen{ flex-direction:row; align-items:center; justify-content:center; gap:20px; padding:10px; overflow-y:auto; } .start-left{ width:45%; max-width:none; align-items:center; text-align:center; margin:0; } .start-right{ width:45%; max-width:none; height:auto; margin:0; } h1{font-size:18px;margin:0 0 10px 0;line-height:1.2} .info-box{display:none} .legal-bar{margin-top:5px;gap:10px} button{padding:8px 12px;font-size:10px;margin:5px} .hall-of-fame-box{max-height:180px} .hall-of-fame-box h3{font-size:10px;margin-bottom:5px} /* Game Over Screen */ #gameOverScreen{justify-content:center;align-items:center;padding:10px;overflow-y:auto} #gameOverScreen h1{font-size:16px;margin:5px 0} #gameOverScreen p{font-size:10px;margin:5px 0} #finalScore{font-size:18px!important} /* Coop Menu */ #coopMenu .center-box{max-width:90%;padding:10px} #coopMenu h1{font-size:16px;margin:5px 0} #coopMenu input{width:200px} /* Lobby Screen */ #lobbyScreen .center-box{max-width:95%;padding:5px} #lobbyScreen h1{font-size:14px;margin:3px 0} #lobbyContent{gap:10px!important} #lobbyContent>div{flex:1!important;max-width:48%!important} #lobbyScreen p{font-size:9px!important;margin:3px 0!important} #lobbyRoomCode{font-size:14px!important;padding:6px!important;letter-spacing:1px!important} #lobbyPlayerList{padding:8px!important;min-height:60px!important;font-size:9px!important;max-height:100px!important} #lobbyTeamName{padding:5px!important;font-size:10px!important} #lobbyTeamNameBox{margin:5px 0!important;max-width:90%!important} #lobbyHostControls{margin:5px 0!important} #lobbyStatus{font-size:9px!important;margin:5px 0!important} #currentTeamName{font-size:9px!important} #teamNameDisplay{font-size:9px!important} /* Settings Menu */ #settingsMenu .center-box{max-width:90%;padding:10px} #settingsMenu h1{font-size:16px;margin:5px 0} .settings-group{gap:10px;margin:10px 0} .setting-item{gap:5px;flex-direction:column;align-items:center} .setting-item label{font-size:10px} .setting-item span{font-size:10px} input[type=range]{max-width:200px;height:20px} /* Leaderboard Menu */ #leaderboardMenu .center-box{max-width:90%;padding:10px} #leaderboardMenu h1{font-size:16px;margin:5px 0} /* My Codes Menu */ #myCodesMenu .center-box{max-width:90%;padding:10px} #myCodesMenu h1{font-size:16px;margin:5px 0} /* Impressum & Datenschutz */ #impressumMenu .center-box,#datenschutzMenu .center-box{max-width:95%;padding:10px} #impressumMenu h1,#datenschutzMenu h1{font-size:14px;margin:5px 0} #impressumMenu .leaderboard-box,#datenschutzMenu .leaderboard-box{ max-height:250px!important; padding:10px!important; font-size:9px!important; line-height:1.3!important; } #impressumMenu h3,#datenschutzMenu h3{font-size:10px!important;margin:10px 0 5px 0!important} #impressumMenu h4,#datenschutzMenu h4{font-size:9px!important;margin:8px 0 3px 0!important} #impressumMenu p,#datenschutzMenu p{font-size:9px!important;margin:3px 0!important} #impressumMenu ul,#datenschutzMenu ul{margin:3px 0!important;padding-left:15px!important} #impressumMenu li,#datenschutzMenu li{font-size:9px!important;margin:2px 0!important} /* Common */ input{padding:5px;font-size:12px;width:150px;margin-bottom:5px} .leaderboard-box{max-height:120px;padding:8px;margin-top:5px;font-size:10px} .leaderboard-item{font-size:9px;padding:3px 0} .leaderboard-rank,.leaderboard-name,.leaderboard-score{font-size:9px} .big-btn{padding:8px 12px;font-size:10px;margin:5px} .back-btn{padding:8px 12px;font-size:10px;margin-top:10px} .center-box{max-width:90%;padding:10px} .legal-btn{padding:6px 10px;font-size:8px;margin:3px} p{font-size:10px;margin:5px 0} /* Overlay Screens */ .overlay-screen{padding:10px;overflow-y:auto} } @media screen and (orientation:portrait){ #rotate-overlay{display:flex} #game-container{display:none!important} } /* PRESENTATION MODE */ .presentation-mode { background: #0a0f1e!important; flex-direction: column; padding: 0!important; overflow: hidden; } .presi-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, #1a2a4a 0%, #0a0f1e 100%); z-index: -2; } .presi-scanlines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 100, 0.06)); background-size: 100% 4px, 3px 100%; pointer-events: none; z-index: 10; } .presi-header { margin-top: 40px; text-align: center; z-index: 5; } .presi-header h1 { font-size: 36px; color: #ff0; text-shadow: 0 0 10px rgba(255, 255, 0, 0.5); margin: 0; } #presiRoomInfo { margin-top: 10px; background: rgba(0, 0, 0, 0.6); padding: 5px 15px; border: 2px solid #ff0; display: inline-block; } #presiRoomCode { font-size: 24px; color: #ff0; letter-spacing: 2px; } .presi-content { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; z-index: 5; } #presiQuoteBox { max-width: 900px; text-align: center; background: #2c3e50; /* Solid Blue-Grey */ padding: 50px; border-radius: 15px; border: 6px solid #ff0; box-shadow: 15px 15px 0px rgba(0,0,0,0.6); z-index: 100; } #presiQuoteText { font-family: sans-serif; font-size: 36px; /* Larger font */ line-height: 1.4; font-style: italic; margin-bottom: 25px; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); } #presiQuoteAuthor { color: #ffcc00; font-size: 24px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; } .presi-qr-container { position: absolute; bottom: 40px; left: 40px; background: white; padding: 10px; border-radius: 5px; text-align: center; z-index: 20; box-shadow: 0 0 20px rgba(0,0,0,0.5); max-width: 150px; } #presiQRCode { width: 120px; height: 120px; } #presiQRCode img { width: 100%; height: 100%; } .presi-qr-container p { color: black; font-size: 8px; margin-top: 5px; font-weight: bold; } .presi-assets-track { position: absolute; bottom: 0; width: 100%; height: 200px; pointer-events: none; z-index: 2; overflow: hidden; } .presi-asset { position: absolute; bottom: 30px; display: flex; flex-direction: column; align-items: center; transition: transform 0.1s linear; } .presi-asset img { display: block; max-height: 100px; /* Limit height */ max-width: 150px; /* Limit width */ object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); } .presi-players-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 200; /* Above everything */ } .presi-player { position: absolute; z-index: 210; } .presi-player img { display: block; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); } .presi-player-emote { position: absolute; top: -60px; /* Higher up */ left: 50%; transform: translateX(-50%); font-size: 50px; /* Much larger emotes */ z-index: 250; text-shadow: 0 0 10px rgba(0,0,0,0.5); animation: emotePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); } @keyframes emotePop { 0% { transform: translateX(-50%) scale(0); opacity: 0; } 70% { transform: translateX(-50%) scale(1.5); opacity: 1; } 100% { transform: translateX(-50%) scale(1); opacity: 1; } } .presi-footer { display: none; /* Hidden as requested */ } /* Animations */ @keyframes assetSlide { from { transform: translateX(110vw); } to { transform: translateX(-300px); } }