:root {
  --brand: #2f318b;
  --brand-dark: #25276d;
  --brand-muted: #4a4db0;
  --accent: #2f9e6b;
  --card: #ffffff;
  --card-foreground: #1f2a25;
  --muted-foreground: #6b7d74;
  --white: #ffffff;
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--brand);
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--brand);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 24px 16px 48px;
}

.container {
  width: 100%;
  max-width: 560px;
}

/* Profile */
.profile {
  text-align: center;
  margin-bottom: 28px;
}

.avatar {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  padding: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.handle {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tagline {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.socials {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.social {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social svg {
  width: 24px;
  height: 24px;
  display: block;
}

.social:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.link-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.link-body {
  width: 100%;
  padding: 20px 22px 22px;
}

.link-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.link-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
}

.link-sub {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-foreground);
  text-align: left;
}

.link-menu {
  flex-shrink: 0;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 8px;
}

.link-menu svg {
  display: block;
}

.footer {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 420px) {
  .link-thumb {
    height: 180px;
  }

  .handle {
    font-size: 22px;
  }
}
