/**
 * Premium benefits / features — site-wide design system.
 */

.bb58-premium-benefits {
	position: relative;
	padding: clamp(2.25rem, 4.5vw, 3.75rem) 0;
}

.bb58-premium-benefits__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 72% 58% at 18% 48%, color-mix(in srgb, var(--color-primary) 9%, transparent), transparent 68%),
		radial-gradient(ellipse 48% 42% at 88% 18%, color-mix(in srgb, var(--color-primary) 6%, transparent), transparent 62%);
	pointer-events: none;
}

.bb58-premium-benefits__inner {
	position: relative;
	z-index: 1;
}

.bb58-premium-benefits__header {
	margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
	text-align: center;
}

.bb58-premium-benefits__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 0.75rem;
}

.bb58-premium-benefits__eyebrow-logo {
	display: block;
	width: auto;
	max-width: 132px;
	height: 34px;
	object-fit: contain;
	object-position: center;
}

.bb58-premium-benefits__eyebrow-label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.bb58-premium-benefits__title {
	margin: 0;
	font-size: clamp(1.45rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
}

/* Grid */
.bb58-premium-benefits__grid {
	display: grid;
	grid-template-columns: repeat(var(--bb58-benefits-cols, 5), minmax(0, 1fr));
	gap: clamp(0.85rem, 1.5vw, 1.15rem);
	align-items: stretch;
}

@media (max-width: 1199px) {
	.bb58-premium-benefits__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 899px) {
	.bb58-premium-benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.bb58-premium-benefits__grid {
		grid-template-columns: 1fr;
	}
}

/* Card */
.bb58-premium-benefits__card {
	display: flex;
	flex-direction: column;
	min-height: clamp(360px, 36vw, 420px);
	height: 100%;
	padding: 0;
	border-radius: 20px;
	overflow: hidden;
	text-align: center;
	background:
		linear-gradient(165deg, rgba(20, 18, 14, 0.98) 0%, rgba(8, 8, 10, 0.99) 58%, rgba(12, 11, 9, 0.98) 100%);
	border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 color-mix(in srgb, var(--color-primary) 12%, transparent);
	transition:
		transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
		border-color 0.32s ease,
		box-shadow 0.32s ease;
}

.bb58-premium-benefits__card:hover {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--color-primary) 52%, transparent);
	box-shadow:
		0 26px 54px rgba(0, 0, 0, 0.5),
		0 0 0 1px color-mix(in srgb, var(--color-primary) 14%, transparent),
		inset 0 1px 0 color-mix(in srgb, var(--color-primary) 22%, transparent);
}

/* Illustration — focal point (~50% card height) */
.bb58-premium-benefits__visual {
	flex: 0 0 50%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.65rem, 1.2vw, 0.85rem) clamp(0.75rem, 1.4vw, 1rem) 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse 88% 78% at 50% 62%, color-mix(in srgb, var(--color-primary) 7%, transparent), transparent 72%);
}

.bb58-premium-benefits__art {
	display: block;
	width: auto;
	height: 100%;
	max-width: 96%;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
	filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.38));
	transform: scale(1.35);
	transform-origin: center center;
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.bb58-premium-benefits__card:hover .bb58-premium-benefits__art {
	transform: scale(1.42);
}

.bb58-premium-benefits__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(5.5rem, 42%, 7.5rem);
	height: clamp(5.5rem, 42%, 7.5rem);
	border-radius: 50%;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 800;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Text */
.bb58-premium-benefits__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.55rem;
	padding: clamp(0.85rem, 1.6vw, 1.15rem) clamp(0.95rem, 1.8vw, 1.25rem) clamp(1.1rem, 2vw, 1.35rem);
}

.bb58-premium-benefits__card-title {
	margin: 0;
	font-size: clamp(1.02rem, 1.35vw, 1.15rem);
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.bb58-premium-benefits__card-desc {
	margin: 0;
	font-size: clamp(0.82rem, 1vw, 0.9rem);
	line-height: 1.62;
	color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

.bb58-premium-benefits__card-desc strong {
	color: #fff;
}

@media (max-width: 599px) {
	.bb58-premium-benefits__card {
		min-height: 380px;
	}
}

/* Slots landing — full-bleed 16:9 premium artwork cards */
.bb58-premium-benefits--slots .bb58-premium-benefits__visual {
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	background: #08080a;
}

.bb58-premium-benefits--slots .bb58-premium-benefits__art {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
	transform: none;
	filter: none;
}

.bb58-premium-benefits--slots .bb58-premium-benefits__card:hover .bb58-premium-benefits__art {
	transform: none;
}

/* Sports betting landing — full-bleed 16:9 premium artwork cards */
.bb58-premium-benefits--sports-betting .bb58-premium-benefits__visual {
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	background: #08080a;
}

.bb58-premium-benefits--sports-betting .bb58-premium-benefits__art {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center center;
	transform: none;
	filter: none;
}

.bb58-premium-benefits--sports-betting .bb58-premium-benefits__card:hover .bb58-premium-benefits__art {
	transform: none;
}
