body {
	margin: 0px;
	padding: 0px;
}
#main {
	background: black;
	position: relative;
}
#info {
	position: absolute;
	left: 580px;
	top: 430px;
	padding:10px;
}

#divMap {
	position: absolute;
	background: #000;
	border: 10px outset #C65D05;
	width: 540px;
	height: 540px;
}
.steel {
	background: url(img/steel.gif);
}
.grass {
	background: url(img/tod.gif);
}
.brick {
	background: url(img/wall.gif);
}
.river {
	background: url(img/sea.gif);
}
.eagle {
	background: url(img/podium.gif);
}
.itank {
	background: url(img/itank.gif) no-repeat;
	position: absolute;
	width: 40px;
	height: 40px;
	overflow: hidden;
	z-index: 100;
	left: 20px;
	top: 240px;
}
.etank {
	background: url(img/etank.gif) no-repeat;
	position: absolute;
	width: 40px;
	height: 40px;
	overflow: hidden;
	z-index: 100;
}
.bomb {
	background: url(img/ball.gif) no-repeat;
	position: absolute;
	width: 40px;
	height: 40px;
	overflow: hidden;
}

/* Mobile Controls */
.mobile-controls {
	display: none;
	position: fixed;
	bottom: 20px;
	left: 0;
	right: 0;
	z-index: 600;
	pointer-events: none;
}

.movement-pad {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: auto;
}

.horizontal-buttons {
	display: flex;
	gap: 60px;
	margin: 5px 0;
}

.control-btn {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 3px solid #FFD700;
	background: rgba(0, 0, 0, 0.7);
	color: #FFD700;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	user-select: none;
	touch-action: none;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
	transition: all 0.1s;
	-webkit-tap-highlight-color: transparent;
}

.control-btn:active {
	background: rgba(255, 215, 0, 0.3);
	transform: scale(0.9);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-up {
	margin-bottom: 5px;
}

.btn-down {
	margin-top: 5px;
}

.btn-fire {
	position: absolute;
	right: 20px;
	bottom: 20px;
	width: 80px;
	height: 80px;
	font-size: 18px;
	pointer-events: auto;
}

/* Show mobile controls on touch devices */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
	.mobile-controls {
		display: block;
	}
	
	#info {
		display: none;
	}
}