/* Compact internal-page hero — Mr Casinos Online */

.mrc-page-hero {
	position: relative;
	overflow: hidden;
	background: var(--mrc-black);
	color: var(--mrc-text-light);
	border-bottom: 1px solid rgba(199, 154, 59, 0.22);
}

.mrc-page-hero__backdrop {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 85% 20%, rgba(199, 154, 59, 0.08), transparent 42%),
		radial-gradient(circle at 10% 80%, rgba(199, 154, 59, 0.05), transparent 38%);
}

.mrc-page-hero--cover .mrc-page-hero__backdrop {
	background: var(--mrc-black, #090d15);
}

.mrc-page-hero__cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mrc-page-hero--cover-contain .mrc-page-hero__cover {
	object-fit: contain;
}

.mrc-page-hero--cover-contain .mrc-page-hero__grid {
	min-height: clamp(260px, 38vw, 460px);
}

.mrc-page-hero__cover-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(9, 13, 21, 0.88) 0%, rgba(9, 13, 21, 0.62) 42%, rgba(9, 13, 21, 0.28) 100%),
		linear-gradient(180deg, rgba(9, 13, 21, 0.2) 0%, rgba(9, 13, 21, 0.55) 100%);
}

.mrc-page-hero__monogram {
	position: absolute;
	right: -2%;
	top: 50%;
	transform: translateY(-50%);
	width: min(42vw, 420px);
	height: min(42vw, 420px);
	border-radius: 999px;
	border: 1px solid rgba(199, 154, 59, 0.08);
	opacity: 0.35;
}

.mrc-page-hero--casino .mrc-page-hero__monogram {
	box-shadow: inset 0 0 0 24px rgba(199, 154, 59, 0.03);
}

.mrc-page-hero--payment .mrc-page-hero__backdrop {
	background:
		linear-gradient(135deg, rgba(199, 154, 59, 0.06) 0%, transparent 45%),
		radial-gradient(circle at 80% 30%, rgba(199, 154, 59, 0.07), transparent 40%);
}

.mrc-page-hero--payment .mrc-page-hero__monogram {
	display: none;
}

.mrc-page-hero--payment-banner {
	min-height: 0;
}

.mrc-page-hero--payment-banner .mrc-container {
	position: relative;
	padding-bottom: 0;
}

/* Mobile + tablet: mascot in grid column (side-by-side) */
.mrc-page-hero--payment-banner .mrc-page-hero__mascot-unit {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	align-self: end;
	min-width: 0;
	margin: 0;
	padding: 0;
	pointer-events: none;
	line-height: 0;
}

.mrc-page-hero--payment-banner .mrc-page-hero__mascot-frame {
	position: relative;
	width: 100%;
	height: auto;
	overflow: visible;
	flex-shrink: 0;
	margin: 0;
}

.mrc-page-hero--payment-banner .mrc-page-hero__mascot-visual {
	position: relative;
	width: min(50vw, 230px);
	height: clamp(118px, 30vw, 142px);
	margin: 0 0 0 auto;
	overflow: hidden;
}

.mrc-page-hero--payment-banner .mrc-page-hero__mascot-art {
	position: absolute;
	right: 0;
	bottom: 0;
	display: block;
	height: 100%;
	width: auto;
	max-height: none;
	max-width: none;
	object-fit: contain;
	object-position: right bottom;
	transform: none;
}

.mrc-page-hero__grid--payment {
	grid-template-columns: minmax(0, 1fr) minmax(92px, 30vw);
	align-items: end;
	gap: 6px;
	min-height: 0;
	padding-top: clamp(12px, 3vw, 16px);
	padding-bottom: 0;
}

.mrc-page-hero__grid--payment .mrc-page-hero__content {
	position: relative;
	z-index: 2;
	align-self: start;
	max-width: min(58%, calc(100% - min(50vw, 230px) - 10px));
	min-width: 0;
	padding-bottom: clamp(12px, 3vw, 16px);
}

.mrc-page-hero--payment-banner .mrc-page-hero__eyebrow {
	margin: 0 0 6px;
}

.mrc-page-hero--payment-banner .mrc-page-hero__title {
	margin: 0 0 10px;
	max-width: 100%;
	line-height: 1.1;
}

.mrc-page-hero--payment-banner .mrc-page-hero__intro {
	margin: 0;
	max-width: 36rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--mrc-text-muted-light, #aaa69d);
}

.mrc-page-hero__media-fallback {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: min(55%, 180px);
	height: min(55%, 180px);
}

.mrc-page-hero__media-fallback-icon {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 999px;
	border: 1px solid rgba(199, 154, 59, 0.28);
	background:
		radial-gradient(circle at 50% 45%, rgba(199, 154, 59, 0.12), transparent 62%),
		rgba(16, 21, 30, 0.35);
	opacity: 0.75;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='2' y='6' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: 42%;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Crect x='2' y='6' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: 42%;
}

.mrc-page-hero--licence .mrc-page-hero__monogram {
	border-style: dashed;
}

.mrc-page-hero--game .mrc-page-hero__backdrop {
	background:
		radial-gradient(circle at 70% 15%, rgba(199, 154, 59, 0.1), transparent 35%),
		radial-gradient(circle at 15% 85%, rgba(9, 13, 21, 0.8), transparent 50%);
}

.mrc-page-hero--guide .mrc-page-hero__monogram {
	opacity: 0.22;
}

.mrc-page-hero--trust .mrc-page-hero__backdrop {
	background:
		linear-gradient(180deg, rgba(199, 154, 59, 0.04), transparent 55%);
}

.mrc-page-hero .mrc-container {
	position: relative;
	z-index: 1;
}

.mrc-page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
	min-height: clamp(220px, 28vh, 320px);
	padding-block: clamp(32px, 4vw, 52px);
}

.mrc-page-hero__grid--no-visual {
	grid-template-columns: minmax(0, 1fr);
}

.mrc-page-hero__grid--visual-below {
	grid-template-columns: minmax(0, 1fr);
}

.mrc-page-hero__content {
	max-width: 700px;
}

.mrc-page-hero__badge {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(199, 154, 59, 0.45);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mrc-gold-light);
}

.mrc-page-hero__eyebrow {
	margin: 0 0 10px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mrc-gold);
}

.mrc-page-hero__accent {
	margin: 0 0 8px;
	font-size: 0.875rem;
	color: var(--mrc-text-muted-light);
}

.mrc-page-hero__title {
	margin: 0 0 14px;
	max-width: 700px;
	font-family: var(--mrc-font-sans);
	font-size: clamp(2.25rem, 4vw, 3.5rem);
	line-height: 1.15;
	font-weight: 800;
	color: var(--mrc-white);
}

.mrc-page-hero__intro {
	margin: 0;
	max-width: 650px;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--mrc-text-light);
}

.mrc-page-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin: 18px 0 0;
	padding: 0;
}

.mrc-page-hero__meta-item {
	margin: 0;
}

.mrc-page-hero__meta-item dt {
	margin: 0 0 2px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mrc-text-muted-light);
}

.mrc-page-hero__meta-item dd {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--mrc-ivory);
}

.mrc-page-hero__meta-item a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(199, 154, 59, 0.45);
	text-underline-offset: 0.15em;
	transition: color var(--mrc-transition-base), text-decoration-color var(--mrc-transition-base);
}

.mrc-page-hero__meta-item a:hover,
.mrc-page-hero__meta-item a:focus-visible {
	color: var(--mrc-gold-light);
	text-decoration-color: var(--mrc-gold-light);
}

.mrc-page-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.mrc-page-hero--split-visual {
	overflow: hidden;
}

.mrc-page-hero--split-visual .mrc-page-hero__visual {
	position: absolute;
	z-index: 1;
	inset-block: 0;
	inset-inline-end: 0;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: min(52%, 640px);
	pointer-events: none;
}

.mrc-page-hero--split-visual .mrc-page-hero__backdrop {
	z-index: 2;
	background:
		linear-gradient(90deg, rgba(9, 13, 21, 0.92) 0%, rgba(9, 13, 21, 0.74) 44%, rgba(9, 13, 21, 0.28) 100%),
		radial-gradient(circle at 85% 20%, rgba(199, 154, 59, 0.08), transparent 42%);
}

.mrc-page-hero--split-visual .mrc-container {
	z-index: 3;
}

.mrc-page-hero--split-visual .mrc-page-hero__content {
	position: relative;
	z-index: 3;
	max-width: min(58%, 700px);
}

.mrc-page-hero--split-visual .mrc-page-hero__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 96%;
	max-height: 100%;
	object-fit: contain;
	object-position: right bottom;
}

.mrc-page-hero--compact-hero {
	overflow: hidden;
}

.mrc-page-hero__compact-image {
	position: absolute;
	z-index: 0;
	inset-block-start: auto;
	inset-block-end: 0;
	inset-inline-end: 0;
	width: auto;
	height: auto;
	max-width: 52%;
	max-height: 96%;
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
}

.mrc-page-hero--compact-hero .mrc-page-hero__backdrop {
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(5, 7, 13, 0.92) 0%, rgba(5, 7, 13, 0.58) 36%, rgba(5, 7, 13, 0.16) 68%, rgba(5, 7, 13, 0.06) 100%),
		radial-gradient(1200px 380px at 15% 0%, rgba(21, 27, 37, 0.9) 0%, rgba(5, 7, 13, 0) 60%);
}

.mrc-page-hero--compact-hero .mrc-container {
	z-index: 3;
}

.mrc-page-hero--compact-hero .mrc-page-hero__content {
	position: relative;
	z-index: 3;
	max-width: min(52%, 700px);
}

.mrc-page-hero__img {
	display: block;
	width: 100%;
	max-width: 360px;
	height: auto;
	object-fit: contain;
}

.mrc-page-hero__img--mobile-only {
	display: none;
}

.mrc-page-hero-breadcrumbs {
	background: var(--mrc-page-light);
	border-bottom: 1px solid var(--mrc-border-light);
}

.mrc-page-hero-breadcrumbs .mrc-container {
	padding-block: 12px 14px;
}

.mrc-page-hero-breadcrumbs .mrc-breadcrumbs:empty {
	display: none;
}

@media (min-width: 768px) {
	.mrc-page-hero__grid--payment {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
		gap: 0;
		padding-top: clamp(16px, 2.5vw, 28px);
		padding-bottom: 0;
	}

	.mrc-page-hero__grid--payment .mrc-page-hero__content {
		max-width: min(50%, 520px);
		padding-bottom: clamp(16px, 2.5vw, 24px);
	}

	.mrc-page-hero--payment-banner .mrc-page-hero__mascot-unit {
		position: absolute;
		right: 0;
		bottom: 0;
		display: block;
		width: min(32vw, 350px);
		align-self: auto;
	}

	.mrc-page-hero--payment-banner .mrc-page-hero__mascot-visual {
		width: 100%;
		height: auto;
		overflow: visible;
	}

	.mrc-page-hero--payment-banner .mrc-page-hero__mascot-art {
		position: relative;
		display: block;
		width: 100%;
		height: auto;
		max-height: clamp(185px, 18vw, 245px);
		object-fit: contain;
		object-position: center bottom;
		transform: translateY(4%);
	}
}

@media (max-width: 1023px) {
	.mrc-page-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(200px, 0.75fr);
		min-height: clamp(200px, 24vh, 280px);
	}

	.mrc-page-hero__title {
		font-size: clamp(2rem, 5vw, 2.75rem);
	}
}

@media (max-width: 767px) {
	.mrc-page-hero--cover .mrc-page-hero__cover-shade {
		background:
			linear-gradient(180deg, rgba(9, 13, 21, 0.72) 0%, rgba(9, 13, 21, 0.82) 100%);
	}

	.mrc-page-hero__grid:not(.mrc-page-hero__grid--payment),
	.mrc-page-hero__grid--visual-right:not(.mrc-page-hero__grid--payment),
	.mrc-page-hero__grid--visual-hidden-mobile {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		padding-block: clamp(32px, 8vw, 44px);
		gap: 20px;
	}

	.mrc-page-hero__grid--visual-hidden-mobile .mrc-page-hero__visual {
		display: none;
	}

	.mrc-page-hero__grid--visual-below .mrc-page-hero__visual {
		order: 2;
	}

	.mrc-page-hero__grid--payment {
		grid-template-columns: minmax(0, 1fr);
		padding-top: clamp(12px, 3vw, 16px);
		padding-bottom: 0;
	}

	.mrc-page-hero__grid--payment .mrc-page-hero__content {
		max-width: 100%;
	}

	.mrc-page-hero--payment-banner .mrc-page-hero__title {
		font-size: clamp(1.28rem, 5.2vw, 1.65rem);
		margin-bottom: 8px;
		white-space: nowrap;
	}

	.mrc-page-hero--payment-banner .mrc-page-hero__eyebrow {
		margin-bottom: 4px;
		font-size: 0.625rem;
	}

	.mrc-page-hero--payment-banner .mrc-page-hero__intro {
		font-size: 0.8125rem;
		line-height: 1.5;
	}

	.mrc-page-hero--split-visual .mrc-page-hero__content {
		max-width: min(70%, 700px);
	}

	.mrc-page-hero--split-visual .mrc-page-hero__visual {
		width: min(58%, 280px);
	}

	.mrc-page-hero--compact-hero .mrc-page-hero__content {
		max-width: min(62%, 700px);
	}

	.mrc-page-hero--visual-hidden-mobile.mrc-page-hero--compact-hero .mrc-page-hero__content {
		max-width: 100%;
	}

	.mrc-page-hero--visual-hidden-mobile .mrc-page-hero__compact-image {
		display: none;
	}

	.mrc-page-hero--visual-hidden-mobile .mrc-page-hero__visual {
		display: none;
	}

	.mrc-page-hero__img--desktop-only {
		display: none;
	}

	.mrc-page-hero__img--mobile-only {
		display: block;
	}

	.mrc-page-hero__visual .mrc-page-hero__img:not(.mrc-page-hero__img--mobile-only) {
		max-width: 280px;
		margin-inline: auto;
	}

	.mrc-page-hero__monogram {
		width: 70vw;
		height: 70vw;
		right: -20%;
		opacity: 0.2;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mrc-page-hero__meta-item a {
		transition: none;
	}
}
