#betjam-ios { scroll-margin-top: 24px; }

.site-footer {
  position: relative;
  padding: 54px 0 28px;
  border-top: 1px solid rgba(255, 204, 0, .22);
  background: radial-gradient(ellipse at 100% 0, rgba(112, 38, 202, .22), transparent 55%), #110525;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffcc00, transparent);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr 1fr 1.35fr;
  gap: 40px;
  align-items: start;
}
.site-footer__grid > * { min-width: 0; }
.site-footer__logo { display: block; width: fit-content; margin-bottom: 18px; }
.site-footer__logo img { width: 220px; max-width: 100%; height: auto; }
.site-footer__country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}
.site-footer__country::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffcc00; }
.site-footer__tagline { max-width: 250px; margin: 14px 0 22px; color: rgba(255, 255, 255, .55); font-size: 14px; line-height: 1.65; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 9px; }
.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 11px;
  color: rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .035);
}
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__social svg:not([fill]) { fill: currentColor; }
.site-footer__heading { margin: 5px 0 20px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.site-footer__links { list-style: none; display: grid; gap: 12px; }
.site-footer__links a { color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.5; transition: color .2s; }
.site-footer__links a:hover { color: #ffcc00; }
.site-footer__apps {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
}
.site-footer__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffcc00; }
.site-footer__app-title { margin: 9px 0; font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.3; }
.site-footer__apps > p { font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, .5); }
.site-footer__downloads { display: grid; gap: 10px; margin-top: 20px; }
.site-footer__download {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: background .2s, border-color .2s, transform .2s;
}
.site-footer__download--android { color: #1a0438; background: #ffcc00; }
.site-footer__download--android:hover { background: #ffdc4d; transform: translateY(-2px); }
.site-footer__download--ios { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .045); }
.site-footer__download--ios:hover { border-color: #ffcc00; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.site-footer__download > svg { flex: 0 0 24px; width: 24px; height: 24px; }
.site-footer__download span { display: grid; gap: 3px; }
.site-footer__download small { font-size: 10px; line-height: 1.2; }
.site-footer__download strong { font-size: 16px; font-weight: 700; line-height: 1.2; }
.site-footer__download > .site-footer__arrow { margin-left: auto; width: 18px; height: 18px; flex-basis: 18px; opacity: .7; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer__copyright { color: rgba(255, 255, 255, .4); font-size: 12px; line-height: 1.5; }
.site-footer__age { display: flex; align-items: center; gap: 12px; }
.site-footer__age-badge { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid rgba(255, 204, 0, .55); border-radius: 50%; color: #ffcc00; font-size: 15px; font-weight: 700; }
.site-footer__age p { font-size: 12px; line-height: 1.65; color: rgba(255, 255, 255, .65); }
.site-footer__age p span { color: rgba(255, 255, 255, .4); }
.site-footer a:focus-visible { outline: 2px solid #ffcc00; outline-offset: 5px; border-radius: 5px; }
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .site-footer__apps { grid-column: 1 / -1; }
  .site-footer__downloads { grid-template-columns: 1fr 1fr; max-width: 640px; }
}
@media (max-width: 600px) {
  .site-footer { padding: 36px 0 24px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__logo img { width: 190px; }
  .site-footer__tagline { max-width: none; }
  .site-footer__apps { padding: 20px; }
  .site-footer__downloads { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; padding-top: 22px; }
  .site-footer__heading { font-size: 13px; }
  .site-footer__links a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__download { transition: none; }
  .site-footer__download:hover { transform: none; }
}
