/* ==========================================================================
   Kaan Premium — link kartı
   Ana sitenin koyu-altın kimliğini kullanır; tipografi ve renkler ortak.
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg:        #0A0A0D;
  --surface:   #15151D;
  --surface-2: #1C1C26;
  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);
  --text:      #F4F4F7;
  --muted:     #9A9AAB;
  --dim:       #8C8C9E;
  --vurgu:     #E7B45F;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.kart-sayfa {
  margin: 0;
  min-height: 100vh;
  padding: 56px 20px 40px;
  background:
    radial-gradient(760px 420px at 50% -8%, color-mix(in srgb, var(--vurgu) 16%, transparent) 0%, transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.kart {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ---------- üst blok ---------- */

.kart-ust {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.avatar {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  border: 2px solid color-mix(in srgb, var(--vurgu) 42%, transparent);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .03),
              0 18px 44px rgba(0, 0, 0, .5);
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-harf {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
}

.avatar-harf span {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--vurgu);
}

.kart-ust h1 {
  margin: 6px 0 0;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.unvan {
  margin: 0;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--vurgu);
}

.bio {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .96rem;
  max-width: 38ch;
}

/* ---------- bağlantılar ---------- */

.baglantilar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.baglanti {
  display: grid;
  grid-template-columns: 22px 1fr 16px;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color .2s, background .2s, transform .12s;
}

.baglanti:hover,
.baglanti:focus-visible {
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--vurgu) 48%, transparent);
  transform: translateY(-2px);
}

.baglanti:focus-visible {
  outline: 2px solid var(--vurgu);
  outline-offset: 3px;
}

.baglanti:active { transform: translateY(0); }

.baglanti-ikon {
  display: grid;
  place-items: center;
  color: var(--vurgu);
}

.ikon { width: 21px; height: 21px; display: block; }

.baglanti-metin { min-width: 0; }

.baglanti-ok {
  color: var(--dim);
  font-size: 1rem;
  transition: color .2s, transform .2s;
}

.baglanti:hover .baglanti-ok {
  color: var(--vurgu);
  transform: translateX(3px);
}

/* ---------- imza ---------- */

.imza {
  margin-top: 6px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.imza a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  text-decoration: none;
  border-radius: 10px;
  transition: background .2s;
}

.imza a:hover { background: rgba(255, 255, 255, .04); }

.imza a:focus-visible {
  outline: 2px solid var(--vurgu);
  outline-offset: 2px;
}

.imza-logo {
  height: 21px;
  width: auto;
  display: block;
  opacity: .92;
  transition: opacity .2s;
}

.imza a:hover .imza-logo { opacity: 1; }

/* ---------- küçük ekran ---------- */

@media (max-width: 420px) {
  body.kart-sayfa { padding: 40px 16px 32px; }
  .avatar { width: 106px; height: 106px; }
  .kart-ust h1 { font-size: 1.45rem; }
  .baglanti { padding: 13px 16px; font-size: .95rem; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .baglanti,
  .baglanti-ok { transition: none; }
  .baglanti:hover { transform: none; }
}
