.maxwell-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(120vh - 200px);
	padding: 2rem;
	background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://cdn.jsdelivr.net/gh/PCWStats/Website-Images@main/miscellaneous/maxwell-cat-1.gif');
	background-color: var(--bg-primary);
}

.maxwell-content {
	text-align: center;
	max-width: 800px;
	padding: 2rem;
	background-color: var(--card-bg);
	border-radius: 1rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--border-color);
}

.maxwell-gif {
	transition: transform 0.3s ease, filter 0.3s ease;
}

.maxwell-gif.playing {
	animation: pulse 1.5s infinite;
	filter: drop-shadow(0 0 8px rgba(255, 255, 0, 0.7));
}

.maxwell-gif.needs-interaction {
	filter: drop-shadow(0 0 8px rgba(255, 165, 0, 0.7));
	animation: bounce 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}
}

.maxwell-code {
	font-size: 8rem;
	font-weight: bold;
	color: var(--accent-color);
	line-height: 1;
	margin-bottom: 1rem;
}

.maxwell-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.maxwell-message {
	font-size: 1.25rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.maxwell-image {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin-bottom: 1.5rem;
}

.maxwell-image img {
	width: 350px;
	height: 350px;
	border-radius: 0.5rem;
	object-fit: cover;
}

.maxwell-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

@media (max-width: 768px) {
	.maxwell-code {
		font-size: 6rem;
	}

	.maxwell-title {
		font-size: 2rem;
	}

	.maxwell-message {
		font-size: 1.1rem;
	}

	.maxwell-image img {
		width: 180px;
		height: 180px;
	}

	.maxwell-actions {
		flex-direction: column;
		align-items: center;
	}

	.maxwell-actions a {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.maxwell-code {
		font-size: 4rem;
	}

	.maxwell-title {
		font-size: 1.75rem;
	}

	.maxwell-message {
		font-size: 1rem;
	}

	.maxwell-image img {
		width: 150px;
		height: 150px;
	}
}