:root {
  color-scheme: dark;
  --warm-white: #f5f1e8;
  --muted: #baaa88;
  --gold: #e4bd47;
  --gold-deep: #614706;
  --card: rgba(22, 17, 5, 0.72);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #000; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--warm-white);
  background: linear-gradient(180deg, #000 0%, #000 34%, #090703 57%, #3a2400 100%);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: start center;
  padding: 42px 20px 90px;
}

.profile {
  width: min(100%, 550px);
  text-align: center;
}

.profile__photo-frame {
  display: block;
  width: 184px;
  height: 184px;
  margin: 0 auto 19px;
  border: 1px solid rgba(231, 200, 116, 0.22);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.profile__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 18%;
  transform: translateY(7.5%) scale(1.46);
}

h1 {
  margin: 0;
  font: 700 clamp(2.25rem, 4vw, 3rem)/1.12 "Playfair Display", Georgia, serif;
  letter-spacing: -0.03em;
}

.profile__role {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.links {
  display: grid;
  gap: 18px;
  margin-top: 46px;
}

.link-card {
  min-height: 104px;
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 18px 21px 18px 25px;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--gold-deep);
  border-radius: 17px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.012);
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.link-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #f3d35f;
  background: rgba(81, 58, 0, 0.25);
  border: 1px solid #755609;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
}

.link-card__icon--play { font-size: 1rem; padding-left: 3px; }
.instagram-logo {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.instagram-logo::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.instagram-logo::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
}

.link-card__copy { min-width: 0; display: grid; gap: 3px; }
.link-card__copy strong { font: 600 1.42rem/1.2 "Playfair Display", Georgia, serif; }
.link-card__copy em { color: var(--muted); font-size: 0.99rem; font-style: italic; }
.link-card__arrow { color: #d7ae24; text-align: right; font-size: 1.75rem; font-weight: 500; }

.link-card:hover {
  transform: translateY(-2px);
  border-color: #9d7610;
  background: rgba(36, 26, 6, 0.84);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.19);
}

.link-card:focus-visible { outline: 3px solid #efcf61; outline-offset: 4px; }
.link-card:active { transform: translateY(0) scale(0.99); }

footer {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 22px 18px;
  color: #efefef;
  background: #202020;
  text-align: center;
  font-size: 0.9rem;
}

/* Escala vertical baseada nas proporções do layout de referência. */
.page-shell {
  min-height: calc(100vh - 72px);
  padding: clamp(28px, 5vh, 43px) 20px clamp(28px, 4vh, 40px);
}

.profile { width: min(100%, 550px); }

.profile__photo-frame {
  width: clamp(126px, 21.5vh, 184px);
  height: clamp(126px, 21.5vh, 184px);
  margin-bottom: clamp(13px, 2.2vh, 19px);
}

h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.profile__role { margin-top: 6px; font-size: 0.92rem; }
.links { gap: clamp(12px, 2.15vh, 18px); margin-top: clamp(27px, 4.7vh, 40px); }

.link-card {
  min-height: clamp(78px, 12.2vh, 104px);
  grid-template-columns: clamp(48px, 6.8vh, 58px) 1fr 22px;
  gap: clamp(16px, 2.35vh, 20px);
  padding: 14px 20px 14px 25px;
  border-radius: 17px;
}

.link-card__icon {
  width: clamp(48px, 6.8vh, 58px);
  height: clamp(48px, 6.8vh, 58px);
  font-size: 1.1rem;
}
.link-card__copy strong { font-size: clamp(1.18rem, 2.7vh, 1.42rem); }
.link-card__copy em { font-size: clamp(0.86rem, 1.9vh, 0.99rem); }
.link-card__arrow { font-size: 1.6rem; }
.instagram-logo { width: 22px; height: 22px; border-radius: 6px; }

footer { min-height: 72px; padding: 17px 18px; font-size: 0.8rem; }

@media (max-width: 640px) {
  .page-shell { min-height: calc(100vh - 64px); padding: 34px 16px 24px; }
  .profile { width: min(calc(100% - 32px), 320px); }
  .profile__photo-frame { width: 138px; height: 138px; margin-bottom: 13px; }
  h1 { font-size: 1.8rem; }
  .profile__role { max-width: 280px; margin: 4px auto 0; font-size: 0.8rem; }
  .links { gap: 12px; margin-top: 30px; }
  .link-card { min-height: 76px; grid-template-columns: 46px 1fr 16px; gap: 13px; padding: 11px 14px; border-radius: 14px; }
  .link-card__icon { width: 46px; height: 46px; }
  .link-card__copy strong { font-size: 1.02rem; }
  .link-card__copy em { font-size: 0.78rem; }
  .link-card__arrow { font-size: 1.3rem; }
  .instagram-logo { width: 19px; height: 19px; }
  footer { min-height: 64px; padding: 14px 12px; font-size: 0.7rem; }
}

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