/**
 * Promotions archive — premium showcase layout.
 */

.bb58-promotion-archive {
	--bb58-promo-ease: cubic-bezier(0.4, 0, 0.2, 1);
	background: var(--color-background);
	color: var(--color-text);
}

/* ── Hero ── */
.bb58-promotion-archive-hero {
	position: relative;
	padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
	overflow: hidden;
	isolation: isolate;
	background-color: #070709;
}

.bb58-promotion-archive-hero__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.bb58-promotion-archive-hero__particle {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 55%, transparent), transparent 70%);
	opacity: 0.07;
	filter: blur(2px);
}

.bb58-promotion-archive-hero__particle--1 { width: 180px; height: 180px; top: 12%; left: 8%; }
.bb58-promotion-archive-hero__particle--2 { width: 120px; height: 120px; top: 55%; right: 12%; opacity: 0.05; }
.bb58-promotion-archive-hero__particle--3 { width: 90px; height: 90px; bottom: 18%; left: 42%; opacity: 0.06; }

.bb58-promotion-archive-hero__deco {
	position: absolute;
	opacity: 0.06;
	filter: blur(0.5px);
}

.bb58-promotion-archive-hero__deco--chip {
	width: 64px; height: 64px; top: 20%; right: 18%;
	border: 3px dashed color-mix(in srgb, var(--color-primary) 80%, #fff);
	border-radius: 50%;
}

.bb58-promotion-archive-hero__deco--card {
	width: 48px; height: 68px; bottom: 22%; right: 28%;
	border: 2px solid color-mix(in srgb, var(--color-primary) 70%, #fff);
	border-radius: 6px;
	transform: rotate(12deg);
}

.bb58-promotion-archive-hero__deco--reel {
	width: 56px; height: 56px; top: 32%; left: 62%;
	border: 2px solid color-mix(in srgb, var(--color-primary) 60%, #fff);
	border-radius: 8px;
	background: repeating-linear-gradient(90deg, transparent, transparent 8px, color-mix(in srgb, var(--color-primary) 30%, transparent) 8px, color-mix(in srgb, var(--color-primary) 30%, transparent) 10px);
}

.bb58-promotion-archive-hero__deco--coin {
	width: 40px; height: 40px; bottom: 30%; left: 18%;
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.bb58-promotion-archive-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 130% 120% at 50% 45%, transparent 50%, rgba(0, 0, 0, 0.65) 100%),
		linear-gradient(180deg, rgba(7, 7, 10, 0.86) 0%, rgba(7, 7, 10, 0.82) 50%, rgba(7, 7, 10, 0.9) 100%);
	pointer-events: none;
}

.bb58-promotion-archive-hero__glow {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 58% 55% at 22% 28%, color-mix(in srgb, var(--color-primary) 32%, transparent), transparent 62%),
		radial-gradient(ellipse 40% 42% at 85% 75%, color-mix(in srgb, var(--color-primary) 12%, transparent), transparent 58%);
	mix-blend-mode: screen;
	pointer-events: none;
}

.bb58-promotion-archive-hero__container { position: relative; z-index: 2; }

.bb58-promotion-archive-hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3.25rem);
	align-items: center;
}

@media (min-width: 900px) {
	.bb58-promotion-archive-hero__inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}
}

.bb58-promotion-archive-hero__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.bb58-promotion-archive-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 1.4rem + 2.5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--color-text);
}

.bb58-promotion-archive-hero__intro {
	margin: 0 0 1.5rem;
	max-width: 38rem;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

.bb58-promotion-archive-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
}

.bb58-promotion-archive-hero__btn.bb58-btn {
	min-height: 48px;
	padding: 0.75rem 1.35rem;
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: transform 0.28s var(--bb58-promo-ease), box-shadow 0.28s var(--bb58-promo-ease), border-color 0.28s var(--bb58-promo-ease), background 0.28s var(--bb58-promo-ease);
}

.bb58-promotion-archive-hero__btn.bb58-btn--primary:hover,
.bb58-promotion-archive-hero__btn.bb58-btn--primary:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.bb58-promotion-archive-hero__btn.bb58-btn--secondary {
	color: var(--color-text);
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.bb58-promotion-archive-hero__btn.bb58-btn--secondary:hover,
.bb58-promotion-archive-hero__btn.bb58-btn--secondary:focus-visible {
	transform: translateY(-2px);
	color: var(--color-primary);
	border-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.bb58-promotion-archive-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb58-promotion-archive-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-text) 82%, transparent);
}

.bb58-promotion-archive-hero__badge-icon { flex-shrink: 0; color: var(--color-primary); }

.bb58-promotion-archive-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.5vw, 1rem);
}

@media (min-width: 900px) {
	.bb58-promotion-archive-hero__stats { grid-template-columns: 1fr; }
}

.bb58-promotion-archive-hero__stat {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 118px;
	padding: clamp(1.1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.5rem);
	border-radius: 16px;
	text-align: center;
	background: linear-gradient(150deg, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent 60%), color-mix(in srgb, var(--color-card-background) 42%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 34%, transparent);
	backdrop-filter: blur(14px) saturate(130%);
	-webkit-backdrop-filter: blur(14px) saturate(130%);
	box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 8%, transparent), 0 12px 32px rgba(0, 0, 0, 0.38);
	transition: transform 0.3s var(--bb58-promo-ease), border-color 0.3s var(--bb58-promo-ease), box-shadow 0.3s var(--bb58-promo-ease);
}

@media (min-width: 900px) {
	.bb58-promotion-archive-hero__stat { text-align: left; }
}

.bb58-promotion-archive-hero__stat-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.55rem;
	color: var(--color-primary);
}

@media (min-width: 900px) {
	.bb58-promotion-archive-hero__stat-icon-wrap { justify-content: flex-start; }
}

.bb58-promotion-archive-hero__stat:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
	box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent), 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 26px color-mix(in srgb, var(--color-primary) 32%, transparent);
}

.bb58-promotion-archive-hero__stat-value {
	margin: 0 0 0.3rem;
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
	font-weight: 800;
	line-height: 1.1;
	color: var(--color-primary);
	font-variant-numeric: tabular-nums;
}

.bb58-promotion-archive-hero__stat-label {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-text) 72%, transparent);
}

/* ── Shared section titles ── */
.bb58-promotion-archive-categories__title,
.bb58-promotion-archive-featured__title,
.bb58-promotion-archive-grid__title,
.bb58-promotion-archive-why__title,
.bb58-promotion-archive-terms__title,
.bb58-promotion-archive-faq__title,
.bb58-promotion-archive-links__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--color-text);
}

.bb58-promotion-archive-categories__intro,
.bb58-promotion-archive-featured__intro,
.bb58-promotion-archive-grid__intro,
.bb58-promotion-archive-why__intro,
.bb58-promotion-archive-terms__intro,
.bb58-promotion-archive-faq__intro {
	margin: 0 0 1.5rem;
	max-width: 48rem;
	font-size: 1rem;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-text) 74%, transparent);
}

/* ── Featured ── */
.bb58-promotion-archive-featured {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--color-card-background) 40%, transparent), transparent 85%);
}

.bb58-promotion-archive-featured__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.25rem;
}

.bb58-promotion-archive-featured__item {
	position: relative;
}

.bb58-promotion-archive-featured__badge {
	position: absolute;
	top: 0.85rem;
	left: 0.85rem;
	z-index: 3;
	padding: 0.3rem 0.65rem;
	border-radius: 6px;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0a0a0c;
	background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 70%, #fff));
	box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.bb58-promotion-archive-featured__item .bb58-premium-promo {
	height: 100%;
	transition: transform 0.3s var(--bb58-promo-ease), box-shadow 0.3s var(--bb58-promo-ease);
}

.bb58-promotion-archive-featured__item .bb58-premium-promo:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 44px color-mix(in srgb, #000 42%, transparent), 0 0 32px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

/* ── Why ── */
.bb58-promotion-archive-why {
	position: relative;
	padding: clamp(2.5rem, 5vw, 4.5rem) 0;
	overflow: hidden;
}

.bb58-promotion-archive-why__bg {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 15% 50%, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 65%);
	pointer-events: none;
}

.bb58-promotion-archive-why__inner { position: relative; z-index: 1; }

.bb58-promotion-archive-why__split {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3rem);
	align-items: center;
}

@media (min-width: 900px) {
	.bb58-promotion-archive-why__split {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}
}

.bb58-promotion-archive-why__illustration {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

.bb58-promotion-archive-why__illustration-glow {
	position: absolute;
	inset: 10%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 22%, transparent), transparent 70%);
	filter: blur(24px);
}

.bb58-promotion-archive-why__illustration-svg {
	position: relative;
	width: min(100%, 360px);
	height: auto;
	color: var(--color-primary);
}

.bb58-promotion-archive-why__features {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}

@media (min-width: 640px) {
	.bb58-promotion-archive-why__features { grid-template-columns: repeat(2, 1fr); }
}

.bb58-promotion-archive-why__feature {
	display: flex;
	gap: 0.85rem;
	padding: 1.1rem 1rem;
	border-radius: 14px;
	background: color-mix(in srgb, var(--color-card-background) 75%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
	transition: border-color 0.25s var(--bb58-promo-ease), transform 0.25s var(--bb58-promo-ease);
}

.bb58-promotion-archive-why__feature:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.bb58-promotion-archive-why__feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 10px;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.bb58-promotion-archive-why__feature-icon svg { width: 1.25rem; height: 1.25rem; }

.bb58-promotion-archive-why__feature-title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text);
}

.bb58-promotion-archive-why__feature-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-text) 68%, transparent);
}

/* ── Categories ── */
.bb58-promotion-archive-categories {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.bb58-promotion-archive-categories__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.bb58-promotion-archive-categories__chip {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: color-mix(in srgb, var(--color-text) 85%, transparent);
	background: color-mix(in srgb, var(--color-card-background) 70%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
	transition: border-color 0.25s var(--bb58-promo-ease), color 0.25s var(--bb58-promo-ease), background 0.25s var(--bb58-promo-ease), transform 0.25s var(--bb58-promo-ease);
}

.bb58-promotion-archive-categories__chip:hover,
.bb58-promotion-archive-categories__chip.is-active {
	color: var(--color-primary);
	border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	transform: translateY(-1px);
}

.bb58-promotion-archive-categories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 1rem;
}

.bb58-promotion-archive-categories__card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.35rem 1.25rem;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	background: color-mix(in srgb, var(--color-card-background) 80%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 14%, transparent);
	transition: transform 0.28s var(--bb58-promo-ease), border-color 0.28s var(--bb58-promo-ease), box-shadow 0.28s var(--bb58-promo-ease);
}

.bb58-promotion-archive-categories__card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--color-primary) 42%, transparent);
	box-shadow: 0 14px 32px color-mix(in srgb, #000 32%, transparent);
}

.bb58-promotion-archive-categories__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.bb58-promotion-archive-categories__icon svg { width: 1.35rem; height: 1.35rem; }

.bb58-promotion-archive-categories__card-title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
}

.bb58-promotion-archive-categories__card-desc {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-text) 68%, transparent);
}

/* ── Grid ── */
.bb58-promotion-archive-grid {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.bb58-promotion-archive-grid__count {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-primary);
}

.bb58-promotion-archive-grid__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.25rem;
}

.bb58-promotion-archive-grid__cards .bb58-premium-promo {
	height: 100%;
	transition: transform 0.28s var(--bb58-promo-ease), box-shadow 0.28s var(--bb58-promo-ease);
}

.bb58-promotion-archive-grid__cards .bb58-premium-promo:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px color-mix(in srgb, #000 38%, transparent);
}

/* ── Bonus terms timeline ── */
.bb58-promotion-archive-terms {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--color-card-background) 30%, transparent), transparent);
	border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.bb58-promotion-archive-terms__timeline {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb58-promotion-archive-terms__item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.bb58-promotion-archive-terms__marker {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding-top: 0.25rem;
}

.bb58-promotion-archive-terms__step {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 800;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.bb58-promotion-archive-terms__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 10px;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-card-background) 80%, transparent);
}

.bb58-promotion-archive-terms__icon svg { width: 1.15rem; height: 1.15rem; }

.bb58-promotion-archive-terms__card {
	padding: 1.25rem 1.35rem;
	border-radius: 14px;
	background: color-mix(in srgb, var(--color-card-background) 82%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 14%, transparent);
	transition: border-color 0.25s var(--bb58-promo-ease), box-shadow 0.25s var(--bb58-promo-ease);
}

.bb58-promotion-archive-terms__card:hover {
	border-color: color-mix(in srgb, var(--color-primary) 32%, transparent);
	box-shadow: 0 8px 24px color-mix(in srgb, #000 22%, transparent);
}

.bb58-promotion-archive-terms__card-title {
	margin: 0 0 0.45rem;
	font-size: 1.0625rem;
	font-weight: 700;
}

.bb58-promotion-archive-terms__card-desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

/* ── FAQ ── */
.bb58-promotion-archive-faq {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	border-top: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

/* ── Internal links ── */
.bb58-promotion-archive-links {
	padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
	background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-card-background) 25%, transparent));
}

.bb58-promotion-archive-links__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 1rem;
}

.bb58-promotion-archive-links__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.35rem 1.25rem 1.35rem;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	background: color-mix(in srgb, var(--color-card-background) 78%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 12%, transparent);
	transition: transform 0.28s var(--bb58-promo-ease), border-color 0.28s var(--bb58-promo-ease), box-shadow 0.28s var(--bb58-promo-ease);
}

.bb58-promotion-archive-links__card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
	box-shadow: 0 12px 28px color-mix(in srgb, #000 28%, transparent);
}

.bb58-promotion-archive-links__card-title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--color-text);
}

.bb58-promotion-archive-links__card-desc {
	margin: 0;
	padding-right: 1.5rem;
	font-size: 0.875rem;
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-text) 68%, transparent);
}

.bb58-promotion-archive-links__card-arrow {
	position: absolute;
	right: 1rem;
	bottom: 1.1rem;
	color: var(--color-primary);
	transition: transform 0.25s var(--bb58-promo-ease);
}

.bb58-promotion-archive-links__card:hover .bb58-promotion-archive-links__card-arrow {
	transform: translateX(4px);
}

.bb58-promotion-archive-links__card-arrow svg { width: 1.1rem; height: 1.1rem; }
