:root {
  --bg: #030711;
  --card: rgba(8, 12, 22, 0.82);
  --card-strong: rgba(9, 13, 24, 0.94);
  --text: #f7f2e8;
  --muted: rgba(247, 242, 232, 0.72);
  --muted-soft: rgba(247, 242, 232, 0.5);
  --gold: #d9a23c;
  --gold-light: #f3cf83;
  --gold-dark: #99630f;
  --line: rgba(217, 162, 60, 0.35);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  --radius: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: #111;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 8%, rgba(217, 162, 60, 0.16), transparent 28%),
    radial-gradient(circle at 100% 40%, rgba(90, 58, 9, 0.28), transparent 24%),
    linear-gradient(180deg, #050914 0%, #02050d 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.profile-card {
  position: relative;
  width: min(100%, 430px);
  min-height: min(900px, calc(100vh - 36px));
  overflow: hidden;
  border: 1px solid rgba(217, 162, 60, 0.18);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.bg-photo {
  position: absolute;
  inset: 0;
  z-index: -5;
  background-image: url("assets/teacher-vitoria.webp");
  background-size: cover;
  background-position: center top;
  transform: scale(1.06);
  filter: blur(18px) saturate(1.05);
  opacity: 0.33;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(3, 7, 17, 0.28) 0%, rgba(3, 7, 17, 0.72) 34%, #030711 78%),
    radial-gradient(circle at 50% 18%, transparent 0 18%, rgba(3, 7, 17, 0.55) 54%, rgba(3, 7, 17, 0.95) 100%);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 58%);
  opacity: 0.4;
}

.profile-card::after {
  content: "SPEAK  LEARN  ACHIEVE";
  position: absolute;
  top: 34px;
  left: 50%;
  z-index: -2;
  transform: translateX(-50%);
  width: max-content;
  color: rgba(247, 242, 232, 0.055);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.gold-glow {
  position: absolute;
  z-index: -2;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(217, 162, 60, 0.2);
  filter: blur(54px);
  pointer-events: none;
}

.gold-glow-one {
  top: 94px;
  right: -92px;
}

.gold-glow-two {
  bottom: 112px;
  left: -106px;
}

.profile-content {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(34px, 8vw, 48px) 26px 30px;
}

.avatar-wrap {
  position: relative;
  width: min(72vw, 285px);
  height: min(72vw, 285px);
  flex: 0 0 auto;
  border-radius: 50%;
  padding: 7px;
  margin-top: 4px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(243, 207, 131, 0.96), rgba(153, 99, 15, 0.85) 50%, rgba(243, 207, 131, 0.96));
  box-shadow:
    0 0 0 1px rgba(217, 162, 60, 0.32),
    0 22px 80px rgba(0, 0, 0, 0.72),
    0 0 48px rgba(217, 162, 60, 0.15);
}


.avatar-wrap::before{
content:"";
position:absolute;
inset:-14px;
border-radius:50%;
border:1px solid transparent;
border-top-color:rgba(243,207,131,.95);
border-right-color:rgba(217,162,60,.35);
animation:rotateGold 12s linear infinite;
}
@keyframes rotateGold{to{transform:rotate(360deg);}}


.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  box-shadow: inset 0 -34px 56px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  clip-path: circle(50%);
  background: #090d16;
}

.eyebrow {
  position: relative;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 34px;
  height: 1px;
  margin: 0 12px 3px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

h1 {
  max-width: 100%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(46px, 12vw, 58px);
  line-height: 0.92;
  text-align: center;
  letter-spacing: -0.06em;
  color: var(--text);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

h1 span {
  display: inline-block;
  color: var(--gold);
  font-style: italic;
  letter-spacing: -0.07em;
}

.subtitle {
  max-width: 320px;
  margin: 16px auto 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
  text-align: center;
}

.links {
  width: 100%;
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.link-button {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 18px 20px;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(217, 162, 60, 0.58);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015)),
    rgba(7, 11, 20, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.32);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.link-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(243, 207, 131, 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(243, 207, 131, 0.88);
  background:
    linear-gradient(135deg, rgba(217, 162, 60, 0.15), rgba(255, 255, 255, 0.02)),
    rgba(7, 11, 20, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 22px 50px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(217, 162, 60, 0.11);
}

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

.link-button:active {
  transform: translateY(0) scale(0.99);
}

.icon {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
}

.icon svg {
  width: 39px;
  height: 39px;
  fill: currentColor;
  filter: drop-shadow(0 0 16px rgba(217, 162, 60, 0.14));
}

.link-copy {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.link-copy strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.link-copy small {
  display: block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.arrow {
  position: relative;
  color: var(--gold-light);
  font-size: 27px;
  line-height: 1;
  transition: transform 180ms ease;
}

.link-button:hover .arrow,
.link-button:focus-visible .arrow {
  transform: translateX(4px);
}

@media (max-width: 420px) {
  .link-page {
    padding: 0;
  }

  .profile-card {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .profile-content {
    padding: 32px 18px 24px;
  }

  .avatar-wrap {
    width: min(76vw, 292px);
    height: min(76vw, 292px);
    margin-bottom: 24px;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: 24px;
    margin-inline: 8px;
  }

  .subtitle {
    margin-bottom: 24px;
  }

  .link-button {
    min-height: 82px;
    grid-template-columns: 50px 1fr auto;
    padding: 16px 18px;
    border-radius: 20px;
  }

  .link-copy strong {
    font-size: 26px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 42px;
  }

  .avatar-wrap {
    width: min(73vw, 245px);
    height: min(73vw, 245px);
  }

  .link-button {
    min-height: 78px;
  }

  .link-copy strong {
    font-size: 24px;
  }
}
