/* ── Promo Hero block ──────────────────────────────────────────────────────── */

.tmb-promo-hero {
	background: linear-gradient(135deg, var(--tmb-hero-grad-start, #667eea) 0%, var(--tmb-hero-grad-end, #764ba2) 100%);
	color: #fff;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: 40px 48px;
	margin: 0;
	display: grid;
	gap: 24px;
	justify-items: center;
	border-radius: 12px;
}

/* ── Glimmer overlay ───────────────────────────────────────────────────────── */

.tmb-promo-hero-glow {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 30%,
		rgba(255, 255, 255, 0.2) 50%,
		rgba(255, 255, 255, 0) 70%
	);
	transform: translateX(-150%);
	animation: tmb-hero-glimmer 5s ease-in-out infinite;
	pointer-events: none;
}

/* ── Header row ────────────────────────────────────────────────────────────── */

.tmb-promo-hero-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: #fff;
}

.tmb-promo-hero-icon {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		var(--tmb-hero-grad-start, #667eea) 0%,
		var(--tmb-hero-grad-end, #764ba2) 100%
	);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
	position: relative;
	overflow: hidden;
}

.tmb-promo-hero--glimmer .tmb-promo-hero-icon::after {
	content: "";
	position: absolute;
	inset: -40%;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 30%,
		rgba(255, 255, 255, 0.45) 50%,
		rgba(255, 255, 255, 0) 70%
	);
	transform: translateX(-150%);
	animation: tmb-hero-glimmer 3.5s ease-in-out infinite;
	pointer-events: none;
}

.tmb-promo-hero-icon .dashicons {
	color: #fff;
	font-size: 48px;
	width: 48px;
	height: 48px;
}

.tmb-promo-hero-text {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.tmb-promo-hero-title {
	margin: 0;
	color: #fff;
	font-size: 24px;
	font-weight: 800;
}

.tmb-promo-hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
	border: none;
	color: #fff;
	box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	border-radius: 999px;
}

/* ── Message ───────────────────────────────────────────────────────────────── */

.tmb-promo-hero-message {
	color: rgba(255, 255, 255, 0.9);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	max-width: 500px;
	text-align: center;
}

/* ── Actions / button ──────────────────────────────────────────────────────── */

.tmb-promo-hero-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.tmb-promo-hero-btn {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	padding: 20px 28px;
	border-radius: 4px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: box-shadow 0.3s ease;
	box-shadow:
		0 10px 26px rgba(255, 255, 255, 0.16),
		0 14px 32px rgba(102, 126, 234, 0.35);
	position: relative;
	overflow: hidden;
	min-width: 240px;
	justify-content: center;
	text-decoration: none;
	line-height: 1;
}

.tmb-promo-hero-btn:hover {
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
	color: #fff;
}

.tmb-promo-hero-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	line-height: 1;
	flex-shrink: 0;
}

.tmb-promo-hero--glimmer .tmb-promo-hero-btn::after {
	content: "";
	position: absolute;
	inset: -40%;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 30%,
		rgba(255, 255, 255, 0.45) 50%,
		rgba(255, 255, 255, 0) 70%
	);
	transform: translateX(-150%);
	pointer-events: none;
	animation: tmb-hero-glimmer 3.5s ease-in-out infinite;
}

/* ── Animations ────────────────────────────────────────────────────────────── */

@keyframes tmb-hero-glimmer {
	0%, 100% { transform: translateX(-150%); }
	50%       { transform: translateX(150%);  }
}

@keyframes tmb-hero-icon-pulse {
	0%, 100% { transform: scale(1);   opacity: 1; }
	50%       { transform: scale(1.1); opacity: 0.85; }
}

.tmb-promo-hero-icon .dashicons {
	animation: tmb-hero-icon-pulse 3s ease-in-out infinite;
}
