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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #000;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
}

.ui-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    font-family: monospace;
    pointer-events: none;
    z-index: 10;
}

.coordinates {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: inline-block;
}

.controls-info {
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.controls-info p {
    margin: 5px 0;
    font-size: 14px;
}

.game-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

canvas {
    background-color: #222;
    border-radius: 5px;
    margin-bottom: 20px;
    max-width: 100%;
}

.controls {
    margin-top: 15px;
}

button {
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    margin: 10px 0;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.score-container {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.game-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    border: 2px solid #FF0000;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    z-index: 100;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
} 