/* The footer fades from black at the top to violet at the bottom. */
.eg-site-footer {
  background: #000 radial-gradient(125% 125% at 50% 10%, #000 40%, #63e 100%) !important;
  color: #b6a8bf !important;
  border-top: 0 !important;
  color-scheme: dark;
}
.eg-site-footer::before, .eg-site-footer::after { display: none !important; }
.eg-site-footer .eg-footer-inner {
  max-width: none;
  padding: 48px clamp(24px, 4vw, 72px) 0;
}
.eg-site-footer .eg-footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
}
.eg-site-footer .eg-footer-brand img { width: 144px; }
.eg-site-footer .eg-footer-brand .eg-footer-tagline {
  display: block;
  color: #f0e7f5;
  font-size: 18px;
  line-height: 1.4;
  margin: 16px 0 20px;
  max-width: 220px;
}
.eg-site-footer .eg-footer-cta {
  min-height: 40px;
  padding: 9px 16px;
  background: #352040;
  color: #fff;
  border: 1px solid #352040;
  border-radius: 999px;
  box-shadow: none;
  font-size: 12px;
}
.eg-site-footer .eg-footer-cta:hover { background: #4a2d5b; color: #fff; box-shadow: none; transform: none; filter: none; }
.eg-site-footer .eg-footer-balance { margin-top: 14px; color: #b6a8bf; font-size: 12px; }
.eg-site-footer .eg-footer-brand .eg-footer-balance img { width: 20px; height: 20px; }
.eg-site-footer .eg-footer-links { gap: 9px; padding-top: 4px; }
.eg-site-footer .eg-footer-links h2 { color: #f0e7f5; font-size: 13px; margin: 0 0 13px; }
.eg-site-footer .eg-footer-links a { color: #b6a8bf; font-size: 13px; line-height: 1.5; }
.eg-site-footer .eg-footer-links a:hover { color: #e5c2f4; }
.eg-site-footer a:hover { color: #e5c2f4; }
.eg-site-footer .eg-footer-disclaimer {
  margin: 34px 0 20px;
  border-top: 1px solid #ffffff14;
  padding-top: 20px;
  align-items: flex-start;
  text-align: left;
}
.eg-site-footer .eg-footer-disclaimer p { color: #d4c7e0; font-size: 11px; line-height: 1.7; }
.eg-site-footer .eg-footer-disclaimer a { color: #cbb6d9; }
.eg-site-footer .eg-footer-bottom {
  border-color: #ffffff14;
  color: #e1d5eb;
  padding: 16px 0;
  font-size: 11px;
}
.eg-site-footer .eg-footer-credit { color: #d4c7e0; }
.eg-site-footer .eg-footer-credit::before { color: #b5a7c5; }
.eg-site-footer .eg-footer-bottom a { color: #cbb6d9; font-size: 11px; }
.eg-site-footer :is(a,button):focus-visible { outline: 2px solid #cbb6d9; outline-offset: 5px; }
.eg-site-footer .eg-footer-wordmark {
  position: relative;
  z-index: 1;
  width: calc(100% - clamp(48px, 8vw, 144px));
  height: clamp(76px, 12vw, 210px);
  margin: 0 auto 12px;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}
.eg-footer-wordmark-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93839f;
  font: 600 clamp(30px, 10.5vw, 180px)/1 Outfit, sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
  pointer-events: none;
}
.eg-footer-wordmark canvas {
  position: absolute;
  left: -25%;
  top: -100%;
  display: block;
  width: 150%;
  height: 300%;
  max-width: none;
  pointer-events: none;
  opacity: 0;
}
.eg-footer-wordmark.is-ready canvas { opacity: 1; }
.eg-footer-wordmark.is-ready .eg-footer-wordmark-fallback { visibility: hidden; }
.eg-footer-pointer {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.eg-footer-pointer::before, .eg-footer-pointer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.eg-footer-pointer::before { width: 64px; height: 64px; border: 2px solid #e5c2f4; }
.eg-footer-pointer::after { width: 6px; height: 6px; background: #e5c2f4; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .eg-footer-wordmark.is-ready { cursor: none; }
  .eg-footer-wordmark.is-hovered .eg-footer-pointer { opacity: 1; }
}
@media (max-width: 900px) {
  .eg-site-footer .eg-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .eg-site-footer .eg-footer-brand { display: block; grid-column: auto; }
}
@media (max-width: 640px) {
  .eg-site-footer .eg-footer-inner { padding: 30px 24px 0; }
  .eg-site-footer .eg-footer-grid { display: grid; gap: 26px 22px; }
  .eg-site-footer .eg-footer-brand { grid-column: 1 / -1; }
  .eg-site-footer .eg-footer-brand img { width: 125px; }
  .eg-site-footer .eg-footer-brand .eg-footer-tagline { max-width: none; font-size: 17px; margin: 12px 0 16px; }
  .eg-site-footer .eg-footer-brand .eg-footer-balance { margin-top: 12px; }
  .eg-site-footer .eg-footer-links, .eg-site-footer .eg-footer-links:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .eg-site-footer .eg-footer-links:last-child { grid-column: 1 / -1; }
  .eg-site-footer .eg-footer-links h2, .eg-site-footer .eg-footer-links:last-child h2 { flex-basis: auto; font-size: 13px; margin: 0 0 6px; }
  .eg-site-footer .eg-footer-links a { font-size: 12px; }
  .eg-site-footer .eg-footer-disclaimer { margin-top: 26px; }
  .eg-site-footer .eg-footer-disclaimer p { font-size: 10px; }
  .eg-site-footer .eg-footer-bottom { gap: 12px; font-size: 10px; }
  .eg-site-footer .eg-footer-bottom a { font-size: 10px; }
  .eg-site-footer .eg-footer-wordmark { width: calc(100% - 48px); margin-bottom: 0; height: 16vw; min-height: 60px; }
}

/* Decorative EGTR dots remain inside the community card and below its content. */
.eg-discord-hub {overflow:hidden!important;isolation:isolate}
.eg-discord-hub>.eg-community-particles {
 position:absolute;inset:0;z-index:0;
 overflow:hidden;border-radius:inherit;contain:paint;
 pointer-events:none;user-select:none;-webkit-user-select:none;
 opacity:.25;
 mask-image:linear-gradient(to bottom,#0003 0%,#0007 42%,#000 100%);
 -webkit-mask-image:linear-gradient(to bottom,#0003 0%,#0007 42%,#000 100%);
}
.eg-discord-hub>.eg-discord-copy,.eg-discord-hub>.eg-discord-server {position:relative;z-index:1}
.eg-community-particles canvas {
 position:absolute;left:-25%;top:-100%;display:block;
 width:150%;height:300%;max-width:none;pointer-events:none;opacity:0;
}
.eg-community-particles.is-ready canvas {opacity:1}
.eg-community-particles .eg-footer-wordmark-fallback {
 font-size:clamp(100px,24vw,350px);color:#cba3ed;
 letter-spacing:-.04em;opacity:.65;
}
.eg-community-particles.is-ready .eg-footer-wordmark-fallback {visibility:hidden}
