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

:root {
  --card: #ffffff;
  --text: #1c1023;
  --muted: #8c6478;
  --accent: #c9367a;
  --accent-hover: #a3285f;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.09);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: #f0eeeb;
  color: var(--text);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

main {
  width: 100%;
  max-width: 460px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2.75rem 2rem 2.25rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* ── Avatar ── */
.avatar-wrap {
  margin: 0 auto 1.5rem;
  width: 160px;
  height: 210px;
}

.avatar {
  width: 160px;
  height: 210px;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
}

/* ── Name ── */
h1 {
  font-family: Consolas, "Cascadia Code", "Courier New", monospace;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  color: var(--text);
}

/* ── Name row ── */
.name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.name-row h1 {
  margin-bottom: 0;
}

/* ── Bunny ── */
@keyframes hop {
  0%   { transform: translateY(0)     scaleY(1)    scaleX(1); }
  30%  { transform: translateY(0)     scaleY(0.82) scaleX(1.15); } /* squish down */
  50%  { transform: translateY(-18px) scaleY(1.1)  scaleX(0.92); } /* in the air */
  70%  { transform: translateY(-18px) scaleY(1.1)  scaleX(0.92); }
  85%  { transform: translateY(0)     scaleY(0.78) scaleX(1.18); } /* land squish */
  100% { transform: translateY(0)     scaleY(1)    scaleX(1); }
}

.bunny {
  width: 70px;
  height: auto;
  image-rendering: pixelated;
  pointer-events: none;
  display: block;
  margin-top: -10px;
  transform-origin: bottom center;
  animation: hop 1.6s ease-in-out infinite;
}

/* ── Tagline ── */
.tagline {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.group {
  font-style: italic;
}

/* ── Deco ── */
.deco-code {
  display: block;
  font-family: Consolas, "Cascadia Code", "Courier New", monospace;
  font-size: 0.7rem;
  color: #e0a0c0;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

/* ── Email link ── */
.email-link {
  display: inline-block;
  font-family: Consolas, "Cascadia Code", "Courier New", monospace;
  font-size: 0.875rem;
  color: #2b5278;
  text-decoration: none;
  margin-bottom: 1.75rem;
}

.email-link:hover {
  text-decoration: underline;
}

/* ── Links ── */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.1s ease;
}

.link-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 400px) {
  .card {
    padding: 2rem 1.25rem 1.75rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  .link-btn {
    font-size: 0.825rem;
    padding: 0.45rem 0.85rem;
  }
}
