:root {
  --cor-fundo: #d7d3ca;
  --cor-texto: #102030;
  --cor-tinta: #102030;
  --cor-ouro: #c2943e;
  --cor-ouro-escuro: #8d6426;
  --cor-papel: #f8f5ee;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.pagina {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 14px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.72), transparent 56%),
    repeating-linear-gradient(90deg, rgba(16, 32, 48, 0.04) 0 1px, transparent 1px 21px),
    repeating-linear-gradient(0deg, rgba(16, 32, 48, 0.035) 0 1px, transparent 1px 27px),
    #d3d0c8;
}

.cartao {
  position: relative;
  width: min(100%, 430px);
  min-height: min(890px, calc(100vh - 56px));
  overflow: hidden;
  border: 1px solid rgba(16, 32, 48, 0.1);
  border-radius: 28px;
  padding: 34px 26px 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(248, 245, 238, 0.94)),
    repeating-linear-gradient(12deg, rgba(16, 32, 48, 0.025) 0 2px, transparent 2px 18px);
  box-shadow:
    0 34px 80px rgba(16, 32, 48, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.cartao::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(194, 148, 62, 0.18);
  border-radius: 22px;
  pointer-events: none;
}

.decoracao {
  position: absolute;
  width: 118px;
  height: 86px;
  pointer-events: none;
  opacity: 0.9;
}

.decoracao::before,
.decoracao::after {
  content: "";
  position: absolute;
  background: var(--cor-ouro);
}

.decoracao--topo {
  top: 0;
  right: 22px;
}

.decoracao--topo::before {
  top: 0;
  right: 18px;
  width: 5px;
  height: 70px;
  border-radius: 0 0 6px 6px;
}

.decoracao--topo::after {
  top: 0;
  right: 0;
  width: 3px;
  height: 48px;
  border-radius: 0 0 6px 6px;
  box-shadow: -26px 19px 0 -1px var(--cor-ouro);
}

.decoracao--base {
  left: -12px;
  bottom: -4px;
}

.decoracao--base::before {
  left: 0;
  bottom: 0;
  width: 96px;
  height: 44px;
  border-radius: 0 50px 0 0;
}

.decoracao--base::after {
  left: 64px;
  bottom: 12px;
  width: 3px;
  height: 35px;
  border-radius: 6px;
  box-shadow: 16px -9px 0 -1px var(--cor-ouro), 33px 3px 0 -1px var(--cor-ouro);
}

.marca {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.marca__moldura {
  width: min(72vw, 264px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 7px;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      var(--cor-ouro),
      #f1d483 48%,
      var(--cor-tinta) 49%,
      var(--cor-tinta) 57%,
      var(--cor-papel) 58%
    );
  box-shadow: 0 18px 32px rgba(16, 32, 48, 0.18);
}

.marca__imagem {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.marca__usuario {
  margin: 23px 0 0;
  color: var(--cor-tinta);
  font-size: clamp(2.3rem, 12vw, 3.35rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.95;
}

.marca__titulo {
  margin: 8px 0 0;
  color: var(--cor-ouro-escuro);
  font-size: clamp(1.16rem, 4.3vw, 1.45rem);
  font-weight: 650;
}

.lista-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 11px;
  margin-top: 29px;
}

.link-social {
  min-height: 74px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid rgba(16, 32, 48, 0.08);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 238, 232, 0.98));
  box-shadow:
    0 9px 18px rgba(16, 32, 48, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.link-social:hover,
.link-social:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(194, 148, 62, 0.45);
  box-shadow:
    0 14px 26px rgba(16, 32, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

.link-social--inativo {
  color: rgba(16, 32, 48, 0.58);
  cursor: default;
}

.link-social--inativo:hover {
  transform: none;
  border-color: rgba(16, 32, 48, 0.08);
  box-shadow:
    0 9px 18px rgba(16, 32, 48, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.link-social__marca {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--cor-tinta);
}

.link-social__icone {
  width: 36px;
  height: 36px;
  display: block;
}

.link-social__texto {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.link-social__titulo {
  overflow-wrap: anywhere;
  color: var(--cor-tinta);
  font-size: 1.17rem;
  font-weight: 780;
}

.link-social__descricao {
  color: rgba(16, 32, 48, 0.62);
  font-size: 0.82rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: uppercase;
}

.link-social__seta {
  justify-self: end;
  color: var(--cor-ouro-escuro);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.frase-marca {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 31px auto 0;
  color: var(--cor-tinta);
  font-family: "Arial Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.12rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-align: center;
  text-shadow: 0.7px 0 0 currentColor, -0.7px 0 0 currentColor;
  text-transform: uppercase;
  transform: rotate(-4deg) skewX(-4deg) scaleX(0.84);
  transform-origin: center;
}

.frase-marca::after {
  content: "";
  display: block;
  width: 112px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: var(--cor-ouro);
}

.rodape {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: rgba(16, 32, 48, 0.72);
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 380px) {
  .pagina {
    padding: 14px 8px;
  }

  .cartao {
    min-height: calc(100vh - 28px);
    padding: 26px 16px 22px;
    border-radius: 22px;
  }

  .link-social {
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    min-height: 68px;
    padding: 10px 12px;
  }

  .link-social__marca {
    width: 44px;
  }

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

  .link-social__titulo {
    font-size: 1.05rem;
  }

  .frase-marca {
    font-size: 1.86rem;
  }
}
