/* Sticky bottom rating plate — same design as Nuxt TopRatingPopup */

.trp {
	position: fixed;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%) translateY(120%);
	z-index: 70;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: min(1100px, calc(100% - 24px));
	max-width: calc(100% - 24px);
	padding: 16px 56px 16px 28px;
	border-radius: 14px;
	background: linear-gradient(120deg, #3f5cf6 0%, #3a54e6 55%, #4361f0 100%);
	box-shadow: 0 12px 34px rgba(37, 52, 145, 0.4);
	overflow: hidden;
	color: #fff;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.trp.is-visible {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.trp__coins {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.trp__coin {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.55);
	font-size: 15px;
	font-weight: 700;
}

.trp__coin--1 { left: 14px; top: 12px; }
.trp__coin--2 { left: 26px; bottom: 12px; }
.trp__coin--3 { left: 50%; bottom: 6px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.1); }
.trp__coin--4 { right: 150px; top: 10px; }
.trp__coin--5 { right: 120px; bottom: 12px; }

.trp__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-width: 0;
	padding-left: 46px;
}

.trp__text { min-width: 0; }

.trp__heading {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.2px;
}

.trp__hl {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 7px;
	background: #fff;
	color: #3a54e6;
}

.trp__subtext {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.85);
}

.trp__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.trp__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	padding: 16px 30px;
	border-radius: 12px;
	background: #fff;
	color: #1f2a44;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s, transform 0.2s;
}

.trp__btn:hover {
	background: #eef1ff;
	transform: translateY(-1px);
	color: #1f2a44;
}

.trp__btn--tg {
	background: #229ed9;
	color: #fff;
}

.trp__btn--tg:hover {
	background: #1b8bc0;
	color: #fff;
}

.trp__btn-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.trp__close {
	position: absolute;
	top: 10px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s;
}

.trp__close:hover { background: rgba(255, 255, 255, 0.3); }
.trp__close svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
	.trp {
		bottom: 10px;
		padding: 14px 44px 14px 16px;
		width: calc(100% - 16px);
		max-width: calc(100% - 16px);
	}

	.trp__coins { display: none; }

	.trp__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding-left: 0;
	}

	.trp__heading { font-size: 19px; }
	.trp__subtext { font-size: 13px; }

	.trp__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		width: 100%;
	}

	.trp__btn {
		width: 100%;
		justify-content: center;
		padding: 13px 20px;
		font-size: 15px;
	}
}
