:root {
	color-scheme: dark;
	--brasa: #ff7a1a;
	--llama: #ffc56b;
	--humo: #c9b8ad;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
	background: radial-gradient(ellipse at 50% 100%, #2a0f05 0%, #0b0604 60%) fixed;
	color: #f5e9df;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
	overflow-x: hidden;
}
#lienzo {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
header, main, footer { position: relative; z-index: 1; text-align: center; padding: 0 1.25rem; }
header { padding-top: max(2.5rem, env(safe-area-inset-top)); }
h1 {
	margin: 0;
	font-size: clamp(2.4rem, 9vw, 4.5rem);
	letter-spacing: .04em;
	background: linear-gradient(180deg, var(--llama), var(--brasa) 70%, #c2410c);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 18px rgba(255, 122, 26, .45));
}
.sub { margin: .5rem auto 0; max-width: 30rem; color: var(--humo); }
main { margin-top: 1.5rem; }
.marcador { margin: 0 0 1rem; font-variant-numeric: tabular-nums; color: var(--llama); }
#total { font-weight: 700; }
form {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
	max-width: 32rem;
	margin: 0 auto;
}
input {
	flex: 1 1 14rem;
	min-width: 0;
	padding: .8rem 1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 197, 107, .35);
	background: rgba(20, 10, 6, .7);
	color: inherit;
	font-size: 1rem;
	backdrop-filter: blur(4px);
}
input:focus { outline: 2px solid var(--brasa); outline-offset: 2px; }
button {
	padding: .8rem 1.3rem;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(180deg, #ff9a3c, #e8590c);
	color: #1a0a03;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	box-shadow: 0 0 20px rgba(255, 122, 26, .4);
}
button:disabled { opacity: .45; cursor: wait; box-shadow: none; }
button:not(:disabled):active { transform: scale(.97); }
#turnstile { flex-basis: 100%; display: flex; justify-content: center; }
#turnstile:empty { display: none; }
.aviso { flex-basis: 100%; min-height: 1.2em; margin: .25rem 0 0; color: var(--humo); font-size: .9rem; }
footer {
	margin-top: auto;
	padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
	font-size: .8rem;
	color: rgba(201, 184, 173, .7);
}
footer p { max-width: 32rem; margin: 0 auto; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
	button:not(:disabled):active { transform: none; }
}
