/* ===========================================================================
 * DigiDollar Enhancements - "Liquid gold on calm dark"
 * Additive styling for the live stats bar, marketing sections & mobile CTA.
 * Light = default - Dark = html[data-dracula-scheme="dark"]
 * ======================================================================== */

:root {
	--dd-gold: #e0be00;
	--dd-gold-2: #fdb837;
	--dd-gold-bright: #ffbf2f;
	--dd-gold-deep: #9a7d00;
	--dd-grad: linear-gradient(135deg, #fdb837 0%, #ffbf2f 45%, #e0be00 100%);
	--dd-grad-text: linear-gradient(100deg, #c79a00 0%, #fdb837 60%, #ffd366 100%);

	--dd-ink: #18181c;
	--dd-muted: #6c6c78;
	--dd-bg-soft: #faf7ef;

	--dd-card: rgba(255, 255, 255, 0.74);
	--dd-card-brd: rgba(20, 20, 35, 0.08);
	--dd-hair: rgba(224, 190, 0, 0.28);
	--dd-tile: rgba(255, 255, 255, 0.62);
	--dd-console-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3));

	--dd-radius: 18px;
	--dd-radius-lg: 26px;
	--dd-shadow: 0 14px 38px -16px rgba(25, 22, 50, 0.22);
	--dd-glow: 0 18px 60px -26px rgba(224, 190, 0, 0.55);

	--dd-up: #1ea97c;
	--dd-down: #e2554e;

	--dd-space: clamp(40px, 5vw, 74px);
	--dd-gap: clamp(14px, 1.8vw, 22px);
}

html[data-dracula-scheme="dark"] {
	--dd-ink: #f4f1e8;
	--dd-muted: #9a9aa8;
	--dd-bg-soft: #15151a;
	--dd-card: rgba(255, 255, 255, 0.045);
	--dd-card-brd: rgba(255, 255, 255, 0.09);
	--dd-tile: rgba(255, 255, 255, 0.04);
	--dd-console-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
	--dd-shadow: 0 22px 55px -22px rgba(0, 0, 0, 0.7);
	--dd-glow: 0 22px 70px -28px rgba(253, 184, 55, 0.4);
}

/* ---------- shared section scaffolding ---------------------------------- */

/* Full-bleed parent guard.
   The sections below break out to 100vw via margin:calc(50% - 50vw), which
   only stays centred when the content column itself is centred/full-width.
   On this build the theme leaves .left-content at .grid-70 (float + 70%) on
   no-sidebar pages because its usual `.no-active-sidebar div.left-content`
   reset isn't applied (that body class is missing) - so the sections were
   shoved sideways and clipped. Restore a full-width, unfloated column on the
   home page, and on any page that renders these sections without a sidebar. */
body.home .left-content.grid-70,
.left-content.grid-70:has(.dd-section, .dd-stats):not(:has(~ #sidebar)) {
	width: auto !important;
	float: none !important;
}

.dd-section,
.dd-stats {
	position: relative;
	/* Full-bleed: escape the theme's narrow blog content column (.text inside
	   .left-content.grid-70) so these sections span the full viewport width.
	   !important defeats the column's inherited sizing without guessing the
	   exact wrapper selector. */
	box-sizing: border-box;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding: var(--dd-space) clamp(16px, 4vw, 40px);
	color: var(--dd-ink);
	font-family: inherit;
	overflow: hidden;
}

.dd-section__inner,
.dd-stats__inner {
	max-width: 1180px;
	margin-inline: auto;
	position: relative;
	z-index: 1;
}

/* faint gold dotted texture + radial glow on marketing sections */
.dd-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(224, 190, 0, 0.16) 1px, transparent 1.6px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 72%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 72%);
	opacity: 0.5;
	pointer-events: none;
}
.dd-section::after {
	content: "";
	position: absolute;
	top: -22%;
	left: 50%;
	width: 70%;
	height: 60%;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(253, 184, 55, 0.16), transparent 70%);
	filter: blur(20px);
	pointer-events: none;
}

.dd-section__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto clamp(28px, 4vw, 52px);
}

.dd-eyebrow {
	display: inline-block;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--dd-gold-deep);
	padding: 6px 16px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.18), rgba(224, 190, 0, 0.08));
	border: 1px solid var(--dd-hair);
	margin-bottom: 16px;
}
html[data-dracula-scheme="dark"] .dd-eyebrow {
	color: var(--dd-gold-bright);
}

.dd-section__title {
	font-size: clamp(1.5rem, 3.2vw, 2.35rem);
	line-height: 1.3;
	font-weight: 800;
	margin: 0 0 14px;
	background: var(--dd-grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.dd-section__lead {
	font-size: clamp(0.96rem, 1.4vw, 1.08rem);
	line-height: 2;
	color: var(--dd-muted);
	margin: 0;
}

.dd-section__cta {
	text-align: center;
	margin-top: clamp(28px, 4vw, 48px);
}

/* gold button */
.dd-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-weight: 700;
	border-radius: 999px;
	padding: 14px 34px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.dd-btn--gold {
	position: relative;
	color: #1a1400;
	background: var(--dd-grad);
	box-shadow: 0 14px 30px -12px rgba(224, 190, 0, 0.7);
	overflow: hidden;
}
.dd-btn--gold::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
	transform: translateX(-130%);
}
.dd-btn--gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -12px rgba(224, 190, 0, 0.85);
	filter: saturate(1.05);
}
.dd-btn--gold:active {
	transform: translateY(0) scale(0.97);
	box-shadow: 0 9px 20px -12px rgba(224, 190, 0, 0.75);
	filter: saturate(1.02);
}
.dd-btn--gold:hover::after {
	animation: dd-shine 0.9s ease;
}
@keyframes dd-shine {
	to {
		transform: translateX(130%);
	}
}

/* ---------- live market-stats bar -------------------------------------- */

/* faint dot-grid texture for the stats section - no glow */
.dd-stats {
	background-image: url("dd-bg-waves.svg?v=4");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	/* Sits right under the hero - tighter rhythm than the marketing sections. */
	padding-top: clamp(18px, 3vw, 34px);
	padding-bottom: clamp(26px, 3.6vw, 46px);
}

/* Homepage only: pull the first live section up under the «خرید ارز دیجیتال
   و ووچر» hero. Two things bloated that gap - an empty leftover Ultimate-Post
   block rendered between the title and the market bar, and the section's own
   top padding. Kill the empty block and tighten the top padding here. */
body.home .post-content .wp-block-ultimate-post-post-grid-parent:empty { display: none !important; }
body.home .post-content > .text > .dd-stats:first-child,
body.home .dd-stats {
	margin-top: 0 !important;
	padding-top: clamp(8px, 1.4vw, 16px);
}

/* ---- unified market console panel ------------------------------------- */
/* One glass instrument panel that frames BOTH the crypto metrics and the
   physical-asset tiles, so the whole block reads as a single product rather
   than two stacked widgets. */
/* Frameless: the glass panel (background, border, shadow, blur, radius,
   padding) and its decorative gold filament + warm aura are removed at the
   user's request - the title + cards now sit flat with no surrounding box. */
.dd-console {
	position: relative;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	border-radius: 0;
}
.dd-console::before,
.dd-console::after {
	content: none;
	display: none;
}
@keyframes dd-edge {
	to { background-position: 200% 0; }
}

.dd-console__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: clamp(14px, 1.8vw, 20px);
}
.dd-console__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.dd-console__title {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--dd-ink);
}
.dd-console__live {
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--dd-up);
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(30, 169, 124, 0.12);
	border: 1px solid rgba(30, 169, 124, 0.28);
}
.dd-console__updated {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dd-muted);
}
.dd-console__updated svg {
	opacity: 0.75;
	flex: none;
}

/* Homepage market-pulse header - plain typographic row.
   Was: a pulsing green dot and a green «زنده» capsule crowded against the
   title, with the timestamp parked at the far end of a 1180px row - two
   small islands separated by a wide empty gap, and the badge/dot repeated
   what the timestamp already says more credibly. Both are gone (the eyebrow
   pill look is banned in CLAUDE.md) and a plain hairline under the whole row
   now ties the title to the timestamp, so the header reads as one deliberate
   line instead of decorated fragments - and costs about half the height.
   Scoped to .dd-stats because dd-coin-box reuses .dd-console__* unscoped on
   the coin pages and must keep its own header styling. */
.dd-stats .dd-console__head {
	align-items: center;
	gap: 6px 16px;
	padding-bottom: clamp(9px, 1.1vw, 12px);
	border-bottom: 1px solid var(--dd-card-brd);
	margin-bottom: clamp(13px, 1.6vw, 18px);
}
.dd-stats .dd-console__updated {
	font-size: 0.78rem;
}

/* category divider inside the panel (crypto ↑ / physical assets ↓) */
.dd-console__divider {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: clamp(16px, 2.2vw, 26px) 0 clamp(13px, 1.8vw, 18px);
}
.dd-console__divider::before {
	content: "";
	position: absolute;
	top: 50%;
	inset-inline: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--dd-card-brd) 16%, var(--dd-card-brd) 84%, transparent);
}
.dd-console__chip,
.dd-console__chip-sub {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border-radius: 999px;
	background: var(--dd-card);
	border: 1px solid var(--dd-card-brd);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.dd-console__chip {
	font-size: clamp(0.82rem, 1.5vw, 0.96rem);
	font-weight: 800;
	color: var(--dd-ink);
	padding: 5px 15px;
}
.dd-console__chip-sub {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--dd-muted);
	padding: 5px 12px;
}
.dd-console__chip-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dd-gold-2);
	box-shadow: 0 0 0 0 rgba(253, 184, 55, 0.5);
	animation: dd-pulse-gold 2.2s infinite;
}

.dd-stats__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: clamp(16px, 2.4vw, 26px);
}
.dd-stats__title {
	font-size: clamp(1.15rem, 2.2vw, 1.6rem);
	font-weight: 800;
	margin: 0;
	color: var(--dd-ink);
}
.dd-stats__live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--dd-muted);
}
.dd-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dd-up);
	box-shadow: 0 0 0 0 rgba(30, 169, 124, 0.5);
	animation: dd-pulse 2s infinite;
}
@keyframes dd-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(30, 169, 124, 0.5);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(30, 169, 124, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(30, 169, 124, 0);
	}
}

.dd-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: var(--dd-gap);
}

.dd-card {
	position: relative;
	overflow: hidden;
	padding: clamp(14px, 1.6vw, 20px);
	border-radius: var(--dd-radius);
	background:
		radial-gradient(125% 100% at 100% 0%, var(--dd-tile-tint, transparent), transparent 62%),
		var(--dd-tile);
	border: 1px solid var(--dd-card-brd);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
	min-height: 122px;
	display: flex;
	flex-direction: column;
}
.dd-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 38px -22px var(--dd-ac, rgba(224, 190, 0, 0.6));
	border-color: var(--dd-hair);
}

/* per-card identity: subtle corner tint + accent (top filament, icon, glow) */
.dd-card--tether { --dd-ac: #1ea97c; --dd-tile-tint: rgba(30, 169, 124, 0.1); }
.dd-card--mcap   { --dd-ac: #5b76ff; --dd-tile-tint: rgba(91, 118, 255, 0.1); }
.dd-card--dom    { --dd-ac: #9a6cff; --dd-tile-tint: rgba(154, 108, 255, 0.1); }
.dd-card--fng    { --dd-ac: var(--dd-gold-2); --dd-tile-tint: rgba(253, 184, 55, 0.12); }

.dd-card__top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.dd-card__ic {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	color: var(--dd-ac, var(--dd-gold-deep));
	background: var(--dd-tile-tint, rgba(253, 184, 55, 0.12));
	border: 1px solid var(--dd-card-brd);
	flex: none;
}
html[data-dracula-scheme="dark"] .dd-card--fng {
	--dd-ac: var(--dd-gold-bright);
}
.dd-card__label {
	font-size: 0.92rem;
	font-weight: 700;
	margin: 0;
	color: var(--dd-muted);
}
.dd-card__value {
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--dd-ink);
	margin-top: auto;
}
.dd-card__unit {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--dd-muted);
}
.dd-card__foot {
	margin-top: 8px;
	font-size: 0.78rem;
	color: var(--dd-muted);
	display: flex;
	align-items: center;
	gap: 6px;
}
.dd-card__foot--center {
	justify-content: center;
}
.dd-muted {
	color: var(--dd-muted);
	opacity: 0.8;
}
.dd-chg {
	font-weight: 700;
}
.dd-chg.is-up {
	color: var(--dd-up);
}
.dd-chg.is-down {
	color: var(--dd-down);
}

/* dominance */
.dd-dom__rows {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}
.dd-dom__row {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	align-items: center;
	gap: 10px;
}
.dd-dom__name b {
	font-size: 0.8rem;
	color: var(--dd-ink);
	font-weight: 800;
}
.dd-dom__bar {
	height: 7px;
	border-radius: 999px;
	background: rgba(140, 140, 160, 0.18);
	overflow: hidden;
}
.dd-dom__bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--dd-grad);
	transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dd-dom__bar--eth i {
	background: linear-gradient(135deg, #8aa0ff, #6c7cff);
}
.dd-dom__pct {
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--dd-ink);
	min-width: 44px;
	text-align: left;
}

/* fear & greed gauge */
.dd-card--fng {
	align-items: center;
	text-align: center;
}
.dd-gauge {
	position: relative;
	width: 100%;
	max-width: 190px;
	margin: 4px auto 0;
}
.dd-gauge__knob {
	transition: cx 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), cy 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.dd-gauge__center {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	text-align: center;
}
.dd-gauge__val {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--dd-ink);
}

/* live-value colour transition + loading skeleton. The server prints the real
   last-known number when warm, or the "-" placeholder when the cache is cold;
   PHP only tags placeholders with .dd-skel, and dd-widgets.js strips it the
   instant real data arrives - so the shimmer never flashes over good values. */
.dd-card [data-dd],
.dd-metal [data-dd-metal] {
	transition: color 0.3s ease;
}
.dd-skel {
	display: inline-block;
	min-width: 2.6em;
	height: 0.95em;
	vertical-align: -0.1em;
	border-radius: 7px;
	color: transparent !important;
	background: linear-gradient(100deg,
		rgba(140, 140, 160, 0.13) 30%,
		rgba(224, 190, 0, 0.22) 50%,
		rgba(140, 140, 160, 0.13) 70%);
	background-size: 220% 100%;
	animation: dd-skel-shine 1.25s ease-in-out infinite;
}
html[data-dracula-scheme="dark"] .dd-skel {
	background: linear-gradient(100deg,
		rgba(255, 255, 255, 0.05) 30%,
		rgba(253, 184, 55, 0.22) 50%,
		rgba(255, 255, 255, 0.05) 70%);
	background-size: 220% 100%;
}
@keyframes dd-skel-shine {
	0% { background-position: 180% 0; }
	100% { background-position: -80% 0; }
}

/* brief gold flash when a live value actually changes on poll */
.dd-flash { animation: dd-flash 0.9s ease-out; }
@keyframes dd-flash {
	0% { color: var(--dd-gold-deep); text-shadow: 0 0 10px rgba(224, 190, 0, 0.45); }
	100% { color: inherit; text-shadow: none; }
}
html[data-dracula-scheme="dark"] .dd-flash { animation-name: dd-flash-dark; }
@keyframes dd-flash-dark {
	0% { color: var(--dd-gold-bright); text-shadow: 0 0 12px rgba(253, 184, 55, 0.5); }
	100% { color: inherit; text-shadow: none; }
}

/* ---------- mini 24h sparklines (drawn by dd-widgets.js) ---------------- */
.dd-spark {
	display: block;
	width: 100%;
	height: 38px;
	margin-top: 10px;
	overflow: visible;
}
.dd-spark--dom {
	height: 40px;
	margin: 6px 0 12px;
}

/* ---------- precious metals & commodities row -------------------------- */
/* A deliberately distinct "polished metal" treatment so gold/silver/copper/oil
   read as their own premium strip - not a fifth crypto card. Per-metal identity
   rides on --mc (chroma) / --m1---m2 (gradient) / --m-soft (tint); the value
   text stays on --dd-ink so it's always legible in both light and Dracula. */
.dd-metals {
	margin-top: clamp(20px, 2.6vw, 32px);
}
.dd-metals__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	padding-inline: 2px;
}
.dd-metals__title {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: clamp(1rem, 1.8vw, 1.22rem);
	font-weight: 800;
	color: var(--dd-ink);
}
.dd-metals__spark {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dd-gold-2);
	animation: dd-pulse-gold 2.2s infinite;
}
@keyframes dd-pulse-gold {
	0% {
		box-shadow: 0 0 0 0 rgba(253, 184, 55, 0.5);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(253, 184, 55, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(253, 184, 55, 0);
	}
}
.dd-metals__sub {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--dd-muted);
}
.dd-metals__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: var(--dd-gap);
}

/* per-metal palette (light) + Dracula overrides */
.dd-metal--gold {
	--mc: #c79a00;
	--m1: #ffe082;
	--m2: #b8860b;
	--m-soft: rgba(199, 154, 0, 0.13);
}
.dd-metal--silver {
	--mc: #828b9b;
	--m1: #eef1f6;
	--m2: #9aa3b2;
	--m-soft: rgba(138, 147, 163, 0.16);
}
.dd-metal--copper {
	--mc: #b5673a;
	--m1: #f0b48a;
	--m2: #a85a30;
	--m-soft: rgba(181, 103, 58, 0.14);
}
.dd-metal--oil {
	--mc: #1f8f7e;
	--m1: #59cdba;
	--m2: #123a34;
	--m-soft: rgba(31, 143, 126, 0.13);
}
html[data-dracula-scheme="dark"] .dd-metal--gold {
	--mc: #ffd24a;
	--m-soft: rgba(255, 210, 74, 0.12);
}
html[data-dracula-scheme="dark"] .dd-metal--silver {
	--mc: #cfd6e2;
	--m-soft: rgba(207, 214, 226, 0.1);
}
html[data-dracula-scheme="dark"] .dd-metal--copper {
	--mc: #e7a274;
	--m-soft: rgba(231, 162, 116, 0.12);
}
html[data-dracula-scheme="dark"] .dd-metal--oil {
	--mc: #57d3bd;
	--m-soft: rgba(87, 211, 189, 0.12);
}

.dd-metal {
	position: relative;
	overflow: hidden;
	padding: clamp(14px, 1.6vw, 20px);
	border-radius: var(--dd-radius);
	background:
		radial-gradient(125% 100% at 100% 0%, var(--m-soft), transparent 62%),
		var(--dd-tile);
	border: 1px solid var(--dd-card-brd);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
	min-height: 122px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dd-metal:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 38px -22px var(--mc);
	border-color: var(--dd-hair);
}
/* polished-metal shine sweep on hover */
.dd-metal__sheen {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
}
.dd-metal__sheen::before {
	content: "";
	position: absolute;
	top: -10%;
	bottom: -10%;
	width: 38%;
	inset-inline-start: -65%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: skewX(-18deg);
	transition: inset-inline-start 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dd-metal:hover .dd-metal__sheen::before {
	inset-inline-start: 125%;
}
html[data-dracula-scheme="dark"] .dd-metal__sheen::before {
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.dd-metal__head {
	display: flex;
	align-items: center;
	gap: 10px;
}
.dd-metal__ic {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	color: var(--mc);
	background: var(--m-soft);
	border: 1px solid var(--dd-card-brd);
	flex: none;
}
.dd-metal__titles {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}
.dd-metal__name {
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--dd-ink);
}
.dd-metal__per {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--dd-muted);
}
.dd-metal__price {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	gap: 5px;
	flex-wrap: wrap;
}
.dd-metal__toman {
	font-size: clamp(1rem, 2.3vw, 1.5rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--dd-ink);
	font-variant-numeric: tabular-nums;
}
.dd-metal__unit {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--dd-muted);
}
.dd-metal__usd {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--m-soft);
	font-size: 0.78rem;
	line-height: 1.5;
}
.dd-metal__usd-lbl {
	color: var(--dd-muted);
	font-weight: 600;
}
.dd-metal__usd-val {
	color: var(--mc);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

/* ---------- features bento --------------------------------------------- */

.dd-bento {
	display: grid;
	/* !important defeats a theme/plugin rule that forced 5×220px columns and
	   left empty cells. 6 cells / 3 cols = a clean 3×2 grid, no gaps. */
	grid-template-columns: repeat(3, 1fr) !important;
	gap: var(--dd-gap);
	align-items: stretch;
}
.dd-bento__cell {
	padding: clamp(22px, 2.4vw, 30px);
	border-radius: var(--dd-radius-lg);
	background: var(--dd-card);
	border: 1px solid var(--dd-card-brd);
	box-shadow: var(--dd-shadow);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dd-bento__cell:hover {
	transform: translateY(-5px);
	border-color: var(--dd-hair);
	box-shadow: var(--dd-shadow), var(--dd-glow);
}
/* spotlight the first cell with a gold tint - SAME single-column footprint so
   the 3×2 grid stays perfectly filled (no empty cells, no awkward gap) */
.dd-bento__cell--feature {
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.16), var(--dd-card) 60%);
	border-color: var(--dd-hair);
}
.dd-bento__ic {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	color: var(--dd-gold-deep);
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.22), rgba(224, 190, 0, 0.05));
	border: 1px solid var(--dd-hair);
	margin-bottom: 18px;
}
html[data-dracula-scheme="dark"] .dd-bento__ic {
	color: var(--dd-gold-bright);
}
.dd-bento__title {
	font-size: 1.12rem;
	font-weight: 800;
	margin: 0 0 10px;
	color: var(--dd-ink);
}
.dd-bento__text {
	font-size: 0.93rem;
	line-height: 1.95;
	color: var(--dd-muted);
	margin: 0;
}

/* ---------- why-us row ------------------------------------------------- */

.dd-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: var(--dd-gap);
}
.dd-why__cell {
	text-align: center;
	padding: clamp(22px, 2.4vw, 30px) 18px;
	border-radius: var(--dd-radius-lg);
	background: var(--dd-card);
	border: 1px solid var(--dd-card-brd);
	box-shadow: var(--dd-shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dd-why__cell:hover {
	transform: translateY(-5px);
	border-color: var(--dd-hair);
	box-shadow: var(--dd-shadow), var(--dd-glow);
}
.dd-why__ic {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	color: var(--dd-gold-deep);
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.2), rgba(224, 190, 0, 0.05));
	border: 1px solid var(--dd-hair);
	margin-bottom: 16px;
}
html[data-dracula-scheme="dark"] .dd-why__ic {
	color: var(--dd-gold-bright);
}
.dd-why__title {
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--dd-ink);
}
.dd-why__text {
	font-size: 0.9rem;
	line-height: 1.9;
	color: var(--dd-muted);
	margin: 0;
}

/* ---------- floating "ورود به پنل" CTA - premium gold "beacon" ----------
   A high-conversion CTA pinned bottom-centre on every viewport. 100% CSS +
   inline SVG - no images, no JS, no network - and every animation is on
   transform/opacity (GPU-composited) so it never hurts page load. It draws
   the eye with: a breathing gold halo, radiating "tap-here" rings, a glossy
   sheen glint, twinkling sparkles and a little mouse cursor that taps the
   button on a loop. Base state = visible (works without JS). All motion is
   killed under prefers-reduced-motion (block right after this one). */

.dd-panel-fab {
	position: fixed;
	left: 50%;
	bottom: calc(18px + env(safe-area-inset-bottom));
	transform: translate(-50%, 0);
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 24px 10px 16px;
	border-radius: 999px;
	color: #1a1400;
	text-decoration: none;
	white-space: nowrap;
	background: linear-gradient(135deg, #ffe79a 0%, #fdb837 30%, #ffbf2f 55%, #e0be00 100%);
	background-size: 220% 220%;
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 18px 40px -10px rgba(224, 190, 0, 0.80), 0 4px 14px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
	/* dd-fab-grad (background-position drift) removed: it repainted the whole
	   pill every frame (non-composited -> INP presentation delay). The glow,
	   ping, sheen and sparkles carry the motion; the gradient sits at 0% 50%. */
	animation: dd-fab-nudge 7s ease-in-out 2.5s infinite;
	transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.4s ease,
		box-shadow 0.3s ease;
}
/* hidden while at the top of the page (class is dormant but kept for JS) */
.dd-panel-fab.dd-fab-hidden {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 26px);
}

/* breathing gold halo + radiating "tap-here" rings (sit just behind text) */
.dd-panel-fab__beacon {
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: 0 0 26px 5px rgba(255, 191, 47, 0.5);
	animation: dd-fab-glow 3.4s ease-in-out infinite;
}
.dd-panel-fab__beacon::before,
.dd-panel-fab__beacon::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 2px solid rgba(255, 205, 80, 0.7);
	animation: dd-fab-ping 2.8s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
}
.dd-panel-fab__beacon::after {
	animation-delay: 1.4s;
}

/* glossy sheen glint, clipped to the pill */
.dd-panel-fab__sheen {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
	overflow: hidden;
	pointer-events: none;
}
.dd-panel-fab__sheen::before {
	content: "";
	position: absolute;
	top: -30%;
	left: -60%;
	width: 55%;
	height: 160%;
	background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
	transform: translateX(0) skewX(-20deg);
	animation: dd-fab-sheen 5s ease-in-out 1s infinite;
}
.dd-panel-fab__sheen::after {
	content: "";
	position: absolute;
	inset: 1px 1px 56% 1px;
	border-radius: 999px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
}

.dd-panel-fab__ic,
.dd-panel-fab__body {
	position: relative;
	z-index: 2;
}
.dd-panel-fab__ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.30);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
	animation: dd-fab-arrow 2.4s ease-in-out infinite;
}
/* stacked label: bold action on top, value-prop benefit + live dot below */
.dd-panel-fab__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;   /* RTL -> hugs the right (icon) side */
	gap: 3px;
	text-align: right;
	line-height: 1.1;
}
.dd-panel-fab__txt {
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: 0.2px;
}
.dd-panel-fab__sub {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.1px;
	color: #6e5400;            /* muted gold-brown - reads on the gold fill */
}
.dd-panel-fab__live {              /* pulsing "we're live" dot = trust signal */
	position: relative;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #18a957;
}
/* the sonar ring is a scaled/faded pseudo, not an animated box-shadow, so it
   runs on the compositor (box-shadow animations repaint on the main thread) */
.dd-panel-fab__live::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2.5px rgba(24, 169, 87, 0.55);
	opacity: 0;
	animation: dd-fab-live 2.2s ease-out infinite;
}

/* twinkling sparkles (positions/delay set inline via --x/--y/--d) */
.dd-panel-fab__spark {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	margin: -3.5px 0 0 -3.5px;
	pointer-events: none;
	background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, 0.85) 35%, transparent 70%);
	transform: translate(var(--x, 0), var(--y, 0)) scale(0);
	opacity: 0;
	animation: dd-fab-twinkle 4s ease-in-out var(--d, 0s) infinite;
}
.dd-panel-fab__spark::before {
	content: "";
	position: absolute;
	inset: -2px;
	background: linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.9) 50%, transparent 54%),
		linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.9) 50%, transparent 54%);
}

.dd-panel-fab:hover {
	transform: translate(-50%, -4px) scale(1.03);
	box-shadow: 0 26px 54px -10px rgba(224, 190, 0, 0.95), 0 6px 18px rgba(0, 0, 0, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.dd-panel-fab:active {
	transform: translate(-50%, -1px) scale(0.97);
}

@keyframes dd-fab-grad {
	0%, 100% { background-position: 0% 50%; }
	50%      { background-position: 100% 50%; }
}
@keyframes dd-fab-glow {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes dd-fab-nudge {
	0%, 86%, 100% { translate: 0 0; }
	89%           { translate: 0 -5px; }
	93%           { translate: 0 -1px; }
	97%           { translate: 0 -3px; }
}
@keyframes dd-fab-ping {
	0%   { transform: scale(1);    opacity: 0.85; }
	70%  { opacity: 0; }
	100% { transform: scale(1.5);  opacity: 0; }
}
@keyframes dd-fab-sheen {
	0%   { transform: translateX(0) skewX(-20deg); }
	18%  { transform: translateX(320%) skewX(-20deg); }
	100% { transform: translateX(320%) skewX(-20deg); }
}
@keyframes dd-fab-arrow {
	0%, 100% { transform: translateX(0); }
	50%      { transform: translateX(-3px); }
}
@keyframes dd-fab-twinkle {
	0%, 72%, 100% { transform: translate(var(--x, 0), var(--y, 0)) scale(0) rotate(0deg);   opacity: 0; }
	82%           { transform: translate(var(--x, 0), var(--y, 0)) scale(1) rotate(45deg);  opacity: 1; }
	92%           { transform: translate(var(--x, 0), var(--y, 0)) scale(0.4) rotate(80deg); opacity: 0; }
}
@keyframes dd-fab-live {
	0%   { transform: scale(0.8); opacity: 0.8; }
	70%  { transform: scale(1.9); opacity: 0; }
	100% { transform: scale(1.9); opacity: 0; }
}

/* fully calm version for visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.dd-panel-fab,
	.dd-panel-fab *,
	.dd-panel-fab__beacon,
	.dd-panel-fab__beacon::before,
	.dd-panel-fab__beacon::after,
	.dd-panel-fab__sheen::before,
	.dd-panel-fab__spark::before,
	.dd-panel-fab__live::after {
		animation: none !important;
	}
	.dd-panel-fab__beacon::before,
	.dd-panel-fab__beacon::after,
	.dd-panel-fab__spark {
		display: none !important;
	}
}

/* mobile: keep the pill clear of the corner buttons; fit the 2-line label */
@media (max-width: 768px) {
	.dd-panel-fab {
		max-width: 93vw;
		padding: 8px 18px 8px 12px;
		gap: 10px;
		bottom: calc(14px + env(safe-area-inset-bottom));
	}
	.dd-panel-fab__txt { font-size: 0.95rem; }
	.dd-panel-fab__sub { font-size: 0.67rem; }
	.dd-panel-fab__ic  { width: 30px; height: 30px; }
	.dd-panel-fab__ic svg { width: 18px; height: 18px; }
}


/* ---------- non-destructive global polish ------------------------------ */

/* smoother, lifted buttons site-wide */
.wp-block-button__link,
.epcl-button {
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -14px rgba(224, 190, 0, 0.55);
}
/* tactile press feedback on the main interactive elements */
.wp-block-button__link:active,
.epcl-button:active {
	transform: translateY(0) scale(0.97) !important;
}

/* harmonise the theme's back-to-top with the gold brand */
#back-to-top.gradient-button {
	background: var(--dd-grad) !important;
	color: #1a1400 !important;
	box-shadow: 0 10px 24px -10px rgba(224, 190, 0, 0.7);
}

/* gentle glass + gold hairline around the existing crypto price tables */
[class*="mcwidget"],
[class*="mcw-table"] {
	border-radius: var(--dd-radius) !important;
	overflow: hidden;
}
[class*="mcwidget"] {
	box-shadow: var(--dd-shadow);
}

/* collapse empty placeholder blocks that leave ugly bordered gaps between
   sections (empty PostX grids, empty groups / button rows / columns) */
.ultp-post-grid-parent:empty,
.wp-block-ultimate-post-post-grid-parent:empty,
.wp-block-group:empty,
.wp-block-buttons:empty,
.wp-block-columns:empty,
.dd-section:empty {
	display: none !important;
}

/* smoother rhythm between stacked sections: a soft gold band on the bento
   section + tightened vertical gaps so transitions don't feel abrupt */
.dd-features {
	background: radial-gradient(125% 80% at 50% 0%, rgba(253, 184, 55, 0.05), transparent 58%);
}
.dd-stats + .dd-section,
.dd-section + .dd-section {
	margin-top: -8px;
}

/* ---------- responsive -------------------------------------------------- */

@media (max-width: 1023px) {
	.dd-stats__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.dd-metals__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.dd-bento {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.dd-why__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 560px) {
	.dd-stats__grid {
		grid-template-columns: 1fr 1fr !important;
	}
	.dd-metals__grid {
		grid-template-columns: 1fr 1fr !important;
	}
	/* denser tiles so all eight data points fit close to one view */
	.dd-card,
	.dd-metal {
		min-height: 0;
		padding: 13px 13px 15px;
	}
	.dd-card__value {
		font-size: 1.3rem;
	}
	.dd-spark {
		height: 28px;
		margin-top: 8px;
	}
	.dd-console__head {
		gap: 8px 12px;
	}
	.dd-bento {
		grid-template-columns: 1fr !important;
	}
	.dd-why__grid {
		grid-template-columns: 1fr 1fr !important;
	}
}

/* ---------- accessibility ---------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.dd-card,
	.dd-metal,
	.dd-metal__sheen::before,
	.dd-metals__spark,
	.dd-console::before,
	.dd-console__chip-dot,
	.dd-bento__cell,
	.dd-why__cell,
	.dd-dom__bar i,
	.dd-gauge__knob,
	.dd-panel-fab,
	.dd-panel-fab::after,
	.dd-btn--gold::after,
	.dd-skel,
	.dd-flash,
	.dd-dot {
		transition: none !important;
		animation: none !important;
	}
}

/* ===========================================================================
 * NEW SECTIONS - trust - coins - vouchers  (+ fail-safe scroll reveal)
 * Same "liquid gold" tokens as above; deliberately distinct layouts so the
 * page never reads as four identical grids.
 * ======================================================================== */

/* gentle background rhythm between the new stacked sections */
.dd-coins {
	background: radial-gradient(120% 80% at 50% 0%, rgba(253, 184, 55, 0.04), transparent 60%);
}
.dd-vouchers {
	background: radial-gradient(120% 80% at 50% 100%, rgba(253, 184, 55, 0.05), transparent 60%);
}

/* ---------- trust: asymmetric split + checklist panel ------------------- */

.dd-trust__inner {
	display: grid;
	grid-template-columns: 1fr 1.05fr !important;
	gap: clamp(26px, 4vw, 56px);
	align-items: center;
}
.dd-trust__intro {
	text-align: right;
}
.dd-trust .dd-section__title,
.dd-trust .dd-section__lead {
	margin-inline: 0;
}
.dd-trust__cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 22px;
	margin-top: clamp(18px, 2.6vw, 26px);
}
.dd-trust__news {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	color: var(--dd-gold-deep);
	transition: gap 0.25s ease, color 0.25s ease;
}
html[data-dracula-scheme="dark"] .dd-trust__news {
	color: var(--dd-gold-bright);
}
.dd-trust__news:hover {
	gap: 11px;
}
.dd-trust__news svg {
	flex: none;
}
.dd-trust__list {
	margin: 0;
	padding: clamp(14px, 1.6vw, 22px);
	list-style: none;
	border-radius: var(--dd-radius-lg);
	background: var(--dd-card);
	border: 1px solid var(--dd-card-brd);
	box-shadow: var(--dd-shadow);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	backdrop-filter: blur(12px) saturate(1.2);
}
.dd-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: clamp(11px, 1.3vw, 15px) 8px;
	border-bottom: 1px solid var(--dd-card-brd);
	transition: transform 0.25s ease;
}
.dd-trust__item:last-child {
	border-bottom: 0;
}
.dd-trust__item:hover {
	transform: translateX(-4px);
}
.dd-trust__check {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 12px;
	color: var(--dd-gold-deep);
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.22), rgba(224, 190, 0, 0.05));
	border: 1px solid var(--dd-hair);
}
html[data-dracula-scheme="dark"] .dd-trust__check {
	color: var(--dd-gold-bright);
}
.dd-trust__txt {
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.7;
	color: var(--dd-ink);
}

/* ---------- coins: category cards with token chips ---------------------- */

.dd-coins__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
	gap: var(--dd-gap);
	align-items: stretch;
}
.dd-coins__cat {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 2.2vw, 26px);
	border-radius: var(--dd-radius-lg);
	background: var(--dd-card);
	border: 1px solid var(--dd-card-brd);
	box-shadow: var(--dd-shadow);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dd-coins__cat:hover {
	transform: translateY(-5px);
	border-color: var(--dd-hair);
	box-shadow: var(--dd-shadow), var(--dd-glow);
}
.dd-coins__cat-head {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 18px;
}
.dd-coins__cat-ic {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 14px;
	color: var(--dd-gold-deep);
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.2), rgba(224, 190, 0, 0.05));
	border: 1px solid var(--dd-hair);
}
html[data-dracula-scheme="dark"] .dd-coins__cat-ic {
	color: var(--dd-gold-bright);
}
.dd-coins__cat-meta {
	min-width: 0;
}
.dd-coins__cat-title {
	font-size: 1.05rem;
	font-weight: 800;
	margin: 0 0 2px;
	color: var(--dd-ink);
}
.dd-coins__cat-desc {
	font-size: 0.82rem;
	font-weight: 600;
	margin: 0;
	color: var(--dd-muted);
}
.dd-coins__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: auto;
}
.dd-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--dd-ink);
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.12), rgba(224, 190, 0, 0.04));
	border: 1px solid var(--dd-hair);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dd-chip:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -12px rgba(224, 190, 0, 0.7);
}
.dd-chip:active {
	transform: translateY(0) scale(0.96);
}
/* chips that link to a coin page - keep the chip look, add affordance */
a.dd-chip {
	text-decoration: none;
	color: var(--dd-ink);
	cursor: pointer;
}
a.dd-chip:hover {
	border-color: var(--dd-gold-2);
}
.dd-chip__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: none;
	background: var(--dd-grad);
	box-shadow: 0 0 0 3px rgba(224, 190, 0, 0.12);
}
.dd-chip__tk {
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	color: var(--dd-muted);
	opacity: 0.9;
}

/* ---------- vouchers: prepaid-card tiles -------------------------------- */

.dd-vouchers__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
	gap: var(--dd-gap);
}
.dd-voucher {
	position: relative;
	overflow: hidden;
	padding: clamp(20px, 2.2vw, 26px);
	border-radius: var(--dd-radius-lg);
	background: linear-gradient(150deg, rgba(253, 184, 55, 0.1), var(--dd-card) 55%);
	border: 1px solid var(--dd-card-brd);
	box-shadow: var(--dd-shadow);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.dd-voucher:hover {
	transform: translateY(-6px);
	border-color: var(--dd-hair);
	box-shadow: var(--dd-shadow), var(--dd-glow);
}
.dd-voucher__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.dd-voucher__chip {
	display: grid;
	place-items: center;
	width: 52px;
	height: 40px;
	border-radius: 10px;
	color: var(--dd-gold-deep);
	background: linear-gradient(135deg, rgba(253, 184, 55, 0.28), rgba(224, 190, 0, 0.08));
	border: 1px solid var(--dd-hair);
}
html[data-dracula-scheme="dark"] .dd-voucher__chip {
	color: var(--dd-gold-bright);
}
.dd-voucher__brand {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--dd-muted);
	opacity: 0.8;
}
.dd-voucher__name {
	font-size: 1.08rem;
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--dd-ink);
}
.dd-voucher__desc {
	font-size: 0.9rem;
	line-height: 1.95;
	color: var(--dd-muted);
	margin: 0;
}

/* the tiles are now real links to the voucher money pages */
a.dd-voucher,
a.dd-voucher:hover {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
}
.dd-voucher__go {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--dd-gold-deep);
}
html[data-dracula-scheme="dark"] .dd-voucher__go {
	color: var(--dd-gold-2);
}
.dd-voucher__go svg {
	transition: transform 0.25s ease;
}
.dd-voucher:hover .dd-voucher__go svg {
	transform: translateX(-4px);
}

/* ---------- trust: E-E-A-T accountability links -------------------------- */

.dd-trust__eeat {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: clamp(18px, 2.5vw, 28px);
	padding-top: clamp(16px, 2vw, 22px);
	border-top: 1px dashed var(--dd-hair);
}
.dd-trust__eeat a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--dd-ink) !important;
	text-decoration: none !important;
	background: var(--dd-tile);
	border: 1px solid var(--dd-card-brd);
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.dd-trust__eeat a:hover {
	border-color: var(--dd-hair);
	background: linear-gradient(120deg, rgba(253, 184, 55, 0.12), rgba(224, 190, 0, 0.06));
	transform: translateY(-2px);
	box-shadow: var(--dd-shadow);
}
.dd-trust__eeat-ic {
	display: grid;
	place-items: center;
	color: var(--dd-gold-deep);
}
html[data-dracula-scheme="dark"] .dd-trust__eeat-ic {
	color: var(--dd-gold-2);
}

/* ---------- fail-safe scroll reveal ------------------------------------- */
/* Hidden state only exists once JS adds html.dd-reveal-on, so if JS never
   runs the content stays fully visible. */
html.dd-reveal-on .dd-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: opacity, transform;
}
html.dd-reveal-on .dd-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* checklist items cascade in once their panel reveals. Opacity-only animation
   (not a transition) so it never delays the item's :hover translateX. */
html.dd-reveal-on .dd-trust__list.dd-reveal .dd-trust__item {
	opacity: 0;
}
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item {
	animation: dd-fade-in 0.5s ease both;
}
@keyframes dd-fade-in {
	to { opacity: 1; }
}
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(1) { animation-delay: 0.04s; }
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(2) { animation-delay: 0.1s; }
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(3) { animation-delay: 0.16s; }
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(4) { animation-delay: 0.22s; }
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(5) { animation-delay: 0.28s; }
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(6) { animation-delay: 0.34s; }
html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item:nth-child(n + 7) { animation-delay: 0.4s; }

/* ---------- responsive for the new sections ----------------------------- */

@media (max-width: 900px) {
	.dd-trust__inner {
		grid-template-columns: 1fr !important;
	}
}
@media (max-width: 560px) {
	.dd-vouchers__grid {
		grid-template-columns: 1fr 1fr !important;
	}
}
@media (max-width: 400px) {
	.dd-vouchers__grid,
	.dd-coins__grid {
		grid-template-columns: 1fr !important;
	}
}

/* ---------- reduced-motion for the new sections ------------------------- */

@media (prefers-reduced-motion: reduce) {
	.dd-coins__cat,
	.dd-voucher,
	.dd-chip,
	.dd-trust__item,
	.dd-trust__news,
	html.dd-reveal-on .dd-reveal {
		transition: none !important;
		animation: none !important;
	}
	html.dd-reveal-on .dd-reveal,
	html.dd-reveal-on .dd-trust__list.dd-reveal.is-in .dd-trust__item {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}
/* Hide auto featured/thumbnail image at top of the Coins page (33248) */
.page-id-33248 #single .fullcover-wrapper .featured-image{display:none!important;}

/* Video player - fit to content, height-capped, poster matches the video.
 * The element sizes to its real content (no forced figure box, so no #0b0b0b
 * background can show as black filler). max-height keeps the tall PORTRAIT video
 * from being overly long; max-width keeps the landscape one in the column.
 * object-fit:contain = never crop, never distort. The posters were regenerated
 * to each video's exact ratio (...-vfit.webp = 740x1322 / 1296x670), so poster
 * ratio == video ratio: no bars and no shape-change between poster and play. */
.wp-block-video{
	width:fit-content;
	max-width:100%;
	margin-inline:auto;
	text-align:center;
}
.wp-block-video video{
	display:block;
	width:auto !important;
	height:auto !important;
	max-width:100%;
	max-height:600px;             /* portrait video isn't very long */
	aspect-ratio:auto !important; /* follow the (matched) content ratio */
	object-fit:contain;           /* never crop, never distort */
	background:transparent;
	border:0 !important;
	border-radius:var(--dd-radius,14px) !important;
}

/* =====================================================================
   BOTTOM FLOATING CONTROLS -> glass-capsule skin (match the menu bar)
   ---------------------------------------------------------------------
   The back-to-top + dark-mode toggle stay glass (white translucent centre
   + gold hairline + blur) to echo the nav capsule. The "ورود به پنل" panel
   FAB is deliberately the exception - it owns the bold gold "beacon" look
   defined far above, so it pops as the page's primary call-to-action.
   Tokens (--ddh-*) come from dd-header.css :root; in dark mode they
   auto-flip to the dark-glass values, like the menu bar.
   ===================================================================== */
#footer #back-to-top.gradient-button {
	background: var(--ddh-bar-bg, rgba(255,255,255,0.72)) !important;
	border: 1px solid var(--ddh-bar-brd, rgba(224,190,0,0.30)) !important;
	box-shadow: var(--ddh-bar-shadow, 0 18px 50px -24px rgba(25,22,50,0.30)) !important;
	-webkit-backdrop-filter: blur(18px) saturate(150%) !important;
	backdrop-filter: blur(18px) saturate(150%) !important;
	color: var(--ddh-gold-deep, #9a7d00) !important;
}
/* back-to-top arrow is an outline svg (stroke=currentColor) -> recolour via
   color only (NOT fill, or the arrow would fill solid) */
#footer #back-to-top.gradient-button svg { color: var(--ddh-gold-deep, #9a7d00) !important; }

/* dark-mode toggle: the plugin paints a gold circle - make the visible
   button glass + gold border and gold the icon. Neutralise inner fills so
   there's a single clean circle. */
.dracula-toggle-wrap .dracula-toggle {
	background: var(--ddh-bar-bg, rgba(255,255,255,0.72)) !important;
	border: 1px solid var(--ddh-bar-brd, rgba(224,190,0,0.30)) !important;
	box-shadow: var(--ddh-bar-shadow, 0 18px 50px -24px rgba(25,22,50,0.30)) !important;
	-webkit-backdrop-filter: blur(18px) saturate(150%) !important;
	backdrop-filter: blur(18px) saturate(150%) !important;
}
.dracula-toggle-wrap .dracula-toggle .toggle-icon-wrap {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
.dracula-toggle-wrap .dracula-toggle svg {
	fill: var(--ddh-gold-deep, #9a7d00) !important;
	color: var(--ddh-gold-deep, #9a7d00) !important;
}
