:root {
  --bg-page: #f6f4f0;
  --bg-card: #ffffff;
  --bg-soft: #faf9f6;
  --border: #e8e4dc;
  --border-hover: #d3ccc0;

  --text-main: #18181b;
  --text-secondary: #57534e;
  --text-muted: #8a837b;

  --accent: #2f251e;
  --accent-soft: #f1ece4;

  --radius-card: 26px;
  --radius-row: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top right, #efeae1 0%, var(--bg-page) 48%, #f2f5f3 100%);
  color: var(--text-main);
  font-family: "Cairo", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  line-height: 1.5;
}

.page-wrap {
  width: 100%;
  max-width: 440px;
}

.card-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px 20px 18px;
  box-shadow: 0 18px 45px rgba(24, 24, 27, 0.06);
}

.shell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-dot-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.lang-btn {
  background: var(--bg-soft);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-main);
}

.profile-header {
  text-align: center;
  margin-bottom: 18px;
}

.avatar-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  padding: 3px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(24, 24, 27, 0.08);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  display: block;
}

.profile-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.profile-role {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}

.profile-handle {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.primary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1f1813;
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--accent-soft);
}

.links-stack {
  display: grid;
  gap: 10px;
}

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-row);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.link-row:hover {
  background: #ffffff;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.row-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.phone-bg {
  background: #f3ede4;
  color: #5c4033;
}

.wa-bg {
  background: #dcfce7;
  color: #15803d;
}

.ig-bg {
  background: #fce7f3;
  color: #be185d;
}

.fb-bg {
  background: #dbeafe;
  color: #1d4ed8;
}

.row-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.row-title {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text-main);
}

.row-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

.copy-pill {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.copy-pill:hover {
  border-color: var(--border-hover);
  background: var(--accent-soft);
}

.card-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-main);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
