:root {
	--primary: #00597a;
	--primary-dark: #003c57;
	--primary-soft: #006a8f;
	--bg-main: #003047;
	--bg-card: #003a55;
	--accent: #7dfc4f;
	--accent-dark: #46b52a;
	--text-light: #ffffff;
	--text-muted: #b5d0df;
}

* {
	box-sizing: border-box;
}

html, body {
	min-height: 100%;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #083249;
	color: var(--text-light);
}

.topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(90deg, #024c6a, #00628a);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
	z-index: 20;
}

.topbar-left,
.topbar-right {
	display: flex;
	align-items: center;
}

.main-wrapper {
	min-height: calc(100vh - 50px);
	padding-top: 86px;
	padding-bottom: 32px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.screen {
	display: none;
}

.screen.active {
	display: block;
	animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.screen-title {
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.screen-title span {
	color: #a4f2ff;
}

.screen-title .emoji {
	font-size: 1.7rem;
}

.text-muted {
	color: var(--text-muted) !important;
	font-size: 1.05rem !important;
}

.search-wrapper {
	position: relative;
}

.search-wrapper i {
	position: absolute;
	top: 50%;
	left: 18px;
	transform: translateY(-50%);
	color: #7dfc4f;
	z-index: 2;
}

.campo-busca {
	height: 52px;
	border-radius: 999px;
	border: 1px solid rgba(125, 252, 79, 0.45);
	background: #002b40;
	color: #ffffff;
	padding-left: 48px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.campo-busca::placeholder {
	color: #8eb4c7;
}

.campo-busca:focus {
	background: #00354e;
	color: #ffffff;
	border-color: rgba(125, 252, 79, 0.95);
	box-shadow:
		0 0 0 0.2rem rgba(125, 252, 79, 0.18),
		0 14px 32px rgba(0, 0, 0, 0.55);
}

.grid-puxadas {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin: 24px auto 0;
	max-width: 780px;
}

.card-puxada {
	background: radial-gradient(circle at top, #055779 0, #00374f 55%, #002030 100%);
	border-radius: 18px;
	border: 1px solid rgba(4, 223, 255, 0.15);
	padding: 16px 14px 14px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
	transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
	text-align: left;
	margin: 10px 0;
}

.card-puxada:hover {
	transform: translateY(-2px);
	border-color: rgba(125, 252, 79, 0.8);
	box-shadow:
		0 18px 38px rgba(0, 0, 0, 0.85),
		0 0 22px rgba(125, 252, 79, 0.35);
}

.card-puxada-topo {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
}

.card-puxada img {
	width: 58px;
	height: 58px;
	object-fit: contain;
	flex: 0 0 auto;
}

.card-puxada .nome {
	font-size: 1.08rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.1;
}

.card-puxada .grupo {
	font-size: 0.78rem;
	color: var(--text-muted);
	margin-top: 4px;
}

.lista-puxadas {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 12px;
	padding-left: 2px;
	padding-top: 15px;
	padding-bottom: 10px;
}

.badge-puxada {
	border-radius: 999px;
	background: rgba(125, 252, 79, 0.12);
	border: 1px solid rgba(125, 252, 79, 0.45);
	color: #d8ffcb;
	font-size: 0.74rem;
	font-weight: 700;
	padding: 6px 10px;
	cursor: pointer;
	transition: 0.15s ease;
	line-height: 1;
}

.badge-puxada:hover {
	background: rgba(125, 252, 79, 0.28);
	border-color: rgba(125, 252, 79, 0.9);
	color: #ffffff;
	transform: translateY(-1px);
}

.filtro-wrapper {
	text-align: center;
	margin-top: 12px;
	margin-bottom: 16px;
}

.btn-limpar-filtro {
	border: none;
	border-radius: 999px;
	padding: 10px 18px;
	background: #7dfc4f;
	color: #00240f;
	font-size: 0.85rem;
	font-weight: 800;
	box-shadow: 0 8px 20px rgba(125, 252, 79, 0.25);
	transition: 0.2s ease;
}

.btn-limpar-filtro:hover {
	transform: translateY(-2px);
	background: #95ff71;
}

.sem-resultado {
	margin-top: 36px;
	color: var(--text-muted);
}

.sem-resultado i {
	font-size: 2.2rem;
	color: #7dfc4f;
}

.footer {
	background: linear-gradient(90deg, #024c6a, #00628a);
	padding: 10px 16px 16px;
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: auto;
}

@media (max-width: 576px) {
	.main-wrapper {
		padding-top: 78px;
	}

	.grid-puxadas {
		max-width: 100%;
		gap: 12px;
	}

	.card-puxada {
		padding: 14px 12px;
	}

	.card-puxada-topo {
		gap: 11px;
	}

	.card-puxada img {
		width: 52px;
		height: 52px;
	}

	.card-puxada .nome {
		font-size: 1rem;
	}

	.lista-puxadas {
		padding-left: 0;
	}

	.badge-puxada {
		font-size: 0.7rem;
		padding: 6px 9px;
	}
}