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

 body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000 100%);
  color: #e5e7eb;
  display: flex;
  justify-content: center;
  padding: 30px 15px;
   /* added for the background canvas */
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}
/* Full-screen background canvas */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;      /* sit behind your cards/content */
  pointer-events: none;
}

/* Page container */
.page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 24px;
}

.avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: bold;
  font-size: 28px;
  letter-spacing: 1px;
  border: 2px solid red;
  box-shadow:
    0 0 0 2px rgba(248, 113, 113, 0.2),
    0 18px 30px rgba(15, 23, 42, 0.9);
}

.header h1 {
  font-size: 2.1rem;
  margin-bottom: 6px;
}

.tagline {
  font-size: 0.95rem;
  color: #9ca3af;
}

/* Cards */
.card {
  background: #020617;
  border-radius: 14px;
  padding: 18px 18px 20px;
  margin-bottom: 14px;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    border-color 0.12s ease-out;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
  border-color: #38bdf8;
}


.card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 8px;
}

/* Skill pills */
.pill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pill-list li {
  font-size: 0.85rem;
  background: #1e293b;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid #334155;
}

/* Links */
.links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.links a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 500;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.links a:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(56, 189, 248, 0.4);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: #6b7280;
}
/* Like button section */
.like-section {
  text-align: center;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  background: #22c55e;
  color: #022c22;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(34, 197, 94, 0.4);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background 0.1s ease,
    opacity 0.1s ease;
}

.like-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.45);
}

.like-button.liked {
  background: #16a34a;
  opacity: 0.9;
}

.like-button .heart {
  font-size: 1.2rem;
}

/* Confetti pieces */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 14px;
  background: red; /* JS will overwrite this with random colors */
  top: -10px;
  left: 50%;
  opacity: 0.9;
  z-index: 9999;
  pointer-events: none;
  animation: confetti-fall 1.2s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--x-move), 100vh, 0) rotateZ(360deg);
    opacity: 0;
  }
}
/* Like button section */
.like-section {
  text-align: center;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  background: #22c55e;
  color: #022c22;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(34, 197, 94, 0.4);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background 0.1s ease,
    opacity 0.1s ease;
}

.like-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.45);
}

.like-button.liked {
  background: #16a34a;
  opacity: 0.9;
}

.like-button .heart {
  font-size: 1.2rem;
}

/* Confetti pieces */
.confetti-piece {
  position: fixed;
  border-radius: 2px;
  background: red; /* JS will overwrite with random colors */
  transform: translate3d(0, 0, 0) rotateZ(0deg);
  opacity: 1;
  z-index: 9999;
  pointer-events: none;
  animation: confetti-pop 700ms ease-out forwards;
}

@keyframes confetti-pop {
  0% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--dx), var(--dy), 0) rotateZ(720deg);
    opacity: 0;
  }
}

.card h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 4px;
}

.card h2::after {
  /* same as option 2 but: */
  width: 40px;
  opacity: 0.4;
}
