/**
 * Slots grid (shared shell).
 * Variant skins: slots-1/
 */

.slots {
	--slots-font: var(--site-font, "Open Sans", Inter, sans-serif);
	--slots-name: #bbbcd5;
	--slots-demo: #f9ff00;
	--slots-more: #faff03;
	--slots-overlay: rgba(0, 0, 0, 0.59);

	box-sizing: border-box;
	margin: 0 0 89px;
	width: 100%;
}

.slots__show-all {
	color: var(--slots-name);
	display: none;
	font-family: var(--slots-font);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 16px;
	margin: 0 0 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.slots__show-all:hover,
.slots__show-all:focus-visible {
	color: var(--slots-name);
	text-decoration: underline;
}

.slots__grid {
	box-sizing: border-box;
	display: grid;
	width: 100%;
}

.slots__item {
	align-items: center;
	color: var(--slots-name);
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	text-decoration: none;
}

.slots__item:hover,
.slots__item:focus-visible {
	color: var(--slots-name);
	text-decoration: none;
}

.slots__thumb {
	background: #121031;
	border-radius: 20px;
	box-sizing: border-box;
	display: block;
	isolation: isolate;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.slots__img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.slots__hover {
	align-items: center;
	background: var(--slots-overlay);
	border-radius: 20px;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
	transition: opacity 0.2s ease;
	z-index: 1;
}

.slots__item:hover .slots__hover,
.slots__item:focus-visible .slots__hover {
	opacity: 1;
}

.slots__play {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 9px;
	height: 86px;
	justify-content: flex-start;
	width: 66px;
}

.slots__play-btn {
	align-items: center;
	background: var(--slots-demo);
	border-radius: 500px;
	box-sizing: border-box;
	display: flex;
	flex-shrink: 0;
	height: 66px;
	justify-content: center;
	width: 66px;
}

.slots__play-icon {
	display: block;
	flex-shrink: 0;
	height: 21px;
	margin-left: 2px;
	width: 17px;
}

.slots__demo {
	color: var(--slots-demo);
	display: block;
	font-family: var(--slots-font);
	font-size: 15px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 16px;
	text-align: center;
	text-transform: capitalize;
}

.slots__name {
	display: block;
	font-family: var(--slots-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 16px;
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

.slots__more {
	align-items: center;
	background: transparent;
	border: 0;
	box-sizing: border-box;
	color: var(--slots-more);
	cursor: pointer;
	display: none;
	font-family: var(--slots-font);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 16px;
	margin: 29px auto 0;
	padding: 0;
}

.slots__more:hover,
.slots__more:focus-visible {
	color: var(--slots-more);
	opacity: 0.9;
}

.slots__more-icon {
	display: block;
	flex-shrink: 0;
	height: 16px;
	width: 20px;
}

.slots__more-text {
	display: block;
}

@media (max-width: 768px) {
	.slots {
		margin: 0 0 14px;
	}

	.slots__show-all {
		display: inline-block;
	}

	.slots:not(.slots--expanded) .slots__item:nth-child(n + 7) {
		display: none;
	}

	.slots__more {
		display: inline-flex;
	}

	.slots__play-btn {
		height: 48px;
		width: 48px;
	}

	.slots__play-icon {
		height: 15px;
		width: 12px;
	}

	.slots__play {
		gap: 6px;
		height: auto;
		width: 48px;
	}

	.slots__demo {
		font-size: 12px;
		line-height: 14px;
	}
}
