.amc-offers {
	--amc-accent: #18acdb;
	--amc-btn: #18acdb;
	--amc-card: #16181d;
	--amc-line: #2a2e36;
	color: #fff;
	max-width: 1100px;
	margin: 0 auto;
}

.amc-offers-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 14px;
}

.amc-offers-card {
	display: grid;
	grid-template-columns: 72px 1fr auto;
	align-items: center;
	gap: 10px;
	background: var(--amc-card);
	border: 1px solid var(--amc-line);
	border-radius: 14px;
	padding: 12px;
	margin: 0 0 10px;
}

.amc-offers-card--top {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
	padding: 12px 12px 12px;
	margin-bottom: 10px;
	border: 2px solid var(--amc-accent);
	box-shadow: 0 0 0 4px rgba(24, 172, 219, 0.12);
}

.amc-offers-rank {
	display: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #2a2e36;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	align-items: center;
	justify-content: center;
}

.amc-offers-logo img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 12px;
}

.amc-offers-card--top .amc-offers-logo img {
	width: 96px;
	height: 96px;
	border-radius: 16px;
}

.amc-offers-name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.amc-offers-card--top .amc-offers-name {
	font-size: 22px;
	margin-top: 6px;
}

.amc-offers-bonus {
	font-size: 12px;
	line-height: 1.35;
	color: #c9d0d8;
	margin-top: 4px;
}

.amc-offers-card--top .amc-offers-bonus {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	margin: 8px 0 0;
}

.amc-offers-card--top .amc-offers-bonus p {
	margin: 0;
}

.amc-offers-details {
	margin-top: 6px;
}

.amc-offers-details-btn {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	color: var(--amc-accent);
	font-size: 13px;
	font-weight: 700;
	list-style: none;
}

.amc-offers-details-btn::-webkit-details-marker {
	display: none;
}

.amc-offers-details-btn::after {
	content: " ▾";
}

.amc-offers-details[open] .amc-offers-details-btn::after {
	content: " ▴";
}

.amc-offers-details .offer-items {
	margin-top: 6px;
	text-align: left;
	font-size: 13px;
	font-weight: 500;
}

.amc-offers-card--item {
	align-items: start;
}

.amc-offers-card--item .amc-offers-bonus {
	display: block;
	font-size: 12px;
	font-weight: 500;
	color: #c9d0d8;
	margin-top: 4px;
}

.amc-offers-card--item .amc-offers-bonus p {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}

.amc-offers-card--item .amc-offers-details {
	grid-column: 1 / -1;
}

.amc-offers-card--item .amc-offers-play {
	align-self: center;
}

.amc-offers-rating {
	font-size: 13px;
	color: #8b93a0;
	margin-top: 2px;
}

.amc-offers-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--amc-btn);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none !important;
	white-space: nowrap;
}

.amc-offers-card--top .amc-offers-play {
	width: 100%;
	max-width: 280px;
	margin-top: 12px;
	padding: 14px 18px;
	font-size: 15px;
}

.amc-offers-play:hover {
	filter: brightness(1.08);
	color: #fff !important;
}

@media (min-width: 992px) {
	.amc-offers-list {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 16px;
	}

	.amc-offers-rank {
		display: flex;
	}

	.amc-offers-card--item {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		margin: 0;
		padding: 20px 16px 16px;
		min-height: 100%;
	}

	.amc-offers-card--item .amc-offers-logo img {
		width: 84px;
		height: 84px;
	}

	.amc-offers-card--item .amc-offers-play {
		width: 100%;
		margin-top: 12px;
	}

	.amc-offers-card--top {
		grid-template-columns: 40px 120px 1fr auto;
		justify-items: stretch;
		text-align: left;
		padding: 22px 24px;
	}

	.amc-offers-card--top .amc-offers-rank {
		display: flex;
		width: 32px;
		height: 32px;
		background: var(--amc-accent);
		font-size: 14px;
	}

	.amc-offers-card--top .amc-offers-name {
		font-size: 20px;
		margin-top: 8px;
	}

	.amc-offers-card--top .amc-offers-bonus {
		font-size: 18px;
		font-weight: 700;
		margin: 8px 0 4px;
	}

	.amc-offers-card--item .amc-offers-bonus {
		display: block;
		text-align: center;
	}

	.amc-offers-details > summary {
		display: none;
	}

	.amc-offers-details > .offer-items,
	.amc-offers-bonus .offer-items {
		display: block !important;
		margin-top: 8px;
		font-size: 13px;
		font-weight: 500;
	}

	.amc-offers-card--top .amc-offers-bonus .offer-items {
		text-align: left;
	}

	.amc-offers-card--top .amc-offers-logo img {
		width: 120px;
		height: 120px;
	}

	.amc-offers-card--top .amc-offers-play {
		width: auto;
		min-width: 180px;
		margin-top: 0;
	}
}
