:root {
	--primary-color: #1a1a2e;
	--secondary-color: #16213e;
	--accent-color: #0f3460;
	--text-color: #e94560;
	--background-color: #0f0f0f;
	--card-background: #16213e;
}

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

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	color: #fff;
	background-color: var(--background-color);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	background-color: var(--primary-color);
	padding: 1rem 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
	font-size: 2rem;
	font-weight: 600;
	color: var(--text-color);
}

header i {
	margin-right: 10px;
}

main {
	padding: 2rem 0;
}

.search-container {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

#searchInput {
	width: 100%;
	max-width: 500px;
	padding: 0.75rem;
	font-size: 1rem;
	background-color: var(--secondary-color);
	border: 2px solid var(--accent-color);
	border-radius: 5px 0 0 5px;
	outline: none;
	color: #fff;
}

#searchInput::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

button {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	background-color: var(--accent-color);
	color: #fff;
	border: none;
	border-radius: 0 5px 5px 0;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

button:hover {
	background-color: var(--text-color);
}

#results {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}

.weapon-card {
	background-color: var(--card-background);
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.weapon-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.weapon-card h2 {
	color: var(--text-color);
	margin-bottom: 1rem;
	font-size: 1.5rem;
	border-bottom: 2px solid var(--text-color);
	padding-bottom: 0.5rem;
}

.weapon-card h3 {
	color: #fff;
	margin-top: 1rem;
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
}

.weapon-card ul {
	list-style-type: none;
	padding-left: 0;
}

.weapon-card li {
	margin-bottom: 0.25rem;
}

.weapon-card p {
	margin-top: 1rem;
	font-style: italic;
	color: rgba(255, 255, 255, 0.7);
}

footer {
	background-color: var(--primary-color);
	text-align: center;
	padding: 1rem 0;
	margin-top: 2rem;
	color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
	header h1 {
		font-size: 1.5rem;
	}

	#results {
		grid-template-columns: 1fr;
	}
}
