.vpl-widget {
	--vpl-navy: #102a43;
	--vpl-blue: #1877f2;
	--vpl-green: #18864b;
	--vpl-pale: #f3f8fc;
	--vpl-gold: #ffbf3f;
	--vpl-border: #d6e2ec;
	--vpl-text: #243b53;
	color: var(--vpl-text);
	font-family: inherit;
	margin: 2rem auto;
	max-width: 760px;
}

.vpl-widget *,
.vpl-widget *::before,
.vpl-widget *::after {
	box-sizing: border-box;
}

.vpl-card {
	background: #fff;
	border: 1px solid var(--vpl-border);
	border-radius: 18px;
	box-shadow: 0 14px 40px rgba(16, 42, 67, 0.12);
	overflow: hidden;
	padding: clamp(24px, 5vw, 48px);
	position: relative;
}

.vpl-card::before {
	background: linear-gradient(90deg, var(--vpl-gold), #ff7a59, var(--vpl-blue));
	content: "";
	height: 6px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.vpl-eyebrow {
	color: #8a4b00;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
}

.vpl-heading {
	color: var(--vpl-navy);
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	line-height: 1.15;
	margin: 0 0 14px;
}

.vpl-intro {
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 0 0 24px;
}

.vpl-loading,
.vpl-error {
	background: var(--vpl-pale);
	border-radius: 10px;
	padding: 14px 16px;
}

.vpl-error {
	border-left: 4px solid #c62828;
	color: #8b1e1e;
}

.vpl-label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

.vpl-link-row {
	display: flex;
	gap: 9px;
}

.vpl-link {
	background: #fff;
	border: 1px solid #9fb3c8;
	border-radius: 9px;
	color: #334e68;
	flex: 1;
	font: inherit;
	min-width: 0;
	padding: 12px 14px;
}

.vpl-button {
	align-items: center;
	border: 0;
	border-radius: 9px;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 750;
	justify-content: center;
	line-height: 1.2;
	padding: 12px 17px;
	text-align: center;
	text-decoration: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.vpl-button:hover,
.vpl-button:focus {
	box-shadow: 0 5px 14px rgba(16, 42, 67, 0.18);
	filter: brightness(0.97);
	transform: translateY(-1px);
}

.vpl-copy {
	background: var(--vpl-navy);
	color: #fff;
	white-space: nowrap;
}

.vpl-share-buttons {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 14px;
}

.vpl-whatsapp {
	background: #25d366;
	color: #0d351d;
}

.vpl-facebook {
	background: var(--vpl-blue);
	color: #fff;
}

.vpl-native-share {
	background: #e6eef5;
	color: var(--vpl-navy);
	grid-column: 1 / -1;
}

.vpl-progress-wrap {
	background: var(--vpl-pale);
	border-radius: 12px;
	margin-top: 20px;
	padding: 16px;
}

.vpl-progress-track {
	background: #d9e6ef;
	border-radius: 999px;
	height: 12px;
	overflow: hidden;
}

.vpl-progress-bar {
	background: linear-gradient(90deg, var(--vpl-gold), var(--vpl-green));
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 0.35s ease;
	width: 0;
}

.vpl-status {
	font-weight: 700;
	margin: 10px 0 0;
}

.vpl-reward {
	background: #ecf9f0;
	border: 2px solid #8ad1a5;
	border-radius: 14px;
	margin-top: 24px;
	padding: 22px;
	text-align: center;
}

.vpl-tick {
	align-items: center;
	background: var(--vpl-green);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 1.35rem;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.vpl-reward h3 {
	color: #105c35;
	margin: 10px 0 5px;
}

.vpl-reward p {
	margin: 0 0 14px;
}

.vpl-download {
	background: var(--vpl-green);
	color: #fff;
	font-size: 1.05rem;
}

.vpl-widget [hidden] {
	display: none !important;
}

@media (max-width: 600px) {
	.vpl-card {
		border-radius: 13px;
		padding: 28px 20px;
	}

	.vpl-link-row,
	.vpl-share-buttons {
		display: grid;
		grid-template-columns: 1fr;
	}

	.vpl-native-share {
		grid-column: auto;
	}
}
