/*
 * License page / Footer. Figma 251:824 (desktop 1920x758), 282:626 (mobile 390x866).
 * Every value is from Figma unless marked "derived".
 */
.lpl-footer {
  position: relative;
  box-sizing: border-box;
  overflow-x: clip; /* the glow sticks out to the left; overflow-y stays visible: it overlaps the contact section above */
  background: #8315a5;
  color: #fff;
  font-family: 'Inter', sans-serif;
  padding: 47px 0 43px;
}
.lpl-footer *,
.lpl-footer *::before,
.lpl-footer *::after { box-sizing: border-box; }

/* 1px #E1E2EE divider (Figma "Line 4") on the footer's top edge */
.lpl-footer::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: url('../../img/license/footer-divider.svg') center top / 100% 1px no-repeat;
  pointer-events: none;
}
.lpl-footer__glow {
  position: absolute;
  z-index: 0;
  top: -538px;
  left: -683px;
  width: 946px;
  height: 946px;
  max-width: none;
  pointer-events: none;
}

.lpl-footer__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1408px; /* 1360 content + 2x24 gutter */
  margin-inline: auto;
  padding-inline: 24px; /* derived for widths < 1408 */
}

/* reset leaks from the old style.css (global ul/li/h/a rules) */
.lpl-footer ul { margin: 0; padding: 0; list-style: none; }
.lpl-footer li { margin: 0; padding: 0; }
.lpl-footer li::before { content: none; }
.lpl-footer a { color: inherit; text-decoration: none; transition: none; }
.lpl-footer a:hover { color: inherit; }
.lpl-footer a:focus-visible,
.lpl-footer select:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.lpl-footer__cols {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 1358px;
  max-width: 100%;
  margin-left: 2px; /* Figma frame starts at x=282 (container 280) */
}
.lpl-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; min-width: 0; }
.lpl-footer__col--contact { width: 208px; flex: none; }
.lpl-footer__col--gambling { width: 199px; flex: none; }
.lpl-footer__col--other { width: 154px; flex: none; }
.lpl-footer__col--blog { flex: none; }
.lpl-footer__col--company { width: 184px; flex: none; }

/* heading 4 with 40x3 underline */
.lpl-footer .lpl-footer__title {
  position: relative;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0;
  color: #fff;
  font: 600 20px/24px 'Inter', sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.lpl-footer .lpl-footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}

/* link lists: 25.6px line, 48px pitch */
.lpl-footer .lpl-footer__list { display: flex; flex-direction: column; gap: 22.4px; }
.lpl-footer .lpl-footer__list + .lpl-footer__list { margin-top: -2.6px; }
.lpl-footer .lpl-footer__list a {
  color: #fff;
  font: 300 14px/25.6px 'Inter', sans-serif;
  letter-spacing: 0;
}

/* contact rows */
.lpl-footer .lpl-footer__contacts { display: flex; flex-direction: column; gap: 25px; }
.lpl-footer .lpl-footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 300 14px/25.6px 'Inter', sans-serif;
}
.lpl-footer .lpl-footer__contact a,
.lpl-footer .lpl-footer__contact span { color: #fff; font: inherit; }
.lpl-footer .lpl-footer__contact--address span { max-width: 198px; }
.lpl-footer__icon { display: block; flex: none; width: 16px; height: 16px; }

/* socials: 32px glass circles, 22px icons */
.lpl-footer .lpl-footer__socials { display: flex; align-items: center; gap: 12px; }
.lpl-footer__social {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}
.lpl-footer__social img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  max-width: none;
  transform: translate(-50%, -50%);
}
.lpl-footer__social--whatsapp img { width: 21.91px; height: 21.98px; }

/* Regulation Map button */
.lpl-footer .lpl-footer__map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 22px;
  overflow: hidden;
  border-radius: 15px;
  background: #f5b319;
  color: #7612a4;
  font: 600 16px/25.2px 'Inter', sans-serif;
  white-space: nowrap;
}
.lpl-footer .lpl-footer__map:hover { color: #7612a4; }
.lpl-footer .lpl-footer__map:focus-visible { outline-color: #fff; }

/* bottom bar 251:896 */
.lpl-footer__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 1358px;
  max-width: 100%;
  min-height: 62px;
  margin: 66px 0 0 2px;
  padding-top: 25.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}
.lpl-footer__copy { align-self: flex-end; padding-bottom: 9px; margin-left: 1px; color: #fff; font: 400 12px/22.4px 'Inter', sans-serif; }
.lpl-footer__bar-right { display: flex; align-items: center; gap: 5px; }
.lpl-footer__license { color: rgba(255, 255, 255, 0.8); font: 400 12px/22.4px 'Inter', sans-serif; text-align: right; }

.lpl-footer__lang { position: relative; display: block; width: 66px; height: 36px; }
.lpl-footer__lang select {
  display: block;
  width: 66px;
  height: 36px;
  margin: 0;
  padding: 0 24px 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05) url('../../img/license/footer-lang-arrow.svg') no-repeat 42px center / 12px 12px;
  color: #fff;
  font: 400 14px/18px 'Inter', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.lpl-footer__lang select option { color: #000; }
.lpl-footer .screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* derived: widths between the 1920 and 390 frames */
@media (max-width: 1100px) {
  .lpl-footer__cols { flex-wrap: wrap; row-gap: 40px; }
  .lpl-footer__col--contact,
  .lpl-footer__col--gambling,
  .lpl-footer__col--other,
  .lpl-footer__col--blog,
  .lpl-footer__col--company { width: calc(33.333% - 16px); }
}

/* mobile frame 390: content 374, gutter 8. Figma shows only socials, Contact US and Gambling Licenses. */
@media (max-width: 767px) {
  .lpl-footer { padding: 46px 0 43px; }
  .lpl-footer__glow { top: -507px; left: -698px; }
  .lpl-footer__wrap { padding-inline: 8px; }
  .lpl-footer__cols { flex-direction: column; flex-wrap: nowrap; gap: 50px; width: 100%; margin-left: 0; }
  .lpl-footer__col--contact,
  .lpl-footer__col--gambling { width: 100%; }
  .lpl-footer__col--contact { max-width: 208px; display: flex; }
  .lpl-footer__col--gambling { max-width: 199px; }
  .lpl-footer__col--other,
  .lpl-footer__col--blog,
  .lpl-footer__col--company,
  .lpl-footer__bar { display: none; }
  .lpl-footer .lpl-footer__socials {
    order: -1;
    justify-content: space-between;
    width: 374px;
    max-width: calc(100vw - 16px);
    margin-bottom: 25px;
  }
  .lpl-footer__col--contact { max-width: none; }
  .lpl-footer .lpl-footer__contacts,
  .lpl-footer .lpl-footer__title,
  .lpl-footer .lpl-footer__map { max-width: 208px; }
  .lpl-footer__social { width: 47px; height: 47px; border-radius: 63px; }
  .lpl-footer__social img { top: calc(50% + 0.5px); left: calc(50% + 0.5px); }
}

/* QA (Figma 251:913 / 283:797): contact text boxes have fixed heights (23 / 74 / 23) on both frames */
.lpl-footer .lpl-footer__contact > a,
.lpl-footer .lpl-footer__contact > span:not(.lpl-footer__icon) { display: flex; align-items: center; height: 23px; }
.lpl-footer .lpl-footer__contact--address > span:not(.lpl-footer__icon) { height: 74px; }
/* desktop: the Blog column is 82px wide, so space-between lands the columns at x = 623 / 954 / 1241 / 1456 */
@media (min-width: 768px) {
  .lpl-footer__col--blog { width: 82px; }
}

/* =====================================================================================================
 * VQA pass (2026-10-14)
 * ===================================================================================================== */
/* The site's floating chat / scroll-up / phone buttons are fixed (bottom 35px, 50px tall): at the very end of the
   page they covered "All rights reserved." and the licence line, and the last mobile link. Keep the last row clear. */
.lpl-footer { padding-bottom: 100px; }
@media (max-width: 767px) {
  .lpl-footer { padding-bottom: 100px; }
}

/* 768-1100: the flex wrap + space-between put "Blog" and "Company" at opposite edges of the second row with a hole in
   the middle; a 3-column grid keeps both rows on the same tracks. */
@media (min-width: 768px) and (max-width: 1100px) {
  .lpl-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 24px;
    width: 100%;
    margin-left: 0;
  }
  .lpl-footer__col--contact,
  .lpl-footer__col--gambling,
  .lpl-footer__col--other,
  .lpl-footer__col--blog,
  .lpl-footer__col--company { width: auto; }
}
