@font-face {
  font-family: "Yekan Bakh VF";
  src: url("/YekanBakh-VF.woff2");
}

:root {
  --teal: #169f9f;
  --teal-dark: #087777;
  --teal-deep: #073f43;
  --ink: #12383a;
  --muted: #6c8585;
  --paper: #f5ffff;
  --line: rgba(22, 159, 159, 0.17);
  --shadow: 0 24px 70px rgba(0, 49, 52, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Yekan Bakh VF", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(255, 255, 255, 0.25),
      transparent 28%
    ),
    radial-gradient(circle at 90% 85%, rgba(0, 76, 78, 0.22), transparent 30%),
    linear-gradient(135deg, #0c7779, var(--teal) 48%, #65c7bd);
  display: grid;
  place-items: center;
  padding: 42px 18px;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

body::before {
  top: -135px;
  right: -95px;
}

body::after {
  bottom: -160px;
  left: -100px;
  width: 340px;
  height: 340px;
}

.page-shell {
  width: min(100%, 430px);
  position: relative;
  z-index: 1;
}

.profile-card {
  overflow: hidden;
  border-radius: 27px;
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  animation: card-enter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s forwards;
}

.profile-hero {
  height: 250px;
  position: relative;
  background: #f5ffff;
}

.cover {
  position: absolute;
  inset: 0 0 56px;
  background:
    linear-gradient(120deg, rgba(3, 64, 68, 0.26), rgba(22, 159, 159, 0.12)),
    url("cover.jpg") center 45% / cover no-repeat,
    linear-gradient(135deg, #0c7779, #65c7bd);
  border-radius: 25px;
  overflow: hidden;
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 45, 48, 0.08),
    rgba(0, 45, 48, 0.36)
  );
}

.cover-mark {
  position: absolute;
  top: 20px;
  left: 23px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(8px);
}

.avatar-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 154px;
  height: 154px;
  padding: 6px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(0, 55, 58, 0.18);
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #d9eeee;
}

.profile-content {
  padding: 19px 27px 23px;
}

.intro {
  text-align: center;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--teal-dark);
  letter-spacing: 2.2px;
}

h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.5;
  font-weight: 800;
  color: #103f41;
}

.subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.accent-line {
  width: 43px;
  height: 3px;
  border-radius: 5px;
  margin: 17px auto 22px;
  background: var(--teal);
}

.contact-section h2 {
  font-size: 15px;
  margin: 0 0 9px;
  font-weight: 800;
  color: #16494a;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 11px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.78);
  transition: 0.25s ease;
}

.contact-row:hover {
  transform: translateX(-3px);
  border-color: rgba(22, 159, 159, 0.55);
  background: white;
}

.contact-label {
  flex: 0 0 86px;
  color: var(--teal-dark);
  font-size: 12px;
  text-align: right;
}

.contact-value {
  flex: 1;
  min-width: 0;
  text-align: left;
  direction: ltr;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
  color: #294f50;
}

.contact-arrow {
  color: var(--teal);
  font:
    700 17px Arial,
    sans-serif;
}

.social-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 19px 0;
}

.social-link {
  display: grid;
  place-items: center;
  min-height: 43px;
  border-radius: 11px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 5px 12px rgba(0, 70, 72, 0.13);
  transition:
    transform 0.22s,
    filter 0.22s;
}

.social-link:hover {
  filter: brightness(1.08);
}

.whatsapp {
  background: #168f78;
}

.telegram {
  background: #168f78;
}

.eitaa {
  background: #168f78;
}

.website-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 15px;
  border-radius: 13px;
  text-decoration: none;
  background: linear-gradient(110deg, #0a7778, #169f9f);
  color: white;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}

.website-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(9, 119, 120, 0.2);
}

.website-caption {
  font:
    700 9px Arial,
    sans-serif;
  letter-spacing: 1.8px;
  opacity: 0.78;
}

.website-address {
  font:
    700 14px Arial,
    sans-serif;
}

.website-arrow {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font:
    700 20px Arial,
    sans-serif;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 19px;
  color: #89a5a4;
  font:
    700 8px Arial,
    sans-serif;
  letter-spacing: 1.1px;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

.page-note {
  margin: 15px 8px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.83);
  font-size: 10px;
}

@keyframes card-enter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 390px) {
  body {
    padding: 22px 12px;
  }

  .profile-hero {
    height: 225px;
  }

  .avatar-wrap {
    width: 140px;
    height: 140px;
  }

  .profile-content {
    padding: 17px 18px 21px;
  }

  h1 {
    font-size: 24px;
  }

  .contact-label {
    flex-basis: 76px;
    font-size: 9px;
  }

  .contact-value {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
