/* Dunkles Linktree-Theme — bewusst schlicht gehalten, Feintuning kommt später. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #2a2a2a;
  color: #ffffff;
  min-height: 100vh;
}

/* --- Hintergrundbild oben, blendet in den Seitenhintergrund aus --- */
.bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 65vh;
  background: url("assets/background.svg") center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Fade: oben leicht abgedunkelt für Lesbarkeit, unten voll in #2a2a2a */
  background: linear-gradient(
    to bottom,
    rgba(42, 42, 42, 0.35) 0%,
    rgba(42, 42, 42, 0.55) 45%,
    rgba(42, 42, 42, 0.85) 75%,
    #2a2a2a 100%
  );
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

/* --- Profil --- */
.profile {
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #3a3a3a;
}

.name {
  margin-top: 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.bio {
  margin: 8px auto 0;
  max-width: 420px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #f0f0f0;
}

.socials {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  color: #ffffff;
  display: inline-flex;
}

.social-icon svg {
  width: 28px;
  height: 28px;
}

/* --- Link-Karten --- */
.links {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  background: #141414;
  border-radius: 14px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, background 0.12s ease;
}

.card:hover {
  transform: translateY(-2px);
  background: #1e1e1e;
}

.card-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #3a3a3a;
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
  /* Label optisch zentrieren, Thumbnail-Breite ausgleichen */
  margin-right: 48px;
}

/* Keine Thumbnail davor → kein Ausgleich nötig */
.card .card-text:first-child {
  margin-right: 0;
}

.card-label {
  font-size: 1.05rem;
  font-weight: 600;
}

.card-sublabel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.card-sublabel svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Große JEMP-Karte: Bild oben, Label darunter */
.card.featured {
  flex-direction: column;
  padding: 12px 12px 6px;
}

.card.featured .card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  background: #3a3a3a;
}

.card.featured .card-text {
  margin: 14px 0 8px;
}