/* EmberForge Test Event — matches the EmberForge theme tokens (falls back to brand values without it). */
.eft, .eft-bar {
	--eft-ember: var(--ef-ember, #ff5a2c);
	--eft-gold: var(--ef-gold, #f2b33d);
	--eft-aurora: var(--ef-aurora, #3dffb5);
	--eft-teal: var(--ef-teal, #22d3ee);
	--eft-text: var(--ef-text, #f2f4fb);
	--eft-soft: var(--ef-soft, #c9cfe4);
	--eft-muted: var(--ef-muted, #98a2c3);
	--eft-dim: var(--ef-dim, #7f89ab);
	--eft-mid: var(--ef-midnight, #05060d);
	--eft-steel: var(--ef-steel, #0c1022);
	--eft-steel-2: var(--ef-steel-2, #141a35);
	--eft-line: var(--ef-line, rgba(255,255,255,.1));
	--eft-line-2: var(--ef-line-2, rgba(255,255,255,.16));
	--eft-display: var(--ef-display, 'Archivo', system-ui, sans-serif);
	--eft-mono: var(--ef-mono, ui-monospace, monospace);
	--eft-ease: var(--ef-ease, cubic-bezier(.2,.7,.1,1));
	--eft-cut: var(--ef-cut, 14px);
	--eft-wide: var(--ef-wide, 1360px);
	--eft-head: var(--ef-header-h, 76px);
}
.eft [hidden], .eft-bar [hidden], .eft-bar[hidden] { display: none !important; }
.eft { color: var(--eft-text); }
.eft-wrap { max-width: var(--eft-wide); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3.5rem); }
.eft-pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--eft-aurora); box-shadow: 0 0 0 0 rgba(61,255,181,.6); animation: eft-ping 1.8s infinite; flex: none; }
@keyframes eft-ping { 0% { box-shadow: 0 0 0 0 rgba(61,255,181,.55); } 70% { box-shadow: 0 0 0 10px rgba(61,255,181,0); } 100% { box-shadow: 0 0 0 0 rgba(61,255,181,0); } }

/* ---------- hero ---------- */
.eft-hero {
	position: relative; isolation: isolate; overflow: clip;
	margin-top: calc(-1 * var(--eft-head));
	min-height: max(720px, 100svh);
	display: flex; align-items: center;
	background: var(--eft-mid);
}
.eft-hero__bg { position: absolute; inset: 0; z-index: -1; }
.eft-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; z-index: 0; transform: scale(1.04); animation: eft-drift 30s var(--eft-ease) infinite alternate; }
@keyframes eft-drift { to { transform: scale(1.1) translate(-1.2%, -1%); } }
.eft-hero__bg::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background:
		radial-gradient(60% 70% at 78% 45%, rgba(255,90,44,.18), transparent 70%),
		linear-gradient(90deg, rgba(5,6,13,.96) 0%, rgba(5,6,13,.82) 34%, rgba(5,6,13,.35) 64%, rgba(5,6,13,.55) 100%),
		linear-gradient(0deg, var(--eft-mid) 0%, rgba(5,6,13,0) 30%),
		linear-gradient(180deg, rgba(5,6,13,.7) 0%, rgba(5,6,13,0) 22%);
}
.eft-hero__bg .ef-hero__embers { position: absolute; inset: 0; z-index: 2; }
.eft-hero__inner {
	width: 100%; max-width: var(--eft-wide); margin: 0 auto;
	padding: calc(var(--eft-head) + clamp(2rem, 5vh, 4rem)) clamp(1rem, 4vw, 3.5rem) clamp(2.5rem, 6vh, 4.5rem);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4.5vw, 5rem); align-items: center;
}
.eft-hero__copy { display: flex; flex-direction: column; gap: 1.1rem; animation: eft-rise .9s var(--eft-ease) both; }
.eft-eyebrow { display: inline-flex !important; align-items: center; gap: .7rem; width: fit-content; margin: 0 !important; padding: .55rem .95rem; border: 1px solid rgba(61,255,181,.35); background: rgba(61,255,181,.07); color: var(--eft-aurora) !important; }
.eft-title {
	margin: 0; font-family: var(--eft-display); font-stretch: 100%; font-weight: 800; text-transform: uppercase;
	font-size: clamp(2.7rem, 5.1vw, 5.6rem); line-height: .9; letter-spacing: -.012em; color: #fff;
}
.eft-title, .eft-title span { white-space: nowrap; }
@media (max-width: 420px) { .eft-title, .eft-title span { white-space: normal; } }
.eft-title span, .eft-final__title span {
	background: linear-gradient(92deg, #ff5a2c 0%, #ff8a3d 45%, #f2b33d 100%); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: eft-sheen 6s ease-in-out infinite alternate;
	filter: drop-shadow(0 6px 30px rgba(255,90,44,.35));
}
@keyframes eft-sheen { to { background-position: 100% 0; } }
.eft-dates { margin: 0; font-family: var(--eft-display); font-stretch: 110%; font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.8rem); color: #ffc6b4; letter-spacing: .01em; }
.eft-sub { margin: 0; max-width: 34em; font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--eft-soft); }

/* phase */
.eft-phase { display: grid; gap: .75rem; }
.eft-phase > div { display: grid; gap: .75rem; }
.eft-phase__label { margin: 0; color: var(--eft-muted) !important; }
.eft-phase__label time { color: var(--eft-text); }
.eft-cd .ef-countdown__unit { position: relative; overflow: hidden; }
.eft-cd .ef-countdown__unit::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--eft-ember), var(--eft-gold)); opacity: .8; }
.eft-cd .ef-countdown__num.is-tick { animation: eft-tick .45s var(--eft-ease); }
@keyframes eft-tick { from { transform: translateY(-35%); opacity: .2; } to { transform: none; opacity: 1; } }
.eft-cd.is-final .ef-countdown__unit { border-color: rgba(255,90,44,.65); box-shadow: inset 0 0 30px rgba(255,90,44,.18); }
.eft-cd.is-final .ef-countdown__num { color: #ffd9c9; }
.eft-live { display: inline-flex; align-items: center; gap: .8rem; width: fit-content; margin: 0; padding: .85rem 1.2rem; font-family: var(--eft-mono); font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--eft-aurora); background: rgba(61,255,181,.08); border: 1px solid rgba(61,255,181,.45); box-shadow: 0 0 40px rgba(61,255,181,.12); }
.eft-ended { margin: 0; font-family: var(--eft-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--eft-text); }
.eft-ended__text { margin: 0; color: var(--eft-soft); max-width: 34em; }

/* buttons */
.eft-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.eft-join { position: relative; background: linear-gradient(180deg, #ff6d3f, #ff5a2c 55%, #e8461a) !important; color: var(--eft-mid) !important; font-weight: 700 !important; }
.eft-join svg { transition: transform .3s var(--eft-ease); }
.eft-join:hover { background: var(--eft-text) !important; transform: translateY(-2px); }
.eft-join:hover svg { transform: translateX(4px); }
.eft-join::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: eft-shine 3.8s ease-in-out infinite 1.2s; pointer-events: none; }
@keyframes eft-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
p:has(> .eft-join), .eft-actions { filter: drop-shadow(0 10px 28px rgba(255,90,44,.38)); }
.eft-meta { margin: 0; font-size: .92rem; color: var(--eft-muted); }
.eft-meta a { color: #ffb8a2; text-decoration: underline; text-underline-offset: 3px; }
.eft-meta a:hover { color: #fff; }
.eft-meta__sep { margin-inline: .5rem; }
.eft-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .3rem 0 0; padding: 0; list-style: none; }
.eft-chips li { padding: .5rem .85rem; font-size: .88rem; color: var(--eft-soft); background: rgba(20,26,53,.7); border: 1px solid var(--eft-line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }

/* key art */
.eft-art { margin: 0; perspective: 1200px; animation: eft-rise 1.1s var(--eft-ease) .15s both; }
.eft-art__frame {
	--rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
	position: relative; padding: 6px;
	background: linear-gradient(135deg, rgba(255,90,44,.9), rgba(242,179,61,.55) 35%, rgba(34,211,238,.35) 70%, rgba(139,92,246,.5));
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
	transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
	transition: transform .5s var(--eft-ease);
	animation: eft-float 7s ease-in-out infinite;
}
.eft-art__frame::after { content: ""; position: absolute; inset: 6px; pointer-events: none; background: radial-gradient(40% 40% at var(--gx) var(--gy), rgba(255,255,255,.16), transparent 70%); mix-blend-mode: screen; clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 17px 100%, 0 calc(100% - 17px)); }
.eft-art__frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 17px 100%, 0 calc(100% - 17px)); }
.eft-art { filter: drop-shadow(0 40px 70px rgba(255,90,44,.28)) drop-shadow(0 0 1px rgba(255,255,255,.2)); }
@keyframes eft-float { 50% { translate: 0 -10px; } }
.eft-art__cap { display: flex; justify-content: flex-end; align-items: baseline; gap: .6rem; margin-top: 1rem; font-size: .92rem; color: var(--eft-soft); }

/* ---------- sections ---------- */
.eft-section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.eft-section--panel { background: linear-gradient(180deg, var(--eft-steel), var(--eft-mid)); border-top: 1px solid var(--eft-line); }
.eft-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.eft-head h2, .eft-card h2 { margin: .6rem 0 0; font-family: var(--eft-display); font-stretch: 115%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: .95; color: #fff; }
.eft-head .ef-lead { margin-top: 1rem; }
.eft-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.eft-step { position: relative; padding: clamp(1.5rem, 3vw, 2.2rem); background: linear-gradient(160deg, rgba(255,90,44,.1), rgba(12,16,34,.92) 50%), var(--eft-steel); border: 1px solid var(--eft-line); clip-path: polygon(0 0, calc(100% - var(--eft-cut)) 0, 100% var(--eft-cut), 100% 100%, var(--eft-cut) 100%, 0 calc(100% - var(--eft-cut))); transition: transform .4s var(--eft-ease), border-color .4s; }
.eft-step:hover { transform: translateY(-4px); border-color: rgba(255,90,44,.45); }
.eft-step__n { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--eft-display); font-stretch: 125%; font-weight: 800; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); }
.eft-step__icon svg { width: 52px; height: 52px; color: #fff; }
.eft-step h3 { margin: 1.2rem 0 .5rem; font-family: var(--eft-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; color: #fff; }
.eft-step p { margin: 0; color: var(--eft-soft); line-height: 1.6; }
.eft-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -1rem; width: 1rem; height: 2px; background: linear-gradient(90deg, var(--eft-ember), transparent); }
.eft-center { text-align: center; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.eft-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.eft-card { padding: clamp(1.6rem, 3.5vw, 2.6rem); background: rgba(12,16,34,.75); border: 1px solid var(--eft-line); clip-path: polygon(0 0, calc(100% - var(--eft-cut)) 0, 100% var(--eft-cut), 100% 100%, var(--eft-cut) 100%, 0 calc(100% - var(--eft-cut))); }
.eft-card h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.eft-checks, .eft-rules { display: grid; gap: .8rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.eft-checks li, .eft-rules li { position: relative; padding-left: 2rem; color: var(--eft-soft); line-height: 1.55; }
.eft-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--eft-aurora); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.eft-rules li::before { content: ""; position: absolute; left: .3rem; top: .55em; width: 9px; height: 9px; background: var(--eft-ember); transform: rotate(45deg); box-shadow: 0 0 12px rgba(255,90,44,.6); }
.eft-card--rules { background: linear-gradient(160deg, rgba(255,90,44,.08), rgba(12,16,34,.85) 55%); }
.eft-status { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--eft-line); display: grid; gap: .8rem; }

/* final band */
.eft-final { position: relative; overflow: clip; padding-block: clamp(4.5rem, 10vw, 8rem); text-align: center; background:
	radial-gradient(50% 80% at 50% 110%, rgba(255,90,44,.35), transparent 70%),
	radial-gradient(40% 60% at 20% 0%, rgba(61,255,181,.12), transparent 70%),
	radial-gradient(40% 60% at 85% 0%, rgba(139,92,246,.14), transparent 70%),
	var(--eft-mid); border-top: 1px solid var(--eft-line); }
.eft-final__inner { display: grid; justify-items: center; gap: 1.3rem; }
.eft-final__title { margin: 0; font-family: var(--eft-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 5.5vw, 5rem); line-height: .9; color: #fff; }
.eft-final .ef-countdown { justify-content: center; }
.eft-final .eft-phase, .eft-final .eft-phase > div { justify-items: center; }
.eft-final p { margin: 0; }
.eft-fine { max-width: 40em; font-size: .82rem; color: var(--eft-dim); }

/* ---------- download page welcome ---------- */
.eft-welcome-wrap { margin-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); box-sizing: border-box; width: 100%; }
.eft-welcome { position: relative; padding: clamp(1.6rem, 3.5vw, 2.6rem); background: linear-gradient(135deg, rgba(61,255,181,.1), rgba(12,16,34,.92) 45%, rgba(255,90,44,.12)), var(--eft-steel); border: 1px solid rgba(61,255,181,.3); clip-path: polygon(0 0, calc(100% - var(--eft-cut)) 0, 100% var(--eft-cut), 100% 100%, var(--eft-cut) 100%, 0 calc(100% - var(--eft-cut))); animation: eft-rise .7s var(--eft-ease) both; }
.eft-welcome .ef-eyebrow { display: inline-flex; align-items: center; gap: .6rem; }
.eft-welcome__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.eft-welcome__title { margin: .5rem 0 1.2rem; font-family: var(--eft-display); font-stretch: 120%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.2rem); line-height: .95; color: #fff; }
.eft-welcome__title span { color: #ff9677; }
.eft-todo { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.eft-todo li { display: flex; gap: .9rem; align-items: flex-start; }
.eft-todo strong { display: block; color: #fff; }
.eft-todo span { color: var(--eft-soft); font-size: .95rem; }
.eft-todo a { color: #ffb8a2; text-decoration: underline; text-underline-offset: 3px; }
.eft-todo__mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; font-weight: 800; font-size: .95rem !important; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.is-done .eft-todo__mark { background: var(--eft-aurora); color: var(--eft-mid) !important; }
.is-todo .eft-todo__mark { background: var(--eft-gold); color: var(--eft-mid) !important; animation: eft-pulse-soft 1.6s ease-in-out infinite; }
.is-next .eft-todo__mark { background: var(--eft-ember); color: var(--eft-mid) !important; }
@keyframes eft-pulse-soft { 50% { opacity: .55; } }
.eft-glow { outline: 2px solid var(--eft-aurora); outline-offset: 6px; box-shadow: 0 0 0 10px rgba(61,255,181,.08), 0 0 80px rgba(61,255,181,.25) !important; transition: outline-color .6s, box-shadow .6s; }

/* ---------- site-wide bar ---------- */
.eft-bar { position: relative; z-index: 101; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, #1a0d0a, #2a120b 30%, #0c1022 70%, #071a16); border-bottom: 1px solid rgba(255,90,44,.35); font-family: var(--eft-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.eft-bar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 3rem; color: var(--eft-soft); text-decoration: none; }
.eft-bar strong { color: #fff; font-weight: 600; }
.eft-bar__live { display: inline-flex; align-items: center; gap: .5rem; color: var(--eft-aurora); }
.eft-bar__cd { color: #ffc6b4; font-variant-numeric: tabular-nums; }
.eft-bar__go { color: var(--eft-ember); }
.eft-bar a:hover .eft-bar__go { color: #fff; }
.eft-bar__x { position: absolute; right: .6rem; top: 50%; translate: 0 -50%; width: 32px; height: 32px; background: none; border: 0; color: var(--eft-muted); font-size: 1.3rem; cursor: pointer; }
.eft-bar__x:hover { color: #fff; }

@keyframes eft-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.eft-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.eft-art { order: -1; max-width: 640px; }
	.eft-art__cap { justify-content: flex-start; }
	.eft-steps, .eft-split, .eft-welcome__grid { grid-template-columns: minmax(0, 1fr); }
	.eft-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
	.eft-cd .ef-countdown__unit { min-width: 0; padding: .7rem .6rem .6rem; }
	.eft-cd { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
	.eft-actions .ef-btn, .eft-center .ef-btn { width: 100%; }
	.eft-bar a { padding: .6rem 2.6rem .6rem 1rem; font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
	.eft *, .eft *::before, .eft *::after { animation: none !important; transition: none !important; }
}
