html {
	user-select: none;
	-webkit-user-select: none;
}

body {
	overflow: hidden;
	background: var(--tg-theme-bg-color)!important;
}

h1, .card {
	color: var(--tg-theme-text-color)!important;
}

p {
	margin-bottom: 0;
	color: var(--tg-theme-text-color)!important;
}

#main {
	filter: blur(10px);
}

.text-muted {
	color: var(--tg-theme-hint-color) !important;
}

.load-modal {
	display: flex; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
}

.load-modal-content {
	display: block;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: var(--tg-theme-bg-color);
	margin: auto;
	padding: 2rem;
	border: var(--bs-border-width) solid var(--bs-secondary) !important;
	border-radius: .5rem;
	width: 80%;
}

.spinner-border {
	margin-top: 1rem;
}

.home-card {
	background: rgba(255, 255, 255, 0.7);
	border-radius: 20px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border: none;
	backdrop-filter: blur(10px);
	align-items: center;
}

.card {
	transition: transform 0.1s ease, box-shadow 0.1s ease;
	touch-action: manipulation;
	will-change: transform;
	background-color: var(--tg-theme-secondary-bg-color)!important;
}

.spring-animation {
	animation: spring 0.3s ease;
}
@keyframes spring {
	0% 		{ transform: scale(1); }
	50% 	{ transform: scale(0.93); }
	100% 	{ transform: scale(1); }
}

.icon-spring-animation {
	animation: icon-spring 0.3s ease;
}
@keyframes icon-spring {
	0% 		{ transform: scale(1); }
	50% 	{ transform: scale(0.7); }
	100% 	{ transform: scale(1); }
}

.icon-rotated {
	transform: rotate(360deg);
}

.home-card i {
	margin-top: 1rem;
	font-size: 2.5rem;
	transition: color 0.3s ease, transform 0.3s ease;
}

.home-card .card-body {
	text-align: center;
}

.fullscreen-slider {
	opacity: 0;
	display: flex;
	position: fixed;
	top: 0; left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	z-index: 1000;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: opacity 0.15s ease;
	pointer-events: none;
}

.fullscreen-slider.active {
	opacity: 1;
	pointer-events: auto;
}

.slider-container {
	width: 100px;
	height: 280px;
	background: #1a1a1a;
	border-radius: 30px;
	box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
	position: relative;
	overflow: hidden;
	opacity: 0.6;
	backdrop-filter: blur(5px);
}

.slider-fill {
	background-color: #fff;
	border-radius: 30px;
	position: absolute;
	width: 100%;
	height: 50%;
	bottom: 0;
	z-index: 0;
	transition: height 0.1s ease;
}

.slider-touch {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	touch-action: none;
	z-index: 2;
}

.sun-icon {
	font-size: 2rem;
	left: 50%;
	transform: translateX(-50%);
	bottom: 1.5rem;
	z-index: 1;
	position: absolute;
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: none;
}