/* ===========================================================================
   Theme: default — single-column dark layout (hero photo + socials + links)
   =========================================================================== */
:root {
  --pageBg: #09090b;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Noto Color Emoji";
  background: var(--pageBg);
  color: var(--ink);
  display: flex;
  justify-content: center;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

/* subtle blurred backdrop */
.bg-image {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: 50%;
  filter: blur(60px);
  transform: scale(1.25);
  opacity: 0.35;
  z-index: -1;
}

/* ---------- card / column ---------- */
.card {
  width: 100%;
  max-width: 440px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 24px;
  gap: 16px;
}

/* ---------- hero (full-bleed background) ---------- */
.hero {
  position: relative;
  width: auto;
  margin: -16px -16px 0;
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 18%,
    rgba(0, 0, 0, 0.18) 42%,
    rgba(0, 0, 0, 0.5) 64%,
    rgba(0, 0, 0, 0.8) 84%,
    var(--pageBg) 100%
  );
}

.hero__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero__name {
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero__handle {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* ---------- social icons (overlay) ---------- */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.social__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 20, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.social__btn svg {
  width: 21px;
  height: 21px;
}

.social__btn:hover {
  transform: translateY(-2px);
  background: rgba(40, 40, 44, 0.6);
}

/* ---------- bio ---------- */
.bio {
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  padding: 0 8px;
}

/* ---------- featured link banner ---------- */
.featuredLink {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: #18181b;
}

.featuredLink__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.featuredLink::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--pageBg) 0%,
    rgba(0, 0, 0, 0.7) 12%,
    rgba(0, 0, 0, 0.25) 30%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 64%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.featuredLink__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.featuredLink__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featuredLink__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
  .card {
    justify-content: flex-start;
    min-height: 100dvh;
  }
}
