:root {
  --bg: #101014;
  --bg-2: #191920;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.16);
  --accent: #012d74;
  --accent-2: #8fb8ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(1, 45, 116, 0.34), transparent 34rem),
    linear-gradient(180deg, #17171d 0%, var(--bg) 48%, #0b0b0e 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.link-card {
  width: min(100%, 440px);
  min-height: min(760px, calc(100vh - 64px));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(34px, 7vw, 56px) clamp(18px, 5vw, 30px) 30px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    var(--bg-2);
  box-shadow: var(--shadow);
}

.profile {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(30px, 6vw, 42px);
}

.profile__image {
  width: clamp(132px, 34vw, 156px);
  height: clamp(132px, 34vw, 156px);
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(1, 45, 116, 0.5),
    0 18px 44px rgba(0, 0, 0, 0.38);
}

.links {
  width: 100%;
  display: grid;
  gap: 14px;
}

.link-button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  column-gap: 14px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.22;
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.link-button__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.36);
  color: var(--accent-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.link-button__icon svg,
.link-button__arrow svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-button__text {
  min-width: 0;
}

.link-button__arrow {
  display: grid;
  place-items: center;
  color: var(--accent-2);
}

.link-button--primary {
  border-color: rgba(143, 184, 255, 0.46);
  background: linear-gradient(135deg, #02419f, var(--accent));
  box-shadow: 0 14px 34px rgba(1, 45, 116, 0.34);
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: var(--surface-strong);
}

.link-button--primary:hover {
  background: linear-gradient(135deg, #024ab5, #012d74);
}

.link-button:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 4px;
}

.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: clamp(42px, 9vw, 74px);
}

.footer__logo {
  width: min(178px, 54vw);
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 0.96;
}

@media (max-width: 480px) {
  .page-shell {
    align-items: stretch;
    padding: 0;
  }

  .link-card {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 40px 22px 28px;
  }

  .link-button {
    min-height: 60px;
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    column-gap: 12px;
    font-size: clamp(0.86rem, 3.8vw, 0.95rem);
    padding-right: 14px;
  }

  .link-button__icon {
    width: 40px;
    height: 40px;
  }

  .link-button__icon svg,
  .link-button__arrow svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button {
    transition: none;
  }

  .link-button:hover {
    transform: none;
  }
}
