:root {
  --bg: linear-gradient(135deg, rgba(0, 0, 0, 0.781), rgba(58, 58, 58, 0.753));
  --card: #1B263B;
  --white: #fff;
  --text: #f2f2f2;
  --muted: #bcbcbc;
  --shadow: 0 30px 80px rgba(27, 27, 27, 0.9);

}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "MyFont";
  background: #000;
  color: var(--text);
  background-image: url("bg/bk.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@font-face {
  font-family: "MyFont";
  src: url("font/YekanBakh-Regular.ttf") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MyFont1";
  src: url("font/Artin.ttf") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;


}

.top-actions {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 5;
  pointer-events: none;
}

.icon-btn {
  pointer-events: auto;
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, .22);
  cursor: pointer;
}

.btnAra {
  left: 14px;
  background: url("icons/arahoosh.png") no-repeat center;
  background-size: 20px;
}

.btnShare {
  right: 14px;
  background: url("icons/share.png") no-repeat center;
  background-size: 20px;
}

.icon-btn::after {
  content: attr(data-tip);
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(20, 20, 20, .88);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.icon-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



.screen::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.781), rgba(58, 58, 58, 0.753));
  backdrop-filter: blur(2px);
  z-index: 0;
}


.hide-scrollbar::-webkit-scrollbar {
  display: none;

}




.card {
  width: min(350px, 92vw);
  min-height: min(760px, 86svh);
  background: var(--card);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  width: clamp(320px, 92vw, 420px);
  padding: clamp(24px, 5vw, 42px) clamp(18px, 4vw, 28px);
  align-items: center;
  max-height: calc(100svh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: scroll;
  border-radius: 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;

}



.profile {
  text-align: center;
  margin-top: 6px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
}


.name {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 0;
}

.bio {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  font-family: "MyFont";
}


.links {
  width: 85%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.link-pill {
  font-size: 18px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  width: 100%;
  background: var(--white);
  color: #121212;
  border: 0;
  padding: 16px 18px;
  border-radius: 18px;
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  cursor: pointer;
  transform: translateY(0) scale(1);
  transition:
    transform 220ms cubic-bezier(.16, 1, .3, 1),
    box-shadow 220ms cubic-bezier(.16, 1, .3, 1),
    filter 220ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
  font-family: "MyFont";
}

.link-pill:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}





.link-pill:active {
  transform: scale(0.985);
}

.link-title {
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
  padding-left: 18px;

}

.kebab {
  width: 5px;
  height: 5px;
  display: grid;
  place-items: center;
  color: #000000;
  opacity: 0.8;
  transform: translateY(-4px);

}

.kebab:hover {
  opacity: 1;
}

.social {
  flex: 0 0 auto;
  padding: 8px 18px 18px;
  display: flex;
  justify-content: center;
  margin-top: 5px;
  gap: 25px;

}


.social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--pill-fill-bg);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.social a img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.social a:hover img {
  opacity: 1;
}


.menu {
  position: fixed;
  background: #2b2929;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 8px;
  width: 170px;
  box-shadow: 0 24px 60px rgba(27, 27, 27, 0.9);
  z-index: 9999;
}

.menu button {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
}

.menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: rgba(27, 27, 27, 0.9);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.toast.show {
  opacity: 1;
}


.links:hover .link-pill {
  filter: brightness(0.97);
  opacity: 0.78;
  transform: translateY(0) scale(0.995);
}

.links:hover .link-pill:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-6px) scale(1.03);
}


.logoArahoosh {
  margin-top: auto;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 6px;
  margin-top: -6px;
  margin-bottom: -6px;

}


.footer {
  flex: 0 0 auto;
  padding: 0px 10px calc(18px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer-text {
  margin: 0;
  font-size: 14px;
  color: rgba(244, 244, 244, .65);
}

.text-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  padding: 7px;
  padding-top: 39px;
  place-items: center;
  text-decoration: solid;

}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.viweOnMobile {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 130px;
  height: auto;
  z-index: 999;
}

@media (max-width: 768px) {
  .screen {
    padding: 0;
  }

  .card {
    width: 100vw;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }


  .social {
    margin-top: 8px;
    padding-bottom: 8px;
  }

  .viweOnMobile {
    display: none;
  }

}

@media (min-width: 769px) {
  .screen {
    padding: 24px 14px;
    align-items: center;
  }

  .card {
    height: min(820px, 92dvh);
    border-radius: 28px;
    box-shadow: var(--shadow);

  }


}

.btnAra {
  background: #1B263B url("icons/arahoosh.png") no-repeat 12px center;
  background-size: 18px;
  display: grid;
  place-items: center;
  color: white;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  padding: 10px 16px 10px;
}


.arahoosh {
  width: 100%;
  display: flex;
  flex-direction: column;
}