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

body {
    font-family: 'Courier New', monospace;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    width: 100%;
    max-width: 700px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 20px;
    text-align: center;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

h1 {
    margin-bottom: 30px;
    color: #e76f51;
}

h2 {
    color: #333;
    margin: 5px 0;
}

button {
    background-color: #1d3557;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #457b9d;
}

.secondary-button {
    background-color: #666;
    font-size: 14px;
    padding: 8px 15px;
    margin-top: 20px;
}

.secondary-button:hover {
    background-color: #888;
}

.button-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.game-options {
    margin: 20px 0;
}

.game-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

#game-canvas {
    background-color: #3a86ff;
    border: 2px solid #333;
    image-rendering: pixelated;
    max-width: 100%;
    height: auto;
}

.shot-meter-container {
    margin-top: 20px;
}

.shot-meter {
    width: 100%;
    height: 30px;
    background-color: #ddd;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.green-zone {
    position: absolute;
    height: 100%;
    background-color: #2a9d8f;
    width: 20%;
    left: 40%;
}

.meter-line {
    position: absolute;
    height: 100%;
    width: 3px;
    background-color: #e63946;
    left: 0;
}

#shoot-button {
    background-color: #e63946;
    padding: 12px 30px;
    font-size: 18px;
}

#shoot-button:hover {
    background-color: #ff5c6c;
}

.game-over {
    padding: 20px;
}

.game-over h1 {
    color: #e63946;
    margin-bottom: 20px;
}

.game-over p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Language menu specific styles */
#language-menu h1 {
    margin-bottom: 40px;
    color: #e76f51;
    text-align: center;
}

#language-menu button {
    min-width: 150px;
    padding: 15px 30px;
    margin: 10px 20px;
    font-size: 18px;
}

/* For Vietnamese fonts */
html[lang="vi"] {
    font-family: 'Arial', sans-serif;
}

.fatigue {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
    display: none;
} 