/* GamesAndApp editable footer. Kept separate so footer changes stay reviewable. */
.ga-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 4rem;
  border-top: 1px solid #1c3a2a;
  background: #070b09;
  color: #e4f5ea;
}
.ga-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 204, 113, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 204, 113, .035) 1px, transparent 1px),
    radial-gradient(circle at 12% 20%, rgba(46, 204, 113, .11), transparent 30rem);
  background-size: 42px 42px, 42px 42px, auto;
  content: "";
  pointer-events: none;
}
.ga-footer__accent {
  height: 3px;
  background: linear-gradient(90deg, transparent 0 8%, #2ecc71 8% 25%, rgba(46, 204, 113, .15) 25% 100%);
}
[dir="rtl"] .ga-footer__accent {
  background: linear-gradient(270deg, transparent 0 8%, #2ecc71 8% 25%, rgba(46, 204, 113, .15) 25% 100%);
}
.ga-footer__main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(17rem, .9fr) minmax(0, 1.55fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.75rem, 7vw, 5.75rem);
}
.ga-footer__main--no-brand { grid-template-columns: minmax(0, 1fr); }
.ga-footer__brand {
  align-self: start;
  border-inline-end: 1px solid rgba(169, 199, 182, .18);
  padding-inline-end: clamp(1.5rem, 4vw, 3.5rem);
}
.ga-footer__eyebrow {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1.125rem;
  color: #9fe5b9;
  font-size: .72rem;
  font-weight: 600;
}
.ga-footer__eyebrow::before {
  width: 1.75rem;
  height: 1px;
  background: #2ecc71;
  content: "";
}
.ga-footer__brand .ga-wordmark { display: inline-block; font-size: clamp(1.5rem, 3vw, 2rem); }
.ga-footer__about {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: rgba(228, 245, 234, .68);
  line-height: 1.9;
  text-wrap: pretty;
}
.ga-footer__socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.ga-footer__columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  align-content: start;
  gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
}
.ga-footer__columns--1 .ga-footer__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.ga-footer__column { display: grid; align-content: start; gap: 2rem; min-width: 0; }
.ga-footer__section {
  position: relative;
  border-top: 1px solid rgba(169, 199, 182, .2);
  padding-top: 1.25rem;
}
.ga-footer__section::before {
  position: absolute;
  top: -2px;
  inset-inline-start: 0;
  width: 2.5rem;
  height: 3px;
  background: #2ecc71;
  content: "";
}
.ga-footer__title {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}
.ga-footer__list { display: grid; gap: .7rem; }
.ga-footer__list a,
.ga-footer-widget a:not(.wp-block-button__link) {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #a9c7b6;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.ga-footer__list a::before {
  width: .3rem;
  height: .3rem;
  background: rgba(46, 204, 113, .55);
  content: "";
  transform: rotate(45deg);
}
.ga-footer__list a:hover,
.ga-footer-widget a:not(.wp-block-button__link):hover { color: #2ecc71; transform: translateX(-2px); }
[dir="ltr"] .ga-footer__list a:hover,
[dir="ltr"] .ga-footer-widget a:not(.wp-block-button__link):hover { transform: translateX(2px); }
.ga-footer-widget { color: rgba(228, 245, 234, .68); }
.ga-footer-widget :is(h2, h3, h4) { margin-bottom: 1rem; color: #fff; font-size: .9rem; font-weight: 700; }
.ga-footer-widget :is(ul, ol) { display: grid; gap: .7rem; }
.ga-footer-widget :is(p, li) { line-height: 1.75; }
.ga-social {
  display: inline-flex;
  border: 1px solid #1c3a2a;
  padding: .4rem .75rem;
  color: #a9c7b6;
  font-size: .8rem;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.ga-social:hover { border-color: #2ecc71; background: rgba(46, 204, 113, .08); color: #2ecc71; }
.ga-footer__bottom { border-top: 1px solid rgba(169, 199, 182, .14); background: rgba(0, 0, 0, .16); }
.ga-footer__bottom-inner {
  display: grid;
  grid-template-columns: auto minmax(12rem, 1fr) auto;
  align-items: center;
  gap: 1.25rem 2.5rem;
  min-height: 5.25rem;
  color: rgba(169, 199, 182, .68);
  font-size: .75rem;
}
.ga-footer__note { max-width: 48rem; justify-self: center; text-wrap: pretty; }
.ga-footer__top {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  color: #e4f5ea;
  font-weight: 600;
  text-decoration: none;
}
.ga-footer__top span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #1c3a2a;
  color: #2ecc71;
  transition: border-color .2s ease, transform .2s ease;
}
.ga-footer__top:hover span { border-color: #2ecc71; transform: translateY(-2px); }

@media (max-width: 900px) {
  .ga-footer__main { grid-template-columns: 1fr; }
  .ga-footer__brand { border-inline-end: 0; border-bottom: 1px solid rgba(169, 199, 182, .18); padding-inline-end: 0; padding-bottom: 2.5rem; }
}
@media (max-width: 700px) {
  .ga-footer__columns { grid-template-columns: 1fr 1fr; }
  .ga-footer__bottom-inner { grid-template-columns: 1fr auto; padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .ga-footer__note { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}
@media (max-width: 440px) {
  .ga-footer__columns { grid-template-columns: 1fr; }
  .ga-footer__columns--1 .ga-footer__list { grid-template-columns: 1fr; }
}
