.eg-pre-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 36px);
  width: min(100%, 1120px);
  margin-inline: auto;
  padding: 20px clamp(16px, 4vw, 40px) 0;
  box-sizing: border-box;
}

.eg-pre-footer::before,
.eg-pre-footer::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, #b995d94d);
}

.eg-pre-footer::after { transform: scaleX(-1); }

.eg-pre-footer .eg-pre-footer-apply {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 2vw, 14px);
  min-height: 48px;
  padding: 5px 6px 5px 12px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #ba9bd84d;
  border-radius: 999px;
  background: #16101e;
  box-shadow: inset 0 1px #fff1, 0 8px 22px #0004;
  color: #f9effc;
  font: 650 .9375rem/1.25 Outfit, system-ui, sans-serif;
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}

.eg-pre-footer-apply::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(108deg, transparent 18%, #c9a4fb30 47%, #f6bbe728 54%, transparent 77%);
  transform: translateX(-120%);
  pointer-events: none;
}

.eg-pre-footer-apply-icon {
  color: #d0abf6;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
}

.eg-pre-footer-apply-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-left: 2px;
  border: 1px solid #cdadf14d;
  border-radius: 50%;
  background: #2d2040;
  color: #f4deff;
  transition: background .24s, color .24s;
}

.eg-pre-footer-apply-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform .28s cubic-bezier(.2,.7,.25,1);
}

.eg-pre-footer .eg-pre-footer-apply:is(:hover, :focus-visible) {
  color: white;
  border-color: #ce9ff0a8;
  background: #1e1529;
  box-shadow: inset 0 1px #fff2, 0 0 22px #ad6bdb26;
}

.eg-pre-footer-apply:is(:hover, :focus-visible)::before { animation: eg-footer-apply-glint .68s ease-out both; }
.eg-pre-footer-apply:is(:hover, :focus-visible) .eg-pre-footer-apply-arrow { background: #e1b8fa; color: #22132b; }
.eg-pre-footer-apply:is(:hover, :focus-visible) .eg-pre-footer-apply-arrow svg { transform: translateX(2px); }
.eg-pre-footer .eg-pre-footer-apply:focus-visible { outline: 2px solid #eac6ff; outline-offset: 4px; }

@keyframes eg-footer-apply-glint { to { transform: translateX(125%); } }

@media (prefers-reduced-motion: reduce) {
  .eg-pre-footer .eg-pre-footer-apply,
  .eg-pre-footer-apply-arrow,
  .eg-pre-footer-apply-arrow svg { transition: none; }
  .eg-pre-footer-apply:is(:hover, :focus-visible)::before { animation: none; }
}
