html {
  /* 1rem will now equal exactly 1rem at a 1440rem screen width */
  font-size: calc(100vw / 1440);
}
body {
  background-color: #0b0214;
}

/* Footer Styling */
footer {
  position: relative;
  margin-top: 30rem;
}
.footer-light {
  position: absolute;
  background: url(../images/main-bg.webp) bottom center no-repeat;
  background-size: contain;
  top: -168rem;
  width: 1277rem;
  height: 168rem;
  z-index: -1;
}
.footer .container {
  color: #ffffff;
  padding: 37rem 85rem 30rem;
  line-height: 1.6;
  max-width: 1440rem;
  margin-inline: auto;
}
.footer {
  background: #0a0014;
}

.footer-container {
  background: url(../images/footer-bg.webp) bottom center no-repeat;
  padding-bottom: 65rem;
  flex-direction: row;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20rem;
}

.footer-col {
  flex: 1;
  min-width: 220rem;
  margin-left: 30rem;
  margin-top: 16rem;
}

/* Brand Column Details */
.brand-col {
  width: 427rem;
  color: white;
}
.logo-section {
  display: flex;
  justify-content: start;
  gap: 7rem;
}
.footer-logo {
  aspect-ratio: 160/109;
  width: 132rem;
}
.footer-logo img {
  width: 100%;
}
.footer-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 8rem rgba(255, 215, 0, 0.6));
}
.logo-gem {
  color: #fff;
  text-shadow: 0 0 10rem #ff00ea;
}

.logo-win {
  color: #ffcc00;
  font-style: italic;
}

.logo-sub {
  display: inline-block;
  font-size: 26rem;
  line-height: 1;
  color: #fff;
  font-weight: bolder;
  letter-spacing: 0rem;
  text-shadow: 0rem 5rem 5.7rem #581666;
  margin-block: 16rem 14rem;
  text-wrap-mode: nowrap;
}

.brand-tagline {
  color: #fff;
  font-weight: 400;
  font-size: 16rem;
}

.brand-desc {
  font-size: 15rem;
  line-height: calc(20 / 15);
  margin-block: 11rem 43rem;
}

/* Titles */
.col-title {
  color: #fecb45;
  font-size: 18rem;
  line-height: 20rem;
  font-weight: bold;
  margin-bottom: 25rem;
}
.certifications .col-title {
  margin-bottom: 16rem;
}
.col-title.legal {
  margin-top: 44rem;
}
.math-top-title {
  margin-top: 30rem;
}

/* Navigation Lists */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20rem;
}

.footer-links li {
  min-width: 184rem;
}

.footer-links a,
.social-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 15rem;
  line-height: 20rem;
}

.footer-links a:hover,
.footer-links a.active {
  color: #fecb45;
  text-decoration: underline;
}

/* Social Links */
.social-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20rem;
}

.social-links li {
  min-width: 140rem;
}

.social-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8rem;
}

.social-links i {
  background-color: #2c1342;
  color: #fff;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14rem;
  transition: background 0.2s;
}
.social-icon {
  display: flex;
  background: #2f18464d;
  justify-content: center;
  align-items: center;
  padding: 6rem;
  border-radius: 50%;
  height: 40rem;
  width: 40rem;
  border: 1rem solid #3d255780;
  box-shadow: 0rem 4rem 4rem 0rem #0000004d;
}
.social-icon img {
  width: 100%;
}
.social-links a:hover i {
  background-color: #ff00ea;
}

/* Certifications (Trustpilot & DMCA) */
.cert-badges {
  display: flex;
  gap: 44rem;
}
.badge-trustpilot img,
.badge-dmca img {
  width: 100%;
}
.badge-trustpilot {
  aspect-ratio: 188/42;
  width: 188rem;
}

.badge-dmca {
  aspect-ratio: 132/42;
  width: 132rem;
}

.divider-1 {
  height: 1rem;
  width: 1277rem;
  background: url(../images/footer-divider.webp) top center no-repeat;
}
.divider-2 {
  height: 1rem;
  width: 1277rem;
  background: url(../images/footer-divider-2.webp) top center no-repeat;
  opacity: 0.2;
}
/* Center Licensing Row */
.licensing-row {
  aspect-ratio: 651/87;
  width: 651rem;
  margin: auto;
  padding-block: 12rem 23rem;
}
.licensing-row img {
  width: 100%;
}
.license-badge {
  opacity: 0.7;
  display: flex;
  align-items: center;
  color: #fff;
}

.dummy-german {
  font-size: 10rem;
  font-weight: bold;
  border: 2rem solid #fff;
  padding: 4rem;
  border-radius: 50%;
  width: 50rem;
  height: 50rem;
  text-align: center;
  justify-content: center;
  position: relative;
}

.gaming-curacao {
  display: flex;
  align-items: center;
  gap: 8rem;
}

.gc-logo {
  background: linear-gradient(45deg, #ff007b, #3b00ff);
  padding: 6rem;
  border-radius: 50%;
  font-weight: bold;
  font-size: 14rem;
}

.gc-text {
  font-size: 10rem;
  line-height: 1.1;
}

.gambling-therapy {
  font-size: 14rem;
  letter-spacing: -0.5rem;
}

.problem-gambling {
  display: flex;
  align-items: center;
  gap: 6rem;
  border-left: 2rem solid #fff;
  padding-left: 8rem;
}

.pg-logo {
  font-size: 24rem;
  font-weight: bold;
}

.pg-text {
  font-size: 10rem;
  line-height: 1.1;
}

/* Bottom Copyright Text */
.footer-copyright {
  padding-top: 21rem;
  max-width: 1200rem;
  margin: 0 auto;
  text-align: center;
  font-size: 13rem;
  font-weight: 500;
  color: #ffffff80;
  line-height: 20rem;
}

.footer-copyright a {
  color: inherit;
  text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  html {
    /* 1rem will now equal exactly 1rem at a 1440rem screen width */
    font-size: calc(100vw / 402);
  }
  .footer .container {
    padding: 0;
  }
  .footer {
    color: #ddd8cd;
    padding: 12rem;
    margin-top: 30rem;
  }
  .footer-light {
    background: url("../images/main-bg-mb.webp") bottom center no-repeat;
    background-size: contain;
    width: 378rem;
    height: 102rem;
    top: -102rem;
  }
  .footer-container {
    flex-direction: column;
    padding-bottom: 28rem;
    background: url(../images/footer-bg-mb.webp) bottom center no-repeat;
    flex-wrap: wrap;
    background-size: contain;
    gap: 40rem;
  }
  .logo-section {
    color: #ddd8cd;
  }
  .logo-sub {
    text-wrap-mode: wrap;
    width: 170rem;
    line-height: 1;
    margin-bottom: 12rem;
  }
  .brand-col {
    flex: 1;
    width: unset;
  }
  .brand-tagline {
    color: inherit;
  }
  .brand-desc {
    color: #ddd8cd;
    margin-block: 27rem 16rem;
  }
  .cert-badges {
    gap: 32rem;
  }
  .footer-col {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 10rem;
  }
  .social-links {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 14rem 28rem;
  }
  .footer-links a,
  .social-links a {
    font-size: 16rem;
  }
  .divider-1 {
    display: none;
  }
  .divider-2 {
    width: 402rem;
    opacity: 0.5;
    margin-inline: -11rem;
  }
  .licensing-row {
    gap: 20rem;
    padding-block: 14rem 16rem;
    width: 379rem;
  }
  .footer-copyright {
    font-size: 14rem;
  }
}
