:root {
  color-scheme: dark;
  --bg: #111110;
  --surface: #1d1d1a;
  --surface-hover: #282821;
  --text: #f7f5ef;
  --muted: #aaa79e;
  --gold: #e8c34f;
  --gold-soft: #f5df8c;
  --line: rgba(255, 255, 255, .09);
  --font: "Noto Sans Thai", "Kanit", sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(116, 100, 46, .12), transparent 43%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 0;
  height: 0;
  border-right: 100px solid transparent;
  border-left: 100px solid transparent;
  content: "";
  opacity: .14;
  pointer-events: none;
}

body::before {
  top: -35px;
  right: -80px;
  border-top: 170px solid #6f6b5b;
  transform: rotate(28deg);
}

body::after {
  bottom: -70px;
  left: -90px;
  border-bottom: 190px solid #6f6b5b;
  transform: rotate(25deg);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
[hidden] { display: none !important; }

.link-hub {
  width: min(100% - 32px, 360px);
  margin: 0 auto;
  padding: 34px 0 24px;
}

.link-hub__profile { text-align: center; }

.link-hub__avatar {
  width: 86px;
  height: 86px;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 1px solid rgba(232, 195, 79, .2);
  border-radius: 50%;
  background: #22221f;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .025);
}

.link-hub__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-hub__eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font: 500 9px/1.5 "Kanit", var(--font);
  letter-spacing: .13em;
}

.link-hub__profile h1 {
  margin: 0;
  color: var(--gold);
  font: 600 19px/1.4 "Kanit", var(--font);
}

.link-hub__profile h1 span {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font: 500 12px/1.6 var(--font);
}

.link-hub__description {
  margin: 10px 0 21px;
  color: #d3d0c8;
  font-size: 11px;
  line-height: 1.8;
}

.link-hub__actions,
.hub-social-links {
  display: grid;
  gap: 9px;
}

.hub-link,
.social-link {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 8px;
  background: linear-gradient(110deg, #292923, #1d1d1a);
  color: #f3f0e8;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .13);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hub-link:hover,
.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 195, 79, .32);
  background: var(--surface-hover);
}

.hub-link--primary {
  border-color: rgba(232, 195, 79, .42);
  background: linear-gradient(110deg, #e6c45f, #c99f39);
  color: #211b0d;
}

.hub-link--primary:hover {
  border-color: var(--gold-soft);
  background: linear-gradient(110deg, #f3d87c, #d9b24e);
}

.hub-link__icon,
.social-link svg {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid rgba(232, 195, 79, .24);
  border-radius: 50%;
  background: rgba(0, 0, 0, .18);
  color: var(--gold-soft);
  font-size: 14px;
}

.hub-link--primary .hub-link__icon {
  border-color: rgba(33, 27, 13, .2);
  color: #211b0d;
}

.hub-link__arrow {
  margin-left: auto;
  color: #d2cfc7;
  font-size: 17px;
  line-height: 1;
}

.hub-link--primary .hub-link__arrow { color: #211b0d; }

.link-hub__contact { margin-top: 20px; }

.link-hub__contact h2 {
  margin: 0 0 9px;
  color: #c8c3b6;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

.social-link { min-height: 48px; }

.social-link svg {
  padding: 7px;
  border: 0;
  background: #f0c64c;
}

.social-link svg path { fill: #17130b; }
.social-link span { flex: 1; }

.hub-banner {
  position: relative;
  min-height: 194px;
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid rgba(232, 195, 79, .3);
  border-radius: 10px;
  background:
    linear-gradient(115deg, rgba(10, 10, 9, .88), rgba(31, 28, 17, .85)),
    #1b1a15;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .32);
  isolation: isolate;
}

.hub-banner__glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -70px;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(220, 179, 60, .2);
  filter: blur(35px);
  transform: translateY(-50%);
}

.hub-banner__logo {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -38px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  opacity: .18;
  object-fit: cover;
  transform: translateY(-50%);
}

.hub-banner__copy { position: relative; }

.hub-banner__copy p {
  margin: 0 0 3px;
  color: #d2cbb9;
  font-size: 10px;
}

.hub-banner__copy h2 {
  margin: 0;
  color: #fff;
  font: 600 30px/1.25 "Kanit", var(--font);
  letter-spacing: .04em;
}

.hub-banner__copy h2 span { color: var(--gold); }

.hub-banner__copy > span {
  display: block;
  margin-top: 8px;
  color: var(--gold-soft);
  font: 500 8px/1.5 "Kanit", sans-serif;
  letter-spacing: .12em;
}

.hub-banner__spark {
  position: absolute;
  color: var(--gold-soft);
  text-shadow: 0 0 16px rgba(245, 223, 140, .6);
}

.hub-banner__spark--one { top: 22px; right: 24px; font-size: 21px; }
.hub-banner__spark--two { right: 84px; bottom: 23px; font-size: 14px; }

.link-hub__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 17px;
  color: #817e75;
  font-size: 9px;
  text-align: center;
}

.link-hub__footer p { margin: 0; color: #aaa392; }

@media (min-width: 700px) {
  .link-hub { padding-top: 46px; }
  .link-hub__avatar { width: 94px; height: 94px; }
  .link-hub__profile h1 { font-size: 21px; }
  .link-hub__description { margin-bottom: 24px; }
  .hub-banner { min-height: 220px; margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
