* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	height: 100%;
	display: flex;
	flex-direction: column;
	font-family: 'Barlow', sans-serif;
	overflow-x: hidden;
}

body {
	background-size: cover;
	background-position: center;
	position: relative;
	background-color: black;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 0;
}

.loading-screen {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: #f9fafd;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
}

/* --- Background fade effect for animated transitions --- */
body.bg-fade {
  transition: background-image 0.6s cubic-bezier(.4,0,.2,1), background-color 0.3s;
}
body .background-fader {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: opacity;
}
body .background-fader.visible {
  opacity: 1;
}

.content {
	display: none;
	position: relative;
	z-index: 3;
	padding: 20px;
	color: #FEDA00;
	text-align: center;
	flex: 1;
	overflow-y: auto;
	max-height: calc(100vh - 35px);
	align-content: center;
}

.app-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 60px;
	padding: 60px 20px;
	justify-content: center;
	text-align: center;
}

.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 250px;
}

.img-wrapper {
    display: inline-block;
    border-radius: 30px;
    transition: transform 0.3s ease;
    overflow: visible;
}

.img-wrapper img {
	max-width: 200px;
	display: block;
	border-radius: 30px;
	transition: transform 0.3s ease, filter 0.3s ease;
	filter: none;
}

.img-wrapper:hover img {
  	transform: scale(1.1);
  	filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.app img {
	max-width: 200px;
}

.app-name {
	font-size: 1.8rem;
	font-weight: 700;
	color: #FFD700;
	margin-top: 15px;
}

.qr-wrapper{
	position:relative;
	display:inline-block;
	border-radius:10px;
	transition:box-shadow .3s ease, transform .3s ease;
}
  
.qr-code:hover{
  	transform: scale(1.1);
  	filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.qr-code {
	border-radius: 12px !important;
	border: 6px solid white !important;
	margin: 25px !important;
}

.qr-icon{
	position:absolute;
	top:40%;
	left:40%;
	background:#fff;
	padding:1px;
	border-radius:8px !important;
	pointer-events:none;
	height: 35px;
	width:35px;
	border: 1px solid white;
  }
  
.footer {
	text-align: center;
	color: white;
	font-size: 0.9em;
	padding: 8px 0 8px 0;
	z-index: 3;
	height: 35px;
}

@media (max-width: 600px) {
  	.app-container {
		flex-direction: column;
  	}
	.qr-wrapper{ 
		display:none !important; 		
	}
  	.content {
    max-height: none;
    overflow-y: visible;
    padding-bottom: 20px;
  	}
}