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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #000000;
	color: #ffffff;
	min-height: 100vh;
	line-height: 1.6;
}

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

.header {
	text-align: center;
	margin-bottom: 40px;
	background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
	padding: 40px 20px;
	border-radius: 15px;
	backdrop-filter: blur(10px);
	border: 2px solid #333333;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header h1 {
	font-size: 3.5em;
	color: #ffffff;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
	margin-bottom: 10px;
	font-weight: bold;
	letter-spacing: 2px;
}

.header p {
	font-size: 1.2em;
	color: #cccccc;
	max-width: 600px;
	margin: 0 auto 30px;
}

.controls {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
}

.search-container {
	position: relative;
}

.search-bar {
	padding: 12px 20px;
	font-size: 16px;
	border: 2px solid #333333;
	border-radius: 25px;
	background: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	width: 300px;
	outline: none;
	transition: all 0.3s ease;
}

.search-bar:focus {
	border-color: #666666;
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.search-bar::placeholder {
	color: #888888;
}

.control-buttons {
	display: flex;
	gap: 10px;
}

.btn {
	padding: 12px 20px;
	border: 2px solid #333333;
	border-radius: 8px;
	background: #080808;
	color: #ffffff;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.btn:hover {
	background: #101010;
	border-color: #666666;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.btn-select-all {
	border-color: #444444;
}

.btn-deselect-all {
	border-color: #555555;
}

.survivors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-bottom: 40px;
}

.survivor-card {
	background: rgba(10, 10, 10, 0.95);
	border-radius: 15px;
	padding: 20px;
	transition: all 0.3s ease;
	border: 2px solid #333333;
	backdrop-filter: blur(5px);
	position: relative;
	overflow: hidden;
	cursor: pointer;
	min-height: 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.survivor-card.tracked {
	border-color: #666666;
	background: rgba(30, 30, 30, 0.95);
}

.survivor-card.tracked::after {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #ffffff;
	color: #000000;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 16px;
	box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
	z-index: 10;
}

.crossed-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.survivor-card.tracked .crossed-overlay {
	opacity: 1;
}

.crossed-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.survivor-card::before {
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	transition: left 0.5s ease;
}

.survivor-card:hover::before {
	left: 100%;
}

.survivor-card:hover {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
	border-color: #666666;
}

.survivor-image {
	width: 160px;
	height: 160px;
	margin-bottom: 15px;
	object-fit: cover;
	transition: all 0.3s ease;
}

.survivor-card.tracked .survivor-image {
	border-color: #666666;
	box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
	opacity: 0.6;
}

.survivor-image.error {
	background: #333333;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: #666666;
}

.survivor-card:hover .survivor-image {
	border-color: #666666;
	transform: scale(1.1);
}

.survivor-name {
	font-size: 1.2em;
	font-weight: bold;
	color: #ffffff;
	text-align: center;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	letter-spacing: 1px;
}

.survivor-card.hidden {
	display: none;
}

.stats {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 60px;
	padding: 20px;
	background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
	border-radius: 15px;
	border: 2px solid #333333;
}

.stats h3 {
	color: #ffffff;
	margin-bottom: 10px;
	font-size: 1.5em;
}

.stats p {
	color: #cccccc;
	font-size: 1.1em;
}

body > div:last-child,
body > script + div,
div[style*="text-align: center"] {
	position: fixed !important;
	bottom: 20px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	background: rgba(0, 0, 0, 0.8) !important;
	padding: 10px 20px !important;
	border-radius: 20px !important;
	border: 1px solid #333333 !important;
	backdrop-filter: blur(10px) !important;
	z-index: 100 !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

div:has(img[src*="websiteout.com"]),
div:has(a[href*="websiteout.com"]) {
	position: fixed !important;
	bottom: 20px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	background: rgba(0, 0, 0, 0.8) !important;
	backdrop-filter: blur(10px) !important;
	z-index: 100 !important;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
}

div[style*="text-align: center"] * {
	color: #cccccc !important;
	font-size: 12px !important;
	text-decoration: none !important;
}

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

.modal-content {
	background: #000000;
	margin: 15% auto;
	padding: 30px;
	border: 2px solid #333333;
	border-radius: 15px;
	width: 90%;
	max-width: 400px;
	text-align: center;
	color: #ffffff;
}

.modal h3 {
	margin-bottom: 20px;
	color: #ffffff;
}

.modal-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
	margin-top: 20px;
}

.modal .btn {
	padding: 10px 20px;
}

.counter-wrapper {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 100;
	text-align: center;
}

.counter-wrapper * {
	color: #cccccc !important;
	font-size: 12px !important;
	text-decoration: none !important;
}

@media (max-width: 768px) {
	.header h1 {
		font-size: 2.5em;
	}
	
	.survivors-grid {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
	
	.container {
		padding: 15px;
	}

	.search-bar {
		width: 100%;
		max-width: 300px;
	}

	.controls {
		flex-direction: column;
		align-items: stretch;
	}

	.control-buttons {
		justify-content: center;
	}
	
	.counter-wrapper {
		bottom: 10px;
		padding: 8px 16px;
	}

	.counter-wrapper * {
		font-size: 11px !important;
	}

	body > div:last-child,
	body > script + div,
	div[style*="text-align: center"],
	div:has(img[src*="websiteout.com"]),
	div:has(a[href*="websiteout.com"]) {
		bottom: 10px !important;
		padding: 8px 16px !important;
		font-size: 11px !important;
	}
}