html {
  background: #f1f2f2;
}

body {
  position: relative;
  isolation: isolate;
  background: transparent;
}

hr {
  border: 0;
  border-top: 1px solid rgba(199, 203, 205, 0.32);
}

#homepage-earth-background {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96), rgba(240, 242, 242, 0.9) 46%, rgba(226, 229, 230, 0.94) 100%),
    linear-gradient(145deg, #f8f9f9, #e5e7e8);
}

.homepage-earth-sunlight-toggle {
  opacity: .8;
  position: fixed;
  z-index: 2;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: rgba(235, 238, 239, 0.92);
  box-shadow: -4px 4px 14px rgba(62, 69, 72, 0.14);
  cursor: pointer;
  backdrop-filter: blur(8px);
  clip-path: circle(56px at 56px 0);
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.homepage-earth-sunlight-toggle[aria-pressed="true"] {
  background: rgba(255, 244, 197, 0.94);
  box-shadow: -4px 4px 16px rgba(181, 145, 49, 0.22);
}

.homepage-earth-sunlight-toggle:hover {
  filter: brightness(0.97);
}

.homepage-earth-sunlight-toggle:focus-visible {
  outline: 0;
  filter: drop-shadow(0 0 4px rgba(79, 139, 162, 0.9));
}

a {
  position: relative;
  text-decoration: none;
  transition: color 220ms ease;
}

a::before,
a::after {
  position: absolute;
  z-index: 1;
  bottom: -2px;
  pointer-events: none;
  content: "";
}

a::before {
  right: 0;
  left: 0;
  height: 1px;
  background: #73797c;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
}

a::after {
  left: 0;
  width: 5px;
  height: 5px;
  margin-bottom: -2px;
  border-radius: 50%;
  background: #5f6669;
  box-shadow: 0 0 7px rgba(95, 102, 105, 0.5);
  opacity: 0;
  transition:
    left 320ms ease,
    opacity 120ms ease;
}

.ai-qrcode-link{
    font-size: 30px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .ai-qrcode-link {
        font-size: 14px !important;
    }
}

@media (hover: hover) {
  a:hover {
    color: #4d5457;
  }

  a:hover::before {
    transform: scaleX(1);
  }

  a:hover::after {
    left: calc(100% - 5px);
    opacity: 1;
  }
}

a:focus-visible::before {
  transform: scaleX(1);
}

a:focus-visible::after {
  left: calc(100% - 5px);
  opacity: 1;
}
