:root {
  --header-height: 5rem;
  --main-padding-inline: 3rem;

  @media (max-width: 1300px) {
    --main-padding-inline: 1.25rem;
  }
}

html {
  scroll-behavior: smooth;
  /* scroll-padding-top: var(--header-height); */
}

body {
  background: #000;
  color: white;
  position: relative;
}

.btn {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 0.75rem;
  padding: 16px 24px;
  border-radius: 120px;
  font-family: "Helvetica Neue";
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;

  &::after {
    content: "";
    width: 24px;
    height: 24px;
    mask-image: url(../img/arrow_right_down_24px.svg);
    mask-size: cover;
    mask-position: center;
    mask-repeat: no-repeat;
    transition: transform 0.3s ease;
  }

  &:hover {
    &::after {
      transform: rotate(270deg);
    }
  }

  &.btn-primary {
    background-color: #fed607;
    color: #000;

    &::after {
      background-color: #000;
    }

    &:hover {
      color: white;
      background-color: #333333;

      &::after {
        background-color: #fed607;
      }
    }
  }

  &.btn-secondary {
    background-color: #333333;
    color: white;

    &:hover {
      background-color: #fed607;
      color: #000;

      &::after {
        background-color: #000;
      }
    }

    &::after {
      background-color: #fed607;
    }
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Impact", sans-serif;
}

p {
  font-family: "Helvetica Neue", sans-serif;
}

.page-wrapper {
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding-inline: var(--main-padding-inline);
}

.partner-cabinet {
  font-family: "Helvetica Neue";
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
}

.phone {
  font-family: Impact;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 32px;
  text-transform: uppercase;
  text-decoration: underline;
  color: #fed607;

  @media (max-width: 1300px) {
    font-size: 20px;
    line-height: 24px;
  }
}

header {
  color: white;
  position: fixed;
  width: 100%;
  margin: 0 auto;
  padding-inline: var(--main-padding-inline);

  height: var(--header-height);
  background: linear-gradient(180deg, #000000 10%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;

  & .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1344px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }

  & .logo {
    width: 3rem;
    height: 3rem;
  }

  & nav {
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
  }


    & .select_language {
    & .link {
      background: none;
      border: none;
      text-decoration: none;
      color: white;
      font-size: 16px;
      font-family: "Helvetica Neue";
      transition: all 0.3s ease;
      text-transform: uppercase;
      transition: color 0.3s ease;

      &:hover {
        cursor: not-allowed;
      }

      &.inactive {
        cursor: pointer;
        color: #a6a6a6;

        &:hover {
          color: #fed607;
        }
      }
    }

    span {
      color: #a6a6a6;
    }
  }

  & .container {
    display: flex;
    width: fit-content;

    a {
      display: flex;
      align-items: center;

      &:hover {
        color: #fed607;
        transition: color 0.3s ease;

        & svg path {
          fill: #fed607;
        }
      }

      & svg path {
        fill: white;
        transition: fill 0.3s ease;
      }
    }

    &:nth-child(1) {
      flex-grow: 1;
      max-width: 690px;
      justify-content: space-between;
    }

    &:nth-child(2) {
      gap: 2rem;
      align-items: center;
    }

    & ul {
      display: flex;
      align-items: center;
      height: 100%;
      gap: 1.5rem;
    }

    & .menu-button {
      display: none;
    }

    @media (max-width: 1300px) {
      & nav {
        display: none;
      }

      & .partner-cabinet {
        display: none;
      }

      & .phone {
        display: none;
      }

      & .menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ffffff1a;
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 3rem;
        cursor: pointer;

        & span {
          height: 20px;
          width: 20px;
          mask-image: url(../img/menu_24px.svg);
          mask-size: cover;
          mask-repeat: no-repeat;
          mask-position: center;
          background-color: #fed607;
          cursor: pointer;
          transition: background-color 0.3s ease;
        }

        &:hover span {
          background-color: white;
        }
      }

      & .close-menu-button {
        & span {
          mask-image: url(../img/cross_24px.svg);
        }
      }
    }
  }

  & .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: black;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;

    &.open {
      transform: translateX(0);
      pointer-events: auto;
    }

    & .menu-wrapper {
      padding-inline: var(--main-padding-inline);
      padding-block: 40px;
      height: calc(100% - 5rem);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: flex-end;
      opacity: 0;
      transition: opacity 0.3s ease 0.1s;

      .open & {
        opacity: 1;
      }

      & nav {
        font-family: Impact;
        font-weight: 400;
        font-style: normal;
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0%;
        text-transform: uppercase;
        text-align: right;

        & ul {
          display: flex;
          flex-direction: column;
          gap: 18px;

          & li {
            transition: color 0.3s ease;

            &:hover {
              color: #fed607;
            }
          }
        }
      }
    }

    & header {
      border-bottom: 1px solid #ffffff1a;
      position: static;
    }
  }
}

.yellow-background {
  position: relative;
  background-color: #fed607;
  background-image: url(../img/cells-test-yellow.svg);
  background-size: auto;
  color: black;
}

.articles-swiper-section {
  padding-block: 160px;
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: calc(1344px + var(--main-padding-inline) * 2);
  margin-inline: auto;

  & .swiper-header {
    padding-inline: var(--main-padding-inline);
    display: flex;
    justify-content: space-between;
    align-items: center;

    & h3 {
      font-family: Impact;
      font-weight: 400;
      font-size: 56px;
      line-height: 60px;
      text-transform: uppercase;
    }

    & .navigation-buttons {
      display: flex;
      gap: 16px;

      & button {
        mask-image: url(../img/swiper-arrow.svg);
        mask-size: cover;
        mask-position: center;
        mask-repeat: no-repeat;
        background-color: #333333;
        width: 28px;
        height: 28px;
        transition: 0.3s ease background-color;

        &:hover {
          background-color: #fed607;
          cursor: pointer;
        }

        &:disabled {
          background-color: #cccccc;
          cursor: not-allowed;
        }

        &.nav-next {
          transform: rotate(180deg);
        }
      }
    }
  }

  & .load-more-button {
    display: none;
  }

  & .swiper-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-inline: var(--main-padding-inline);
    gap: 1.5rem;
    max-width: 100%;
    padding-inline: var(--main-padding-inline);

    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }

    & .swiper-wrapper {
      display: flex;
      gap: 1.5rem;
    }

    & .article-card {
      position: relative;
      flex: 0 0 calc(318px);
      min-width: 318px;
      width: 318px;
      background-color: #fff;
      border: 1px solid #cccccc;
      overflow: hidden;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;

      & img {
        width: 100%;
        aspect-ratio: 318/239;
        object-fit: cover;
      }

      & .article-content {
        padding: 2rem 2rem 4rem;
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex: 1;

        & .article-time {
          display: flex;
          gap: 0.5rem;
          padding-bottom: 0.5rem;
          align-items: center;

          & img {
            width: 20px;
            height: 20px;
          }
        }

        & time {
          font-family: "Helvetica Neue";
          font-weight: 500;
          font-size: 12px;
          line-height: 16px;
          color: #666666;
        }

        & h4 {
          font-family: Impact;
          font-weight: 400;
          font-size: 24px;
          line-height: 32px;
          text-transform: uppercase;
        }

        & p {
          font-family: "Helvetica Neue";
          font-weight: 400;
          font-size: 14px;
          line-height: 20px;
          color: #666666;
          max-height: 80px;
          max-width: 186px;
          display: -webkit-box;
          -webkit-line-clamp: 4;
          line-clamp: 4;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        & .btn {
          padding: 1rem;
          position: absolute;
          bottom: 24px;
          right: 24px;
        }
      }
    }
  }

  & .load-more-button {
    display: none;
  }

  /* Mobile styles */
  @media (max-width: 1000px) {
    padding-block: 120px;
    gap: 60px;

    & .swiper-header {
      padding-inline: 20px;
      flex-direction: column;
      align-items: flex-start;

      & h3 {
        font-size: 32px;
        line-height: 34px;
      }

      & .navigation-buttons {
        display: none;
      }
    }

    & .swiper-container {
      flex-direction: column;
      overflow-x: hidden;
      overflow-y: visible;
      scroll-snap-type: none;
      scroll-padding-inline: 0;
      padding-inline: 20px;
      gap: 24px;
      padding-bottom: 0;

      & .swiper-wrapper {
        flex-direction: column;
        gap: 24px;
      }

      & .article-card {
        flex: 0 0 auto;
        min-width: 100%;
        scroll-snap-align: none;
        min-width: none;
        width: 100%;

        /* Hide articles beyond the first 4 on mobile */
        &:nth-child(n + 5) {
          display: none;
        }

        img {
          height: 188px;
        }

        & .article-content {
          padding: 24px;
          gap: 12px;

          & .article-time {
            padding-bottom: 0;
          }

          & p {
            max-height: 60px;
            max-width: 219px;
          }
        }
      }
    }

    & .load-more-button {
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-family: "Helvetica Neue";
      font-weight: 500;
      font-size: 14px;
      line-height: 20px;
      text-decoration: underline;
      cursor: pointer;
      transition: 0.3s ease color;
      color: #333333;
      text-align: center;

      &::after {
        content: "";
        display: block;
        mask-image: url(../img/swiper-arrow.svg);
        mask-size: cover;
        mask-position: center;
        mask-repeat: no-repeat;
        background-color: #333333;
        width: 20px;
        height: 20px;
        transition: 0.3s ease background-color;
        transform: rotate(-90deg);
      }

      &:hover {
        color: #fed607;
        text-decoration: none;

        &::after {
          background-color: #fed607;
        }
      }
    }
  }

  @media (max-width: 365px) {
    & .swiper-container {
      & .article-card {
        & .article-content {
          & p {
            max-width: 160px;
          }
        }
      }
    }
  }
}

.contact-section {
  max-width: calc(1344px + var(--main-padding-inline) * 2);
  padding-inline: var(--main-padding-inline);
  margin-inline: auto;
  padding-block: 160px;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 70vw;
    height: 50vw;
    background-image: url(../img/circle-gradient.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    z-index: 2;
  }

  & .contact-header {
    margin-bottom: 160px;
    position: relative;
    z-index: 3;

    & > h3 {
      font-family: Impact;
      font-weight: 400;
      font-size: 56px;
      line-height: 60px;
      text-transform: uppercase;
      max-width: 660px;
      margin-bottom: 40px;
    }

    & .contact-subtitle {
      display: flex;
      align-items: flex-start;
      gap: 40px;

      & h2 {
        font-family: Impact;
        font-weight: 400;
        font-size: 72px;
        line-height: 100%;
        text-transform: uppercase;
      }

      & .contact-subtitle-text {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 204px;

        & p {
          font-family: "Helvetica Neue";
          font-weight: 400;
          font-size: 14px;
          line-height: 20px;
        }
      }
    }
  }

  & .contact-content {
    display: grid;
    grid-template-columns: 318px auto 546px;
    gap: 1.5rem;
    z-index: 3;
    position: relative;
  }

  /* Google Map */
  & .contact-map {
    background-color: #ffffff;
    overflow: hidden;
    height: 100%;
    min-height: 600px;

    & #map {
      width: 100%;
      height: 100%;
      min-height: 600px;
    }
  }

  /* Contact Information */
  & .contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;

    & .contact-info-block {
      & h4 {
        font-family: Impact;
        font-weight: 400;
        font-size: 24px;
        line-height: 32px;
        text-transform: uppercase;
        margin-bottom: 12px;
      }

      & p {
        font-family: "Helvetica Neue", sans-serif;
        font-size: 14px;
        line-height: 20px;
        color: #000000;
        margin-bottom: 4px;

        & a {
          color: #000000;
          transition: color 0.3s ease;
          text-decoration: underline;

          &:hover {
            color: #333333;
            text-decoration: none;
          }
        }
      }

      & .social-links {
        display: flex;
        gap: 16px;
        margin-top: 12px;

        & .social-link {
          width: 40px;
          height: 40px;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #000000;
          border-radius: 50%;
          color: #fed607;
          font-size: 20px;
          transition: all 0.3s ease;

          &:hover {
            background-color: #333333;
            transform: scale(1.1);
          }

          & i {
            line-height: 1;
          }
        }
      }
    }
  }

  /* Contact Form */
  & .contact-form-wrapper {
    background-color: #ffffff;
    padding: 40px;

    & h3 {
      font-family: Impact;
      font-weight: 400;
      font-size: 56px;
      line-height: 60px;
      text-transform: uppercase;
      margin-bottom: 32px;
    }

    & .contact-form {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;

      & .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;

        & label {
          font-family: "Helvetica Neue";
          font-weight: 500;
          font-size: 12px;
          line-height: 16px;
          color: #000000;
        }

        & input[type="text"] {
          padding: 12px 24px;
          border-radius: 120px;
          border: 1px solid #b3b3b3;
          font-family: "Helvetica Neue";
          font-size: 14px;
          line-height: 20px;
          background-color: #e6e6e6;
          color: #000000;
          transition: box-shadow 0.3s ease;

          &::placeholder {
            color: #999999;
          }

          &:focus {
            outline: none;
            box-shadow: 0 0 0 2px #fed607;
          }
        }

        & .radio-group {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;

          & .radio-label {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            cursor: pointer;
            position: relative;

            & input[type="radio"] {
              position: absolute;
              opacity: 0;
              cursor: pointer;

              &:checked + .radio-custom {
                border: 1px solid black;

                &::after {
                  content: "";
                  position: absolute;
                  top: 50%;
                  left: 50%;
                  transform: translate(-50%, -50%) scale(1);
                  width: 80%;
                  height: 80%;
                  border-radius: 50%;
                  background-color: black;
                  animation: radioExpand 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
                }
              }
            }

            & .radio-custom {
              width: 36px;
              height: 36px;
              border: 1px solid #b3b3b3;
              border-radius: 50%;
              background-color: #e6e6e6;
              position: relative;
              transition: all 0.3s ease;
              flex-shrink: 0;
            }

            & .radio-text {
              font-family: "Helvetica Neue";
              font-size: 14px;
              line-height: 20px;
              color: #000000;
            }

            &:hover .radio-custom {
              border-color: #000000;
            }
          }
        }
      }

      & .btn-submit {
        transition: all 0.3s ease;
        margin-top: 8px;
      }
    }
  }

  /* Mobile Adaptive */
  @media (max-width: 1300px) {
    padding-block: 120px;

    & .contact-header {
      margin-bottom: 80px;

      & .contact-subtitle {
        flex-direction: column;
      }
    }

    & .contact-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      align-items: center;
      grid-template-columns: unset;
      gap: 3rem;

      & .contact-map {
        width: 318px;
        height: max-content;
      }
    }
  }

  @media (max-width: 770px) {
    &::before {
      width: 100vw;
      height: 60vw;
    }

    & .contact-header {
      & h3 {
        margin-bottom: 20px;
        font-size: 32px;
        line-height: 34px;
      }

      & .contact-subtitle {
        gap: 1rem;

        & h2 {
          font-size: 40px;
          line-height: 100%;
        }
      }
    }

    & .contact-content {
      flex-direction: column;
      justify-content: flex-start;

      & .contact-map {
        width: 100%;
      }

      & .contact-info {
        gap: 2rem;

        & .contact-info-block {
          & h4 {
            font-size: 20px;
            line-height: 24px;
          }
        }
      }
    }

    & .contact-form-wrapper {
      width: 100%;
      padding: 2rem;
      max-width: 430px;

      & h3 {
        font-size: 32px;
        line-height: 34px;
        margin-bottom: 1.5rem;
      }

      & .btn-submit {
        transition: all 0.3s ease;
        margin-top: 1.5rem;
      }
    }
  }
}

/* Radio Button Animation */
@keyframes radioExpand {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.grey-background {
  background-color: #1a1a1a;
  color: white;
  background-image: url(../img/Monotone_noise_1a1a1a.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.FAQ-section {
  max-width: calc(1344px + var(--main-padding-inline) * 2);
  padding-inline: var(--main-padding-inline);
  margin-inline: auto;
  padding-block: 160px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 1080px;

  @media (max-width: 1050px) {
    padding-block: 120px 520px;
    gap: 60px;
  }

  @media (max-width: 375px) {
    padding-bottom: 420px;
  }

  & .questions-image {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 720px;

    @media (max-width: 1400px) {
      height: 500px;
    }

    @media (max-width: 1200px) {
      height: 400px;
    }

    @media (max-width: 1050px) {
      height: auto;
      width: 455px;
      right: 50%;
      transform: translateX(50%);
    }
  }

  & h3 {
    font-family: Impact;
    font-weight: 400;
    font-size: 56px;
    line-height: 60px;
    text-align: right;
    text-transform: uppercase;
    width: 420px;
    align-self: flex-end;
  }

  & .FAQ-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 774px;
    position: relative;
    z-index: 2;
  }

  & .FAQ-item {
    overflow: hidden;
    transition: background-color 0.3s ease;

    & summary {
      background-color: #2d2d2d;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.5rem;
      cursor: pointer;
      list-style: none;
      position: relative;
      user-select: none;
      gap: 20px;

      &::-webkit-details-marker {
        display: none;
      }

      &.animating {
        pointer-events: none;
      }

      & h4 {
        font-family: Impact;
        font-weight: 400;
        font-style: Regular;
        font-size: 24px;
        line-height: 32px;
        text-transform: uppercase;
        margin: 0;
        flex: 1;
      }

      & .FAQ-icon {
        position: relative;
        width: 20px;
        height: 20px;
        flex-shrink: 0;

        &::before,
        &::after {
          content: "";
          position: absolute;
          background-color: white;
          transition:
            transform 0.3s ease,
            opacity 0.3s ease;
        }

        &::before {
          top: 10px;
          left: 0;
          width: 20px;
          height: 4px;
          transform: translateY(-50%);
        }

        &::after {
          top: 0;
          left: 10px;
          width: 4px;
          height: 20px;
          transform: translateX(-50%);
        }
      }

      &:hover {
        & h4 {
          color: #fed607;
        }

        & .FAQ-icon::before,
        & .FAQ-icon::after {
          background-color: #fed607;
        }
      }
    }

    & .FAQ-answer {
      max-height: 0;
      overflow: hidden;
      padding: 0 1.5rem;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);

      & p {
        font-family: "Helvetica Neue";
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #ffffff99;
        margin: 0;
        padding-block: 1rem 1.5rem;
      }
    }

    &[open] {
      & summary .FAQ-icon::after {
        transform: translateX(-50%) rotate(90deg);
        opacity: 0;
      }
    }
  }

  /* Mobile Adaptive */
  @media (max-width: 1050px) {
    & h3 {
      font-size: 32px;
      line-height: 34px;
      width: 246px;
    }

    & .FAQ-content {
      max-width: 100%;
    }

    & .FAQ-item {
      & summary {
        padding: 12px 16px;
        gap: 16px;

        & h4 {
          font-size: 20px;
          line-height: 24px;
        }
      }

      & .FAQ-answer {
        padding: 0 16px;
      }
    }
  }
}

footer {
  background-image: url(../img/cells-test-white.svg);
  background-color: #000;
  padding-block: 80px;
  color: white;

  @media (max-width: 700px) {
    padding-block: 60px;
  }

  .footer-container {
    max-width: calc(1344px + var(--main-padding-inline) * 2);
    margin-inline: auto;
    padding-inline: var(--main-padding-inline);
  }

  & ul.nav-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;

    @media (max-width: 700px) {
      row-gap: 3rem;
      column-gap: 1rem;
    }

    & li {
      @media (max-width: 855px) {
        flex: 1 1 calc(50% - 1rem - var(--main-padding-inline) * 2);
      }
    }

    & .nav-block {
      display: flex;
      flex-direction: column;
      gap: 20px;

      & h3 {
        font-family: Impact;
        font-weight: 400;
        font-size: 40px;
        line-height: 48px;
        text-transform: uppercase;

        @media (max-width: 700px) {
          font-size: 24px;
          line-height: 28px;
        }
      }

      & nav ul.nav-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;

        & a {
          font-family: "Helvetica Neue";
          font-weight: 400;
          font-size: 14px;
          line-height: 20px;
          transition: color 0.3s ease;

          &:hover {
            color: #fed607;
          }
        }
      }
    }
  }

  & .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 4rem;
    margin-bottom: 40px;
    justify-content: center;

    & .social-link {
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #fed607;
      border-radius: 50%;
      color: #000000;
      font-size: 20px;
      transition: transform 0.3s ease;

      &:hover {
        transform: scale(1.2);
      }

      & i {
        line-height: 1;
      }
    }
  }

  & .footer-logo {
    margin-inline: auto;
    display: block;
    mask-image: url(../img/Logo_footer.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #fed607;
    width: 6rem;
    height: 6rem;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: #ffffff;
    }
  }

  & .footer-copyright {
    margin-top: 20px;
    font-family: "Helvetica Neue";
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
}

/* Custom Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.25rem;

  &.active {
    opacity: 1;
    visibility: visible;

    & .popup-content {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }
}

.popup-content {
  position: relative;
  background-color: #1a1a1a;
  background-image: url(../img/Monotone_noise_1a1a1a.png);
  border: 1px solid #333333;
  padding: 3rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  transform: translateY(-40px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;

  @media (max-width: 480px) {
    padding: 2rem 1.5rem;
  }
}

.popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  &.popup-icon-success {
    background-color: #fed607;

    &::after {
      content: "";
      width: 32px;
      height: 32px;
      background-color: #000;
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
    }
  }

  &.popup-icon-error {
    background-color: #ff4444;

    &::after {
      content: "";
      width: 32px;
      height: 32px;
      background-color: #fff;
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
      mask-size: contain;
      mask-repeat: no-repeat;
      mask-position: center;
    }
  }
}

.popup-message {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  margin-bottom: 2rem;
}

.popup-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  background-color: #fed607;
  color: #000;
  border: none;
  border-radius: 120px;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;

  &:hover {
    background-color: #ffe44d;
    transform: scale(1.02);
  }

  &:active {
    transform: scale(0.98);
  }
}
