body { margin: 0; padding: 0; font-family: 'Arial', sans-serif; background: #1a1a1a; color: white; overflow: hidden; } #game-container { position: relative; width: 100vw; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; } #game-canvas { border: 2px solid #333; background: #2a2a2a; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); } #game-ui { position: absolute; top: 20px; width: 100%; z-index: 10; pointer-events: none; } #score-board { display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.8); padding: 15px 30px; border-radius: 10px; margin: 0 auto; width: fit-content; gap: 40px; } .team { display: flex; flex-direction: column; align-items: center; gap: 5px; } .team-name { font-size: 14px; font-weight: bold; color: #ccc; } .score { font-size: 36px; font-weight: bold; color: #fff; } .time-display { display: flex; flex-direction: column; align-items: center; gap: 5px; } #period { font-size: 14px; color: #ccc; } #clock { font-size: 24px; font-weight: bold; color: #fff; } #game-stats { position: absolute; top: 100px; left: 20px; background: rgba(0, 0, 0, 0.8); padding: 15px; border-radius: 10px; font-size: 14px; } #penalties { margin-top: 10px; } #controls { position: absolute; bottom: 20px; display: flex; gap: 10px; pointer-events: auto; } button { padding: 10px 20px; background: #4a90e2; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; font-weight: bold; transition: background 0.3s; } button:hover { background: #357abd; } button:active { transform: translateY(1px); } .penalty-box { background: #ff4444; color: white; padding: 2px 8px; border-radius: 3px; margin: 2px; font-size: 12px; } /* Debug Panel Styles */ .debug-panel { position: absolute; top: 20px; right: 20px; width: 400px; max-height: 80vh; background: rgba(0, 0, 0, 0.95); border: 2px solid #4a90e2; border-radius: 10px; overflow: hidden; z-index: 20; pointer-events: auto; font-size: 12px; } .debug-panel.hidden { display: none; } .debug-header { background: #4a90e2; padding: 10px 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; } .debug-header h3 { margin: 0; font-size: 16px; color: white; } #debug-close { background: transparent; border: none; color: white; font-size: 20px; padding: 0; cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; } #debug-close:hover { background: rgba(255, 255, 255, 0.2); border-radius: 50%; } .debug-content { max-height: calc(80vh - 60px); overflow-y: auto; padding: 15px; } .debug-section { margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 15px; } .debug-section:last-child { border-bottom: none; margin-bottom: 0; } .debug-section h4 { margin: 0 0 10px 0; color: #4a90e2; font-size: 14px; } .debug-section h5 { margin: 10px 0 5px 0; color: #ccc; font-size: 13px; } .debug-team { margin-bottom: 15px; } .debug-player { background: rgba(255, 255, 255, 0.05); padding: 15px; margin: 10px 0; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; user-select: none; border: 2px solid transparent; position: relative; min-height: 80px; display: flex; flex-direction: column; justify-content: center; } .debug-player:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .debug-player:active { transform: scale(0.98) translateY(0px); } .debug-player.selected { background: rgba(74, 144, 226, 0.4); border: 2px solid #4a90e2; box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3); } .debug-player.selected:hover { background: rgba(74, 144, 226, 0.5); } .debug-player-header { font-weight: bold; color: #fff; margin-bottom: 5px; } .debug-player-info { color: #ccc; line-height: 1.4; } .debug-value { color: #4a90e2; font-weight: bold; } .debug-coords { font-family: 'Courier New', monospace; font-size: 11px; } #debug-selected-player { background: rgba(255, 255, 255, 0.05); padding: 15px; border-radius: 5px; min-height: 100px; } .debug-attribute { display: flex; justify-content: space-between; margin: 3px 0; } .debug-attribute-name { color: #ccc; } .debug-attribute-value { color: #4a90e2; font-weight: bold; }