/**
 * Games hub + notifications polish
 */
@media (min-width: 960px) {
	.wl-info-hero.wl-info-hero--compact-hub {
		padding: clamp(2rem, 4.5vw, 4rem) 0;
	}

	.wl-info-hero.wl-info-hero--compact-hub h1 {
		margin: 0.5rem 0 1rem !important;
		font-size: clamp(2rem, 3.5vw, 3.35rem) !important;
	}

	.wl-info-hero.wl-info-hero--compact-hub .wl-info-hero__actions {
		margin-top: 1.15rem;
	}
}

.notif-card--partner {
	border-left: 3px solid var(--wl-teal, #058a7d);
}

.notif-card--new .notif-new {
	display: inline-block;
	margin-left: 0;
	padding: 0.1rem 0.4rem;
	border-radius: 6px;
	background: var(--wl-coral, #ff8762);
	color: #fff;
	font-style: normal;
	font-size: 0.6875rem;
	font-weight: 800;
	text-transform: uppercase;
}

.wl-games-hub {
	padding: 0;
}

.wl-games-hub-page .wl-page-module--spaced {
	padding: 0;
	border: 1px solid var(--wl-border, rgba(85, 97, 95, 0.14));
	border-radius: 20px;
	background: #fff;
	box-shadow: var(--wl-shadow-sm, 0 2px 8px rgba(22, 30, 29, 0.06));
}

.wl-games-hub-page .wl-page-module--spaced .wl-games-hub {
	padding: clamp(1rem, 2.5vw, 1.35rem);
}

.wl-games-hub__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

@media (min-width: 768px) {
	.wl-games-hub__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

@media (min-width: 1024px) {
	.wl-games-hub__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.wl-games-op-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 220px;
	border-radius: 18px;
	background:
		linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.12) 100%),
		var(--wl-game-bg, none) center / cover no-repeat,
		linear-gradient(135deg, #13201f, #058a7d);
	overflow: hidden;
	text-decoration: none;
	color: #fff;
	box-shadow: var(--wl-shadow-sm, 0 2px 8px rgba(22, 30, 29, 0.06));
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-games-op-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.08) 62%);
	pointer-events: none;
}

.wl-games-op-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--wl-shadow-md, 0 8px 28px rgba(22, 30, 29, 0.16));
}

.wl-games-op-card__ribbon {
	position: absolute;
	z-index: 2;
	top: 0.65rem;
	right: 0.65rem;
	max-width: calc(100% - 1.3rem);
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8762, #e84e1e);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
	pointer-events: none;
	white-space: nowrap;
}

.wl-games-op-card__ribbon-text {
	display: block;
}

.wl-games-op-card__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 1rem;
}

.wl-games-op-card__logo-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 9.5rem);
	min-height: 3.25rem;
	padding: 0.55rem 0.85rem;
	border-radius: 14px;
	background: #fefdfb;
	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.wl-games-op-card__logo-box .casino-logo {
	display: block;
	width: 100%;
	height: 2.35rem;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.wl-games-op-card__logo-img {
	display: block;
	width: 100%;
	max-width: 8.5rem;
	height: 2.35rem;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}

.wl-games-op-card__logo-box--dark {
	background: #161e1d;
	box-shadow:
		0 8px 22px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.wl-games-op-card__logo-box--text {
	padding: 0.65rem 0.85rem;
}

.wl-games-op-card__logo-fallback {
	color: #161e1d;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}

.wl-games-op-card__cta {
	margin-top: 0.45rem;
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	min-height: 34px;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
}

.wl-games-types {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.wl-games-type-pill {
	font-size: 0.625rem;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.88);
}

.wl-games-hub__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.85rem;
}

.wl-games-hub__head-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
}

.wl-games-hub__compliance--below.wl-bonus-showcase__foot {
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 0.85rem 1.25rem;
	margin: 1rem 0 0;
	padding-top: 0.85rem;
	padding-bottom: 0;
	border-top: 1px solid var(--wl-border, rgba(85, 97, 95, 0.12));
	border-bottom: 0;
	text-align: left;
}

.wl-games-hub__compliance--below .wl-bonus-showcase__foot-main {
	flex: 1 1 auto;
	justify-content: flex-start;
	min-width: 0;
	color: var(--wl-ink-muted, #55615f);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.45;
}

.wl-games-hub__compliance--below .wl-bonus-showcase__disclosure {
	flex: 0 0 auto;
	align-self: flex-start;
	justify-content: flex-end;
}

.wl-games-guide-links {
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.wl-games-guide-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.wl-games-guide-links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.wl-games-guide-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	border: 1px solid var(--wl-border, rgba(85, 97, 95, 0.12));
	background: var(--wl-surface-elevated, #fff);
	color: var(--wl-ink, #161e1d);
	text-decoration: none !important;
	font-weight: 700;
	font-size: 0.9375rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wl-games-guide-link:hover,
.wl-games-guide-link:focus-visible {
	border-color: var(--wl-teal, #058a7d);
	box-shadow: var(--wl-shadow-sm);
	color: var(--wl-teal-dark, #046962) !important;
	text-decoration: none !important;
}

.wl-games-guide-link__title {
	color: inherit;
	text-decoration: none !important;
}

.wl-games-guide-link__go {
	color: var(--wl-teal, #058a7d);
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.wl-games-guide-link:hover .wl-games-guide-link__go,
.wl-games-guide-link:focus-visible .wl-games-guide-link__go {
	color: var(--wl-coral, #ff8762);
}

.wl-games-hub-featured__grid {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
}

@media (min-width: 640px) {
	.wl-games-hub-featured__grid {
		grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
	}
}

@media (min-width: 1024px) {
	.wl-games-hub-featured__grid {
		grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
	}
}

.wl-review-module--games-featured .wl-games-hub__compliance--below {
	margin-top: clamp(1rem, 2.5vw, 1.35rem);
}

.wl-games-guide-link__go {
	color: var(--wl-teal, #058a7d);
	font-size: 1.1rem;
}
