html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	width: 100%;
	background: #fff;
	overflow: hidden;
	font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 300;
	/* Hide status bar and ensure full screen */
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

body {
	width: 100vw;
	height: 100vh;
	transition: background 0.1s linear;
	touch-action: none;
	user-select: none;
	font-family: inherit;
	font-weight: 300;
	/* Ensure full viewport coverage */
	position: fixed;
	top: 0;
	left: 0;
}

.about-btn {
	/* Remove the about button entirely */
	display: none;
}

svg {
	opacity: 0.7;
}

.about-btn:hover {
	cursor: pointer;
}

.about-btn:active {
}

.modal-backdrop {
	position: fixed;
	z-index: 100;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.25);
	display: none;
	align-items: center;
	justify-content: center;
}

.modal-backdrop.active {
	display: flex;
}

.modal-dialog {
	background: #fff;
	opacity: 0.6;
	border-radius: 12px;
	padding: 2em 1.5em 1.5em 1.5em;
	max-width: 90vw;
	text-align: center;
	position: relative;
	min-width: 260px;
	max-width: 90%;
	margin: 0 16px;
}

.modal-dialog h2 {
	margin-top: 0;
	margin-bottom: 0.5em;
	font-size: 1.4em;
	letter-spacing: 0.02em;
}

.modal-dialog .close-btn {
	position: absolute;
	top: 0.7em;
	right: 1em;
	background: none;
	border: none;
	font-size: 1.3em;
	cursor: pointer;
	color: #888;
}

.modal-dialog .close-btn:active {
	color: #222;
}

.modal-dialog p {
	margin: 0.7em 0;
	font-size: 1em;
	color: #444;
}

.modal-dialog .credit {
	margin-top: 1.2em;
	font-size: 0.95em;
	color: #888;
}

.modal-backdrop .credit a {
	color: #888;
	text-decoration: none;
}

@media (max-width: 400px) {
	.modal-dialog {
		padding: 1.2em 0.5em 1em 0.5em;
	}
}

.install-btn {
	background: #007AFF;
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	margin: 20px 0 10px 0;
	transition: background 0.2s ease;
	width: 100%;
}

.install-btn:hover {
	background: #0051D0;
}

.logo-btn {
	position: fixed;
	top: 60px;
	right: 40px;
	width: 40px;
	height: 40px;	
	cursor: pointer;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	background-color: transparent;
}

.logo-btn:hover {
	transform: scale(1.05);
}

.logo-btn img {
	width: 24px;
	height: 24px;
	opacity: 0.8;
}
