:root {
  color-scheme: light;
  font-family: "Segoe UI", sans-serif;
  color: #000;
  background: #171b20;
  --line: #936b21;
  --gold-surface: #ffe6a4;
}

* { box-sizing: border-box; }

body {
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: -8px;
  z-index: -1;
  background: url("foto-perfil.png") center 48% / cover no-repeat;
  filter: blur(4px);
  pointer-events: none;
}

.page {
  position: relative;
  isolation: isolate;
  width: min(100% - 2rem, 34rem);
  margin: 0 auto;
  padding: clamp(2rem, 8vh, 5rem) 0 2.5rem;
}

.profile {
  position: relative;
  text-align: center;
  padding-bottom: 1.7rem;
  text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 9px #fffe;
}

.profile-photo {
  position: relative;
  width: 112px;
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #d8dadc;
  box-shadow: 0 12px 28px #0005;
}

.profile-photo img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 178%;
  height: auto;
  transform: translate(-50%, -52%);
}

.handle {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 .65rem;
  color: inherit;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}

h1 {
  width: fit-content;
  max-width: 100%;
  margin: .55rem auto 0;
  padding: .05em 0 .11em;
  font: 500 clamp(2.65rem, 13vw, 5.25rem)/1.02 Georgia, serif;
  letter-spacing: -.075em;
}

.join-guide {
  width: fit-content;
  max-width: 100%;
  margin: .85rem auto 0;
  padding: .25rem .4rem;
  text-align: left;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
}

.join-guide h2 {
  margin: 0 0 .35rem;
  font-size: 1rem;
}

.join-guide ol {
  margin: 0;
  padding-left: 1.25rem;
}

.join-guide li + li { margin-top: .15rem; }

.links { display: grid; gap: .8rem; }

.card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  min-height: 5.3rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--gold-surface);
  box-shadow: 0 4px 12px #56370e0c;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card-primary {
  border-color: #6c4a16;
  background: linear-gradient(117deg, #f7cd69, #fff0b9 44%, #e4ad43);
  box-shadow: inset 0 1px #fff8d4, 0 7px 17px #8e601a32;
}

.icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  aspect-ratio: 1;
  border-radius: .77rem;
  background: #f4ca6b;
}

.card-primary .icon { background: #dca541; }
.icon svg { width: 1.45rem; height: 1.45rem; }
.label { display: grid; gap: .16rem; }
.label strong { font-size: 1.04rem; line-height: 1.25; }
.label small { font-size: .875rem; }

@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px #8b5f242b; }
  .handle:hover { text-decoration: underline; }
}

:focus-visible { outline: 2px solid #000; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }

@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
