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

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    touch-action: none;
    overflow: hidden;
}

#gameContainer {
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 640px;
}

#gameCanvas {
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#startScreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 2;
}

#startScreen h1 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #00ff00;
}

#startButton {
    padding: 15px 30px;
    font-size: 20px;
    background-color: #00ff00;
    color: #000;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

#startButton:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.8);
}

.score {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #00ff00;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    z-index: 1;
}

#controls {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.control {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 10px;
    font-size: 1.2em;
    color: #000;
    text-align: center;
    cursor: pointer;
    user-select: none;
}

#joystick {
    width: 80px;
}

#shootButton {
    width: 80px;
}
    width: 30px;
    height: 30px;
    background-color: transparent;
    display: inline-block;
}

#joystick::before {
    background-image: url('media/left-arrow.png');
    background-size: cover;
}

#joystick::after {
    background-image: url('media/right-arrow.png');
    background-size: cover;
}

#shootButton {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    color: transparent; /* Ocultar texto */
}
