/* INTIMA Gate · theme part: linktree */
.linktree-shell { width: 100%; max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-l);
  animation: cardIn .6s var(--spring) both;
}
.card::before { content:''; position:absolute; top:0; inset-inline:0; height:3px; z-index:3;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.glow { display: none; }

.hero-wrap { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
  border-radius: var(--r-card) var(--r-card) 0 0; }
.hero-wrap.hero-portrait { aspect-ratio: 3/4; max-height: 440px; }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroReveal 1s var(--smooth) both; }
.hero-wrap::after { content:''; position:absolute; inset:0;
  background: linear-gradient(to bottom, transparent 45%, color-mix(in srgb, white 50%, transparent) 80%, var(--surface) 100%); }

.card-body { padding: 30px 26px 34px; position: relative; z-index: 2; }
.card:has(.hero-wrap) .card-body { padding-top: 16px; }

/* Profile */
.profile { text-align: center; margin-bottom: 24px; }
.avatar-wrap { display: flex; justify-content: center; margin-bottom: 14px; }
.avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid white;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent), var(--shadow-m); }
.eyebrow { font: 700 11px/1 var(--font-b); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.profile h1 { font-weight: 700; font-size: clamp(26px,6vw,34px); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.username { font: 600 15px/1 var(--font-b); color: var(--accent); margin-bottom: 12px; display: inline-block; text-decoration: none; }
a.username:hover { text-decoration: underline; }
.subtitle { font-size: 16px; color: var(--ink-soft); line-height: 1.65; max-width: 340px; margin: 0 auto; }
.divider { height: 1px; background: var(--line); margin: 0 0 20px; }

/* Links */
.links { display: flex; flex-direction: column; gap: 11px; }
.link-button {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-btn);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s);
  transition: transform .2s var(--spring), border-color .2s, box-shadow .2s, background .2s;
}
.link-button:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--accent) 34%, transparent); }
.link-button.featured { background: linear-gradient(135deg, var(--accent-soft), var(--accent2-soft)); border-color: color-mix(in srgb,var(--accent) 36%,transparent); }
.icon-box { width: 46px; height: 46px; border-radius: var(--r-icon); flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-s); }
.icon-box img { width: 23px; height: 23px; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; }
.link-copy { flex: 1; min-width: 0; }
.link-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.link-title { font: 600 16px/1.25 var(--font-b); }
.link-description { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.badge { font: 700 10px/1 var(--font-b); letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px;
  border-radius: 50px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); flex-shrink: 0; }
.arrow { color: var(--ink-dim); font-size: 22px; line-height: 1; flex-shrink: 0; }

/* ── ירושה: עיצוב נקי ומאוחד ── */
.inherit-group-head { display: flex; align-items: center; gap: 10px; margin: 22px 2px 12px; color: var(--ink-soft); }
.inherit-group-head::before, .inherit-group-head::after { content:''; flex:1; height:1px; background: var(--line); }
.inherit-group-head span { font: 600 12.5px/1 var(--font-b); white-space: nowrap; }
.link-button.inherited { border-style: solid; border-color: var(--line); }
.link-button.inherited .icon-box { background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.inherit-tag { display: inline-flex; align-items: center; gap: 3px; font: 700 10px/1 var(--font-b);
  color: #fff; background: color-mix(in srgb, var(--accent2) 90%, black 0%); padding: 4px 9px; border-radius: 50px;
  text-decoration: none; flex-shrink: 0; }
a.inherit-tag:hover { filter: brightness(1.08); }
.top-actions, .share-btn { display: none; }

/* שורת פעולות בכרטיס (שיתוף + שפה) – מוצגת בעיקר בתצוגה עצמאית */
.actions-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
body.site:not(.bare) .actions-row { display: none; }  /* באתר המלא יש כבר תפריט שפה למעלה */
.ghost-btn { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-soft); }
.ghost-btn:hover { border-color: var(--accent); color: var(--accent); }
.ghost-btn svg { width: 18px; height: 18px; }
.language-toggle { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--surface-2);
  border: 1.5px solid var(--line-2); border-radius: 50px; padding: 8px 16px; color: var(--ink); font: 600 13px/1 var(--font-b); }
.language-toggle:hover { border-color: var(--accent); color: var(--accent); }
.language-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brand-footer { text-align: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.brand-footer .footer-text { display: block; font-size: 12px; color: var(--ink-dim); margin-top: 6px; }
.brand-logo-wrap { display: flex; justify-content: center; }
.brand-logo { height: 72px; max-width: 240px; object-fit: contain; opacity: .85; }
.brand-logo-text { font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-dim); font-size: 13px; }
