body {
	font-family: "Quicksand", sans-serif;
	font-optical-sizing: auto;
	animation: Gradient 60s ease infinite;
	background-size: 400% 400%;
	background-attachment: fixed;
}		
			
/* Animate Background*/
@keyframes Gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

a, a:visited, a:hover {
	text-decoration: none;
	color: white;
}

.info {
	margin: 50px 0;
}

.header-content {
	margin-top: 50px;
	text-align: center;
	color:  #EFEEF5;
}

.header-content h1 {
	text-transform: uppercase;
	font-size: 3em;
	letter-spacing: 1px;
}

.header-content p {
	font-size: 20px;
	line-height: 1.5;
	margin: 20px auto;
}

.header-content button{
	width: 140px;
	margin:20px 10px;
	color: #591BC5;
	font-size: 17px;
	border:1px solid #EFEEF5;
	font-weight: 500;
	background: #EFEEF5;
	border-radius: 20px;
	padding: 10px;
	cursor:pointer;
	transition: .3s;
}

.header-content button:hover{
	border-radius: 0;
}

.text-shadow {
	text-shadow: 0px 4px 6px rgba(0,0,0,0.5);
}

h2 {
	color: #fff;
	text-shadow: 0px 2px 3px rgba(0,0,0,0.5);
	font-size: 1.75rem;
}

h3 {
	color: #fff;
	text-shadow: 0px 2px 3px rgba(0,0,0,0.5);
	font-size: 1.25rem;	
}

h6 {
	color: #fff;
	text-shadow: 0px 2px 3px rgba(0,0,0,0.5);
}

.content {
	position: relative;
	z-index: 1;
	padding: 20px 20px 5px 20px !important;
	background-color: rgba(255, 255, 255, 0.7);
	margin: 0px 0;
	border-radius: 0 0 10px 10px;
	box-shadow: 0px 10px 50px rgba(0,0,0,0.3);
	width: 400px;
	color: #000;
}

.avatar {
	box-shadow: 0px -5px 50px rgba(0,0,0,0.3);
	border-radius: 10px;
}

.avatar-image {
	border-radius: 10px;
}

.section {
	position: relative;
	z-index: 1;
	padding: 20px;
	background-color: rgba(255, 255, 255, 0.3);
	margin: 20px 0;
	border-radius: 10px;
	box-shadow: 0px 10px 50px rgba(0,0,0,0.3);
	width: 400px;				
}

.tooltip-inner {
	white-space: normal;
	/* max-width: none; */
	max-width: 400px;
	box-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}
	
.link_icon {
	margin: 10px;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
}	

.quote {
	position: relative;
	/* padding: 20px; */
	margin: 0 0 40px 0;
	width: 50vw;
	font-size: 20px;
	color: white;
	text-shadow: 0px 2px 2px rgba(0,0,0,0.5);
	text-align: center;
}

.app-embed {
	width: 32px;
	height: 32px;
	background-size: cover;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	transition: box-shadow .25s;
	border-radius: 5px;	
	margin: 9px 6px;			
}

#letterboxd, #strava, #app-embeds, #embeds, #screenshots {
	text-align: center;
	max-width: 95vw;
	max-width: 1080px;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.letterboxd-movie {
	display: inline-block;
}

.letterboxd-poster {
	width: 150px;
	height: 225px;
	background-size: cover;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	transition: box-shadow .25s;
	border-radius: 10px;	
	margin: 7px;			
}

.strava-activity {
	display: inline-block;
	margin: 10px;
	border-radius: 10px;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	width: 300px;
	height: 300px;
}
	
.embed {
	position: relative;
	display: inline-block;
}

.embed_container {
	align-items: start;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
	/* max-width: 80vw; */
	/* margin: 30px; */
}

.embed_info {
	margin: 3rem 0 0 0;
}

.embed_item {
	object-fit: cover;
	object-position: center;
	padding: 0px;
	background-color: rgba(255, 255, 255, 0.4);
	border-radius: 10px;
	margin: 7px;
	backdrop-filter: blur(10px);
	cursor: pointer;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	transition: box-shadow .25s;
	width: 150px;
	height: 226px;
}

.embed_item:hover, .letterboxd-poster:hover, .strava-activity:hover, .app-embed:hover {
	box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
	transition: box-shadow .5s;				
}

.embed_item_icon {
	position: absolute;
	width: 32px;
	height: 32px;
	bottom: 0;
	right: 0;
	font-size: 50px; /* Adjust size as needed */
	color: #FF0000; /* Adjust color as needed */
	text-decoration: none; /* Remove underline */
	z-index: 10; /* Ensure it appears above other content */
	opacity: 0.3;
	transition: opacity 0.25s;
}

.embed_item_caption {
	position: absolute;
	width: 32px;
	height: 32px;
	bottom: 0;
	right: 38px;
	font-size: 32px; /* Adjust size as needed */
	text-decoration: none; /* Remove underline */
	z-index: 10; /* Ensure it appears above other content */
	opacity: 0.3;
	transition: opacity 0.25s;
}

.embed_item_icon:hover, .embed_item_caption:hover {
	opacity: 1;
	transition: opacity 0.5s;
}

.instagram {
	/* height: 300px;					 */
}

.youtube {
	/* width: 533px; */
	/* height: 300px; */
}

.youtube-thumbnail {
	background-size: 100%; /* Zoom by increasing percentage */
	background-position: center; /* Keep image centered */
	background-repeat: no-repeat;
}

.screenshot_group {
	display: flex;
	flex-wrap: wrap; 
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
}

.screenshot_group img {
	flex: 0 0 auto;       
	width: 180px;
	height: 135px;
	border-radius: 5px;
	background: #000;
}

.screenshot {
	width: 180px;
	height: 135px;
	cursor: default;
}

.game_title{
	width: 80vw;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 25px 0 4px;
	text-align: left;  
	color: #fff;
	text-shadow: 0px 2px 1px rgba(0,0,0,0.4);
}

/* ===== LIGHTBOX OVERLAY ===== */
.lightbox {
	display: none; /* Hidden until activated via JS */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.85);
	z-index: 1000;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* ===== LIGHTBOX CONTENT WRAPPER ===== */
.lightbox-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 90%;
	max-height: 90%;
}

/* ===== CLOSE BUTTON ===== */
.lightbox-close {
	position: absolute;
	top: -40px;
	left: -40px;
	width: 36px;
	height: 36px;
	background: rgba(0,0,0,0.4);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 0 6px rgba(0,0,0,0.4);
	z-index: 1100;
	transition: all 0.25s;

}
.lightbox-close:hover {
	background: rgba(0,0,0,0.7);
}

/* ===== IMAGE / VIDEO DISPLAY ===== */
.lightbox img,
.lightbox video {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0,0,0,0.6);
	background-color: #000;
}

/* ===== CAPTION ===== */
.lightbox-caption {
	margin-top: 15px;
	padding: 10px 15px;
	color: #fff;
	font-size: 16px;
	text-align: center;
	line-height: 1.4;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 8px;
	max-width: 80%;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* ===== NAVIGATION ARROWS ===== */
.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: none;
	background: rgba(0,0,0,0.4);
	color: #fff;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	text-shadow: 0 2px 6px rgba(0,0,0,0.4);
	transition: all 0.25s;
	z-index: 1100;
}
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(0,0,0,0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.lightbox-prev { left: 10px; }
	.lightbox-next { right: 10px; }
	.lightbox img, .lightbox video { max-height: 70vh; }
	.lightbox-caption { font-size: 14px; max-width: 90%; }
}

.group_separator {
	border-left: 1px solid rgba(255,255,255,0.5);
	width: 1px;
	height: 105px;
	margin-top: 25px;
}

:root {
	--gradient-angle: <?php echo $gradientComponents['degree']; ?>;
	--gradient-colors: <?php echo $gradientComponents['colors']; ?>;
}

.video-container {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.video-play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 60px;
	color: rgba(255, 255, 255, 1); /* Semi-transparent white */
	transition: all .5s;
	opacity: 0.4;
	pointer-events: none;
}

.video-container:hover .video-play-button {
	opacity: .95;
	transition: all .25s;
}
			
	.content, .avatar, .section, .quote {
		width: 80vw;
		max-width: 400px;
	}

	.youtube {
		width: 80vw;
	}

	.embed_container {
		align-items: center;
	}
	
	/* Letterboxd posters and Strava maps side by side */
	#letterboxd,
	#strava,
	.embed_container {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0px;
	}
	
	.youtube {
		width: 100%;
		height: auto;
	}
	
	.quote {
		width: 90vw;
		font-size: 18px;
	}
	
	.app-embed {
		width: 40px;
		height: 40px;
		margin: 10px;
	}
	
	.link_icon {
		width: 36px;
		height: 36px;
		margin: 8px;
	}