:root{
  --cream:#fff8f2;
  --latte:#f4dfca;
  --caramel:#c66b38;
  --terracotta:#a9492e;
  --coffee:#5a3428;
  --deep:#2e1d17;
  --serif:'Gloock',Georgia,serif;
  --sans:'Bricolage Grotesque','Segoe UI',sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;min-height:100%}
html{background:var(--deep);overflow-x:clip}
body{
  position:relative;
  min-height:100svh;
  overflow-x:clip;
  color:var(--deep);
  font-family:var(--sans);
  background:
    radial-gradient(circle at 18% 7%,rgba(255,197,132,.18),transparent 30rem),
    radial-gradient(circle at 88% 70%,rgba(196,89,47,.2),transparent 34rem),
    linear-gradient(145deg,#321d17 0%,#5c3124 50%,#2e1d17 100%);
  -webkit-font-smoothing:antialiased;
}

img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.page-glow{
  position:fixed;
  width:24rem;
  aspect-ratio:1;
  border-radius:50%;
  filter:blur(80px);
  opacity:.26;
  pointer-events:none;
}
.page-glow--one{top:-10rem;left:-11rem;background:#f4b36a}
.page-glow--two{right:-13rem;bottom:-7rem;background:#c55c3d}

.links-page{
  position:relative;
  width:min(calc(100% - 2rem),720px);
  margin-inline:auto;
  padding:clamp(1rem,3vw,2rem) 0 2.25rem;
}

.profile{
  display:grid;
  grid-template-columns:170px 1fr;
  column-gap:clamp(1.6rem,4vw,2.2rem);
  row-gap:.85rem;
  align-items:center;
  padding:clamp(1.6rem,4vw,2.4rem);
  border:1px solid rgba(255,232,213,.12);
  border-radius:28px;
  color:#fff;
  background:linear-gradient(145deg,rgba(86,45,33,.9),rgba(46,29,23,.94));
  box-shadow:0 28px 72px rgba(20,8,4,.22);
}
.profile__avatar{
  grid-row:1 / span 2;
  width:170px;
  aspect-ratio:1;
  padding:4px;
  border-radius:50%;
  background:conic-gradient(from 205deg,#FEDA75 0deg,#FA7E1E 58deg,#D62976 138deg,#962FBF 218deg,#4F5BD5 292deg,#FEDA75 360deg);
  box-shadow:0 16px 36px rgba(0,0,0,.34);
}
.profile__avatar-media{
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  border:3px solid var(--coffee);
  border-radius:50%;
  background:#11171d;
}
.profile__avatar video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.profile__info{min-width:0}
.profile__username-row{display:flex;align-items:center;gap:.65rem}
.profile__username{
  color:#fff;
  font-size:clamp(1.35rem,4vw,1.7rem);
  font-weight:700;
  line-height:1.1;
}
.profile__username:hover,.profile__username:focus-visible{text-decoration:underline;text-underline-offset:4px}
.profile__more{color:rgba(255,255,255,.74);font-size:1.1rem;font-weight:700;letter-spacing:.08em}
.profile__name{margin:.55rem 0 0;color:#fff;font-size:.94rem;line-height:1.35}
.profile__stats{
  grid-column:2;
  display:flex;
  flex-wrap:wrap;
  gap:.55rem clamp(1rem,3vw,1.5rem);
  margin-top:0;
}
.profile__stats div,.profile__stats a{display:flex;align-items:baseline;gap:.32rem;color:#fff;font-size:.93rem}
.profile__stats strong{font-weight:700}
.profile__stats span{color:rgba(255,255,255,.88)}
.profile__stats a:hover span,.profile__stats a:focus-visible span{text-decoration:underline;text-underline-offset:3px}
.profile a:focus-visible{outline:2px solid #D62976;outline-offset:4px;border-radius:4px}
.links-instruction{
  margin:clamp(1.25rem,3vw,1.7rem) 0 0;
  color:rgba(255,247,240,.9);
  font-size:clamp(.9rem,2.5vw,1rem);
  font-weight:600;
  text-align:center;
}
.link-list{
  display:grid;
  gap:clamp(.9rem,2vw,1.2rem);
  margin-top:clamp(.7rem,2vw,1rem);
}
.image-link{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:clamp(20px,4vw,28px);
  background:transparent;
  box-shadow:0 20px 48px rgba(22,8,4,.24);
  transition:transform .45s var(--ease),box-shadow .45s ease,filter .35s ease;
}
.image-link img{
  width:100%;
  height:auto;
  aspect-ratio:3/1;
  object-fit:cover;
  border-radius:inherit;
  transform:scale(1.002);
  transition:transform .7s var(--ease);
}
.image-link:hover,.image-link:focus-visible{
  transform:translateY(-5px);
  box-shadow:0 30px 64px rgba(22,8,4,.32);
  filter:saturate(1.04);
  outline:none;
}
.image-link:hover img,.image-link:focus-visible img{transform:scale(1.018)}
.footer{
  position:relative;
  padding:2rem 1rem .25rem;
  color:rgba(255,247,240,.72);
  text-align:center;
}
.footer__thread{
  display:block;
  width:76px;
  height:1px;
  margin:0 auto 1.2rem;
  background:linear-gradient(90deg,transparent,#d98a58,transparent);
}
.footer p{margin:0;font-family:var(--serif);font-size:1rem}
.footer small{display:block;margin-top:.35rem;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;opacity:.66}

@media (max-width:520px){
  .links-page{width:min(calc(100% - 1rem),720px);padding-top:.5rem}
  .profile{
    grid-template-columns:100px minmax(0,1fr);
    grid-template-areas:
      "avatar username"
      "avatar name"
      "avatar stats";
    column-gap:1rem;
    row-gap:.75rem;
    padding:1.1rem 1rem;
    border-radius:22px;
  }
  .profile__avatar{grid-area:avatar;width:100px;padding:3px;align-self:center}
  .profile__avatar-media{border-width:2.5px}
  .profile__info{display:contents}
  .profile__username-row{grid-area:username;align-self:end;gap:.45rem}
  .profile__username{font-size:1.12rem}
  .profile__more{font-size:.92rem}
  .profile__name{
    grid-area:name;
    margin:0;
    font-size:.82rem;
    line-height:1.4;
  }
  .profile__stats{
    grid-area:stats;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.3rem;
    align-self:start;
    margin:0;
    padding:0;
    border:0;
  }
  .profile__stats div,.profile__stats a{
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    gap:.05rem;
    min-width:0;
    font-size:.7rem;
    line-height:1.15;
    text-align:center;
  }
  .profile__stats strong{font-size:.88rem}
  .image-link{border-radius:19px}
}

@media (max-width:370px){
  .profile{grid-template-columns:88px minmax(0,1fr);column-gap:.75rem;padding:1rem .85rem}
  .profile__avatar{width:88px}
  .profile__username{font-size:1rem}
  .profile__name{font-size:.76rem}
  .profile__stats{gap:.2rem}
  .profile__stats div,.profile__stats a{font-size:.64rem}
  .profile__stats strong{font-size:.8rem}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
