/* Aykut Sever responsive footer signature */
/*
 * Aykut Sever — Premium Responsive Developer Signature
 * Portable footer component
 * Desktop: right aligned | Tablet/Mobile: centered at footer bottom
 */

.dev-signature {
  --dev-silver-1: #f9fbfd;
  --dev-silver-2: #eef3f8;
  --dev-silver-3: #d1dce6;
  --dev-label: rgba(239, 245, 250, .86);
  --dev-focus: rgba(248, 252, 255, .92);

  box-sizing: border-box;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  margin-inline-start: auto;
  padding: 2px 0;
  color: var(--dev-label);
  background: none;
  border: 0;
  box-shadow: none;
  font: 700 10px/1.15 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  letter-spacing: .055em;
  white-space: nowrap;
}

.dev-signature::before,
.dev-signature::after,
.dev-signature__link::before,
.dev-signature__link::after {
  content: none;
  display: none;
}

.dev-signature__label {
  color: inherit;
}

.dev-signature__link {
  position: relative;
  display: inline-block;
  min-width: 0;
  margin: 0;
  padding: 2px 1px 3px;
  color: var(--dev-silver-1);
  background: linear-gradient(180deg,
    var(--dev-silver-1) 0%,
    #fbfdff 42%,
    var(--dev-silver-2) 68%,
    var(--dev-silver-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", "URW Chancery L", cursive;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: .01em;
  text-decoration: none;
  text-shadow:
    0 1px 0 rgba(255,255,255,.35),
    0 2px 6px rgba(0,0,0,.24),
    0 0 12px rgba(236,243,249,.16);
  outline: none;
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease, text-shadow .18s ease;
}

@media (hover: hover) {
  .dev-signature__link:hover {
    transform: translateY(-1px) scale(1.025);
    filter: brightness(1.12);
    text-shadow:
      0 1px 0 rgba(255,255,255,.28),
      0 3px 8px rgba(0,0,0,.28),
      0 0 15px rgba(235,242,247,.18);
  }
}

.dev-signature__link:focus-visible {
  outline: 2px solid var(--dev-focus);
  outline-offset: 4px;
  border-radius: 4px;
}

/* 4 background presets */
.dev-signature--dark {
  --dev-silver-1:#f9fbfd;
  --dev-silver-2:#eef3f8;
  --dev-silver-3:#d1dce6;
  --dev-label:rgba(239,245,250,.86);
  --dev-focus:rgba(248,252,255,.92);
}

.dev-signature--navy {
  --dev-silver-1:#f9fbfd;
  --dev-silver-2:#eef3f8;
  --dev-silver-3:#d1dce6;
  --dev-label:rgba(239,245,250,.86);
  --dev-focus:rgba(248,252,255,.92);
}

.dev-signature--green {
  --dev-silver-1:#f7fbf9;
  --dev-silver-2:#d7e1dc;
  --dev-silver-3:#9dab9f;
  --dev-label:rgba(224,234,228,.78);
}

.dev-signature--light {
  --dev-silver-1:#5e6a72;
  --dev-silver-2:#37434b;
  --dev-silver-3:#161e24;
  --dev-label:rgba(40,52,60,.72);
  --dev-focus:rgba(37,99,235,.78);
}

html[dir="rtl"] .dev-signature {
  direction: rtl;
}

/* Tablet + mobile: footer bottom, full-width and centered */
@media (max-width: 820px) {
  .dev-signature {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 8px auto 0;
    padding: 4px 0 max(4px, env(safe-area-inset-bottom));
    justify-content: center;
    text-align: center;
    white-space: normal;
    font-size: 10px;
  }

  .dev-signature__link {
    max-width: 100%;
    font-size: clamp(18px, 5.2vw, 21px);
  }
}

@media (max-width: 360px) {
  .dev-signature {
    gap: 5px;
    font-size: 9.5px;
  }
  .dev-signature__link {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dev-signature__link {
    transition: none;
    transform: none;
  }
}


footer > .aykut-sever-signature-slot {
  box-sizing: border-box !important;
  padding: 0 0 max(8px, env(safe-area-inset-bottom)) !important;
}
footer > .aykut-sever-signature-slot .developer-credit.dev-signature {
  flex: 0 0 auto !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 !important;
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: center !important;
}
@media (min-width: 821px) {
  footer > .aykut-sever-signature-slot {
    display: flex !important;
    width: fit-content !important;
    max-width: calc(100% - 32px) !important;
    margin: 18px clamp(16px, 4vw, 72px) 0 auto !important;
    justify-content: flex-end !important;
    text-align: right !important;
  }
}
@media (max-width: 820px) {
  footer > .aykut-sever-signature-slot {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 14px auto 0 !important;
    padding: 0 16px max(8px, env(safe-area-inset-bottom)) !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* Yeniyol: keep the signature in the original footer-bottom flow */
@media (min-width: 821px) {
  .site-footer .footer-bottom .container > .aykut-sever-signature-slot {
    display: flex !important;
    flex: 0 0 auto !important;
    width: fit-content !important;
    max-width: 48% !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    justify-content: flex-end !important;
    text-align: right !important;
  }
  .site-footer .footer-bottom .container > .aykut-sever-signature-slot .developer-credit.dev-signature {
    flex: 0 0 auto !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-inline: 0 !important;
    align-self: center !important;
  }
}
@media (max-width: 820px) {
  .site-footer .footer-bottom .container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  .site-footer .footer-bottom .container > span:first-child {
    width: 100% !important;
    text-align: center !important;
  }
  .site-footer .footer-bottom .container > .aykut-sever-signature-slot {
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0 max(6px, env(safe-area-inset-bottom)) !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .site-footer .footer-bottom .container > .aykut-sever-signature-slot .developer-credit.dev-signature {
    flex: 0 0 auto !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    margin-inline: auto !important;
  }
}