/* ===================== RESET ===================== */
* { margin:0; padding:0; box-sizing:border-box; font-family: 'Courier New', monospace; }

/* ===================== BODY ===================== */
body {
    background: #000010;
    overflow: hidden;
    color: #e0e0ff;
}

/* ===================== STARFIELD ===================== */
#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===================== MENU ===================== */
#menu, #settingsMenu, #skinMenu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
    background: rgba(0, 0, 30, 0.88);
    border: 1px solid rgba(0, 180, 255, 0.4);
    border-radius: 16px;
    padding: 40px 50px;
    box-shadow: 0 0 40px rgba(0, 120, 255, 0.3), inset 0 0 20px rgba(0,0,60,0.5);
    backdrop-filter: blur(4px);
    min-width: 320px;
}

#menu h1 {
    font-size: 2.4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00cfff;
    text-shadow: 0 0 14px #00cfff, 0 0 30px #0055ff;
    margin-bottom: 8px;
}

#menuSubtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #aaddff;
    margin-bottom: 6px;
}

#menuEnterHint {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #aacfff;
    margin-bottom: 22px;
    animation: hintBlink 1.2s ease-in-out infinite alternate;
}

#gameOverEnterHint {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #aacfff;
    margin-bottom: 18px;
    animation: hintBlink 1.2s ease-in-out infinite alternate;
}

@keyframes hintBlink {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

#settingsMenu h2, #skinMenu h2 {
    font-size: 1.5rem;
    color: #00cfff;
    text-shadow: 0 0 8px #00cfff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.menu-buttons button,
#settingsMenu button,
#skinBackBtn {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 12px 24px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid rgba(0, 180, 255, 0.5);
    border-radius: 8px;
    background: rgba(0, 40, 80, 0.7);
    color: #00cfff;
    transition: all 0.2s;
    text-transform: uppercase;
}

.menu-buttons button:hover,
#settingsMenu button:hover,
#skinBackBtn:hover {
    background: rgba(0, 100, 200, 0.6);
    box-shadow: 0 0 12px rgba(0, 180, 255, 0.6);
    color: #ffffff;
}

#settingsMenu label,
#skinMenu label {
    color: #aacfff;
    font-size: 14px;
    letter-spacing: 1px;
}

#settingsMenu input[type="range"] {
    accent-color: #00cfff;
    vertical-align: middle;
    margin: 0 8px;
}

#settingsMenu input[type="checkbox"] {
    accent-color: #00cfff;
    vertical-align: middle;
    margin: 0 8px;
    width: 16px;
    height: 16px;
}

#skinMenu select {
    background: rgba(0, 20, 50, 0.9);
    color: #00cfff;
    border: 1px solid rgba(0, 180, 255, 0.5);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    margin-top: 6px;
}

/* ===================== UI HUD ===================== */
#ui {
    position: absolute;
    top: 10px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    font-size: 13px;
    z-index: 100;
    pointer-events: none;
    flex-wrap: wrap;
    justify-content: center;
}

#ui > div {
    background: rgba(0, 10, 30, 0.78);
    border: 1px solid rgba(0, 180, 255, 0.4);
    border-radius: 8px;
    padding: 5px 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a0cfff;
    font-size: 13px;
    box-shadow: 0 0 8px rgba(0, 150, 255, 0.2);
}

#ui span {
    color: #00ffcc;
    font-weight: bold;
    font-size: 14px;
}

#healthContainer span {
    color: #ff4466 !important;
    font-size: 13px !important;
    letter-spacing: 1px;
}

/* ===================== HIDDEN ===================== */
.hidden { display: none !important; }

/* ===================== GAME ===================== */
#game {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    perspective: 800px;
}

/* ===================== PLAYER ===================== */
#player {
    position: absolute;
    width: 44px;
    height: 52px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: none;
    border-radius: 0;
    will-change: transform;
    overflow: visible;
    transition: box-shadow 0.2s;
}

/* SVG engine thrust flame animation */
.thrustFlame {
    transform-box: fill-box;
    transform-origin: center top;
    animation: thrustPulse 0.15s ease-in-out infinite alternate;
}
@keyframes thrustPulse {
    from { transform: scaleY(1)   scaleX(1);    opacity: 0.85; }
    to   { transform: scaleY(1.5) scaleX(0.75); opacity: 1.0;  }
}

/* ===================== BULLETS / LASERS ===================== */
.bullet {
    position: absolute;
    width: 4px;
    height: 22px;
    background: linear-gradient(to top, #00ccff, #ffffff, #00eeff);
    border-radius: 3px;
    box-shadow: 0 0 8px #00cfff, 0 0 16px #0088ff, 0 0 2px #fff;
    z-index: 5;
    will-change: transform;
}

/* Laser glow tip */
.bullet::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffffff, #00eeff, transparent);
    border-radius: 50%;
}

/* Laser trail */
.bulletTrail {
    position: absolute;
    width: 3px;
    height: 6px;
    background: radial-gradient(ellipse, rgba(0,200,255,0.6), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* ===================== ENEMIES ===================== */
.enemy {
    position: absolute;
    width: 36px; height: 40px;
    background: linear-gradient(to bottom, #3366ff, #1122bb);
    clip-path: polygon(50% 100%, 0% 20%, 20% 0%, 80% 0%, 100% 20%);
    filter: drop-shadow(0 0 6px rgba(60,100,255,0.8));
    transform-style: preserve-3d;
    will-change: transform;
}

/* Light enemy: small, fast */
.enemy.light {
    width: 22px; height: 30px;
    background: linear-gradient(to bottom, #44ff88, #22aa44);
    clip-path: polygon(50% 100%, 5% 20%, 50% 0%, 95% 20%);
    filter: drop-shadow(0 0 6px rgba(50,200,80,0.9));
}

/* Heavy enemy: big, slow, tanky */
.enemy.heavy {
    width: 54px; height: 48px;
    background: linear-gradient(to bottom, #cc6600, #884400);
    clip-path: polygon(10% 0%, 90% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
    filter: drop-shadow(0 0 8px rgba(255,100,0,0.8));
}

/* Shooter enemy: fires downward */
.enemy.shooter {
    width: 44px; height: 38px;
    background: linear-gradient(to bottom, #dd44ff, #880088);
    clip-path: polygon(50% 100%, 0% 50%, 15% 0%, 85% 0%, 100% 50%);
    filter: drop-shadow(0 0 8px rgba(200,0,200,0.9));
}

/* Sine wave enemy */
.enemy.sine {
    width: 38px; height: 36px;
    background: linear-gradient(to bottom, #ffcc44, #bb7700);
    clip-path: polygon(50% 100%, 0% 10%, 30% 60%, 50% 40%, 70% 60%, 100% 10%);
    filter: drop-shadow(0 0 6px rgba(255,180,0,0.8));
}

/* Diagonal enemy */
.enemy.diagonal {
    width: 34px; height: 34px;
    background: linear-gradient(to bottom, #44ccff, #0088cc);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    filter: drop-shadow(0 0 6px rgba(0,180,255,0.8));
}

/* ===================== BOSS ===================== */
.boss {
    position: absolute;
    width: 198px; height: 124px;
    background: linear-gradient(180deg, #8d98a8 0%, #4d5867 32%, #262f3b 72%, #1d2530 100%);
    clip-path: polygon(50% 0%, 88% 18%, 100% 52%, 86% 86%, 66% 100%, 34% 100%, 14% 86%, 0% 52%, 12% 18%);
    border: 2px solid rgba(146, 202, 255, 0.72);
    box-shadow: 0 0 22px rgba(46, 180, 255, 0.52), 0 0 56px rgba(26, 98, 178, 0.32), inset 0 0 16px rgba(205, 230, 255, 0.2);
    animation: bossPulse 0.9s ease-in-out infinite alternate;
    will-change: transform;
    overflow: visible;
    transform-origin: 50% 42%;
    z-index: 9;
}

.boss::before {
    content: '';
    position: absolute;
    top: 42px;
    left: -12px;
    width: 222px;
    height: 30px;
    background: linear-gradient(90deg, transparent 0%, rgba(150, 210, 255, 0.28) 24%, rgba(255, 255, 255, 0.45) 50%, rgba(150, 210, 255, 0.28) 76%, transparent 100%);
    border-radius: 100px;
    filter: blur(1px);
    pointer-events: none;
}

.boss::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    top: 24px;
    height: 18px;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(220, 242, 255, 0.85), rgba(116, 180, 228, 0.5));
    box-shadow: 0 0 14px rgba(136, 220, 255, 0.45);
    pointer-events: none;
}

.bossSprite {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.98;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

.boss-has-sprite {
    background: radial-gradient(circle at 50% 54%, rgba(64, 88, 122, 0.88) 0%, rgba(27, 36, 50, 0.9) 62%, rgba(16, 24, 34, 0.95) 100%);
    border-color: rgba(166, 219, 255, 0.65);
}

@keyframes bossPulse {
    from { box-shadow: 0 0 16px rgba(56, 176, 255, 0.42), 0 0 42px rgba(45, 110, 195, 0.28), inset 0 0 12px rgba(211, 236, 255, 0.2); }
    to   { box-shadow: 0 0 28px rgba(110, 212, 255, 0.72), 0 0 78px rgba(34, 126, 255, 0.42), inset 0 0 20px rgba(232, 247, 255, 0.3); }
}

.bossBar {
    position: absolute;
    top: -22px; left: 0;
    width: 100%; height: 10px;
    background: rgba(60, 0, 0, 0.8);
    border-radius: 5px;
    border: 1px solid rgba(255,80,0,0.5);
    overflow: hidden;
}

.bossHP {
    width: 100%; height: 100%;
    background: linear-gradient(to right, #ff2200, #ff8800);
    border-radius: 5px;
    transition: width 0.15s ease;
    box-shadow: 0 0 6px #ff4400;
}

.bossCore {
    position: absolute;
    top: 56%; left: 50%;
    transform: translate(-50%, -50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #99f5ff 24%, #37cbff 56%, #0f8dda 100%);
    box-shadow: 0 0 12px #54dbff, 0 0 24px #20acff, 0 0 40px rgba(72,176,255,0.34);
    animation: coreGlow 0.7s ease-in-out infinite alternate;
    z-index: 2;
    pointer-events: none;
}

@keyframes coreGlow {
    from { transform: translate(-50%, -50%) scale(1);    box-shadow: 0 0 10px #6be0ff, 0 0 18px #2ba6ff; }
    to   { transform: translate(-50%, -50%) scale(1.26); box-shadow: 0 0 20px #a3f1ff, 0 0 42px #46c3ff, 0 0 64px rgba(108,196,255,0.44); }
}

.bossEngines {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: -18px;
    height: 24px;
    pointer-events: none;
    z-index: 0;
}

.bossEngines::before,
.bossEngines::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.96) 0%, rgba(110,214,255,0.92) 28%, rgba(0,136,255,0.44) 62%, rgba(0,88,200,0.06) 100%);
    animation: bossThruster 0.16s ease-in-out infinite alternate;
}

.bossEngines::before {
    left: 8px;
}

.bossEngines::after {
    right: 8px;
}

@keyframes bossThruster {
    from { transform: scaleY(0.8) scaleX(0.82); opacity: 0.72; }
    to   { transform: scaleY(1.36) scaleX(1); opacity: 1; }
}

.bossPods {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.bossPods::before,
.bossPods::after {
    content: "";
    position: absolute;
    bottom: 28px;
    width: 26px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(140, 214, 255, 0.7);
    background: linear-gradient(180deg, rgba(218, 240, 255, 0.9) 0%, rgba(90, 144, 201, 0.78) 54%, rgba(35, 66, 112, 0.9) 100%);
    box-shadow: 0 0 10px rgba(106, 209, 255, 0.45), inset 0 0 8px rgba(225, 244, 255, 0.28);
}

.bossPods::before {
    left: 22px;
    transform: rotate(-8deg);
}

.bossPods::after {
    right: 22px;
    transform: rotate(8deg);
}

.enemyMissile {
    width: 10px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff5f5 0%, #ff7e7e 35%, #ff3e79 78%, #b60d6a 100%);
    box-shadow: 0 0 10px rgba(255, 112, 168, 0.9), 0 0 18px rgba(214, 45, 135, 0.75);
}

.enemyMissile::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #ffc2dc 40%, rgba(255, 89, 163, 0) 100%);
}

/* ===================== BOSS WARNING BANNER ===================== */
#bossWarning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ff2200;
    text-shadow: 0 0 20px #ff0000, 0 0 40px #ff4400, 0 0 60px rgba(255,100,0,0.5);
    z-index: 300;
    pointer-events: none;
    animation: bossWarnPulse 0.4s ease-in-out infinite alternate;
    background: rgba(40, 0, 0, 0.75);
    border: 2px solid rgba(255, 60, 0, 0.7);
    border-radius: 12px;
    padding: 18px 36px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
}

@keyframes bossWarnPulse {
    from { opacity: 0.7; transform: translate(-50%, -50%) scale(0.97); }
    to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.03); }
}

/* ===================== EXPLOSIONS ===================== */
.explosion {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #ffff88 20%, #ff8800 50%, #ff2200 75%, transparent 100%);
    pointer-events: none;
    animation: explode 0.45s ease-out forwards;
    transform-origin: center;
    z-index: 20;
}

@keyframes explode {
    0%   { transform: scale(0.15); opacity: 1; }
    40%  { transform: scale(1.1);  opacity: 0.95; }
    70%  { transform: scale(1.4);  opacity: 0.6; }
    100% { transform: scale(1.8);  opacity: 0; }
}

/* ===================== ENEMY BULLETS ===================== */
.enemyBullet {
    position: absolute;
    width: 6px;
    height: 14px;
    background: linear-gradient(to bottom, #ff44ff, #aa00aa);
    border-radius: 3px;
    box-shadow: 0 0 8px #ff00ff, 0 0 16px #aa00aa;
    z-index: 5;
    will-change: transform;
}

/* ===================== INVINCIBILITY ===================== */
.invincible {
    animation: blink 0.15s infinite;
}

@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0.2; }
    100% { opacity: 1; }
}

/* ===================== GAME OVER SCREEN ===================== */
#gameOver {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 200;
    background: rgba(0, 0, 20, 0.92);
    border: 1px solid rgba(255, 60, 60, 0.5);
    border-radius: 16px;
    padding: 40px 60px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    min-width: 280px;
}

#gameOver h2 {
    font-size: 2.4rem;
    color: #ff4444;
    text-shadow: 0 0 14px #ff0000, 0 0 30px #aa0000;
    margin-bottom: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: gameOverPulse 0.8s ease-in-out infinite alternate;
}

@keyframes gameOverPulse {
    from { text-shadow: 0 0 14px #ff0000, 0 0 30px #aa0000; }
    to   { text-shadow: 0 0 24px #ff4400, 0 0 50px #ff0000; }
}

#finalScore {
    font-size: 1.3rem;
    color: #00ffcc;
    margin-bottom: 28px;
    letter-spacing: 2px;
}

#gameOver button {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 12px 24px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    cursor: pointer;
    border: 1px solid rgba(0, 180, 255, 0.5);
    border-radius: 8px;
    background: rgba(0, 40, 80, 0.7);
    color: #00cfff;
    text-transform: uppercase;
    transition: all 0.2s;
}

#gameOver button:hover {
    background: rgba(0, 100, 200, 0.6);
    box-shadow: 0 0 12px rgba(0, 180, 255, 0.6);
    color: #fff;
}

/* ===================== SCREEN SHAKE ===================== */
.shake {
    animation: screenShake 0.25s ease-out;
}

@keyframes screenShake {
    0%  { transform: translate(0, 0); }
    20% { transform: translate(-4px, 3px); }
    40% { transform: translate(4px, -3px); }
    60% { transform: translate(-3px, 2px); }
    80% { transform: translate(3px, -2px); }
    100%{ transform: translate(0, 0); }
}

/* ===================== ENEMY HIT FLASH ===================== */
.enemy.flashHit {
    filter: brightness(5) saturate(0.2) drop-shadow(0 0 10px #fff);
}

/* ===================== COUNTDOWN ===================== */
#countdown {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    font-weight: bold;
    color: #00ffcc;
    text-shadow: 0 0 30px #00ffcc, 0 0 60px #00aaaa;
    z-index: 300;
    pointer-events: none;
    letter-spacing: 4px;
    animation: countPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes countPop {
    from { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ===================== PAUSE OVERLAY ===================== */
#pauseOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 20, 0.72);
    z-index: 250;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pause-title {
    font-size: 3rem;
    color: #00cfff;
    text-shadow: 0 0 20px #00cfff, 0 0 40px #0055ff;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.pause-hint {
    font-size: 1rem;
    color: #aacfff;
    letter-spacing: 3px;
    margin-top: 14px;
    animation: hintBlink 1.2s ease-in-out infinite alternate;
}

/* ===================== POWER-UP PICKUPS ===================== */
.powerup {
    position: absolute;
    width: 26px; height: 26px;
    border-radius: 50%;
    z-index: 8;
    animation: powerUpFloat 0.7s ease-in-out infinite alternate;
}

@keyframes powerUpFloat {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(-6px) scale(1.15); }
}

/* Rapid Fire power-up */
.powerup-rapidFire {
    background: radial-gradient(circle, #ffee44, #ff8800);
    box-shadow: 0 0 10px #ffee44, 0 0 20px #ff8800;
}

/* Shield power-up */
.powerup-shield {
    background: radial-gradient(circle, #44ffff, #0055ff);
    box-shadow: 0 0 10px #44ffff, 0 0 20px #0055ff;
}

/* Heal power-up */
.powerup-heal {
    background: radial-gradient(circle, #44ff88, #00aa44);
    box-shadow: 0 0 10px #44ff88, 0 0 20px #00aa44;
}

/* ===================== POWER-UP HUD BADGES ===================== */
#powerUpStatus {
    display: flex;
    gap: 6px;
    align-items: center;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.pw-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
    font-weight: bold;
    animation: badgePulse 0.6s ease-in-out infinite alternate;
}

@keyframes badgePulse {
    from { opacity: 0.75; }
    to   { opacity: 1; }
}

.pw-rapid  { background: rgba(255, 200, 0, 0.25); border: 1px solid #ffcc00; color: #ffcc00; }
.pw-shield { background: rgba(0, 200, 255, 0.25); border: 1px solid #00ccff; color: #00ccff; }

/* ===================== PLAYER SHIELD ===================== */
#player.shielded::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border-radius: 50%;
    border: 2px solid #00ffff;
    box-shadow: 0 0 16px #00ffff, inset 0 0 10px rgba(0, 255, 255, 0.3);
    animation: shieldPulse 0.7s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes shieldPulse {
    from { box-shadow: 0 0 10px #00ffff, inset 0 0 6px rgba(0, 255, 255, 0.2); opacity: 0.85; }
    to   { box-shadow: 0 0 24px #00ffff, inset 0 0 14px rgba(0, 255, 255, 0.4); opacity: 1; }
}

/* ===================== SLOW-MO VIGNETTE ===================== */
#slowMoOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
    display: none;
}

/* ===================== HIGH SCORE HUD ===================== */
#highScoreContainer {
    border-color: rgba(255, 200, 0, 0.4) !important;
    color: #ffcc88 !important;
}

#highScoreContainer span {
    color: #ffdd00 !important;
}

#highScoreLine {
    font-size: 1rem;
    color: #ffdd00;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #ffaa00;
}

/* ===================== FLOATING SCORE POPUPS ===================== */
.floatingText {
    position: absolute;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 30;
    text-shadow: 0 0 6px currentColor;
    white-space: nowrap;
    transform: translateX(-50%);
}

/* ===================== PLAYER SKINS (legacy support) ===================== */
.player-ball   { border-radius: 50%; }
.player-square { border-radius: 5px; }
.player-plane  { width: 44px; height: 52px; }
