/* ============================================ */
/* OVERLAYS.CSS - Save/Load Overlay, Blue      */
/* Enemy, Laser Enemy                          */
/* ============================================ */

/* ============================================ */
/* SAVE/LOAD OVERLAY - Card Style Design      */
/* ============================================ */
.save-overlay {
    background: #0a0a12;
    padding: 25px;
    min-width: 300px;
    pointer-events: auto;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.save-overlay-title {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(68, 170, 255, 0.2);
}
.save-slots-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}
.save-slot {
    position: relative;
    background: rgba(68, 170, 255, 0.03);
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s;
}
.save-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #44aaff, #aa55ff);
    opacity: 0.5;
    transition: opacity 0.2s;
}
.save-slot:hover {
    background: rgba(68, 170, 255, 0.08);
}
.save-slot:hover::before {
    opacity: 1;
}
.save-slot-header {
    color: #44aaff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.save-slot-wave {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin: 6px 0 4px;
}
.save-slot-info {
    color: #667788;
    font-size: 11px;
}
.save-slot-empty {
    color: #334455;
    font-size: 13px;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
}
.save-slot-empty:hover {
    color: #556677;
    background: rgba(68, 170, 255, 0.05);
}
.save-slot-saved {
    color: #44ff88;
    font-size: 11px;
    margin-top: 6px;
    animation: savedPulse 0.5s ease-out;
}
@keyframes savedPulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}
.save-slot-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid rgba(255, 68, 68, 0.4);
    border-radius: 4px;
    color: #ff5555;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.save-slot-delete:hover {
    background: rgba(255, 68, 68, 0.4);
    border-color: #ff5555;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}
.save-overlay-back {
    margin-top: 15px;
    background: transparent;
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 10px 25px;
    width: 100%;
    transition: all 0.2s;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.save-overlay-back:hover {
    background: rgba(255, 85, 85, 0.1);
    border-color: rgba(255, 85, 85, 0.5);
}

/* ============================================ */
/* BLUE ENEMY - Design 1: Standard Rocket      */
/* ============================================ */
.enemy-blue {
    width: 44px;
    height: 56px;
    position: absolute;
    pointer-events: none;
    transform: scale(0.56);
    transform-origin: center center;
}
.enemy-blue .head {
    width: 18px;
    height: 14px;
    background: linear-gradient(180deg, #55aadd 0%, #3388bb 100%);
    border-radius: 4px 4px 2px 2px;
    position: absolute;
    top: 0;
    left: 13px;
}
.enemy-blue .visor {
    width: 14px;
    height: 5px;
    background: #ff3333;
    position: absolute;
    top: 5px;
    left: 2px;
    box-shadow: 0 0 6px #ff3333;
}
.enemy-blue .torso {
    width: 24px;
    height: 20px;
    background: linear-gradient(180deg, #4499cc 0%, #226699 100%);
    border-radius: 4px;
    position: absolute;
    top: 14px;
    left: 10px;
}
.enemy-blue .arm-left {
    width: 6px;
    height: 18px;
    background: linear-gradient(180deg, #3388bb 0%, #1a5577 100%);
    position: absolute;
    top: 16px;
    left: 6px;
    border-radius: 3px;
    transform-origin: top center;
    animation: blueArmSwingLeft 0.5s ease-in-out infinite;
}
.enemy-blue .arm-right {
    width: 6px;
    height: 14px;
    background: linear-gradient(180deg, #3388bb 0%, #1a5577 100%);
    position: absolute;
    top: 16px;
    right: 4px;
    border-radius: 3px;
    transform-origin: top center;
    animation: blueArmSwingRight 0.5s ease-in-out infinite;
}
.enemy-blue .rocket-launcher {
    width: 22px;
    height: 10px;
    background: linear-gradient(180deg, #2a5577 0%, #1a3344 100%);
    position: absolute;
    top: 12px;
    left: -8px;
    border-radius: 5px 2px 2px 5px;
}
.enemy-blue .rocket-launcher::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 2px;
}
.enemy-blue .rocket-tip {
    width: 8px;
    height: 6px;
    background: linear-gradient(270deg, #ff6600 0%, #cc4400 100%);
    position: absolute;
    top: 14px;
    left: -14px;
    border-radius: 3px 0 0 3px;
    box-shadow: 0 0 6px #ff6600;
    animation: rocketGlow 1s ease-in-out infinite;
}
@keyframes rocketGlow {
    0%, 100% { box-shadow: 0 0 6px #ff6600; }
    50% { box-shadow: 0 0 12px #ff8800; }
}
.enemy-blue .leg {
    width: 8px;
    height: 20px;
    background: linear-gradient(180deg, #2277aa 0%, #114466 100%);
    position: absolute;
    bottom: 0;
    border-radius: 2px;
    transform-origin: top center;
}
.enemy-blue .leg.left {
    left: 12px;
    animation: blueLegWalkLeft 0.5s ease-in-out infinite;
}
.enemy-blue .leg.right {
    right: 12px;
    animation: blueLegWalkRight 0.5s ease-in-out infinite;
}
@keyframes blueArmSwingLeft {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(-10deg); }
}
@keyframes blueArmSwingRight {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}
@keyframes blueLegWalkLeft {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}
@keyframes blueLegWalkRight {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
}
.enemy-blue .enemy-health-bar {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 2px;
    overflow: hidden;
}
.enemy-blue .enemy-health-fill {
    width: 100%;
    height: 100%;
    background: #6699ff;
    transition: width 0.1s;
}

/* ============================================ */
/* LASER ENEMY - Design 5: Tech Laser          */
/* ============================================ */
.enemy-laser {
    width: 50px;
    height: 56px;
    position: absolute;
    pointer-events: none;
    transform: scale(0.56);
    transform-origin: center center;
}
.enemy-laser .head {
    width: 20px;
    height: 16px;
    background: linear-gradient(180deg, #cc5555 0%, #883333 100%);
    border-radius: 10px 10px 3px 3px;
    position: absolute;
    top: 0;
    left: 12px;
}
.enemy-laser .visor {
    width: 16px;
    height: 6px;
    background: linear-gradient(180deg, #ffff44 0%, #ff8800 100%);
    position: absolute;
    top: 6px;
    left: 2px;
    border-radius: 3px;
    box-shadow: 0 0 8px #ffaa00;
}
.enemy-laser .visor-line {
    width: 12px;
    height: 1px;
    background: #ffff88;
    position: absolute;
    top: 2px;
    left: 2px;
}
.enemy-laser .torso {
    width: 24px;
    height: 20px;
    background: linear-gradient(180deg, #aa4444 0%, #662222 100%);
    border-radius: 4px;
    position: absolute;
    top: 14px;
    left: 10px;
}
.enemy-laser .core {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ff6666 0%, #cc3333 100%);
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 7px;
    box-shadow: 0 0 8px #ff4444;
    animation: laserCorePulse 1s ease-in-out infinite;
}
@keyframes laserCorePulse {
    0%, 100% { box-shadow: 0 0 8px #ff4444; transform: scale(1); }
    50% { box-shadow: 0 0 15px #ff6666; transform: scale(1.1); }
}
.enemy-laser .arm-left {
    width: 6px;
    height: 16px;
    background: linear-gradient(180deg, #883333 0%, #441111 100%);
    position: absolute;
    top: 16px;
    left: 5px;
    border-radius: 3px;
    transform-origin: top center;
    animation: laserArmSwingLeft 0.5s ease-in-out infinite;
}
.enemy-laser .arm-right {
    width: 6px;
    height: 10px;
    background: linear-gradient(180deg, #883333 0%, #441111 100%);
    position: absolute;
    top: 16px;
    right: 8px;
    border-radius: 3px;
    transform-origin: top center;
    animation: laserArmSwingRight 0.5s ease-in-out infinite;
}
.enemy-laser .rifle-arm {
    width: 12px;
    height: 6px;
    background: #663333;
    position: absolute;
    top: 18px;
    left: -1px;
}
.enemy-laser .laser-rifle {
    width: 20px;
    height: 8px;
    background: linear-gradient(180deg, #553333 0%, #221111 100%);
    position: absolute;
    top: 14px;
    left: -11px;
    border-radius: 4px 1px 1px 4px;
    border: 1px solid #774444;
}
.enemy-laser .energy-cell {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ff4444 0%, #aa0000 100%);
    position: absolute;
    top: 0px;
    left: 4px;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff0000;
    animation: energyCellPulse 0.5s ease-in-out infinite;
}
@keyframes energyCellPulse {
    0%, 100% { box-shadow: 0 0 6px #ff0000; }
    50% { box-shadow: 0 0 12px #ff4444; }
}
.enemy-laser .barrel {
    width: 6px;
    height: 4px;
    background: #ff2200;
    position: absolute;
    top: 2px;
    left: -4px;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 0 8px #ff2200;
}
.enemy-laser .leg {
    width: 8px;
    height: 20px;
    background: linear-gradient(180deg, #772222 0%, #440000 100%);
    position: absolute;
    bottom: 0;
    border-radius: 2px;
    transform-origin: top center;
}
.enemy-laser .leg.left {
    left: 12px;
    animation: laserLegWalkLeft 0.5s ease-in-out infinite;
}
.enemy-laser .leg.right {
    right: 12px;
    animation: laserLegWalkRight 0.5s ease-in-out infinite;
}
@keyframes laserArmSwingLeft {
    0%, 100% { transform: rotate(10deg); }
    50% { transform: rotate(-10deg); }
}
@keyframes laserArmSwingRight {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}
@keyframes laserLegWalkLeft {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}
@keyframes laserLegWalkRight {
    0%, 100% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
}
.enemy-laser .enemy-health-bar {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 2px;
    overflow: hidden;
}
.enemy-laser .enemy-health-fill {
    width: 100%;
    height: 100%;
    background: #00ff00;
    transition: width 0.1s;
}
