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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	padding: 20px;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	overflow: hidden;
}

.header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 30px;
	text-align: center;
}

.header h1 {
	font-size: 2.5em;
	margin-bottom: 10px;
}

.header p {
	opacity: 0.9;
	font-size: 1.1em;
}

.content {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 30px;
	padding: 30px;
}

.controls {
	background: #f8f9fa;
	padding: 25px;
	border-radius: 15px;
	height: fit-content;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 0.95em;
}

.form-group select,
.form-group input[type="number"] {
	width: 100%;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 1em;
	transition: all 0.3s;
}

.form-group select:focus,
.form-group input[type="number"]:focus {
	outline: none;
	border-color: #667eea;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.visualization {
	background: #f8f9fa;
	border-radius: 15px;
	padding: 25px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

#canvas {
	width: 100%;
	height: 600px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.results {
	background: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.results h3 {
	color: #667eea;
	margin-bottom: 15px;
	font-size: 1.3em;
}

.result-item {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
	border-bottom: none;
}

.result-label {
	font-weight: 600;
	color: #555;
}

.result-value {
	color: #667eea;
	font-weight: 700;
}

.shot-grid {
	margin-top: 15px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
}

.shot-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #e0e0e0;
}

.shot-row:last-child {
	border-bottom: none;
}

@media (max-width: 1024px) {
	.content {
		grid-template-columns: 1fr;
	}
}

.legend {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	padding: 15px;
	background: white;
	border-radius: 8px;
	margin-top: 10px;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.legend-color {
	width: 20px;
	height: 20px;
	border-radius: 4px;
	border: 2px solid #333;
}
