:root {
	--bg-gradient: -webkit-linear-gradient(0deg, #ed2947, #ff8300);
	--placeholder-color: #6c7b9b;

	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-size: 100%;
	background: #13171f;
	color: #7b8495;
	font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

* {
	-webkit-tap-highlight-color: transparent;
}

body {
	padding: 0.5rem 1rem;
	margin: 0;
}

a, a:visited, .a, .text-link {
	text-decoration: underline solid rgba(247, 147, 26, 0.5);
	color: #f7931a;
	text-underline-offset: 0.15em;
	transition: color 0.3s, text-decoration 0.3s;
	cursor: pointer;
}

a:hover, .a:hover, .text-link:hover {
	color: #f9aa4a;
	text-decoration-color: #f9aa4a;
}

small {
	font-size: 0.875em;
}

header {
	padding: 0.5rem;
}

.container {
	max-width: 1000px;
	margin: auto;
	padding: 1.5rem 0;
}

.site-header {
	display: flex;
	grid-gap: 0.5rem;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}

.site-logo {
	font-size: 2rem;
	width: 1em;
	height: 1em;
}

.site-title {
	background: -webkit-linear-gradient(0deg, #ed2947, #ff8300);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: bolder;
}

.app {
	text-align: center;
	padding-bottom: 2.5rem;
}

.input-container {
	background: #1c212c;
	padding: 0.7rem;
	border-radius: 0.375rem;
	border: 0.0625rem solid #2a3140;
	display: flex;
	transition: border-color 0.3s;
	box-sizing: border-box;
}

.input-container:has(input:focus) {
	border-color: #f7931a;
}

.input-container input {
	background: transparent;
	border: 0;
	outline: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	margin-left: 0.4rem;
}

.input-container button {
	margin-left: 0.4rem;
}

input::placeholder {
	color: var(--placeholder-color);
	opacity: 1;
}

input::-ms-input-placeholder {
	color: var(--placeholder-color);
}

button {
	border: 0;
	outline: 0;
	border-radius: 0.375rem;
	padding: 0.5rem 1rem;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	font-weight: bolder;
	background: var(--bg-gradient);
}

button.disabled {
	filter: grayscale(1);
	pointer-events: none;
}

/*button.hollow {
	background: transparent !important;
	color: hsla(0, 0%, 100%, 0.9);
	box-shadow: inset 0 0 0 0.125em #ed2947;
}
*/

button.hollow {
	position: relative;
}

button.hollow:before {
	content: '';
	position: absolute;
	left: 0.11rem;
	top: 0.11rem;
	width: calc(100% - 0.22rem);
	height: calc(100% - 0.22rem);
	border-radius: 0.28rem;
	background: #13171f;
}

button.hollow span {
	position: relative;
}

h1, h2 {
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	color: #c2c7d0;
}

h4 {
	margin-bottom: -0.4rem;
	padding-bottom: 0;
}

.app p {
	margin-top: 0;
	margin-bottom: 2.5rem;
}

.spinner {
	box-sizing: border-box;
	font-size: 1.75rem;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: 0.15em solid transparent;
	border-top-color: #c2c7d0;
	animation: spin 0.7s linear infinite;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

@keyframes spin {
	from {
		transform: translate(-50%, -50%) rotate(0);
	}

	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.cross {
	--color: #c2c7d0;
	width: 1.5em;
	height: 1.5em;
	position: relative;
}

.cross:before, .cross:after {
	content: ' ';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 25%;
	background: var(--color);
	transform: translate(-50%, -50%) rotate(45deg);
}

.cross:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media (min-width: 576px) {
	:root {
		font-size: 106.25%;
	}
}

@media (min-width: 768px) {
	:root {
		font-size: 112.5%;
	}
}

@media (min-width: 1024px) {
	:root {
		font-size: 118.75%;
	}
}

@media (min-width: 1280px) {
	:root {
		font-size: 125%;
	}
}

@media (min-width: 1536px) {
	:root {
		font-size: 131.25%;
	}
}

::-moz-selection {
	background-color: rgba(247, 147, 26, 0.25);
}

::selection {
	background-color: rgba(247, 147, 26, 0.25);
}

.hidden {
	display: none !important;
}

.shake {
	animation: shake 0.2s;
}

@keyframes shake {
	0% { 
		transform: translateX(0); 
		border-color: red; 
	}
	
	25% { 
		transform: translateX(-0.5em); 
	}
	
	75% { 
		transform: translateX(0.5em);
	}
	
	100% { 
		transform: translateX(0); 
	}
}

.close-btn {
	position: absolute;
	right: 1rem;
	top: 1rem;
	cursor: pointer;
	border-radius: 30%;
	background: var(--bg-gradient);
	padding: 0.65rem;
	z-index: 999;
}

.close-btn .cross {
	--color: white;
	pointer-events: none;
}

.icon {
	font-size: 1rem;
	width: 1em;
	height: 1em;
	background-size: 100% 100%;
}

.arrow-icon {
	font-size: 1.75rem;
	background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="%23fff" style="display: flex"><path d="M6 8L10 12L14 8" stroke-width="2.2" stroke-linecap="round"></path></svg>');
}

img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

.ad-wrapper {
	text-align: center;
	overflow: hidden;
	max-width: 100%;
}

.ad-300x250 {
	margin-bottom: 1.5em;
	height: 250px;
}

.ad-728x90 {
	height: 90px;
	margin-top: 1em;
}

.ad-wrapper iframe {
	background: #0f1219;
}

.kofi {
	border: 0px; 
	height: 45px; 
	margin-top: 1em;
	max-width: 100%;
}

.adlink {
	display: block;
	margin-top: 1rem; 
	font-size: 0.875em;
}

.row {
	display: flex;
	align-items: center;
	grid-gap: 0.3rem;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: grid;
	place-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.dialog {
	width: 100%;
	max-width: 550px;
	background: #13171f;
	padding: 1rem;
	border-radius: 1rem;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.dialog-header {
	color: #c2c7d0;
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	font-weight: bold;
}

.dialog-close {
	position: absolute;
	right: 0;
	top: 0;
	background: var(--bg-gradient);
	padding: 0.5rem;
	border-bottom-left-radius: 1rem;
	cursor: pointer;
}