/* ============================================================
   linkpage.css  —  Aussehen der Link-/Profilseiten
   ============================================================
   Für Seiten, die KEIN Bingo sind: Profilbild, Name, Spruch und
   beliebig viele Buttons (Instagram, Bild zeigen, WhatsApp …).
   Das Farb-Theme wählst du in der config.js der jeweiligen Person.
   ------------------------------------------------------------ */

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  /* Standard-Hintergrund (falls kein Theme gewählt ist) */
  background: linear-gradient(160deg, #00b4d8, #0077b6);
}

/* ---- Farb-Themes (in config.js: theme: "sunset" usw.) ---- */
body.theme-sunset { background: linear-gradient(160deg, #ff8c42, #ff5d8f, #6a0572); }
body.theme-ocean  { background: linear-gradient(160deg, #00b4d8, #0077b6, #023e8a); }
body.theme-neon   { background: linear-gradient(160deg, #f706cf, #7b2ff7, #00f5d4); }
body.theme-party  { background: linear-gradient(160deg, #f9d423, #ff4e50, #6a0572); }
body.theme-dark   { background: linear-gradient(160deg, #232526, #414345); }

/* ---- Die Karte in der Mitte ---- */
.card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  margin-bottom: 14px;
}

.name {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.subtitle {
  margin: 4px 0 24px;
  font-size: 1rem;
  opacity: 0.95;
}

/* ---- Die Buttons ---- */
.links { display: flex; flex-direction: column; gap: 12px; }

.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 16px;
  background: rgba(255,255,255,0.95);
  color: #222;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  transition: transform 0.08s ease;
}
.link-btn:active { transform: scale(0.97); }
.link-btn .ic { font-size: 1.3rem; width: 1.6rem; text-align: center; }

/* ---- Bild-Vollbild (Lightbox) ---- */
.img-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 60; padding: 20px;
}
.img-lightbox img { max-width: 100%; max-height: 85vh; border-radius: 12px; }
.img-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.2); color: #fff;
  font-size: 1.2rem; cursor: pointer;
}

.footer-note { margin-top: 22px; font-size: 0.75rem; opacity: 0.75; }

.hidden { display: none !important; }
