:root{
  --card:#ffffffee;
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 22px;

  /* vCard palette */
  --dark:#2f2f2f;
  --line:#efefef;
  --text:#111;
  --muted:#666;
}

*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f6f6f6;color:#222}

.container{max-width:520px;margin:28px auto;padding:0 14px}
.card{background:#fff;border-radius:18px;box-shadow:var(--shadow);padding:18px}
h1{margin:0 0 12px;font-size:22px}
h3{margin:14px 0 10px}
label{display:block;font-size:13px;color:#444;margin:10px 0 6px}
input,textarea,select{width:100%;padding:12px;border-radius:12px;border:1px solid #e8e8e8;font-size:14px;outline:none}
textarea{min-height:90px;resize:vertical}
hr{border:none;border-top:1px solid #eee;margin:16px 0}

.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 14px;border-radius:12px;border:none;background:#ef6aa0;color:#fff;font-weight:600;cursor:pointer}
.btn.ghost{background:#f2f2f2;color:#333}
.btn.danger{background:#e54848}
.link{color:#ef6aa0;text-decoration:none;font-weight:600}

.alert{background:#fff3f6;border:1px solid #ffd0df;color:#a2385c;padding:10px;border-radius:12px;margin:10px 0}
.muted{color:#777}
.small{font-size:12px}

.row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.grid2{grid-template-columns:1fr}}

.tabs{display:flex;gap:10px;margin:10px 0 14px}
.tab{padding:10px 12px;border-radius:999px;background:#f4f4f4;text-decoration:none;color:#333;font-weight:600;font-size:13px}
.tab.active{background:#ffe3ee;color:#a2385c}

.preview iframe{width:100%;height:540px;border:1px solid #eee;border-radius:14px}

.thumb{width:86px;height:86px;border-radius:14px;object-fit:cover;border:1px solid #eee;margin-top:10px}

.linkitem{display:flex;justify-content:space-between;gap:10px;padding:12px;border:1px solid #eee;border-radius:14px;margin:10px 0}
.linktitle{font-weight:800}
.actions{display:flex;gap:8px;align-items:flex-start}

/* --- Old linktree styles (kalsın) --- */
.profile{
  min-height:100vh;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:30px 14px;
  background-size:cover;
  background-position:center;
}
.profile-card{
  width:min(520px,100%);
  background:var(--card);
  backdrop-filter: blur(10px);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px 18px;
  text-align:center;
}
.avatar-wrap{display:flex;justify-content:center;margin-top:4px}
.avatar{width:108px;height:108px;border-radius:999px;object-fit:cover;border:6px solid #fff}
.avatar.placeholder{background:#f0f0f0}
.name{margin:12px 0 8px;font-size:30px;color:#8a3b56}
.bio{margin:0 0 14px;color:#8a3b56;opacity:.9}
.buttons{display:flex;flex-direction:column;gap:12px;margin:16px 0}
.btnlink{
  display:flex;align-items:center;justify-content:flex-start;
  padding:16px 18px;border-radius:16px;text-decoration:none;font-weight:800;
  box-shadow:0 10px 20px rgba(0,0,0,.08);
  border:1px solid rgba(255,255,255,.65);
}
.sponsor{margin-top:18px;display:flex;justify-content:center}
.sponsor a{text-decoration:none;color:#8a3b56;display:flex;gap:10px;align-items:center}
.sponsor-logo{width:28px;height:28px;border-radius:8px;object-fit:cover}
.sponsor-text{font-weight:700;font-size:13px;opacity:.9}

/* --- vCard styles (new design) --- */

.vcard{
  /* daha uzun arkaplan */
  min-height: 140vh;
  display:flex;
  justify-content:center;
  padding:28px 14px 60px;
  background-size:cover;
  background-position:center;
}

.vcard-card{
  width:min(560px,100%);
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.65);
}

.vcard-header{
  padding:22px 18px 14px;
  text-align:center;
}
.vcard-logo{
  width:110px;height:110px;border-radius:16px;
  object-fit:cover;
  background:#eee;
  border: 1px solid #eaeaea;
}
.vcard-logo.placeholder{background:#f0f0f0}
.vcard-name{
  margin:12px 0 4px;
  font-size:22px;
  font-weight:900;
  color:var(--text);
  letter-spacing:.2px;
}
.vcard-sub{
  font-size:12px;
  color:#555;
  margin-top:6px;
  line-height:1.35;
}

/* üst ara/e-posta bar */
.vcard-actions{
  display:grid;
  grid-template-columns: 1fr 1fr;
  background:var(--dark);
  border-top:1px solid rgba(255,255,255,.10);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.vcard-actions.bottom{ margin-top: 10px; }
.vcard-actions .action{
  color:#fff;
  text-decoration:none;
  padding:14px 12px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.2px;
  border-right:1px solid rgba(255,255,255,.12);
}
.vcard-actions .action:last-child{border-right:none}
.vcard-actions .ico{display:inline-flex}
.vcard-actions .ico svg{width:18px;height:18px;fill:#fff;opacity:.95}

/* satır listesi */
.vcard-list{padding:6px 0;background:#fff}
.vrow{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px 14px;
  text-decoration:none;
  color:var(--text);
  border-bottom:1px solid var(--line); /* çizgi hattı */
  position:relative;
  -webkit-tap-highlight-color: transparent;
}
.vrow:hover{background:#fafafa}

.vico{display:inline-flex;min-width:26px;justify-content:center}
.vico svg{width:22px;height:22px;fill:var(--text);opacity:.86}

.vtext{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.vlabel{font-size:13px;font-weight:900;color:var(--text)}
.vvalue{font-size:12px;color:var(--muted)}

.vchev{
  font-size:22px;
  color:#bdbdbd;
  margin-left:6px;
}

/* satır altında hafif gölge hissi */
.vrow::after{
  content:"";
  position:absolute;
  left:14px; right:14px;
  bottom:-1px;
  height:1px;
  box-shadow: 0 7px 16px rgba(0,0,0,.10);
  opacity:.18;
  pointer-events:none;
}

/* sponsor: logo tam görünsün ama kaba durmasın */
.vcard-sponsor{
  padding:14px 16px;
  display:flex;
  justify-content:center;
  background:#fff;
  border-top:1px solid var(--line);
}
.vcard-sponsor a{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#444;
  max-width: 92%;
}
.vcard-sponsor .slogo{
  width:auto;
  height:22px;        /* kaba olmasın */
  max-width:180px;    /* taşmasın */
  object-fit:contain;
}
.vcard-sponsor .stext{
  font-weight:900;
  font-size:12px;
  opacity:.9;
}
