/*
 * Dopee – the "Dopee Arrow" button block
 * style and the scroll-lit text effect (.dp-scrub).
 */

/* Scroll-linked reveal: words light up as you scroll (JS adds .dp-scrub-w) */
.dp-scrub-w {
	opacity: var(--o, 0.22);
	transition: opacity 0.25s linear;
}

/* Glass pill button with round arrow (block style "Dopee Arrow") */
.is-style-dopee-arrow .wp-block-button__link,
	--h: 40px;
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: var(--h);
	padding: 0 calc(var(--h) + 18px) 0 16px;
	font-family: var(--ls-sans, inherit);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)), #2a2c2c;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.is-style-dopee-arrow .wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 3px;
	right: 3px;
	bottom: 3px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.5);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat, rgba(255, 255, 255, 0.06);
	transition: transform 0.5s var(--dp-ease), background-color 0.3s;
}

.is-style-dopee-arrow .wp-block-button__link:hover::after {
	transform: rotate(-45deg);
	background-color: var(--dp-primary);
	border-color: var(--dp-primary);
}


@media (prefers-reduced-motion: reduce) {
	.dp-scrub-w {
		opacity: 1 !important;
	}
}
