.pipes-footer {
  overflow: hidden;
  display: flex;
  gap: 320px;
  justify-content: center;
  align-items: center;
  z-index: 3;
  margin-bottom: 2px;
}
.pipe-footer {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 0 0 0.75em 0.75em;;
  border-bottom: 1px solid #68786e;
  background: transparent;
}
.pipe-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--silver-bg-pipe);
  border-radius: inherit;
  filter: blur(1px);
  z-index: -1;
}

footer {
  color: var(--main-text-color);
  font-size: var(--main-font-size);
  background: var(--controls-bg);
  box-shadow: var(--container-shadow);
  padding: var(--main-padding-gap);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1500px;
  border-radius: 550px 550px 0 0;
  box-sizing: border-box;
  transform-style: preserve-3d;
  z-index: 1;
  border-top: 1px solid var(--border-color-main);
  text-shadow: var(--text-shadow);
}
footer::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 35px
    ),
    var(--main-container-bg-inside);
  border-bottom: 1.6em solid var(--border-color-main);
  border-top: 1px solid var(--border-color-main);
  border-radius: 550px 550px 0 0;
  transform: translate3d(0, -1.6em, -1em);
  z-index: -1;
}

.footer-limit {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--main-padding-gap);
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding: var(--main-padding-gap);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: var(--main-padding-gap);
  max-width: 200px;
  font-weight: bold;
}
.footer-logo-pair {
  display: flex; 
  align-items: center; 
  gap: var(--main-padding-gap)
}
.footer-logo-pair span {
  color: var(--secondary-text-color);
}
.footer-logo-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px double var(--border-color-main);
  width: 35px; 
  height: 35px; 
  border-radius: 50%;
  box-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.7),
    -2px -2px 4px rgba(255, 255, 255, 0.4);
}

.contract-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contract-address .contract-label {
  font-weight: bold;
}
.contract-copy-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1em;
  line-height: 1;
}
.footer-socials {
  display: flex;
  width: fit-content;
  background: var(--content-bg);
  border-radius: var(--mini-screen-border-radius);
  box-shadow: var(--mini-scren-shadows);
  border: 3px double var(--border-color-main);
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: inherit;
  text-decoration: none;
  font-size: var(--main-font-size);
  transition: background 0.2s ease;
}
.footer-social-link:hover {
  background: var(--mini-screen-element-hover);
}

.footer-section {
  display: flex;
  flex-direction: column;
}
.section-title {
  text-align: center;
  margin-bottom: 5px;
  border-bottom: 1px solid white;
  font-weight: bold;
}
.footer-link {  
  cursor: pointer;
  text-transform: uppercase;
}
.footer-link:hover {
  background: var(--mini-screen-element-hover);
}
.footer-link-screen {
  font-family: var(--screen-font-family);
  background: var(--content-bg);
  border-radius: var(--mini-screen-border-radius);
  box-shadow: var(--mini-scren-shadows);
  border: 3px double var(--border-color-main);
  padding: var(--main-padding-gap);
}

#google_translate_element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: -1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
  text-shadow: none;
}
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  position: fixed !important;
  top: 0 !important;
  z-index: 0 !important;
}
body > .skiptranslate:has(iframe.goog-te-banner-frame) {
  position: fixed !important;
  top: 0 !important;
  z-index: 0 !important;
}
iframe[class*="skiptranslate"],
div[class*="skiptranslate"],
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

#footer-language-select {
  width: 100%;
  min-width: 150px;
  padding: 5px 28px 5px 8px;
  color: var(--main-text-color);
  font: inherit;
  line-height: 1.2;
  background: var(--content-bg);
  border: 1px solid var(--border-color-main);
  border-radius: 4px;
  cursor: pointer;
}
#footer-language-select::-webkit-scrollbar {
  width: 5px;
}
#footer-language-select::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
#footer-language-select::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 0, 0.3);
  border-radius: 3px;
}
#footer-language-select::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 0, 0.5);
}
#footer-language-select:focus-visible {
  outline: 2px solid var(--secondary-text-color);
  outline-offset: 2px;
}
#footer-language-select option {
  color: var(--main-text-color);
  background-color: #004700;
}

.copyright {
  font-weight: bold;
  border-top: 1px solid white;
  flex: 1 1 100%;
  text-align: center;
}
.copyright-company-link {
  color: #00ff00;
  text-decoration: none;
}
.copyright-company-link:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 0.8rem;
  margin-bottom: -10px;
}
.footer-legal-link {
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.footer-legal-link:hover {
  text-decoration: underline;
}

.header.modal-expanded .modals-wrapper {
  max-height: 500px;
  padding: var(--main-padding-gap);
}
.modals-wrapper {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 var(--main-padding-gap);
  box-sizing: border-box;
}

.modal-body {
  color: var(--main-text-color);
  font-family: sans-serif;
  max-height: 350px;
  overflow-y: auto;
  padding: var(--main-padding-gap);
}
.modal-body::-webkit-scrollbar {
  width: 5px;
}
.modal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 0, 0.3);
  border-radius: 3px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 0, 0.5);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--main-padding-gap);
  border-bottom: 1px solid white;
}
.modal-header h3 {
  color: var(--secondary-text-color);
  margin: 0;
  flex-grow: 1;
  text-align: center;
}
.modal-close-btn {
  background: none;
  border: none;
  color: var(--secondary-text-color);
  font-size: var(--main-font-size);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-content-area h4 {
  color: var(--secondary-text-color);
  margin-top: 10px;
  margin-bottom: 10px;
}
.modal-content-area ul {
  margin: 10px 0;
  padding-left: 20px;
}
.modal-content-area a {
  color: var(--secondary-text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
.modal-content-area a:hover {
  text-decoration: underline;
}

.all-in-one-content.footer-links {
  padding: 5px;
}

@media (max-width: 768px) {
  .pipes-footer {
    gap: 200px;
  }
  .pipe-footer {
    width: 30px;
    height: 40px;
  }
  footer {
    width: 100%;
    border-radius: 50px 50px 0 0;
    font-size: var(--mobile-font-size);
  }
  footer::before {
    border-radius: 50px 50px 0 0;
  }
  .footer-limit {
    gap: 5px;
  }
  .footer-content {
    flex-direction: column;
    gap: 5px;
  }
  .footer-left {
    max-width: 300px;
  }
  .footer-link-screen {
    text-align: center;
  }
  .footer-legal-links {
    font-size: 0.6rem;
  }
  .modal-body {
    max-height: 300px;
    font-size: var(--mobile-font-size)
  }
  .modal-header {
    font-size: var(--mobile-font-size);
  }
}

@media (max-width: 1024px) {
  .pipes-footer {
    gap: 200px;
  }
  .pipe-footer {
    width: 30px;
    height: 40px;
  }
  footer {
    width: 100%;
    border-radius: 50px 50px 0 0;
    font-size: var(--mobile-font-size);
  }
  footer::before {
    border-radius: 50px 50px 0 0;
  }
  .footer-limit {
    gap: 5px;
  }
  .footer-content {
    flex-direction: column;
    gap: 5px;
  }
  .footer-left {
    max-width: 300px;
  }
  .footer-link-screen {
    text-align: center;
  }
  .footer-legal-links {
    font-size: 0.6rem;
  }
  .modal-body {
    max-height: 300px;
    font-size: var(--mobile-font-size)
  }
  .modal-header {
    font-size: var(--mobile-font-size);
  }
}