/* Electroli Rewards page. Namespaced .er-*; colours are the live Electroli site's own values (Elementor primary #062E63, accent #FEA231; Lumera title #0D0907, border #dae0e8, background #f9fafb).
   Design reference: Electroli Rewards landing page (hero coin, How It Works, Reward Value, Go Shopping). */
.er-page {
	--er-blue: #062e63;
	--er-blue-2: #062e63;
	--er-gold: #fea231;
	--er-gold-2: #fea231;
	--er-ink: #0d0907;
	--er-text: #4b5563;
	--er-muted: #6b7280;
	--er-faint: #9ca3af;
	--er-line: #dae0e8;
	--er-bg: #f9fafb;
	--er-ok: #1a7f4b;
	--er-warn: #a15c00;
	--er-ease: cubic-bezier(.22, .61, .36, 1);
	--er-font: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Noto Sans", "Noto Naskh Arabic", Tahoma, Arial, sans-serif; /* Poppins comes from the theme's own font stylesheet; nothing extra is loaded. */
	box-sizing: border-box;
	min-height: 100vh;
	background: var(--er-bg);
	color: var(--er-ink);
	font-family: var(--er-font);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
body.er-body { margin: 0; background: #f9fafb; }
.er-page *, .er-page *::before, .er-page *::after { box-sizing: border-box; }
.er-page :where(p, h1, h2, h3, ul, ol) { margin: 0; padding: 0; }
.er-page :where(ul, ol) { list-style: none; }
.er-page :where(h1, h2, h3) { font-family: inherit; color: inherit; }
.er-page img { max-width: 100%; height: auto; }
.er-page a { text-decoration: none; }

/* ---------- Header: navigation left, Electroli logo right ---------- */
.er-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--er-line);
}
.er-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	max-width: 1152px;
	min-height: 64px; /* Electroli mobile header height; 96px on desktop (below). */
	margin: 0 auto;
	padding: 7px 20px 7px 12px;
}
.er-page .er-back {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--er-blue);
	transition: background-color .2s var(--er-ease), transform .2s var(--er-ease);
}
.er-page .er-back:hover { background: #f1f4f8; transform: translateX(-2px); }
.er-page .er-back:focus-visible { outline: 3px solid rgba(5, 45, 96, .35); outline-offset: 2px; }
.er-back svg { width: 22px; height: 22px; }
/* Account control at the right end: the site header's 40px ring and user icon. */
.er-page .er-account { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; color: var(--er-blue); }
.er-account__ring { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--er-blue); border-radius: 40px; transition: background-color .2s var(--er-ease), color .2s var(--er-ease); }
.er-account__ring svg, .er-account__icon { display: block; width: 16px; height: 16px; }
.er-account__icon { background: currentColor; -webkit-mask: var(--er-account-icon) center / contain no-repeat; mask: var(--er-account-icon) center / contain no-repeat; }
.er-page .er-account:hover .er-account__ring { background: var(--er-blue); color: #fff; }
.er-page .er-account:focus-visible { outline: 3px solid rgba(5, 45, 96, .35); outline-offset: 2px; }
.er-logo { display: block; flex: none; line-height: 0; }
/* Heights are !important because the Lumera theme sets img { height: auto !important }, which showed the
   logo at its full 900x277 file size. 164x50 is the logo size in the Electroli site header. */
.er-page .er-logo img { display: block; width: auto; max-width: none; height: 50px !important; }
.er-logo__text { color: var(--er-blue); font-size: 22px; font-weight: 800; line-height: 1; }

/* ---------- Hero: ELI coin + balance ---------- */
.er-hero {
	position: relative;
	overflow: hidden;
	padding: 56px 20px 72px;
	background: radial-gradient(ellipse at top, #fff 0%, var(--er-bg) 55%, #f0f3f7 100%);
	text-align: center;
}
.er-hero__inner { position: relative; z-index: 1; max-width: 896px; margin: 0 auto; }
.er-eyebrow { margin-bottom: 32px; color: var(--er-faint); font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.er-hero__coinwrap { position: relative; display: inline-block; margin-bottom: 30px; }
.er-hero__glow {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--er-gold);
	filter: blur(42px);
	opacity: .24;
	transform: scale(1.35);
	animation: er-glow 5s ease-in-out infinite;
}
.er-page .er-hero__coin {
	position: relative;
	display: block;
	width: 168px;
	height: 168px !important;
	margin: 0 auto;
	border-radius: 50%;
	filter: drop-shadow(0 18px 28px rgba(140, 90, 0, .28));
	animation: er-float 5s ease-in-out infinite;
}
.er-hero__balance {
	margin-bottom: 10px;
	color: var(--er-blue);
	font-size: clamp(36px, 7vw, 60px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.05;
	text-transform: uppercase;
}
.er-page .er-hero__balance { color: var(--er-blue); }
.er-hero__balance--guest { font-size: clamp(30px, 5.5vw, 46px); text-transform: none; }
.er-hero__num { font-variant-numeric: tabular-nums; }
.er-hero__lead { color: var(--er-muted); font-size: clamp(16px, 2.2vw, 20px); font-weight: 500; }
.er-hero__hint {
	display: inline-block;
	margin-top: 18px;
	padding: 7px 16px;
	border: 1px solid rgba(212, 175, 55, .45);
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	color: var(--er-blue);
	font-size: 14px;
	font-weight: 600;
}
.er-hero__hint--ok { border-color: rgba(26, 127, 75, .35); color: var(--er-ok); }
.er-page .er-hero__signin { margin-top: 22px; }
.er-notice { max-width: 520px; margin: 18px auto 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.er-notice--ok { background: #e9f6ef; color: var(--er-ok); }
.er-notice--warn { background: #fdf3e4; color: var(--er-warn); }

/* ---------- How It Works + Reward Value ---------- */
.er-wrap { max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.er-info { padding-top: 64px; padding-bottom: 64px; }
.er-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.er-steps { order: 2; }
.er-values { order: 1; }
.er-page .er-h2 { margin-bottom: 12px; color: var(--er-blue); font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: 0; line-height: 1.15; }
.er-sublead { margin-bottom: 32px; color: var(--er-muted); font-size: 17px; }
.er-steps__list { display: grid; gap: 28px; }
.er-step { display: flex; align-items: flex-start; gap: 20px; }
.er-step__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border: 1px solid #edf0f3;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(10, 37, 64, .08);
	color: var(--er-blue);
	font-size: 20px;
	font-weight: 700;
	transition: transform .3s var(--er-ease), border-color .3s var(--er-ease), box-shadow .3s var(--er-ease);
}
.er-step:hover .er-step__num { transform: scale(1.08); border-color: var(--er-gold); box-shadow: 0 6px 18px rgba(212, 175, 55, .22); }
.er-step__body { padding-top: 10px; }
.er-page .er-step__title { margin-bottom: 6px; color: var(--er-ink); font-size: 19px; font-weight: 700; line-height: 1.3; }
.er-step__text { color: var(--er-text); font-size: 15.5px; line-height: 1.6; }

.er-card {
	position: relative;
	overflow: hidden;
	padding: 32px 24px;
	border: 1px solid #f0f1f3;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .08);
}
.er-values__accent {
	position: absolute;
	top: 0;
	right: 0;
	width: 128px;
	height: 128px;
	border-bottom-left-radius: 100%;
	background: linear-gradient(135deg, rgba(212, 175, 55, .12), transparent);
	pointer-events: none;
}
.er-page .er-label { margin-bottom: 24px; color: var(--er-faint); font-size: 13px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-align: center; text-transform: uppercase; }
.er-tiers { display: grid; gap: 2px; }
.er-tier {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding: 14px 10px;
	border-bottom: 1px solid #f5f6f8;
	border-radius: 14px;
	transition: background-color .2s var(--er-ease);
}
.er-tier:last-child { border-bottom: 0; }
.er-tier:hover { background: #fafbfc; }
.er-tier__coins { display: flex; align-items: center; gap: 12px; color: var(--er-ink); font-weight: 700; white-space: nowrap; }
.er-page .er-tier__coin { flex: none; width: 26px; height: 26px !important; transition: transform .35s var(--er-ease); }
.er-tier:hover .er-tier__coin { transform: rotate(-12deg) scale(1.08); }
.er-tier__arrow { color: #d1d5db; }
.er-tier__value { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 8px; color: var(--er-blue); font-weight: 800; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.er-tier__tag { padding: 2px 8px; border-radius: 999px; background: #e9f6ef; color: var(--er-ok); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.er-tier.is-unlocked { background: #fffcf2; }
.er-empty { color: var(--er-muted); text-align: center; }

/* ---------- Go Shopping ---------- */
.er-shop { padding-bottom: 80px; }
.er-shop__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	padding: 48px 24px;
	border-radius: 24px;
	background: var(--er-blue);
	box-shadow: 0 25px 50px -12px rgba(5, 45, 96, .35);
	text-align: center;
}
.er-shop__glow { position: absolute; width: 256px; height: 256px; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.er-shop__glow--a { top: 0; left: 0; background: #fff; opacity: .06; transform: translate(-50%, -50%); }
.er-shop__glow--b { right: 0; bottom: 0; background: var(--er-gold); opacity: .14; transform: translate(33%, 33%); }
.er-shop__eyebrow { position: relative; margin-bottom: 20px; color: var(--er-gold); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.er-page .er-shop__title { position: relative; max-width: 672px; margin-bottom: 36px; color: #fff; font-size: clamp(26px, 4.4vw, 46px); font-weight: 800; letter-spacing: 0; line-height: 1.15; }
.er-shop__actions { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: 100%; }

/* ---------- Buttons (links) ---------- */
.er-page .er-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 14px 36px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .2s var(--er-ease), border-color .2s var(--er-ease), color .2s var(--er-ease), transform .2s var(--er-ease), box-shadow .2s var(--er-ease);
}
.er-page .er-btn:active { transform: scale(.97); }
.er-page .er-btn:focus-visible { outline: 3px solid rgba(212, 175, 55, .55); outline-offset: 3px; }
.er-page .er-btn--gold { background: var(--er-gold); color: #fff; box-shadow: inset 0 2px 4px rgba(255, 255, 255, .3); }
.er-page .er-btn--gold:hover { background: var(--er-gold-2); color: #fff; box-shadow: inset 0 2px 4px rgba(255, 255, 255, .3), 0 8px 22px rgba(212, 175, 55, .28); transform: translateY(-1px); }
.er-page .er-btn--ghost { border-color: rgba(255, 255, 255, .22); background: transparent; color: #fff; }
.er-page .er-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; transform: translateY(-1px); }
.er-page .er-btn--ghost:focus-visible { outline-color: rgba(255, 255, 255, .5); }
.er-page .er-btn--primary { min-height: 48px; padding: 10px 28px; font-size: 16px; background: var(--er-blue); color: #fff; }
.er-page .er-btn--primary:hover { background: var(--er-blue-2); color: #fff; }

/* ---------- Motion (subtle; off with reduced motion) ---------- */
@keyframes er-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes er-glow { 0%, 100% { opacity: .2; } 50% { opacity: .3; } }
@keyframes er-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes er-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.er-anim { animation: er-rise .7s var(--er-ease) both; }
.er-anim--2 { animation-name: er-pop; animation-delay: .1s; }
.er-anim--3 { animation-delay: .22s; }
/* Scroll reveal: only while the page script runs (content stays visible without it). */
.er-js.er-ready .er-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--er-ease), transform .7s var(--er-ease); transition-delay: calc(var(--er-d, 0) * 70ms); }
.er-js.er-ready .er-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.er-page *, .er-page *::before, .er-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.er-js.er-ready .er-reveal { opacity: 1; transform: none; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 768px) {
	.er-hero { padding: 80px 24px 96px; }
	.er-page .er-hero__coin { width: 200px; height: 200px !important; }
	.er-info { padding-top: 96px; padding-bottom: 96px; }
	.er-card { padding: 48px; }
	.er-shop__card { padding: 64px; }
	.er-shop__actions { flex-direction: row; justify-content: center; align-items: center; gap: 20px; }
	.er-page .er-btn--gold, .er-page .er-btn--ghost { padding-left: 40px; padding-right: 40px; }
}
@media (min-width: 1025px) {
	.er-header__inner { min-height: 96px; }
}
@media (min-width: 1024px) {
	.er-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
	.er-steps { order: 1; }
	.er-values { order: 2; }
}
@media (max-width: 480px) {
	.er-header__inner { padding: 7px 16px 7px 8px; }
	.er-page .er-logo img { height: 40px !important; }
	.er-hero { padding-left: 16px; padding-right: 16px; }
	.er-wrap { padding-left: 16px; padding-right: 16px; }
	.er-eyebrow { margin-bottom: 24px; }
	.er-hero__hint { padding: 6px 14px; font-size: 13px; }
	.er-card { padding: 28px 16px; }
	.er-tier { gap: 8px; padding: 13px 6px; }
	.er-tier__coins { gap: 10px; }
	.er-step { gap: 16px; }
	.er-step__num { width: 48px; height: 48px; font-size: 18px; }
	.er-step__body { padding-top: 6px; }
}
