:root {
  color: #e7d9c6;
  background: #181715;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -8%, rgba(241, 90, 18, 0.2), transparent 28%),
    linear-gradient(180deg, #111111 0%, #181715 50%, #241917 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.linktree-page {
  display: grid;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 18px 28px;
  gap: 22px;
}

.profile {
  display: grid;
  justify-items: center;
  text-align: center;
}

.profile__logo {
  width: min(154px, 42vw);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55));
}

.profile__eyebrow {
  margin: 10px 0 0;
  color: #d39b4a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile h1 {
  margin: 6px 0 0;
  color: #f5f5f5;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1;
}

.profile__text {
  max-width: 390px;
  margin: 12px 0 0;
  color: #cbbca8;
  font-size: 1rem;
  line-height: 1.55;
}

.links {
  display: grid;
  gap: 16px;
}

.media-card {
  appearance: none;
  display: grid;
  gap: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(176, 138, 86, 0.28);
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(44, 41, 39, 0.96), rgba(17, 17, 17, 0.98));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.media-card--featured {
  border-color: rgba(241, 90, 18, 0.72);
  background:
    linear-gradient(145deg, rgba(74, 47, 31, 0.92), rgba(17, 17, 17, 0.98)),
    #241917;
}

.media-card:hover {
  border-color: #f15a12;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #111111;
  object-fit: cover;
  object-position: center 24%;
}

.media-card span {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 8px 6px;
}

.media-card strong {
  color: #f5f5f5;
  font-size: 1.05rem;
}

.media-card small {
  color: #cbbca8;
  font-size: 0.9rem;
  line-height: 1.35;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 0 0;
  color: #a5a5a5;
  text-align: center;
}

.footer img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  line-height: 1.45;
}

.footer a {
  color: #e7d9c6;
  font-weight: 900;
}

@media (max-width: 420px) {
  .linktree-page {
    padding: 28px 14px 24px;
  }

  .media-card {
    padding: 8px;
  }

  .media-card img {
    aspect-ratio: 16 / 7;
    object-position: center top;
  }

  .media-card span {
    padding: 12px 6px 5px;
  }
}
