* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-color: #000;
}

#game-container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#game-canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#controls-info {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 2;
}

#position-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 2;
}

.battle-effect {
    position: absolute;
    background: radial-gradient(circle, rgba(255,255,0,0.8) 0%, rgba(255,0,0,0.8) 50%, rgba(0,0,0,0) 100%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: explosion 0.5s ease-out forwards;
    z-index: 100;
}

.shockwave {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    animation: shockwave 0.7s ease-out forwards;
    z-index: 99;
}

@keyframes explosion {
    0% {
        opacity: 1;
        width: 0;
        height: 0;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
        width: 200px;
        height: 200px;
    }
}

@keyframes shockwave {
    0% {
        opacity: 1;
        width: 0;
        height: 0;
    }
    100% {
        opacity: 0;
        width: 300px;
        height: 300px;
    }
}

.screen-shake {
    animation: screenShake 0.3s ease-in-out;
}

@keyframes screenShake {
    0%, 100% {
        transform: translate(0, 0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translate(-5px, 0);
    }
    20%, 40%, 60%, 80% {
        transform: translate(5px, 0);
    }
}
} 