/*
    Transcrições de Tickets - Imperium
    - Desenvolvedor: _Dr1zzyx_
    - Versão: 3.0.5 (Página de Erro)
    © 2023-2025 | Imperium - Todos os Direitos Reservados.
*/

/*===============================
|    RESET & CONFIGURAÇÕES      |
=================================*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	background-attachment: fixed;
	background-color: #0d1117;
	background-image: radial-gradient(1100px 520px at 18% 0, rgba(124, 77, 255, .18) 0, transparent 60%), radial-gradient(900px 500px at 98% 12%, rgba(255, 140, 55, .16) 0, transparent 70%), linear-gradient(180deg, #080a10 0, #0b0e14 75%, #0d1117 100%);
	background-size: cover;
	color: #dcddde;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	height: 100%;
	min-height: 100vh;
	-moz-osx-font-smoothing: grayscale;
	-ms-overflow-style: none;
	overflow-x: hidden;
	overflow-y: hidden;
	position: relative;
	scrollbar-width: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

body::-webkit-scrollbar, body::-webkit-scrollbar-button {
	display: none;
}

/*===============================
|         VARIAVEIS CSS         |
=================================*/
:root {
	--accent: #5865f2;
	--blur: saturate(160%) blur(10px);
	--border: rgba(255, 255, 255, 0.08);
	--muted: #a3a7b3;
	--success: #3ddc97;
	--white: #ffffff;
	--t-fast: 160ms ease;
	--radius-lg: 18px;
	--shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
	--radius-md: 12px;
	--shadow-md: 0 12px 36px rgba(0, 0, 0, 0.35);
	--t-med: 260ms ease;
	--t-slow: 380ms ease;
	--radius-sm: 8px;
	--shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/*===============================
|           ANIMAÇÕES           |
=================================*/
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-15px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeScale {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes pulseDot {
	0%, 100% {
		transform: scale(1);
		opacity: .9;
	}
	50% {
		transform: scale(1.1);
		opacity: .7;
	}
}

@keyframes glow {
	from {
		filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
	}
	to {
		filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.6));
	}
}

/*===============================
|         LINKS & HOVER         |
=================================*/
a {
	color: #00b8ff;
	text-decoration: none;
	transition: color var(--t-fast);
}

a:hover {
	color: #66d7ff;
}

/*===============================
|       ESTRUTURA - LAYOUT      |
=================================*/
.container {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	padding: 2rem;
	position: relative;
	z-index: 1;
}

.main-card {
	animation: fadeScale 0.4s var(--t-med) both;
	background-color: rgba(18, 22, 30, .75);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	max-width: 600px;
	padding: 3rem 2rem;
	text-align: center;
	transition: box-shadow var(--t-med);
	width: 100%;
}

.main-card:hover {
	box-shadow: 0 25px 65px rgba(0, 0, 0, .6);
}

/*===============================
|      TIPOGRAFIA PRINCIPAL     |
=================================*/
.error-code {
	animation: glow 2s ease-in-out infinite alternate;
	background: linear-gradient(135deg, #7c4dff, #ff8c37);
	-webkit-background-clip: text;
	background-clip: text;
	font-size: 8rem;
	font-weight: 900;
	margin-bottom: 1rem;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 30px rgba(124, 77, 255, 0.3);
}

.error-title {
	color: var(--white);
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.error-description {
	color: var(--muted);
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: 3rem;
}

/*===============================
|         SEARCH FORM           |
=================================*/
.search-container {
	margin-bottom: 3rem;
}

.search-form {
	display: flex;
	gap: 1rem;
	margin: 0 auto;
}

.search-input {
	background: rgba(46, 48, 54, 0.3);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: #f9fafb;
	flex: 1;
	font-size: 1rem;
	outline: none;
	padding: 1rem 1.5rem;
	transition: all var(--t-fast);
}

.search-input:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.3);
}

.search-input::placeholder {
	color: var(--muted);
}

.search-button {
	background: linear-gradient(145deg, #7c4dff, #5865f2);
	border: none;
	border-radius: var(--radius-md);
	color: white;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	overflow: hidden;
	padding: 1rem 2rem;
	position: relative;
	transition: all var(--t-fast);
}

.search-button:hover {
	box-shadow: 0 8px 20px rgba(124, 77, 255, 0.3);
	transform: translateY(-2px);
}

.search-button:active {
	transform: translateY(0);
}

.search-button::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	content: '';
	height: 100%;
	left: -100%;
	position: absolute;
	top: 0;
	transition: left 0.5s ease;
	width: 100%;
}

.search-button:hover::before {
	left: 100%;
}

/*===============================
|         ERROR MESSAGE         |
=================================*/
.error-message {
	color: #ef4444;
	font-size: 0.875rem;
	margin-top: 0.5rem;
	opacity: 0;
	transform: translateY(-10px);
	transition: all var(--t-fast);
}

.error-message.show {
	opacity: 1;
	transform: translateY(0);
}

/*===============================
|         HOME BUTTON           |
=================================*/
.home-button {
	align-items: center;
	background: rgba(46, 48, 54, 0.3);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--muted);
	display: inline-flex;
	font-weight: 500;
	gap: 0.5rem;
	padding: 1rem 2rem;
	text-decoration: none;
	transition: all var(--t-fast);
}

.home-button:hover {
	border-color: rgba(124, 77, 255, 0.35);
	box-shadow: 0 8px 20px rgba(124, 77, 255, 0.2);
	color: var(--white);
	transform: translateY(-2px);
}

/*===============================
|            FOOTER             |
=================================*/
.footer {
	backdrop-filter: blur(10px);
	background: linear-gradient(to top, rgba(15, 15, 15, 0.9), transparent);
	bottom: 0;
	left: 0;
	padding: 1.5rem;
	position: fixed;
	right: 0;
	text-align: center;
	z-index: 2;
}

.footer-content {
	align-items: center;
	color: var(--muted);
	display: flex;
	font-size: 0.875rem;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
}

.developer-credit {
	color: #7c4dff;
	font-weight: 600;
}

/*===============================
|         LOADING STATE         |
=================================*/
.loading {
	animation: spin 1s linear infinite;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top: 2px solid #ffffff;
	display: none;
	height: 20px;
	width: 20px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

.search-button.loading .loading {
	display: inline-block;
}

.search-button.loading .button-text {
	display: none;
}

/*===============================
|   QUERIES - RESPONSIVIDADE    |
=================================*/
@media (max-width: 768px) {
	body {
		overflow: hidden;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.container {
		min-height: auto;
		overflow: hidden;
	}

	.container {
		padding: 1rem;
	}

	.main-card {
		border-radius: var(--radius-md);
		padding: 2rem 1.5rem;
	}

	.error-code {
		font-size: 5rem;
	}

	.error-title {
		font-size: 1.5rem;
	}

	.error-description {
		font-size: 1rem;
	}

	.search-form {
		flex-direction: column;
		gap: 1rem;
	}

	.search-button {
		padding: 1rem;
	}

	.footer-content {
		flex-direction: column;
		font-size: 0.75rem;
		gap: 0.5rem;
	}
}

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

	.error-title {
		font-size: 1.25rem;
	}

	.main-card {
		padding: 1.5rem 1rem;
	}
}