.cas-game-iframe-container {
	position: relative;
	padding-bottom: 50%;
}

@media (max-width: 550px) {
	.cas-game-iframe-container {
		position: relative;
		padding-bottom: 100%;
	}
}

/* iOS Fake Fullscreen */
.cas-game-iframe-container.ios-fullscreen {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	padding-bottom: 0 !important;
	z-index: 999999 !important;
	background: black !important;
}

.cas-game-iframe-container.ios-fullscreen .cas-game-iframe {
	width: 100% !important;
	height: 100% !important;
}

.cas-game-iframe-container.ios-fullscreen .cas-game-fullscreen-button {
	display: block !important;
	z-index: 1000000 !important;
}

.cas-game-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.cas-game-fullscreen-button {
	position: absolute;
	width: 30px;
	height: 30px;
	bottom: 0;
	right: 0;
	opacity: 0.5;
	margin: 7.5px;
	border: none;
	z-index: 100;
	transition: 0.3s;
	display: none;
}

.cas-game-fullscreen-button:hover {
	opacity: 1;
}

.cas-iframe-placeholder {
	display: flex;
	justify-content: center;
	align-items: center;
	border: none;
	background-color: black;
}

.cas-game-start-button {
	position: absolute;
	color: black;
	background-color: white;
	font-weight: bold;
	border: solid 2px black;
	border-radius: 15px;
	text-align: center;
	padding: 10px;
	opacity: 0.7;
	display: flex;
	transition: 0.3s;
	align-items: center;
	z-index: 1;
}

.cas-game-start-button:hover {
	opacity: 1;
}

.cas-game-start-button img {
	width: 25px !important;
	height: 25px !important;
	margin-right: 5px;
}

/* Game thumbnail background */
.cas-game-thumbnail-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
}

/* Download container styles */
.cas-download-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 1em;
	margin-bottom: 1em;
}

.cas-download-container span {
	font-size: 1.25rem !important;
	margin: 0;
	font-weight: bold;
	display: flex;
	align-items: center;
}

.cas-download-container button {
	height: 30px !important;
}

/* Download button styles */
.cas-download-button:hover {
	border-color: black !important;
}

.cas-download-button-text {
	position: absolute !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	white-space: nowrap !important;
}

.cas-download-stats-text {
	margin: 0px !important;
}
