/* Full-screen background */
html {
	background-color: #08004f;
	height: 100%;
	overflow: hidden;
}

body {
	background: transparent;
	/* background-color: #08004f; */
	margin: 0;
	padding: 0;
	height: 100vh;
	width: 100vw;
	/* background: url("images/SliceBG.jpg") no-repeat center center fixed; */
	background-size: cover; /* cover so it fills correctly */
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: Arial, sans-serif;
	color: white;
	text-align: center;
}

.bg {
	animation: slide 3s ease-in-out infinite alternate;
	background-image: linear-gradient(
		-60deg,
		#08004f 50%,
		rgb(119, 0, 255) 50%
	);
	bottom: 0;
	left: -50%;
	opacity: 0.5;
	position: fixed;
	right: -50%;
	top: 0;
	z-index: -1;
}

.bg2 {
	animation-direction: alternate-reverse;
	animation-duration: 4s;
}

.bg3 {
	animation-duration: 5s;
}

.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative; /* allow children to overlap */
	margin-top: 15vh;
	width: 100vw;
	height: 100vh;
}
/* Logo is the centered anchor */
.hero-logo {
	max-width: 700px;
	height: auto;
	display: block;
	margin: 0 auto; /* stays centered in container */
	position: relative;
	z-index: 1;
}

/* Player overlaps to the right */

.hero-character {
	max-width: 350px;
	height: auto;
	position: absolute;
	z-index: 100;
	pointer-events: none;
}

.hero-character,
.ghost {
	max-width: 350px;
	height: auto;
	position: absolute;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.ghost {
	z-index: 1;
	opacity: 0.5;
}

/* Description block with text + button */
.description {
	max-width: 800px;
	margin-top: auto; /* pushes this block toward the bottom */
	margin-bottom: 20vh; /* stop ~10% from bottom */
	font-size: 1.2rem;
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Button inside description */
.steam-button {
	margin-top: 20px;
	padding: 15px 40px;
	font-size: 1.6rem;
	font-weight: bold;
	color: rgb(0, 3, 82);
	background-color: #ffffff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.3s ease;
}

.steam-button:hover {
	background-color: #ffea4a;
}

@keyframes slide {
	0% {
		transform: translateX(-25%);
	}
	100% {
		transform: translateX(25%);
	}
}

/* Phones and down (portrait mobile screens) */
@media (max-width: 767px) {
	/* mobile-specific CSS here */
	.hero-logo {
		max-width: 90%;
	}

	.hero-character {
		max-width: 180px;
	}

	.ghost {
		max-width: 180px;
	}

	.description {
		font-size: 1rem;
		padding: 0 1em;
	}
}
