/* Luks Design: single game iframe wrapper + overlay (from VegasHero overlay) */
.vh-game-iframe-wrapper,
.iframe_kh_wrapper.vh-game-iframe-wrapper {
	position: relative;
	min-height: 560px;
}

.iframe_kh_wrapper.vh-game-iframe-wrapper .vh-game-iframe,
.iframe_kh_wrapper.vh-game-iframe-wrapper iframe.vh-game-iframe {
	position: relative;
	width: 100%;
	min-width: auto;
	max-width: 100%;
	min-height: 560px;
	max-height: 100%;
	overflow: hidden;
}

.vh-game-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	font-family: 'Montserrat', sans-serif;
	background: #1a1a1a;
	border-radius: 12px;
	overflow: hidden;
}

.vh-game-overlay.vh-game-overlay--hidden {
	display: none;
}

.vh-game-overlay__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(24px);
	-webkit-filter: blur(24px);
	transform: scale(1.1);
	opacity: 0.5;
}

.vh-game-overlay__bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.65);
}

.vh-game-overlay__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding: 16px;
	height: 100%;
	overflow-y: auto;
}

.vh-game-overlay__confirm {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.vh-game-overlay__confirm--hidden {
	display: none;
}

.vh-game-overlay__confirm-card {
	width: 100%;
	max-width: 420px;
	background: rgba(30, 15, 5, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
	padding: 18px;
}

.vh-game-overlay__confirm-title {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 10px 0;
}

.vh-game-overlay__confirm-text {
	font-size: 13px;
	line-height: 1.5;
	color: #d1d5db;
	margin: 0 0 14px 0;
}

.vh-game-overlay__confirm-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.vh-game-overlay__btn--ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.vh-game-overlay__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.06);
}

.vh-game-overlay__image-wrap {
	position: relative;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 14px;
	aspect-ratio: 16 / 9;
	max-height: 200px;
	background: #2a2a2a;
	filter: blur(0.4px);
	-webkit-filter: blur(0.4px);
}

.vh-game-overlay__image-wrap[data-vh-play-real-url] {
	cursor: pointer;
}

.vh-game-overlay__image-wrap[data-vh-play-real-url]:focus-visible {
	outline: 2px solid rgba(251, 191, 36, 0.7);
	outline-offset: 3px;
}

.vh-game-overlay__image-wrap::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.10) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-25deg);
	pointer-events: none;
	z-index: 0;
	animation: luks-overlay-shimmer 4s ease-in-out infinite;
}

.vh-game-overlay__image-blur {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	-webkit-filter: blur(20px);
	filter: blur(20px);
	z-index: 0;
}

.vh-game-overlay__image {
	width: 100%;
	height: 160%;
	min-height: 160%;
	object-fit: cover;
	object-position: center top;
	display: block;
	will-change: transform;
	transform: translateZ(0);
	opacity: 1;
}

.vh-game-overlay__image-bonus {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-transform: uppercase;
	color: wheat !important;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	pointer-events: none;
	margin: 0;
	border: none;
	padding: 0;
}

.vh-game-overlay__tags {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.vh-game-overlay__tag {
	display: inline-block;
	padding: 4px 12px;
	background: #d4a84b;
	color: #000;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border-radius: 6px;
}

.vh-game-overlay__title {
	margin: 0 0 10px;
	font-size: 1.5rem;
	font-weight: 700;
	color: wheat !important;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.vh-game-overlay__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 13px;
	color: #9ca3af;
}

.vh-game-overlay__rating,
.vh-game-overlay__volatility {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.vh-game-overlay__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #d4a84b;
	line-height: 0;
}

.vh-game-overlay__icon svg {
	display: block;
}

.vh-game-overlay__meta .vh-game-overlay__first-review {
	color: #fff;
	font-weight: 700;
}

.vh-game-overlay__meta .vh-game-overlay__first-review::before {
	content: '';
	display: inline-block;
	width: 1px;
	height: 14px;
	background: #4b5563;
	margin-right: 12px;
}

.vh-game-overlay__rating--stars {
	display: inline-flex;
	align-items: center;
}

.vh-game-overlay__rating--stars .wp-review-show-total,
.vh-game-overlay__rating--stars .wp-review-total-star,
.vh-game-overlay__rating--stars [class*="wp-review-"] {
	display: inline-flex !important;
	align-items: center;
	margin: 0;
	padding: 0;
}

.vh-game-overlay__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 14px;
}

.vh-game-overlay__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px 24px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.vh-game-overlay__btn:hover {
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.vh-game-overlay__btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vh-game-overlay__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex-shrink: 0;
}

.vh-game-overlay__btn-icon svg {
	display: block;
}

.vh-game-overlay__btn--real {
	font-family: 'Montserrat', sans-serif;
	font-weight: 800;
	font-size: 1.125rem;
	line-height: 1.25;
	color: #3c1f0c;
	background: #fbbf24;
	border: none;
	border-radius: 0.75rem;
	padding: 1rem 1.5rem;
	width: 100%;
	box-shadow: 0 4px 25px rgba(251, 191, 36, 0.4);
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.15s ease;
}

.vh-game-overlay__btn--real:hover {
	box-shadow: 0 4px 30px rgba(251, 191, 36, 0.5);
}

.vh-game-overlay__btn--real::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.35) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-25deg);
	pointer-events: none;
	animation: luks-overlay-shimmer 4s ease-in-out infinite;
}

@keyframes luks-overlay-shimmer {
	0%, 100% { transform: skewX(-25deg) translateX(-100%); }
	50% { transform: skewX(-25deg) translateX(200%); }
}

.vh-game-overlay__btn--demo {
	background: #d4a84b;
	color: #000;
	box-shadow: 0 2px 10px rgba(212, 168, 75, 0.35);
}

.vh-game-overlay__btn--demo:hover {
	box-shadow: 0 4px 16px rgba(212, 168, 75, 0.45);
}

.vh-game-overlay__promo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	margin-bottom: 12px;
	background: rgba(55, 65, 81, 0.6);
	border: 1px solid #d4a84b;
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
}

.vh-game-overlay__promo-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #d4a84b;
	flex-shrink: 0;
}

.vh-game-overlay__promo-icon svg {
	display: block;
}

.vh-game-overlay__promo-tcs {
	color: #9ca3af;
	font-size: 12px;
	font-weight: normal;
}

.vh-game-overlay__age {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	margin-bottom: 12px;
	background: #374151;
	border-radius: 999px;
	color: #9ca3af;
	font-size: 13px;
	width: fit-content;
}

.vh-game-overlay__age-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #b91c1c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 50%;
}

.vh-game-overlay__disclaimer {
	margin: 0;
	font-size: 11px;
	color: #6b7280;
	line-height: 1.4;
}

@media (min-width: 480px) {
	.vh-game-overlay__inner {
		padding: 20px;
	}
	.vh-game-overlay__title {
		font-size: 1.75rem;
	}
	.vh-game-overlay__image-wrap {
		max-height: 260px;
	}
}

@media (min-width: 640px) {
	.vh-game-overlay__actions {
		flex-direction: row;
		gap: 12px;
	}
	.vh-game-overlay__actions .vh-game-overlay__btn {
		flex: 1;
		min-width: 0;
	}
}

/* Register/promotion page: game overlay image-wrap banner (centered, same layout/animations as single game overlay) */
.vh-game-overlay-banner {
	max-width: 900px;
	margin: 0 auto 1.5rem;
	font-family: 'Montserrat', sans-serif;
}
.vh-game-overlay-banner__link {
	display: block;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
.vh-game-overlay-banner__link:hover {
	text-decoration: none;
	color: inherit;
}
.vh-game-overlay-banner__link:focus-visible {
	outline: 2px solid rgba(251, 191, 36, 0.7);
	outline-offset: 3px;
}
.vh-game-overlay-banner .vh-game-overlay__image-wrap {
	cursor: pointer;
}
