.eg-site-footer[data-footer-links] .eg-footer-inner {
  padding-top: clamp(24px, 4vw, 54px);
}

.eg-site-footer[data-footer-links] .eg-footer-grid {
  display: grid;
  grid-template-columns: minmax(136px, 200px) repeat(5, minmax(0, 168px));
  justify-content: start;
  gap: clamp(14px, 1.4vw, 24px);
  padding: clamp(14px, 2vw, 28px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow:none;
}

.eg-site-footer[data-footer-links] .eg-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  grid-column: auto;
  min-width: 0;
  padding: 6px 0;
}

.eg-site-footer[data-footer-links] .eg-footer-brand > a:first-child { display: inline-flex; }
.eg-site-footer[data-footer-links] .eg-footer-brand > a:first-child img { width: min(148px, 100%); height: auto; }
.eg-site-footer[data-footer-links] .eg-footer-brand > .eg-footer-character {
  display:block;
  order:-1;
  width:min(320px,100%);
  height:auto;
  margin:0 0 8px;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,#000e 80%,#0006 92%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 72%,#000e 80%,#0006 92%,transparent 100%);
  pointer-events:none;
}
.eg-site-footer[data-footer-links] .eg-footer-brand .eg-footer-tagline {
  font-size: 16px;
  font-weight: 650;
  margin: 10px 0 16px;
}

.eg-site-footer[data-footer-links] .eg-footer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.eg-site-footer[data-footer-links] .eg-footer-actions :is(.eg-footer-cta, .eg-footer-balance) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 0;
  min-height: 38px;
  padding: 7px 10px;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.eg-site-footer[data-footer-links] .eg-footer-actions .eg-footer-cta {
  background: #edb3d9;
  color: #211125;
}
.eg-site-footer[data-footer-links] .eg-footer-actions .eg-footer-cta:hover { background: #f7cbe6; }
.eg-site-footer[data-footer-links] .eg-footer-actions .eg-footer-balance { background: #2b2035; color: #f5e7f9; }
.eg-site-footer[data-footer-links] .eg-footer-actions .eg-footer-balance:hover { background: #352441; }

.eg-site-footer[data-footer-links] .eg-footer-links {
  --footer-accent: #efb3dc;
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10c3 0 4 3 4 7s-2 4-4 2l-1-1H8l-1 1c-2 2-4 2-4-2s1-7 4-7Z'/%3E%3Cpath d='M6 11h4m-2-2v4m7-2h.01m3 1h.01'/%3E%3C/svg%3E");
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  width: auto;
  grid-column: auto;
  padding: 5px 0 0;
  border: 0;
}
.eg-site-footer[data-footer-links] .eg-footer-links[data-footer-group="discover"] {
  --footer-accent: #c8b5ff;
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8 8 0 0 1-8 8H4l1.8-3.7A8 8 0 1 1 21 11.5Z'/%3E%3Cpath d='M9 12h.01m3 0h.01m3 0h.01'/%3E%3C/svg%3E");
}
.eg-site-footer[data-footer-links] .eg-footer-links[data-footer-group="legal"] {
  --footer-accent: #a9dddf;
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6zM14 3v5h4m-9 4h6m-6 4h6'/%3E%3C/svg%3E");
}
.eg-site-footer[data-footer-links] .eg-footer-links[data-footer-group="players"] { --footer-accent: #c8b5ff; }
.eg-site-footer[data-footer-links] .eg-footer-links[data-footer-group="contact"] {
  --footer-accent: #efb3dc;
  --footer-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}
.eg-site-footer[data-footer-links] .eg-footer-links h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 5px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e4c5f31a;
  font-size: 14px;
  line-height: 1.25;
  color: #f7eef9;
}
.eg-site-footer[data-footer-links] .eg-footer-links h2::before {
  content: '';
  width: 27px;
  height: 27px;
  flex: none;
  background: var(--footer-accent);
  mask: var(--footer-icon) center / 19px no-repeat;
}
.eg-site-footer[data-footer-links] .eg-footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 30px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #d5c8df;
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.eg-site-footer[data-footer-links] .eg-footer-links a::after {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-block-start: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: .42;
}
.eg-site-footer[data-footer-links] .eg-footer-links a:is(:hover, :focus-visible) {
  background: #e4c5f312;
  color: var(--footer-accent);
}
.eg-site-footer[data-footer-links] .eg-footer-links a:is(:hover, :focus-visible)::after { opacity: 1; }

.eg-site-footer[data-footer-links] .eg-footer-disclaimer { margin: 15px 0 0; padding: 12px 2px; border: 0; }
.eg-site-footer[data-footer-links] .eg-footer-disclaimer p { color: #b9a9c1; font-size: 12px; }
.eg-site-footer[data-footer-links] .eg-footer-bottom { padding: 13px 2px; font-size: 12px; }
.eg-site-footer[data-footer-links] .eg-footer-bottom a { font-size: 12px; }

@media (max-width: 960px) {
  .eg-site-footer[data-footer-links] .eg-footer-grid { grid-template-columns: repeat(3, minmax(0, 168px)); }
  .eg-site-footer[data-footer-links] .eg-footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 621px) and (max-width: 960px) {
  .eg-site-footer[data-footer-links] .eg-footer-brand {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
  }
  .eg-site-footer[data-footer-links] .eg-footer-brand .eg-footer-tagline { margin: 0; }
  .eg-site-footer[data-footer-links] .eg-footer-brand > a:first-child img { width: 115px; }
  .eg-site-footer[data-footer-links] .eg-footer-brand > .eg-footer-character { grid-column:1; grid-row:1 / span 2; width:160px; margin:0; }
  .eg-site-footer[data-footer-links] .eg-footer-brand > a:first-child { grid-column:2; grid-row:1; }
  .eg-site-footer[data-footer-links] .eg-footer-brand .eg-footer-tagline { grid-column:2; grid-row:2; }
  .eg-site-footer[data-footer-links] .eg-footer-actions { grid-column:3; grid-row:1 / span 2; }
}
@media (max-width: 620px) {
  .eg-site-footer[data-footer-links] .eg-footer-inner { padding-inline: 15px; }
  .eg-site-footer[data-footer-links] .eg-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 9px; }
  .eg-site-footer[data-footer-links] .eg-footer-brand { display:grid; grid-template-columns:minmax(100px,.8fr) minmax(0,1fr); gap:8px 14px; align-items:center; }
  .eg-site-footer[data-footer-links] .eg-footer-brand > .eg-footer-character { grid-column:1; grid-row:1 / span 3; width:100%; margin:0; }
  .eg-site-footer[data-footer-links] .eg-footer-brand > a:first-child { grid-column:2; grid-row:1; }
  .eg-site-footer[data-footer-links] .eg-footer-brand .eg-footer-tagline { grid-column:2; grid-row:2; margin:0; font-size:14px; }
  .eg-site-footer[data-footer-links] .eg-footer-actions { grid-column:2; grid-row:3; }
  .eg-site-footer[data-footer-links] .eg-footer-links:last-child { grid-column: auto; }
  .eg-site-footer[data-footer-links] .eg-footer-links a { min-height: 39px; }
  .eg-site-footer[data-footer-links] .eg-footer-links h2 { gap: 4px; font-size: 13px; }
  .eg-site-footer[data-footer-links] .eg-footer-links h2::before { width: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .eg-site-footer[data-footer-links] .eg-footer-grid a { transition: none; }
}
