/* Theme Variables */
:root {
  --color-bg: #0f1724;
  --color-card-bg: linear-gradient(135deg, #4d123e, #271263);
  --color-border: rgba(255,255,255,0.06);
  --color-text-muted: rgba(255,255,255,0.65);
  --accent: #16a34a;
  --radius: 14px;

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/*  Page Layout */
body {
  margin: 0;
  background: linear-gradient(180deg,#110b41 0%, #31092f 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: #e6eef6;
  overflow: hidden;
  position: relative;
}

/* Animated Lava Background */
.lava-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(49,9,47,0.35) 0%, rgba(17,11,65,0.45) 70%);
}

.lava-blob {
  position: absolute;
  filter: blur(15px);
  opacity: 0.65;
  mix-blend-mode: screen;
  transform-origin: center;
  border-radius: 50%;
  /* movement + morph combined */
  animation: float 24s ease-in-out infinite, morph 10s ease-in-out infinite;
}

.lava-blob.b1 {
  width: 520px; height: 520px;
  left: -10%; top: 5%;
  background: radial-gradient(circle at 30% 30%, #ff7a59 0%, #ff3b3b 55%, #c9187c 100%);
}

.lava-blob.b2 {
  width: 420px; height: 420px;
  left: 15%; top: 50%;
  background: radial-gradient(circle at 30% 30%, #ff9a66 0%, #ff5e6e 45%, #ef476f 100%);
}

.lava-blob.b3 {
  width: 360px; height: 360px;
  left: 55%; top: 20%;
  background: radial-gradient(circle at 30% 30%, #ffcf7a 0%, #ff7a59 50%, #d61f69 100%);
}

.lava-blob.b4 {
  width: 280px; height: 280px;
  left: 75%; top: 60%;
  background: radial-gradient(circle at 30% 30%, #ff7f50 0%, #ff5a6a 50%, #ab2a63 100%);
}

.lava-blob.b5 {
  width: 220px; height: 220px;
  left: 40%; top: 75%;
  background: radial-gradient(circle at 30% 30%, #f9a825 0%, #ff7043 50%, #c2185b 100%);
}

/* movement keyframes */
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(60px, -40px) scale(1.05); }
  50%  { transform: translate(-80px, 30px) scale(0.95); }
  75%  { transform: translate(40px, 80px) scale(1.08); }
  100% { transform: translate(0, -10px) scale(1); }
}

/* morph keyframes */
@keyframes morph {
  0%   { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  25%  { border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%; }
  50%  { border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%; }
  75%  { border-radius: 70% 30% 60% 40% / 30% 70% 40% 60%; }
  100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
}

/* Card */
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 30px rgba(2,6,23,0.7);
  z-index: 1; /* above lava */
}

.top {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* avatar */
.avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(170, 13, 136, 0.06);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}

.avatar img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

h1 {
  margin: 0;
  font-size: 20px;
}

.subtitle {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 6px;
}

.info {
  margin-top: 20px;
  line-height: 1.6;
}

/*  Button */
.show-image {
  position: absolute;
  bottom: 15px; right: 15px;
}

.show-image button {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.show-image button:hover {
  background-color: #128437;
}

/* Social Links */
.social-links {
  position: absolute;
  bottom: 10px; left: 20px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.social-links a.fb {
  background: #1877F2;
}

/* Instagram gradient background */
.social-links a.ig {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf, #4f5bd5);
}

/* make the Instagram icon darker so it’s visible */
.social-links a.ig svg {
  fill: #ffffff; /* black logo stands out */
}

.social-links a:hover {
  transform: scale(1.12);
  opacity: 0.95;
}

.social-links svg {
  width: 16px; height: 16px;
}
