.welcome-bonus {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 6000;
	font-family: 'Montserrat Alternates', 'Montserrat', 'Inter', sans-serif;
}
.welcome-bonus.is-active,
.modal.modal-welcome-bonus.active {
	display: flex;
}
.welcome-bonus__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 15% 20%, rgba(144, 90, 255, 0.4), transparent 35%),
	radial-gradient(circle at 80% 0%, rgba(61, 127, 255, 0.35), transparent 25%),
	rgba(8, 7, 18, 0.8);
	backdrop-filter: blur(6px);
}
.welcome-bonus__container {
	position: relative;
	width: min(440px, calc(100% - 32px));
	background: linear-gradient(135deg, #7f38ff 0%, #1a1039 100%);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), 0 12px 30px rgba(85, 45, 255, 0.45);
	color: #f5f7ff;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.welcome-bonus__container::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 18px;
	background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
	radial-gradient(circle at 85% 40%, rgba(45, 201, 255, 0.18), transparent 55%);
	pointer-events: none;
}
.welcome-bonus__image {
	margin: -22px -22px 16px;
	border-radius: 18px 18px 0 0;
	overflow: hidden;
}
.welcome-bonus__image img {
	display: block;
	width: 100%;
	height: auto;
}
.welcome-bonus__content {
	position: relative;
	z-index: 1;
}
.welcome-bonus__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(0, 0, 0, 0.35);
	color: #f5f5f5;
	font-size: 18px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	z-index: 10;
}
.welcome-bonus__close:hover {
	background: rgba(0, 0, 0, 0.5);
	transform: translateY(-1px);
}
.welcome-bonus__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a8e4ff;
	margin-bottom: 12px;
}
.welcome-bonus__title {
	font-size: 24px;
	line-height: 1.15;
	font-weight: 800;
	margin: 0 0 10px;
	color: #ffffff;
}
.welcome-bonus__lead {
	margin: 0 0 14px;
	color: #dfe8ff;
	line-height: 1.4;
	font-size: 15px;
}
.welcome-bonus__reward {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 12px 16px;
	margin-bottom: 12px;
}
.welcome-bonus__sum {
	font-size: 30px;
	font-weight: 900;
	color: #ffffff;
	text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.welcome-bonus__plus {
	font-size: 24px;
	font-weight: 800;
	color: #ffe07c;
}
.welcome-bonus__fs {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	color: #a1ffef;
}
.welcome-bonus__fs-count {
	font-size: 22px;
	font-weight: 800;
}
.welcome-bonus__fs-label {
	font-size: 13px;
	opacity: 0.9;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.welcome-bonus__note {
	margin: 0 0 6px;
	color: #d6e0ff;
	font-size: 14px;
}
.welcome-bonus__terms {
	margin: 0 0 14px;
	color: #b0b8d4;
	font-size: 13px;
	line-height: 1.4;
}
.welcome-bonus__actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
}
.welcome-bonus__primary {
	width: 100%;
	border: none;
	border-radius: 14px;
	padding: 14px;
	font-size: 16px;
	font-weight: 800;
	color: #0f1b0f;
	background: linear-gradient(135deg, #53ff9f 0%, #36e28a 50%, #2dd15a 100%);
	box-shadow: 0 14px 38px rgba(67, 255, 161, 0.45), inset 0 -3px 8px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.welcome-bonus__primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 44px rgba(67, 255, 161, 0.5), inset 0 -3px 8px rgba(0, 0, 0, 0.15);
}
.welcome-bonus__primary:active {
	transform: translateY(0);
}
.welcome-bonus__secondary {
	width: 100%;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
	color: #e5e9ff;
	font-weight: 700;
	padding: 12px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.welcome-bonus__secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.32);
}
@media (max-width: 480px) {
	.welcome-bonus__container {
		padding: 18px;
	}
	.welcome-bonus__title {
		font-size: 22px;
	}
	.welcome-bonus__lead {
		font-size: 14px;
	}
	.welcome-bonus__sum {
		font-size: 26px;
	}
}

/* Совместимость со старыми классами для JS */
.modal.modal-welcome-bonus {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: transparent !important;
	background-color: transparent !important;
}
.modal.modal-welcome-bonus .modal__body {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
body.welcome-bonus-open .overlay {
	background: rgba(6, 6, 20, 0.35);
	backdrop-filter: blur(10px);
}
