/* Компактный блок реферальной программы — низ главной страницы */

.referral-home-bottom {
	padding: clamp(40px, 5vw, 56px) 0 clamp(48px, 6vw, 64px);
	background: #ffffff;
}

.referral-home-bottom__card {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	align-items: center;
	gap: clamp(24px, 4vw, 48px);
	padding: clamp(24px, 3.5vw, 36px) clamp(24px, 4vw, 40px);
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(47, 128, 237, 0.08) 0%, rgba(47, 128, 237, 0.02) 42%, rgba(255, 255, 255, 0.9) 100%),
		#ffffff;
	border: 1px solid rgba(47, 128, 237, 0.14);
	box-shadow:
		0 8px 32px rgba(15, 40, 70, 0.1),
		0 2px 10px rgba(15, 40, 70, 0.06);
}

.referral-home-bottom__decor {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
}

.referral-home-bottom__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	background: linear-gradient(145deg, #2f80ed 0%, #2563c7 100%);
	color: #fff;
	box-shadow: 0 12px 32px rgba(47, 128, 237, 0.28);
	position: relative;
}

.referral-home-bottom__badge::before,
.referral-home-bottom__badge::after {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	border: 1px solid rgba(47, 128, 237, 0.18);
	pointer-events: none;
}

.referral-home-bottom__badge::after {
	inset: -22px;
	opacity: 0.45;
}

.referral-home-bottom__badge-rate {
	font-weight: 700;
	font-size: clamp(34px, 3vw, 40px);
	line-height: 1;
	letter-spacing: -0.03em;
}

.referral-home-bottom__badge-text {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 600;
	opacity: 0.92;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.referral-home-bottom__icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.referral-home-bottom__icons li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba(47, 128, 237, 0.1);
}

.referral-home-bottom__icons img {
	display: block;
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.referral-home-bottom__content {
	min-width: 0;
}

.referral-home-bottom__eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #2f80ed;
}

.referral-home-bottom__title {
	margin: 0 0 12px;
	font-family: 'Exo 2', sans-serif;
	font-weight: 700;
	font-size: clamp(22px, 2.4vw, 30px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #1a1a1b;
	max-width: 34em;
}

.referral-home-bottom__text {
	margin: 0 0 22px;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.55;
	color: #4b5563;
	max-width: 42em;
}

.referral-home-bottom__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
}

.referral-home-bottom__btn.btn {
	min-width: 168px;
	box-shadow: 0 4px 16px rgba(47, 128, 237, 0.28);
	text-align: center;
}

.referral-home-bottom__link {
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	color: #2f80ed;
	text-decoration: none;
	border-bottom: 1px solid rgba(47, 128, 237, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.referral-home-bottom__link:hover,
.referral-home-bottom__link:focus-visible {
	color: #1f6dd6;
	border-color: rgba(31, 109, 214, 0.55);
}

@media (max-width: 900px) {
	.referral-home-bottom__card {
		grid-template-columns: 1fr;
	}

	.referral-home-bottom__decor {
		flex-direction: row;
		justify-content: flex-start;
		gap: 16px;
	}

	.referral-home-bottom__badge {
		width: 104px;
		height: 104px;
		flex-shrink: 0;
	}

	.referral-home-bottom__badge-rate {
		font-size: 30px;
	}

	.referral-home-bottom__badge-text {
		font-size: 10px;
	}
}

@media (max-width: 576px) {
	.referral-home-bottom {
		padding-top: 32px;
		padding-bottom: 40px;
	}

	.referral-home-bottom__card {
		padding: 20px 18px;
		border-radius: 20px;
	}

	.referral-home-bottom__decor {
		flex-wrap: wrap;
	}

	.referral-home-bottom__icons {
		width: 100%;
		justify-content: flex-start;
	}

	.referral-home-bottom__btn.btn {
		width: 100%;
	}
}
