.finally-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(20, 41, 75, 0.05);
}

.source-code-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem !important;
  border: 1px solid rgba(13, 82, 199, 0.2);
  border-radius: 12px !important;
  background: linear-gradient(135deg, #0d6efd 0%, #315fd1 100%);
  box-shadow: 0 7px 16px rgba(49, 95, 209, 0.2);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.source-code-button:hover {
  background: linear-gradient(135deg, #0b63e5 0%, #284fac 100%);
  box-shadow: 0 10px 22px rgba(49, 95, 209, 0.28);
  color: #fff !important;
  transform: translateY(-1px);
}

.source-code-button:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.25);
  outline-offset: 3px;
}

.source-code-button:active {
  box-shadow: 0 4px 10px rgba(49, 95, 209, 0.22);
  transform: translateY(0);
}

/* The project ships only the solid Font Awesome font. Keep the historical
   fa-brands/fa-github markup while rendering the GitHub mark without a second
   webfont download. */
.fa-brands.fa-github {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0;
  font-size: 1.15rem;
  vertical-align: -0.125em;
}

.fa-brands.fa-github::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82A7.65 7.65 0 0 1 8 4.73c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82A7.65 7.65 0 0 1 8 4.73c.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.finally-brand {
  gap: 0.7rem;
}

.finally-brand-icon {
  flex: 0 0 auto;
  border-radius: 13px;
  box-shadow: 0 7px 18px rgba(13, 52, 111, 0.18);
}

.finally-brand-title {
  display: flex;
  align-items: center;
  height: 44px;
  color: #14294b;
  font-size: clamp(1.8rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
}

.container {
  position: relative;
  padding: 1rem;
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: 230px;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.4);
}

.loaded {
  display: none;
}

.loading-icon {
  width: 5rem;
  height: 5rem;
}

@media (max-width: 575.98px) {
  .finally-brand {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .finally-brand-icon {
    width: 40px;
    height: 40px;
  }

  .finally-brand-title {
    height: 40px;
    font-size: 1.85rem;
  }

  .source-code-button {
    min-height: 40px;
    padding: 0.6rem 0.9rem !important;
  }
}
