:root {
  --primary-100: #edf6f2;
  --primary-200: #c8e3d9;
  --primary-300: #90c8b3;
  --primary-400: #6cb699;
  --primary-500: #47a380;
  --primary-600: #2d8a66;
  --primary-700: #14704d;
  --primary-800: #005733;
  --primary-900: #003d1a;

  --bg: #f7faf9;
  --text-main: #042013;
  --text-soft: #567068;
  --border-subtle: rgba(20, 112, 77, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 34, 19, 0.16);
  --radius-xl: 28px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(
      circle at top,
      #f5fbf8 0,
      #edf7f2 26%,
      #f9fcfb 55%,
      #fcfefd 100%
    );
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 24px 22px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

@media (min-width: 480px) {
  .card {
    padding: 26px 26px 20px;
  }
}

.card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.card__logo-wrap {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: radial-gradient(
    circle at 20% 10%,
    rgba(200, 227, 217, 0.18),
    #ffffff 55%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 54, 29, 0.16);
  overflow: hidden;
}

.card__logo {
  width: 60%;
  height: auto;
  object-fit: contain;
}

.card__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}

.card__subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.card__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 18px;
  background: linear-gradient(
    120deg,
    rgba(237, 246, 242, 0.96),
    rgba(232, 243, 238, 0.96)
  );
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out,
    border-color 0.14s ease-out, background 0.14s ease-out;
  overflow: hidden;
}

.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0 0,
    rgba(255, 255, 255, 0.9),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
}

.link-btn__icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #ffffff, var(--primary-200));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
  box-shadow: 0 8px 18px rgba(0, 36, 20, 0.18);
}

.link-btn__icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.link-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-btn__label {
  font-size: 0.9rem;
  font-weight: 500;
}

.link-btn__hint {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.link-btn:hover,
.link-btn:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 40, 23, 0.18);
  border-color: rgba(71, 163, 128, 0.4);
  background: linear-gradient(
    125deg,
    rgba(237, 246, 242, 1),
    rgba(223, 238, 232, 1)
  );
}

.link-btn:hover::before,
.link-btn:focus-visible::before {
  opacity: 1;
}

.link-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 36, 20, 0.18);
}

.card__footer {
  border-top: 1px dashed rgba(12, 89, 58, 0.12);
  padding-top: 10px;
  margin-top: 2px;
}

.card__note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-soft);
  text-align: center;
}

@media (max-width: 380px) {
  .card {
    padding: 20px 18px 16px;
  }

  .card__header {
    gap: 10px;
  }

  .card__logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 20px;
  }

  .card__title {
    font-size: 1rem;
  }

  .link-btn {
    padding: 10px 10px;
  }

  .link-btn__icon {
    width: 32px;
    height: 32px;
  }

  .link-btn__label {
    font-size: 0.86rem;
  }
}

