@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600&display=swap");

:root {
  --Purple: #5D60D3;
  --White: hsl(0, 0%, 100%);
  --Grey: hsl(0, 0%, 20%);
  --Dark-Grey: hsl(0, 0%, 12%);
  --Off-Black: hsl(0, 0%, 8%);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--Off-Black);
  color: var(--White);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  width: 95vw;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--Dark-Grey);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--Purple), transparent);
  opacity: 0.3;
}

.card-pic {
  position: relative;
  margin-bottom: 0.5rem;
}

img {
  display: block;
  max-width: 100%;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 3px solid var(--Dark-Grey);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.card-content h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 1.5rem;
  color: var(--White);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-content p:first-of-type {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--Purple);
  margin-top: 1rem;
  letter-spacing: 0.01em;
}

.card-content p:nth-of-type(2) {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--White);
  margin: 1.5rem 0;
  opacity: 0.8;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.card-links {
  width: 100%;
}

.card a {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
  background-color: var(--Grey);
  color: var(--White);
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.card a:hover,
.card a:focus,
.card a:active {
  background-color: var(--Purple);
  color: var(--White);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(93, 96, 211, 0.3);
  border-color: var(--Purple);
}

.card a:focus {
  outline: 2px solid var(--Purple);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .card {
    padding: 2rem 1.5rem;
  }
  .card-content h1 { font-size: 1.5rem; }
  .card-content p:first-of-type { font-size: 0.85rem; }
  .card-content p:nth-of-type(2) { font-size: 0.8rem; }
  .card a { font-size: 0.8rem; padding: 0.75rem 1rem; }
  img { width: 80px; height: 80px; }
}
