/* KNOCK OUT Game Styles */
.arcade-header {
    position: fixed; top: 0; left: 0; right: 0; height: 48px;
    background: rgba(13,13,26,0.95);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; z-index: 9999;
    border-bottom: 2px solid #ff2d9b;
}
.arcade-back {
    color: #fff; text-decoration: none; font-size: 14px; font-weight: bold;
    min-height: 44px; display: inline-flex; align-items: center;
    padding: 8px 16px; border-radius: 20px;
}
.arcade-brand {
    color: #fff; font-weight: 900; font-size: 20px; letter-spacing: 4px;
    text-shadow: 0 0 10px #ff2d9b;
    background: linear-gradient(45deg, #ff2d9b, #ff6600, #00cfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
#char-select-screen {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; padding: 20px; background: #0d0d1a;
}
.game-title { text-align: center; color: #fff; font-size: clamp(48px, 10vw, 90px); margin: 40px 0 20px; font-weight: 900; line-height: 1; }
.game-title span:first-child { text-shadow: 0 0 20px #ff2d9b; color: #ff2d9b; }
.game-title span:last-child { text-shadow: 0 0 20px #00cfff; color: #00cfff; }
.subtitle { text-align: center; color: #ccc; margin-bottom: 40px; }
.fighter-selector { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; max-width: 1000px; margin-bottom: 40px; }
.fighter-card { background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1); border-radius: 20px; padding: 30px 20px; min-width: 200px; text-align: center; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.fighter-card.selected { border-width: 4px; background: rgba(255,255,255,0.1); }
.fighter-icon { font-size: 80px; margin-bottom: 15px; }
.fighter-card h3 { color: #fff; font-size: 28px; margin: 0 0 10px; }
.fighter-card p { color: #aaa; font-size: 14px; margin-bottom: 20px; }
.fighter-card[data-fighter="vortex"] { color: #ff2d9b; border-color: #ff2d9b; }
.fighter-card[data-fighter="phoenix"] { color: #ff6600; border-color: #ff6600; }
.fighter-card[data-fighter="ice"] { color: #00cfff; border-color: #00cfff; }
.game-btn { padding: 20px 50px; font-size: clamp(20px, 4vw, 32px); font-weight: 900; color: #fff; border: none; border-radius: 50px; cursor: pointer; background: linear-gradient(45deg, #ff2d9b, #ff6600); min-height: 70px; }
#game-screen { position: relative; width: 100%; }
#gameCanvas { display: block; width: 100%; max-width: 1000px; height: auto; background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%); }
#game-hud { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.health-bar-container { width: 300px; height: 30px; background: rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.2); border-radius: 15px; overflow: hidden; }
.health-bar { height: 100%; background: linear-gradient(90deg, #00ff00, #00cfff); width: 100%; transition: width 0.2s ease; }
.player-name, .enemy-name { color: #fff; font-weight: 900; font-size: 20px; margin-bottom: 8px; }
.timer-container { background: rgba(255,102,0,0.8); color: #fff; padding: 10px 30px; border-radius: 10px; font-weight: 900; font-size: 36px; border: 3px solid #ff6600; }
#game-over-screen { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.95); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10000; padding: 20px; }
#game-over-screen h1 { color: #fff; font-size: clamp(60px, 12vw, 120px); margin: 0 0 20px; font-weight: 900; line-height: 1; text-align: center; }
#ko-message { color: #ccc; font-size: clamp(24px, 5vw, 40px); margin-bottom: 40px; }
#ko-message.win { color: #00ff00; }
#ko-message.lose { color: #ff0000; }
@keyframes floatUp { 0% { opacity: 1; transform: translateY(0) scale(1); } 50% { transform: translateY(-50px) scale(1.2); } 100% { opacity: 0; transform: translateY(-100px) scale(1); } }
.hidden { display: none !important; }
.combat-text { position: absolute; font-weight: 900; font-size: 32px; pointer-events: none; animation: floatUp 1s ease-out forwards; text-shadow: 0 2px 4px rgba(0,0,0,0.8); z-index: 100; }
.damage-text { color: #ff0000; }
.block-text { color: #ffff00; }
.special-text { color: #ff2d9b; }
@media (max-width: 480px) { .fighter-selector { flex-direction: column; gap: 15px; } .fighter-card { min-width: 100%; width: 100%; } #game-hud { flex-direction: column; gap: 15px; } .health-bar-container { width: 100%; } .timer-container { padding: 8px 20px; font-size: 28px; } }"