/* Header "Giriş Yap" button */
a.header-login-btn {
  font-family: inherit;
  font-size: 16px;
  background: #212121;
  color: #ffffff;
  padding: 0.62em 1em;
  padding-left: 0.82em;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: none;
  border-radius: 15px;
  font-weight: 1000;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}

a.header-login-btn span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
  color: inherit;
}

a.header-login-btn .header-login-btn__icon {
  display: block;
  width: 24px;
  height: 24px;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
  fill: rgb(155, 153, 153);
}

a.header-login-btn:hover {
  background: #000;
  color: #fff;
}

a.header-login-btn:hover .header-login-btn__svg-wrap {
  transform: scale(1.25);
  transition: 0.5s linear;
}

a.header-login-btn:hover .header-login-btn__icon {
  transform: translateX(1.2em) scale(1.1);
  fill: #fff;
}

a.header-login-btn:hover span {
  opacity: 0;
  transition: 0.5s linear;
}

a.header-login-btn:active {
  transform: scale(0.95);
}

.header-login-btn__svg-wrap-1,
.header-login-btn__svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-login-btn__svg-wrap {
  transition: transform 0.3s ease-in-out;
}

/* Header "Ücretsiz Başla" Register Button */
.header-register-btn {
  --black-700: hsla(0 0% 12% / 1);
  --border_radius: 9999px;
  --transtion: 0.3s ease-in-out;
  --offset: 2px;

  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform-origin: center;
  padding: 0.7rem 1.4rem;
  background-color: transparent;
  border: none;
  border-radius: var(--border_radius);
  transform: scale(calc(1 + (var(--active, 0) * 0.1)));
  transition: transform var(--transtion);
  text-decoration: none;
  margin-left: 0.5rem;
}

.header-register-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: var(--black-700);
  border-radius: var(--border_radius);
  box-shadow: inset 0 0.5px hsl(0, 0%, 100%), inset 0 -1px 2px 0 hsl(0, 0%, 0%),
    0px 4px 10px -4px hsla(0 0% 0% / calc(1 - var(--active, 0))),
    0 0 0 calc(var(--active, 0) * 0.375rem) hsl(260 97% 50% / 0.75);
  transition: all var(--transtion);
  z-index: 0;
}

.header-register-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: hsla(260 97% 61% / 0.75);
  background-image: radial-gradient(
      at 51% 89%,
      hsla(266, 45%, 74%, 1) 0px,
      transparent 50%
    ),
    radial-gradient(at 100% 100%, hsla(266, 36%, 60%, 1) 0px, transparent 50%),
    radial-gradient(at 22% 91%, hsla(266, 36%, 60%, 1) 0px, transparent 50%);
  background-position: top;
  opacity: var(--active, 0);
  border-radius: var(--border_radius);
  transition: opacity var(--transtion);
  z-index: 2;
}

.header-register-btn:is(:hover, :focus-visible) {
  --active: 1;
}

.header-register-btn:active {
  transform: scale(1);
}

.header-register-btn__dots_border {
  --size_border: calc(100% + 2px);
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--size_border);
  height: var(--size_border);
  background-color: transparent;
  border-radius: var(--border_radius);
  z-index: -10;
}

.header-register-btn__dots_border::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: left;
  transform: rotate(0deg);
  width: 100%;
  height: 2rem;
  background-color: white;
  mask: linear-gradient(transparent 0%, white 120%);
  animation: header-register-rotate 2s linear infinite;
}

@keyframes header-register-rotate {
  to {
    transform: rotate(360deg);
  }
}

.header-register-btn__sparkle {
  position: relative;
  z-index: 10;
  width: 1.5rem;
}

.header-register-btn__path {
  fill: currentColor;
  stroke: currentColor;
  transform-origin: center;
  color: hsl(0, 0%, 100%);
}

.header-register-btn:is(:hover, :focus) .header-register-btn__path {
  animation: header-register-path 1.5s linear 0.5s infinite;
}

.header-register-btn__path:nth-child(1) {
  --scale_path_1: 1.2;
}
.header-register-btn__path:nth-child(2) {
  --scale_path_2: 1.2;
}
.header-register-btn__path:nth-child(3) {
  --scale_path_3: 1.2;
}

@keyframes header-register-path {
  0%, 34%, 71%, 100% {
    transform: scale(1);
  }
  17% {
    transform: scale(var(--scale_path_1, 1));
  }
  49% {
    transform: scale(var(--scale_path_2, 1));
  }
  83% {
    transform: scale(var(--scale_path_3, 1));
  }
}

.header-register-btn__text {
  position: relative;
  z-index: 10;
  background-image: linear-gradient(
    90deg,
    hsla(0 0% 100% / 1) 0%,
    hsla(0 0% 100% / var(--active, 0)) 120%
  );
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 0.95rem;
  font-weight: 600;
  color: transparent;
  white-space: nowrap;
}
