/**
 * TGG Share Buttons (Phase E3) — "Rủ bạn cùng chơi" CTA.
 */

.tgg-share {
	margin: 28px 0;
	padding: 22px 20px;
	background: linear-gradient(135deg, #fff7f0 0%, #fde6f0 100%);
	border: 1px solid #ffd4bf;
	border-radius: 14px;
	text-align: center;
}

.tgg-share__title {
	margin: 0 0 6px;
	font-size: 20px;
	color: #1f2937;
}

.tgg-share__sub {
	margin: 0 0 16px;
	font-size: 14px;
	color: #6b7280;
}

.tgg-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.tgg-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
	cursor: pointer;
}

.tgg-share-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
	color: #fff !important;
}

.tgg-share-btn:active {
	transform: translateY(0);
}

.tgg-share-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .22);
	font-size: 13px;
	font-weight: 700;
}

.tgg-share-btn--facebook  { background: #1877f2; }
.tgg-share-btn--messenger { background: linear-gradient(135deg, #00c6ff, #0078ff); }
.tgg-share-btn--zalo      { background: #0068ff; }
.tgg-share-btn--copy_link { background: #4b5563; }
.tgg-share-btn--twitter   { background: #0f1419; }
.tgg-share-btn--telegram  { background: #229ed9; }

.tgg-share__feedback {
	min-height: 1.4em;
	margin: 12px 0 0;
	font-size: 14px;
	color: #047857;
	opacity: 0;
	transition: opacity .2s ease;
}

.tgg-share__feedback.is-visible {
	opacity: 1;
}

@media (max-width: 480px) {
	.tgg-share {
		padding: 18px 14px;
	}
	.tgg-share__title {
		font-size: 18px;
	}
	.tgg-share-btn {
		padding: 9px 12px;
	}
	.tgg-share-btn__label {
		display: none;
	}
	.tgg-share-btn__icon {
		width: 24px;
		height: 24px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tgg-share-btn,
	.tgg-share__feedback {
		transition: none;
	}
}
