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

body {
    font-family: 'Arial', sans-serif;
    background: #142036;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    display: block;
    background: #142036 url('assets/img/bg.jpg') center/cover no-repeat;
}

.game-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

h1 {
    color: white;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.score-board {
    display: flex;
    gap: 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.score span, .lives span {
    color: #FF7F1F;
}

.controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    pointer-events: none;
}

.controls p {
    color: white;
    margin-bottom: 15px;
    font-size: 0.9em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

button {
    background: linear-gradient(135deg, #FF7F1F 0%, #FF5B22 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    margin: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: bold;
    pointer-events: auto;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 127, 31, 0.4);
}

button:active {
    transform: translateY(0);
}

.game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    text-align: center;
}

.game-over h2 {
    margin-bottom: 20px;
    color: #142036;
    font-size: 2em;
}

.hidden {
    display: none !important;
}

