/* ── Google Fonts ───────────────────────────────────────────── */
/* Inter: clean modern body font. Orbitron: display/headings only. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@700;900&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
	--bp-gold: #f59e0b;
	--bp-gold-light: #fcd34d;
	--bp-epic: #a855f7;
	--bp-rare: #3b82f6;
	--bp-uncommon: #22c55e;
	--bp-common: #6b7280;
	--bp-legendary: #f59e0b;

	--bp-bg-primary: #0a0f1e;
	--bp-bg-card: #0d1424;
	--bp-bg-elevated: #111827;
	--bp-border: rgba(255, 255, 255, 0.08);
	--bp-border-glow: rgba(72, 127, 255, 0.4);

	--bp-text-primary: #f1f5f9;
	--bp-text-secondary: #94a3b8;
	--bp-text-muted: #94a3b8;

	--bp-font-display: 'Orbitron', sans-serif;
	--bp-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

[data-theme='light'] {
	--bp-bg-primary: #f0f4ff;
	--bp-bg-card: #ffffff;
	--bp-bg-elevated: #e8edf8;
	--bp-border: rgba(0, 0, 0, 0.08);
	--bp-text-primary: #0f172a;
	--bp-text-secondary: #475569;
	--bp-text-muted: #94a3b8;
}

/* ── Base Reset for Events pages ────────────────────────────── */
.bp-root {
	font-family: var(--bp-font-body);
	background: var(--bp-bg-primary);
	min-height: 100vh;
	color: var(--bp-text-primary);
	/* Sticky footer: column flex keeps footer at the bottom
       regardless of how much content the page has.          */
	display: flex;
	flex-direction: column;
}

/* Grows to fill all space between the navbar and footer. */
.bp-page-content {
	flex: 1;
}

/* ── Footer ─────────────────────────────────────────────────── */
.bp-footer {
	background: var(--bp-bg-elevated);
	border-top: 1px solid var(--bp-border);
	padding: 18px 24px;
	font-size: 0.82rem;
	color: var(--bp-text-muted);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

/* Collapses to centred single column on very small screens */
@media (max-width: 520px) {
	.bp-footer {
		flex-direction: column;
		text-align: center;
		gap: 6px;
	}
}

.bp-footer a {
	color: var(--bp-text-muted);
	text-decoration: none;
	transition: color 0.2s;
}

.bp-footer a:hover {
	color: var(--bp-text-primary);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.bp-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(10, 15, 30, 0.85);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--bp-border);
	padding: 0 24px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

[data-theme='light'] .bp-nav {
	background: rgba(240, 244, 255, 0.9);
}

.bp-nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-family: var(--bp-font-display);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--bp-text-primary);
	letter-spacing: 0.05em;
}

.bp-nav-brand i {
	font-size: 1.4rem;
	color: var(--bp-gold);
}

.bp-nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ── Mobile hamburger button ────────────────────────────────── */
.bp-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: transparent;
	border: 1px solid var(--bp-border);
	color: var(--bp-text-primary);
	border-radius: 8px;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	transition:
		background 0.15s,
		border-color 0.15s;
}
.bp-nav-toggle:hover {
	background: var(--bp-bg-elevated);
	border-color: rgba(72, 127, 255, 0.4);
}

/* ── Mobile drawer ───────────────────────────────────────────── */
.bp-nav-mobile {
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	z-index: 999;
	display: none; /* block only on mobile via media query */
	background: rgba(10, 15, 30, 0.97);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--bp-border);
	max-height: calc(100vh - 64px);
	overflow-y: auto;
	transform: translateY(-6px);
	opacity: 0;
	pointer-events: none;
	transition:
		transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.18s ease;
}
.bp-nav-mobile.open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.bp-nav-mobile-inner {
	padding: 14px 14px 22px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bp-nav-mobile-user {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	border-radius: 12px;
	margin-bottom: 6px;
}

.bp-nav-mobile-divider {
	height: 1px;
	background: var(--bp-border);
	margin: 6px 2px;
}

.bp-nav-mobile-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--bp-text-secondary);
	font-size: 0.92rem;
	font-weight: 600;
	border: 1px solid transparent;
	transition:
		background 0.15s,
		color 0.15s,
		border-color 0.15s;
}
.bp-nav-mobile-link i {
	font-size: 1.15rem;
	width: 22px;
	text-align: center;
	flex-shrink: 0;
	color: var(--bp-text-muted);
	transition: color 0.15s;
}
.bp-nav-mobile-link:hover {
	background: var(--bp-bg-elevated);
	border-color: var(--bp-border);
	color: var(--bp-text-primary);
	text-decoration: none;
}
.bp-nav-mobile-link:hover i {
	color: var(--bp-gold);
}

/* Admin variant */
.bp-nav-mobile-link--admin i {
	color: var(--bp-gold);
}
.bp-nav-mobile-link--admin:hover {
	border-color: rgba(245, 158, 11, 0.25);
	background: rgba(245, 158, 11, 0.06);
}

/* Danger / logout */
.bp-nav-mobile-link--danger {
	color: #f87171;
}
.bp-nav-mobile-link--danger i {
	color: #f87171;
}
.bp-nav-mobile-link--danger:hover {
	background: rgba(239, 68, 68, 0.08);
	border-color: rgba(239, 68, 68, 0.2);
	color: #fca5a5;
}
.bp-nav-mobile-link--danger:hover i {
	color: #fca5a5;
}

/* Discord / login */
.bp-nav-mobile-link--discord {
	background: #5865f2;
	color: #fff;
	border-color: transparent;
	justify-content: center;
	margin-top: 4px;
}
.bp-nav-mobile-link--discord i {
	color: #fff;
}
.bp-nav-mobile-link--discord:hover {
	background: #4752c4;
	border-color: transparent;
	color: #fff;
}
.bp-nav-mobile-link--discord:hover i {
	color: #fff;
}

@media (max-width: 768px) {
	.bp-nav-toggle {
		display: flex;
	}
	.bp-nav-actions {
		display: none !important;
	}
	.bp-nav-mobile {
		display: block;
	}
}

.bp-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid var(--bp-gold);
	object-fit: cover;
}

.bp-username {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--bp-text-primary);
}

/* ── Buttons ────────────────────────────────────────────────── */
.bp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border-radius: 8px;
	font-family: var(--bp-font-body);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: all 0.2s ease;
}

.bp-btn-discord {
	background: #5865f2;
	color: #fff;
}
.bp-btn-discord:hover {
	background: #4752c4;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.bp-btn-primary {
	background: linear-gradient(135deg, #487fff, #3b68e8);
	color: #fff;
	box-shadow: 0 2px 12px rgba(72, 127, 255, 0.3);
}
.bp-btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(72, 127, 255, 0.5);
	color: #fff;
	text-decoration: none;
}

.bp-btn-gold {
	background: linear-gradient(135deg, var(--bp-gold), #d97706);
	color: #000;
	font-weight: 700;
}
.bp-btn-gold:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
	color: #000;
	text-decoration: none;
}

.bp-btn-danger {
	background: linear-gradient(135deg, #ef4444, #b91c1c);
	color: #fff;
}
.bp-btn-danger:hover {
	transform: translateY(-1px);
	color: #fff;
	text-decoration: none;
}

.bp-btn-ghost {
	background: transparent;
	border: 1px solid var(--bp-border);
	color: var(--bp-text-secondary);
}
.bp-btn-ghost:hover {
	border-color: rgba(72, 127, 255, 0.5);
	color: var(--bp-text-primary);
	text-decoration: none;
}

.bp-btn-sm {
	padding: 5px 12px;
	font-size: 0.8rem;
}
.bp-btn-lg {
	padding: 14px 32px;
	font-size: 1rem;
}

/* ============================================================
   HERO / SEASON BANNER
   ============================================================ */
.bp-hero {
	position: relative;
	overflow: hidden;
	/* 64px nav height + 48px breathing room, bottom unchanged */
	padding: 112px 24px 48px;
	text-align: center;
	background: linear-gradient(135deg, #0a0f1e 0%, #0d1a3a 50%, #0a0f1e 100%);
}

.bp-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 50% -10%, rgba(72, 127, 255, 0.2) 0%, transparent 70%),
		radial-gradient(ellipse 40% 30% at 80% 80%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
		radial-gradient(ellipse 40% 30% at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
	pointer-events: none;
}

.bp-hero-particles {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.bp-particle {
	position: absolute;
	width: 2px;
	height: 2px;
	background: var(--bp-gold);
	border-radius: 50%;
	animation: bp-float linear infinite;
	opacity: 0;
}

@keyframes bp-float {
	0% {
		transform: translateY(100vh) scale(0);
		opacity: 0;
	}
	10% {
		opacity: 1;
	}
	90% {
		opacity: 0.8;
	}
	100% {
		transform: translateY(-20px) scale(1.5);
		opacity: 0;
	}
}

.bp-season-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: rgba(72, 127, 255, 0.15);
	border: 1px solid rgba(72, 127, 255, 0.35);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #7db3ff;
	margin-bottom: 20px;
}

.bp-season-badge .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #22c55e;
	animation: bp-pulse-dot 2s ease-in-out infinite;
}

@keyframes bp-pulse-dot {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.4;
		transform: scale(0.6);
	}
}

.bp-hero-title {
	font-family: var(--bp-font-display);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.1;
	margin: 0 0 12px;
	background: linear-gradient(135deg, #fff 0%, var(--bp-gold-light) 50%, #fff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: none;
	position: relative;
}

.bp-hero-description {
	color: var(--bp-text-secondary);
	font-size: 1.05rem;
	max-width: 560px;
	margin: 0 auto 32px;
	line-height: 1.6;
}

/* ── Countdown ──────────────────────────────────────────────── */
.bp-countdown-wrap {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.bp-countdown-label {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--bp-text-secondary);
	margin-bottom: 10px;
}

.bp-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 72px;
}

.bp-countdown-num {
	font-family: var(--bp-font-display);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	color: var(--bp-text-primary);
	background: var(--bp-bg-card);
	border: 1px solid var(--bp-border);
	border-top: 2px solid var(--bp-gold);
	border-radius: 10px;
	width: 72px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	transition: all 0.2s;
}

.bp-countdown-num::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: rgba(255, 255, 255, 0.06);
}

.bp-countdown-num.flash {
	color: var(--bp-gold);
	border-top-color: var(--bp-gold-light);
	box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.bp-countdown-sep {
	font-family: var(--bp-font-display);
	font-size: 2rem;
	font-weight: 700;
	color: var(--bp-text-muted);
	align-self: center;
	padding-bottom: 24px;
}

.bp-countdown-sub {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-text-muted);
}

/* ── Season dates strip ─────────────────────────────────────── */
.bp-date-strip {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 12px;
	font-size: 0.85rem;
	color: var(--bp-text-secondary);
}

.bp-date-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.bp-date-item i {
	color: var(--bp-gold);
}

/* ============================================================
   PLAYER PROGRESS SECTION
   ============================================================ */
.bp-progress-section {
	max-width: 900px;
	margin: 0 auto;
	padding: 32px 24px;
}

.bp-progress-card {
	background: var(--bp-bg-card);
	border: 1px solid var(--bp-border);
	border-radius: 16px;
	padding: 28px 32px;
	position: relative;
	overflow: hidden;
}

.bp-progress-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--bp-gold), var(--bp-epic), var(--bp-rare), transparent);
	animation: bp-shimmer 3s linear infinite;
	background-size: 200% auto;
}

@keyframes bp-shimmer {
	0% {
		background-position: -200% center;
	}
	100% {
		background-position: 200% center;
	}
}

.bp-progress-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 12px;
}

.bp-player-info {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bp-player-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 3px solid var(--bp-gold);
	object-fit: cover;
	box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.bp-player-name {
	font-family: var(--bp-font-display);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--bp-text-primary);
}

.bp-player-sub {
	font-size: 0.8rem;
	color: var(--bp-text-muted);
	margin-top: 2px;
}

.bp-points-badge {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
}

.bp-points-num {
	font-family: var(--bp-font-display);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--bp-gold);
	line-height: 1;
}

.bp-points-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bp-text-muted);
}

.bp-progress-bar-wrap {
	position: relative;
	height: 12px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 999px;
	overflow: visible;
	margin-bottom: 8px;
}

.bp-progress-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #3b82f6, #487fff, var(--bp-gold));
	position: relative;
	transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 12px;
}

.bp-progress-bar-fill::after {
	content: '';
	position: absolute;
	right: -1px;
	top: -3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bp-gold);
	border: 3px solid var(--bp-bg-card);
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.bp-progress-bar-glow {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: inherit;
	filter: blur(6px);
	opacity: 0.4;
}

.bp-progress-stats {
	display: flex;
	justify-content: space-between;
	font-size: 0.8rem;
	color: var(--bp-text-muted);
	margin-top: 6px;
}

.bp-progress-pct {
	color: var(--bp-gold);
	font-weight: 700;
}

/* ── Login prompt card ──────────────────────────────────────── */
.bp-login-prompt {
	text-align: center;
	padding: 48px 40px 44px;
	background: var(--bp-bg-card);
	border: 1px solid var(--bp-border);
	border-top: 3px solid rgba(245, 158, 11, 0.45);
	border-radius: 20px;
	max-width: 520px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.bp-login-prompt::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

.bp-login-prompt-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(245, 158, 11, 0.08);
	border: 1px solid rgba(245, 158, 11, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 1.9rem;
	color: rgba(245, 158, 11, 0.7);
}

.bp-login-prompt-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 14px;
	background: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.25);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(245, 158, 11, 0.8);
	margin-bottom: 18px;
}

.bp-login-prompt-title {
	font-family: var(--bp-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	margin: 0 0 14px;
	line-height: 1.2;
}

.bp-login-prompt-text {
	color: var(--bp-text-secondary);
	font-size: 0.93rem;
	line-height: 1.7;
	margin: 0 0 28px;
	max-width: 380px;
	margin-left: auto;
	margin-right: auto;
}

.bp-login-prompt-features {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.bp-login-prompt-feature {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	border-radius: 999px;
	font-size: 0.8rem;
	color: var(--bp-text-muted);
}

.bp-login-prompt-feature i {
	font-size: 0.95rem;
	color: var(--bp-text-muted);
}

/* Auth variant — gold solid border, warm tint */
.bp-login-prompt-feature--auth {
	background: rgba(245, 158, 11, 0.07);
	border: 1px solid rgba(245, 158, 11, 0.28);
	color: rgba(245, 158, 11, 0.9);
	font-weight: 600;
}
.bp-login-prompt-feature--auth i {
	color: var(--bp-gold);
}

/* Season variant — blue dashed border, calm waiting feel */
.bp-login-prompt-feature--season {
	background: rgba(72, 127, 255, 0.06);
	border: 1px dashed rgba(72, 127, 255, 0.35);
	color: rgba(125, 179, 255, 0.85);
}
.bp-login-prompt-feature--season i {
	color: rgba(72, 127, 255, 0.8);
}

/* Pending variant — purple dotted border, in-preparation feel */
.bp-login-prompt-feature--pending {
	background: rgba(168, 85, 247, 0.06);
	border: 1px dotted rgba(168, 85, 247, 0.4);
	color: rgba(196, 141, 255, 0.85);
}
.bp-login-prompt-feature--pending i {
	color: rgba(168, 85, 247, 0.85);
}

/* ── No-season variant — blue accent instead of gold ───────── */
.bp-login-prompt-icon--season {
	background: rgba(72, 127, 255, 0.08);
	border-color: rgba(72, 127, 255, 0.2);
	color: rgba(72, 127, 255, 0.75);
}

.bp-login-prompt-badge--season {
	background: rgba(72, 127, 255, 0.08);
	border-color: rgba(72, 127, 255, 0.22);
	color: rgba(72, 127, 255, 0.85);
}

/* ── No-rewards variant — purple/epic accent ────────────────── */
.bp-login-prompt-icon--pending {
	background: rgba(168, 85, 247, 0.08);
	border-color: rgba(168, 85, 247, 0.2);
	color: rgba(168, 85, 247, 0.75);
}

.bp-login-prompt-badge--pending {
	background: rgba(168, 85, 247, 0.08);
	border-color: rgba(168, 85, 247, 0.22);
	color: rgba(168, 85, 247, 0.85);
}

/* ============================================================
   FEATURED REWARD
   ============================================================ */
.bp-featured-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 40px;
}

.bp-section-title {
	font-family: var(--bp-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--bp-text-primary);
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.bp-section-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--bp-border);
}

.bp-section-title i {
	color: var(--bp-gold);
}

.bp-featured-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* ============================================================
   REWARD CARDS
   ============================================================ */
.bp-reward-card {
	position: relative;
	background: var(--bp-bg-card);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--bp-border);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	cursor: default;
}

.bp-reward-card--clickable {
	cursor: pointer;
}

.bp-reward-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.bp-reward-card.rarity-common {
	--card-color: var(--bp-common);
}
.bp-reward-card.rarity-uncommon {
	--card-color: var(--bp-uncommon);
}
.bp-reward-card.rarity-rare {
	--card-color: var(--bp-rare);
}
.bp-reward-card.rarity-epic {
	--card-color: var(--bp-epic);
}
.bp-reward-card.rarity-legendary {
	--card-color: var(--bp-legendary);
}

.bp-reward-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--card-color, var(--bp-common));
}

.bp-reward-card:hover {
	border-color: var(--card-color, var(--bp-border));
	box-shadow:
		0 16px 40px rgba(0, 0, 0, 0.4),
		0 0 0 1px var(--card-color, transparent);
}

.bp-reward-card.rarity-legendary::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
	pointer-events: none;
}

.bp-card-img-wrap {
	position: relative;
	height: 160px;
	background: linear-gradient(135deg, var(--bp-bg-elevated), var(--bp-bg-card));
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bp-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--img-pos-x, 50%) var(--img-pos-y, 50%);
	transform: scale(var(--img-scale, 1));
	transform-origin: var(--img-pos-x, 50%) var(--img-pos-y, 50%);
	transition: transform 0.4s ease;
}

.bp-reward-card:hover .bp-card-img {
	transform: scale(calc(var(--img-scale, 1) * 1.05));
}

.bp-card-img-placeholder {
	font-size: 3.5rem;
	opacity: 0.3;
	color: var(--card-color, var(--bp-text-muted));
}

.bp-rarity-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(0, 0, 0, 0.7);
	color: var(--card-color, var(--bp-common));
	border: 1px solid var(--card-color, transparent);
	backdrop-filter: blur(4px);
}

.bp-featured-star {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--bp-gold), #d97706);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	color: #000;
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* ── Claimed overlay ────────────────────────────────────────── */
.bp-reward-card.claimed::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	pointer-events: none;
	border-radius: 16px;
}

.bp-claimed-badge {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 2;
	pointer-events: none;
}

.bp-claimed-badge .check-circle {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: linear-gradient(135deg, #22c55e, #16a34a);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	color: #fff;
	box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.bp-claimed-badge span {
	margin-top: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
}

/* ── Locked overlay ─────────────────────────────────────────── */
.bp-reward-card.locked .bp-card-img-wrap {
	filter: grayscale(0.6) brightness(0.6);
}

.bp-lock-icon {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 2;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	color: var(--bp-text-muted);
	border: 1px solid var(--bp-border);
}

.bp-card-body {
	padding: 16px 18px 18px;
}

.bp-card-type {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bp-text-muted);
	margin-bottom: 6px;
}

.bp-card-name {
	font-family: var(--bp-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	margin-bottom: 6px;
	line-height: 1.3;
}

.bp-card-desc {
	font-size: 0.82rem;
	color: var(--bp-text-secondary);
	line-height: 1.5;
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bp-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
}

.bp-points-req {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bp-gold);
	font-family: var(--bp-font-display);
}

.bp-points-req i {
	font-size: 1rem;
}

.bp-claim-btn {
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
	background: linear-gradient(135deg, var(--bp-gold), #d97706);
	color: #000;
}

.bp-claim-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

.bp-claim-btn:disabled,
.bp-claim-btn.disabled {
	background: rgba(255, 255, 255, 0.06);
	color: var(--bp-text-muted);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* ── Legendary card special glow ────────────────────────────── */
.rarity-legendary {
	animation: bp-legendary-pulse 4s ease-in-out infinite;
}

@keyframes bp-legendary-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
	}
	50% {
		box-shadow:
			0 0 0 4px rgba(245, 158, 11, 0.15),
			0 0 30px rgba(245, 158, 11, 0.1);
	}
}

/* ============================================================
   DAYS / TIERS SECTION
   ============================================================ */
.bp-tiers-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px 60px;
}

.bp-day-block {
	margin-bottom: 40px;
}

.bp-day-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

/* The "Day X" pill — never shrinks regardless of line width */
.bp-day-num {
	font-family: var(--bp-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 999px;
	background: rgba(72, 127, 255, 0.12);
	border: 1px solid rgba(72, 127, 255, 0.3);
	color: #7db3ff;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Symmetric gradient — looks identical regardless of the line's width */
.bp-day-line {
	flex: 1;
	height: 1px;
	min-width: 20px;
	background: linear-gradient(90deg, transparent 0%, rgba(72, 127, 255, 0.35) 20%, rgba(72, 127, 255, 0.35) 80%, transparent 100%);
}

/* Reward count badge — never shrinks */
.bp-day-count {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--bp-text-muted);
	white-space: nowrap;
	flex-shrink: 0;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	letter-spacing: 0.04em;
}

.bp-rewards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

/* ============================================================
   SEASON STATS BAR
   ============================================================ */
.bp-stats-bar {
	background: var(--bp-bg-elevated);
	border-top: 1px solid var(--bp-border);
	border-bottom: 1px solid var(--bp-border);
	padding: 20px 24px;
}

.bp-stats-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	gap: 0;
	flex-wrap: wrap;
	justify-content: center;
}

.bp-stat-item {
	flex: 1;
	min-width: 140px;
	text-align: center;
	padding: 12px 20px;
	position: relative;
}

.bp-stat-item + .bp-stat-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 20%;
	bottom: 20%;
	width: 1px;
	background: var(--bp-border);
}

.bp-stat-val {
	font-family: var(--bp-font-display);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	line-height: 1;
	margin-bottom: 4px;
}

.bp-stat-val.gold {
	color: var(--bp-gold);
}
.bp-stat-val.blue {
	color: var(--bp-rare);
}
.bp-stat-val.purple {
	color: var(--bp-epic);
}
.bp-stat-val.green {
	color: var(--bp-uncommon);
}

.bp-stat-lbl {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--bp-text-muted);
}

/* ============================================================
   NO SEASON / ENDED STATE
   ============================================================ */
.bp-empty-state {
	text-align: center;
	max-width: 480px;
	margin: 0 auto;
}

.bp-empty-icon {
	font-size: 4rem;
	color: var(--bp-text-muted);
	margin-bottom: 20px;
	opacity: 0.5;
}

.bp-empty-title {
	font-family: var(--bp-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	margin-bottom: 10px;
}

.bp-empty-desc {
	color: var(--bp-text-secondary);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */

/* ── Breadcrumb — lives on the right side of .bp-admin-header ── */
.bp-breadcrumb {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: lowercase;
	flex-shrink: 0;
}

.bp-breadcrumb-item {
	color: var(--bp-text-muted);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: color 0.15s;
}

.bp-breadcrumb-item:hover {
	color: var(--bp-text-primary);
	text-decoration: none;
}

.bp-breadcrumb-sep {
	color: var(--bp-text-muted);
	opacity: 0.45;
	font-size: 1rem;
}

.bp-breadcrumb-active {
	color: var(--bp-text-secondary);
}

.bp-admin-wrap {
	/* Fluid: fills the viewport minus gutters, capped at 1600px.
       clamp(min, preferred, max) → scales smoothly between breakpoints.
       padding-top = 64px nav + 32px breathing room.                    */
	width: clamp(320px, 94vw, 1600px);
	margin: 0 auto;
	padding: calc(64px + 32px) clamp(16px, 2.5vw, 40px) 32px;
}

.bp-admin-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
}

.bp-admin-title {
	font-family: var(--bp-font-display);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	display: flex;
	align-items: center;
	gap: 12px;
}

.bp-admin-title i {
	color: var(--bp-gold);
}

.bp-admin-tabs {
	display: flex;
	gap: 4px;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	border-radius: 12px;
	padding: 4px;
	margin-bottom: 28px;
	overflow-x: auto;
}

.bp-tab {
	padding: 8px 20px;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	border: none;
	background: transparent;
	color: var(--bp-text-secondary);
	transition: all 0.2s;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
}

.bp-tab:hover {
	color: var(--bp-text-primary);
	text-decoration: none;
}

.bp-tab.active {
	background: rgba(72, 127, 255, 0.15);
	color: #7db3ff;
	border: 1px solid rgba(72, 127, 255, 0.3);
}

/* ── Admin cards ────────────────────────────────────────────── */
.bp-admin-card {
	background: var(--bp-bg-card);
	border: 1px solid var(--bp-border);
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
}

.bp-admin-card-header {
	padding: 18px 24px;
	border-bottom: 1px solid var(--bp-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: var(--bp-bg-elevated);
}

.bp-admin-card-title {
	font-family: var(--bp-font-display);
	font-size: 1rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	display: flex;
	align-items: center;
	gap: 8px;
}

.bp-admin-card-body {
	padding: 24px;
}

/* ── Form ───────────────────────────────────────────────────── */
.bp-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.bp-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bp-form-group.full {
	grid-column: 1 / -1;
}

.bp-label {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--bp-text-secondary);
	text-transform: uppercase;
}

.bp-input,
.bp-select,
.bp-textarea {
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	border-radius: 8px;
	padding: 10px 14px;
	color: var(--bp-text-primary);
	font-family: var(--bp-font-body);
	font-size: 0.9rem;
	transition: border-color 0.2s;
	width: 100%;
}

.bp-input:focus,
.bp-select:focus,
.bp-textarea:focus {
	outline: none;
	border-color: rgba(72, 127, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(72, 127, 255, 0.1);
}

.bp-textarea {
	resize: vertical;
	min-height: 80px;
}

/* ── Table ──────────────────────────────────────────────────── */
.bp-table-wrap {
	overflow-x: auto;
}

.bp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.bp-table th {
	padding: 11px 14px;
	text-align: center !important;
	vertical-align: middle !important;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: rgba(245, 158, 11, 0.75);
	border-bottom: 2px solid rgba(245, 158, 11, 0.2);
	background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(245, 158, 11, 0.02) 100%);
	white-space: nowrap;
}

.bp-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--bp-border);
	color: var(--bp-text-secondary);
	text-align: center !important;
	vertical-align: middle !important;
}

/* Centre flex/grid children that live inside cells */
.bp-table td > div,
.bp-table th > div {
	justify-content: center;
	align-items: center;
}

.bp-table tr:last-child td {
	border-bottom: none;
}

.bp-table tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

/* ── Status badges ──────────────────────────────────────────── */
.bp-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.bp-status-active {
	background: rgba(34, 197, 94, 0.12);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.25);
}
.bp-status-upcoming {
	background: rgba(72, 127, 255, 0.12);
	color: #7db3ff;
	border: 1px solid rgba(72, 127, 255, 0.25);
}
.bp-status-ended {
	background: rgba(107, 114, 128, 0.12);
	color: #9ca3af;
	border: 1px solid rgba(107, 114, 128, 0.2);
}

/* ── Flash alerts ───────────────────────────────────────────── */
.bp-alerts {
	position: fixed;
	top: 80px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 380px;
	pointer-events: none;
}

.bp-alert {
	pointer-events: all;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 0.88rem;
	font-weight: 500;
	backdrop-filter: blur(12px);
	animation: bp-slide-in 0.3s ease;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	border-left: 3px solid;
	cursor: pointer;
}

@keyframes bp-slide-in {
	from {
		transform: translateX(120%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.bp-alert-success {
	background: rgba(34, 197, 94, 0.12);
	border-color: #22c55e;
	color: #d1fae5;
}
.bp-alert-error {
	background: rgba(239, 68, 68, 0.12);
	border-color: #ef4444;
	color: #fee2e2;
}
.bp-alert-info {
	background: rgba(72, 127, 255, 0.12);
	border-color: #487fff;
	color: #dbeafe;
}
.bp-alert-warning {
	background: rgba(245, 158, 11, 0.12);
	border-color: var(--bp-gold);
	color: #fef3c7;
}

.bp-alert-icon {
	font-size: 1.1rem;
	flex-shrink: 0;
	margin-top: 1px;
}
.bp-alert-close {
	margin-left: auto;
	opacity: 0.6;
	font-size: 1rem;
	cursor: pointer;
	flex-shrink: 0;
}
.bp-alert-close:hover {
	opacity: 1;
}

/* ── Modal ──────────────────────────────────────────────────── */
.bp-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: bp-fade-in 0.2s ease;
}

@keyframes bp-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.bp-modal {
	background: var(--bp-bg-card);
	border: 1px solid var(--bp-border);
	border-radius: 16px;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	animation: bp-modal-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bp-modal-in {
	from {
		transform: scale(0.9) translateY(20px);
		opacity: 0;
	}
	to {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.bp-modal-header {
	padding: 20px 24px 16px;
	border-bottom: 1px solid var(--bp-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bp-modal-title {
	font-family: var(--bp-font-display);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	display: flex;
	align-items: center;
	gap: 8px;
}

.bp-modal-title i {
	color: var(--bp-gold);
}
.bp-modal-close {
	cursor: pointer;
	color: var(--bp-text-muted);
	font-size: 1.2rem;
	transition: color 0.2s;
}
.bp-modal-close:hover {
	color: var(--bp-text-primary);
}

.bp-modal-body {
	padding: 24px;
}
.bp-modal-footer {
	padding: 16px 24px;
	border-top: 1px solid var(--bp-border);
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

/* ── Point balance flash (after a successful claim) ─────────── */
@keyframes bp-balance-flash {
	0% {
		color: var(--bp-gold);
		transform: scale(1);
	}
	30% {
		color: #22c55e;
		transform: scale(1.12);
	}
	100% {
		color: var(--bp-gold);
		transform: scale(1);
	}
}
.bp-balance-flash {
	animation: bp-balance-flash 0.8s ease;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
	.bp-hero {
		/* 64px nav + 24px breathing room on mobile */
		padding: 88px 16px 32px;
	}
	.bp-hero-title {
		font-size: 2rem;
	}
	.bp-countdown-num {
		width: 58px;
		height: 56px;
		font-size: 1.8rem;
	}
	.bp-stats-inner {
		gap: 0;
	}
	.bp-stat-item + .bp-stat-item::before {
		display: none;
	}
	.bp-rewards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.bp-featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.bp-admin-wrap {
		width: 100%;
		padding: 16px;
	}
	.bp-form-grid {
		grid-template-columns: 1fr;
	}
	.bp-progress-section {
		padding: 20px 16px;
	}
	.bp-tiers-section {
		padding: 0 16px 40px;
	}
}

/* ── 3-column at medium widths ──────────────────────────────── */
@media (max-width: 1200px) and (min-width: 769px) {
	.bp-rewards-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.bp-featured-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ── Day-status visual states ───────────────────────────────── */

/* TODAY — highlighted header pill */
.bp-day-num.day-today {
	background: rgba(34, 197, 94, 0.15);
	border-color: rgba(34, 197, 94, 0.5);
	color: #4ade80;
	display: flex;
	align-items: center;
	gap: 6px;
}

.bp-day-num.day-today .live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
	flex-shrink: 0;
	animation: bp-pulse-dot 2s ease-in-out infinite;
}

.bp-day-today-tag {
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	background: #22c55e;
	color: #000;
	padding: 1px 6px;
	border-radius: 4px;
	text-transform: uppercase;
}

/* PAST — muted header pill */
.bp-day-num.day-past {
	background: rgba(107, 114, 128, 0.08);
	border-color: rgba(107, 114, 128, 0.2);
	color: var(--bp-text-muted);
}

/* FUTURE — subtle blue header pill */
.bp-day-num.day-future {
	background: rgba(72, 127, 255, 0.07);
	border-color: rgba(72, 127, 255, 0.2);
	color: rgba(125, 179, 255, 0.6);
}

/* Past-day rewards — desaturated */
.bp-day-block.day-past .bp-card-img-wrap {
	filter: grayscale(0.6) brightness(0.7);
}

.bp-day-block.day-past .bp-reward-card {
	opacity: 0.65;
}

/* Future-day blocks — dimmed */
.bp-day-block.day-future .bp-reward-card {
	opacity: 0.45;
}

/* Expired label on claim footer */
.bp-claim-expired {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--bp-text-muted);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Future locked label */
.bp-claim-future {
	font-size: 0.78rem;
	font-weight: 600;
	color: rgba(125, 179, 255, 0.5);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

/* Day line colour reflects status */
.bp-day-block.day-today .bp-day-line {
	background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), rgba(34, 197, 94, 0.4), transparent);
}
.bp-day-block.day-past .bp-day-line {
	background: linear-gradient(90deg, transparent, rgba(107, 114, 128, 0.2), rgba(107, 114, 128, 0.2), transparent);
}
.bp-day-block.day-future .bp-day-line {
	background: linear-gradient(90deg, transparent, rgba(72, 127, 255, 0.15), rgba(72, 127, 255, 0.15), transparent);
}

/* ── Utility ────────────────────────────────────────────────── */
.bp-divider {
	height: 1px;
	background: var(--bp-border);
	margin: 32px 0;
}
.bp-text-gold {
	color: var(--bp-gold);
}
.bp-text-muted {
	color: var(--bp-text-muted);
}
.bp-mt-0 {
	margin-top: 0 !important;
}
.bp-mb-0 {
	margin-bottom: 0 !important;
}
.bp-hidden {
	display: none !important;
}
.bp-spin {
	animation: bp-spin-anim 1s linear infinite;
}
@keyframes bp-spin-anim {
	to {
		transform: rotate(360deg);
	}
}

/* ── Claims page — page-scoped styles ────────────────────── */
.bpc-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 24px 44px;
	background: linear-gradient(135deg, #07091a 0%, #0c1530 45%, #07091a 100%);
	border-bottom: 1px solid var(--bp-border);
}

.bpc-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 50% -5%, rgba(245, 158, 11, 0.14) 0%, transparent 65%),
		radial-gradient(ellipse 35% 40% at 85% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 55%),
		radial-gradient(ellipse 35% 40% at 15% 70%, rgba(72, 127, 255, 0.09) 0%, transparent 55%);
	pointer-events: none;
}

.bpc-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.bpc-avatar {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	border: 3px solid var(--bp-gold);
	object-fit: cover;
	box-shadow:
		0 0 0 6px rgba(245, 158, 11, 0.12),
		0 0 28px rgba(245, 158, 11, 0.25);
	flex-shrink: 0;
}

.bpc-hero-title {
	font-family: var(--bp-font-display);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 900;
	line-height: 1.15;
	margin-bottom: 5px;
	background: linear-gradient(135deg, #fff 0%, var(--bp-gold-light) 55%, #fff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.bpc-hero-sub {
	font-size: 0.875rem;
	color: var(--bp-text-muted);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bpc-hero-sub span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.bpc-hero-sub i {
	color: var(--bp-gold);
}

/* Tabs strip */
.bpc-tabs-strip {
	background: var(--bp-bg-elevated);
	border-bottom: 1px solid var(--bp-border);
	padding: 0 24px;
	overflow-x: auto;
	scrollbar-width: none;
}

.bpc-tabs-strip::-webkit-scrollbar {
	display: none;
}

.bpc-tabs-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	gap: 2px;
	align-items: stretch;
}

.bpc-tab {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 13px 18px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--bp-text-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all 0.18s;
	white-space: nowrap;
}

.bpc-tab:hover {
	color: var(--bp-text-primary);
	text-decoration: none;
	border-bottom-color: var(--bp-border);
}

.bpc-tab.active {
	color: var(--bp-gold);
	border-bottom-color: var(--bp-gold);
}

.bpc-tab-count {
	font-size: 0.7rem;
	font-weight: 700;
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(245, 158, 11, 0.12);
	color: var(--bp-gold);
	border: 1px solid rgba(245, 158, 11, 0.25);
}

.bpc-tab.active .bpc-tab-count {
	background: rgba(245, 158, 11, 0.2);
}

/* Season block header */
.bpc-season-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
	margin-bottom: 20px;
}

.bpc-season-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 18px;
	border-radius: 999px;
	background: rgba(245, 158, 11, 0.1);
	border: 1px solid rgba(245, 158, 11, 0.28);
	color: var(--bp-gold);
	font-family: var(--bp-font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
}

.bpc-season-pill i {
	font-size: 0.85rem;
}

.bpc-season-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(245, 158, 11, 0.35) 0%, rgba(245, 158, 11, 0.12) 60%, transparent 100%);
}

.bpc-season-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* Claimed card treatment — no dark overlay, green corner badge */
.bpc-check {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, #22c55e, #15803d);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	color: #fff;
	box-shadow:
		0 0 12px rgba(34, 197, 94, 0.55),
		0 0 0 3px rgba(34, 197, 94, 0.15);
}

.bpc-date-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.74rem;
	font-weight: 600;
	color: var(--bp-uncommon);
}

.bpc-date-tag i {
	font-size: 0.82rem;
}

/* ── Compact card sizing ──────────────────────────────────── */
.bp-rewards-grid {
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.bp-card-img-wrap {
	height: 110px;
}

.bp-card-img-placeholder {
	font-size: 2.2rem;
}

.bp-card-body {
	padding: 10px 12px 12px;
}

.bp-card-type {
	font-size: 0.68rem;
	margin-bottom: 3px;
}

.bp-card-name {
	font-size: 0.86rem;
	margin-bottom: 4px;
}

.bp-card-desc {
	font-size: 0.75rem;
	margin-bottom: 8px;
	-webkit-line-clamp: 1;
}

.bp-points-req {
	font-size: 0.76rem;
}

.bp-rarity-badge {
	font-size: 0.62rem;
	padding: 2px 7px;
}

.bpc-check {
	width: 22px;
	height: 22px;
	font-size: 0.68rem;
	top: 8px;
	left: 8px;
}

.bpc-date-tag {
	font-size: 0.7rem;
}

/* Responsive grid */
@media (max-width: 1280px) {
	.bp-rewards-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 960px) {
	.bp-rewards-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.bp-rewards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 400px) {
	.bp-rewards-grid {
		grid-template-columns: 1fr;
	}
}

/* ── DataTables 1.x base tweaks ─────────────────────────────── */
/* Fine-grained overrides live in an inline <style> in header.php
   (loaded after the CDN CSS) so they always win the cascade.    */
.dataTables_wrapper table.dataTable {
	margin: 0 !important;
	clear: both;
}
.dataTables_wrapper::after {
	content: '';
	display: table;
	clear: both;
}
td.dataTables_empty {
	text-align: center !important;
	color: var(--bp-text-muted) !important;
	padding: 36px !important;
}

/*
* .bp-dt  — DataTables dark theme
* Applied automatically to every .bp-table via .dataTables_wrapper.
* Loaded inline after the CDN stylesheet so these rules always win.
*/

/* ── Wrapper ─────────────────────────────────────────── */
.dataTables_wrapper {
	padding: 0;
	font-size: 0.88rem;
}
.dataTables_wrapper::after {
	content: '';
	display: table;
	clear: both;
}

/* ── Top controls: length (left) + search (right) ────── */
.dataTables_length,
.dataTables_filter {
	padding: 14px 20px 12px;
}
.dataTables_length {
	float: left;
}
.dataTables_filter {
	float: right;
}

.dataTables_length label,
.dataTables_filter label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bp-text-muted);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin: 0;
}

/* Length select — matches bp-select look */
.dataTables_length select {
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	color: var(--bp-text-primary);
	border-radius: 7px;
	padding: 5px 28px 5px 10px;
	font-size: 0.82rem;
	font-family: inherit;
	outline: none;
	cursor: pointer;
	transition: border-color 0.15s;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 9px center;
}
.dataTables_length select:hover,
.dataTables_length select:focus {
	border-color: rgba(245, 158, 11, 0.45);
	outline: none;
}

/* Search input — pill style */
.dataTables_filter input[type='search'] {
	background: var(--bp-bg-elevated) !important;
	border: 1px solid var(--bp-border) !important;
	color: var(--bp-text-primary) !important;
	border-radius: 20px !important;
	padding: 5px 14px !important;
	font-size: 0.82rem !important;
	font-family: inherit !important;
	outline: none !important;
	box-shadow: none !important;
	margin-left: 8px !important;
	min-width: 210px;
	transition:
		border-color 0.15s,
		box-shadow 0.15s !important;
}
.dataTables_filter input[type='search']:focus {
	border-color: rgba(245, 158, 11, 0.55) !important;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.08) !important;
}
.dataTables_filter input[type='search']::placeholder {
	color: var(--bp-text-muted) !important;
	opacity: 0.6 !important;
}

/* Thin separator between controls and table */
.dataTables_wrapper table.dataTable {
	margin: 0 !important;
	clear: both;
	border-top: 1px solid var(--bp-border) !important;
}

/* ── Bottom controls: info (left) + pagination (right) ── */
.dataTables_info {
	float: left;
	padding: 11px 20px !important;
	color: var(--bp-text-muted);
	font-size: 0.78rem;
	line-height: 1.8;
}
.dataTables_paginate {
	float: right;
	padding: 7px 20px 10px !important;
	display: flex;
	align-items: center;
	gap: 2px;
}

/* Pagination buttons */
.dataTables_paginate .paginate_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 28px;
	padding: 0 9px !important;
	background: transparent !important;
	border: 1px solid transparent !important;
	border-radius: 6px !important;
	color: var(--bp-text-muted) !important;
	font-size: 0.78rem !important;
	font-family: inherit !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-decoration: none !important;
	line-height: 1 !important;
	transition:
		background 0.12s,
		border-color 0.12s,
		color 0.12s !important;
}
.dataTables_paginate .paginate_button:not(.current):not(.disabled):hover {
	background: var(--bp-bg-elevated) !important;
	border-color: var(--bp-border) !important;
	color: var(--bp-text-primary) !important;
}
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
	background: var(--bp-gold) !important;
	border-color: var(--bp-gold) !important;
	color: #1a0f00 !important;
	font-weight: 700 !important;
	box-shadow: 0 1px 6px rgba(245, 158, 11, 0.3) !important;
}
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
	opacity: 0.3 !important;
	cursor: not-allowed !important;
	color: var(--bp-text-muted) !important;
}

/* ── Sort arrows: hidden ─────────────────────────────── */
table.dataTable thead th.sorting::before,
table.dataTable thead th.sorting::after,
table.dataTable thead th.sorting_asc::before,
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::before,
table.dataTable thead th.sorting_desc::after,
table.dataTable thead th.sorting_asc_disabled::before,
table.dataTable thead th.sorting_asc_disabled::after,
table.dataTable thead th.sorting_desc_disabled::before,
table.dataTable thead th.sorting_desc_disabled::after {
	display: none !important;
}
/* Reset the extra right-padding DataTables adds to make room for arrows, and enforce centering */
.dataTables_wrapper table.bp-table thead th {
	padding-right: 14px !important;
	text-align: center !important;
	vertical-align: middle !important;
}

/* ============================================================
   RESPONSIVE — MOBILE & SMALL SCREENS
   ============================================================ */

/* ── ≤768px  tablet / large phone landscape ─────────────────── */
@media (max-width: 768px) {
	/* DataTables: stack controls vertically */
	.dataTables_length,
	.dataTables_filter {
		float: none;
		padding: 12px 16px 6px;
	}
	.dataTables_filter {
		text-align: left;
	}
	.dataTables_filter input[type='search'] {
		min-width: 0 !important;
		width: 100%;
		box-sizing: border-box;
	}
	.dataTables_info {
		float: none;
		padding: 8px 16px 6px !important;
	}
	.dataTables_paginate {
		float: none;
		padding: 4px 16px 14px !important;
		justify-content: center;
	}

	/* Admin card: tighter padding */
	.bp-admin-card-header {
		padding: 14px 16px;
	}
	.bp-admin-card-body {
		padding: 16px;
	}

	/* Admin header: smaller title */
	.bp-admin-title {
		font-size: 1.3rem;
	}

	/* Login prompt: tighter padding */
	.bp-login-prompt {
		padding: 36px 24px 32px;
	}
}

/* ── ≤600px  phone landscape / small tablet ─────────────────── */
@media (max-width: 600px) {
	/* Progress card: stack header */
	.bp-progress-card {
		padding: 20px 18px;
	}
	.bp-progress-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.bp-points-badge {
		flex-direction: row;
		align-items: center;
		gap: 10px;
		width: 100%;
		justify-content: space-between;
		padding: 10px 14px;
		background: var(--bp-bg-elevated);
		border: 1px solid var(--bp-border);
		border-radius: 10px;
	}
	.bp-points-label {
		font-size: 0.75rem;
	}
	.bp-progress-stats {
		flex-direction: column;
		gap: 4px;
	}

	/* Day header: let line shrink */
	.bp-day-header {
		gap: 8px;
		flex-wrap: wrap;
	}
	.bp-day-line {
		display: none;
	}

	/* Featured: single column */
	.bp-featured-grid {
		grid-template-columns: 1fr;
	}

	/* Reward card: smaller name */
	.bp-card-name {
		font-size: 0.95rem;
	}

	/* Section titles */
	.bp-section-title {
		font-size: 1rem;
	}

	/* Stats bar: 2-column grid */
	.bp-stats-inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.bp-stat-item + .bp-stat-item::before {
		display: none;
	}
}

/* ── ≤480px  phone portrait ─────────────────────────────────── */
@media (max-width: 480px) {
	/* Navbar: tighten brand on very small screens */
	.bp-nav-brand {
		font-size: 0.95rem;
	}

	/* Hero */
	.bp-hero {
		padding: 80px 14px 28px;
	}
	.bp-date-strip {
		gap: 12px;
		font-size: 0.78rem;
	}

	/* Login / empty-state prompt */
	.bp-login-prompt {
		padding: 28px 16px 24px;
		border-radius: 16px;
	}
	.bp-login-prompt-title {
		font-size: 1.2rem;
	}
	.bp-login-prompt-text {
		font-size: 0.85rem;
	}
	.bp-login-prompt-features {
		gap: 7px;
	}
	.bp-login-prompt-feature {
		padding: 6px 12px;
		font-size: 0.75rem;
	}

	/* Stats: single column */
	.bp-stats-inner {
		grid-template-columns: 1fr 1fr;
	}

	/* Rewards grid: already 2-col from earlier breakpoint,
	   keep it but reduce card padding */
	.bp-card-body {
		padding: 12px 14px 14px;
	}
	.bp-card-name {
		font-size: 0.88rem;
	}

	/* Progress card */
	.bp-progress-card {
		padding: 16px 14px;
	}

	/* Admin title */
	.bp-admin-title {
		font-size: 1.1rem;
		gap: 8px;
	}

	/* Modals: full width with small margin */
	.bp-modal-backdrop {
		padding: 12px;
		align-items: flex-end;
	}
	.bp-modal {
		border-radius: 16px 16px 10px 10px;
		max-height: 92vh;
	}

	/* Tiers section */
	.bp-tiers-section {
		padding: 0 14px 32px;
	}
	.bp-featured-section {
		padding: 0 14px 32px;
	}
}

/* ── ≤380px  small / older phones ───────────────────────────── */
@media (max-width: 380px) {
	/* Rewards: single column on very small screens */
	.bp-rewards-grid {
		grid-template-columns: 1fr;
	}

	/* Admin: minimal padding */
	.bp-admin-wrap {
		padding-top: calc(64px + 20px);
	}

	/* Countdown: tighten up */
	.bp-countdown-wrap {
		gap: 6px;
	}
	.bp-countdown-sep {
		font-size: 1.2rem;
	}
}

/* ============================================================
   EXPANDING REWARD CARD
   ============================================================ */

/* Full-screen backdrop — click outside to close */
#bp-ce-overlay {
	position: fixed;
	inset: 0;
	z-index: 3000;
	background: rgba(0, 0, 0, 0);
	-webkit-backdrop-filter: blur(0px);
	backdrop-filter: blur(0px);
	display: none;
	transition:
		background 0.35s ease,
		backdrop-filter 0.35s ease,
		-webkit-backdrop-filter 0.35s ease;
}

#bp-ce-overlay.bp-ce-open {
	background: rgba(0, 0, 0, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* The expanded card itself */
#bp-ce-card {
	position: fixed;
	top: 50%;
	left: 50%;
	/* starts at card position via JS; this is the resting (open) state */
	transform: translate(-50%, -50%);
	width: min(580px, 92vw);
	max-height: 88vh;
	background: var(--bp-bg-card);
	border: 1px solid var(--bp-border);
	border-radius: 22px;
	overflow: hidden; /* switches to auto after animation */
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04),
		0 40px 100px rgba(0, 0, 0, 0.55),
		0 12px 32px rgba(0, 0, 0, 0.35);
	will-change: transform, opacity;
	transform-origin: center center;
}

/* ── Image section ────────────────────────────────────────── */
.bp-ce-img-wrap {
	position: relative;
	height: 240px;
	overflow: hidden;
	background: var(--bp-bg-elevated);
	flex-shrink: 0;
}

.bp-ce-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--img-pos-x, 50%) var(--img-pos-y, 50%);
	transform: scale(var(--img-scale, 1));
	transform-origin: var(--img-pos-x, 50%) var(--img-pos-y, 50%);
}

.bp-ce-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 5.5rem;
	color: var(--bp-text-muted);
	opacity: 0.18;
}

/* Rarity colour bar at the top of the image */
.bp-ce-rarity-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--ce-rarity-color, var(--bp-common));
	box-shadow: 0 0 16px var(--ce-rarity-color, transparent);
}

/* Close button overlaid on the image */
.bp-ce-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		background 0.2s,
		transform 0.2s;
	z-index: 2;
}

.bp-ce-close:hover {
	background: rgba(0, 0, 0, 0.78);
	transform: scale(1.1);
}

/* ── Content body ─────────────────────────────────────────── */
.bp-ce-body {
	padding: 22px 26px 30px;
}

.bp-ce-type {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.73rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bp-text-muted);
	margin-bottom: 7px;
}

.bp-ce-name {
	font-family: var(--bp-font-display);
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	line-height: 1.2;
	margin-bottom: 16px;
}

.bp-ce-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.bp-ce-desc {
	/* content is structured HTML — no pre-wrap needed */
}

/* ── Description detail block inside the expanded card ───── */
.bp-desc-block {
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	border-left: 3px solid rgba(72, 127, 255, 0.5);
	border-radius: 10px;
	overflow: hidden;
}

.bp-desc-header {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	font-size: 0.67rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--bp-text-muted);
	background: rgba(72, 127, 255, 0.05);
	border-bottom: 1px solid var(--bp-border);
}

.bp-desc-header i {
	font-size: 0.88rem;
	color: rgba(72, 127, 255, 0.7);
}

.bp-desc-body {
	padding: 11px 14px;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.bp-desc-line {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 0.875rem;
	color: var(--bp-text-secondary);
	line-height: 1.6;
}

.bp-desc-arrow {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 1rem;
	color: rgba(72, 127, 255, 0.55);
}

/* ── Shared badge style (meta pills) ──────────────────────── */
.bp-rd-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	color: var(--bp-text-secondary);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 520px) {
	#bp-ce-card {
		width: 96vw;
		max-height: 91vh;
		border-radius: 18px;
	}
	.bp-ce-img-wrap {
		height: 190px;
	}
	.bp-ce-body {
		padding: 16px 18px 24px;
	}
	.bp-ce-name {
		font-size: 1.2rem;
	}
}

/* ============================================================
   ADMIN IMAGE FRAMING CONTROLS
   ============================================================ */
.bp-range {
	width: 100%;
	height: 6px;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	border: 1px solid var(--bp-border);
	outline: none;
	cursor: pointer;
	margin-top: 2px;
}

.bp-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bp-gold);
	cursor: pointer;
	border: 2px solid var(--bp-bg-card);
	box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.bp-range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bp-gold);
	cursor: pointer;
	border: 2px solid var(--bp-bg-card);
	box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
	border: none;
}

.bp-range:focus::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.bp-img-preview-box {
	height: 160px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	position: relative;
	margin-bottom: 0;
}

.bp-img-preview-box .bp-preview-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.2s ease;
}

/* ============================================================
   PLATFORM GUIDE ("How it works")
   ============================================================ */

/* Trigger button in the hero section */
.bp-guide-trigger {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 20px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--bp-text-secondary);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
	letter-spacing: 0.02em;
}

.bp-guide-trigger:hover {
	background: rgba(72, 127, 255, 0.14);
	border-color: rgba(72, 127, 255, 0.45);
	color: var(--bp-text-primary);
	transform: translateY(-1px);
}

.bp-guide-trigger i:first-child {
	font-size: 1rem;
	color: rgba(72, 127, 255, 0.8);
}

/* Guide modal container */
.bp-guide-modal {
	max-width: 560px;
}

/* Steps list */
.bp-guide-steps {
	padding: 8px 0 4px;
	display: flex;
	flex-direction: column;
}

/* Individual step row */
.bp-guide-step {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 20px 28px;
	border-bottom: 1px solid var(--bp-border);
	transition: background 0.15s;
}

.bp-guide-step:last-child {
	border-bottom: none;
}

.bp-guide-step:hover {
	background: rgba(255, 255, 255, 0.018);
}

/* Icon + step number */
.bp-guide-step-icon {
	position: relative;
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(72, 127, 255, 0.18), rgba(72, 127, 255, 0.08));
	border: 1px solid rgba(72, 127, 255, 0.28);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.45rem;
	color: var(--bp-rare);
}

.bp-guide-step-num {
	position: absolute;
	bottom: -5px;
	right: -5px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bp-rare);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 800;
	font-family: var(--bp-font-display);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--bp-bg-card);
}

/* Step text area */
.bp-guide-step-content {
	flex: 1;
	min-width: 0;
	padding-top: 2px;
}

.bp-guide-step-title {
	font-family: var(--bp-font-display);
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--bp-text-primary);
	margin-bottom: 7px;
	line-height: 1.25;
}

.bp-guide-step-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bp-guide-step-line {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	font-size: 0.855rem;
	color: var(--bp-text-secondary);
	line-height: 1.55;
}

.bp-guide-step-line i {
	flex-shrink: 0;
	font-size: 0.95rem;
	color: rgba(72, 127, 255, 0.5);
	margin-top: 1px;
}

/* Mobile */
@media (max-width: 480px) {
	.bp-guide-step { padding: 16px 18px; gap: 14px; }
	.bp-guide-step-icon { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 11px; }
	.bp-guide-step-title { font-size: 0.9rem; }
	.bp-guide-modal { max-width: 100%; }
}

/* ── Card description note (bottom of card) ─────────────── */
.bp-card-note {
	font-size: 0.73rem;
	color: var(--bp-text-muted);
	line-height: 1.5;
	border-top: 1px solid var(--bp-border);
	padding-top: 9px;
	margin-top: 10px;
}

.bp-card-see-more {
	display: block;
	margin-top: 5px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(72, 127, 255, 0.55);
	transition: color 0.2s;
}

.bp-card-see-more i {
	font-size: 0.8rem;
	vertical-align: -1px;
}

.bp-reward-card:hover .bp-card-see-more {
	color: rgba(72, 127, 255, 0.9);
}

/* ── Image framing control rows ─────────────────────────── */
.bp-img-ctrl-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.bp-img-ctrl-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bp-text-muted);
	display: flex;
	align-items: center;
	gap: 5px;
	width: 108px;
	flex-shrink: 0;
}

.bp-img-slider {
	flex: 1;
	min-width: 0;
}

.bp-img-num-input {
	width: 62px;
	flex-shrink: 0;
	background: var(--bp-bg-elevated);
	border: 1px solid var(--bp-border);
	border-radius: 6px;
	padding: 5px 6px;
	color: var(--bp-text-primary);
	font-family: var(--bp-font-body);
	font-size: 0.85rem;
	text-align: center;
	transition: border-color 0.2s;
	-moz-appearance: textfield;
}

.bp-img-num-input::-webkit-outer-spin-button,
.bp-img-num-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.bp-img-num-input:focus {
	outline: none;
	border-color: rgba(72, 127, 255, 0.5);
	box-shadow: 0 0 0 3px rgba(72, 127, 255, 0.1);
}

.bp-img-unit {
	font-size: 0.8rem;
	color: var(--bp-text-muted);
	width: 12px;
	flex-shrink: 0;
	text-align: left;
}
