:root {
  --primary: #13a4ec;
  --primary-glow: rgba(19, 164, 236, 0.2);
  --bg-dark: #101c22;
  --text-white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);

  --font-main: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

body {
  background-color: var(--bg-dark);
  font-family: var(--font-main);
  color: var(--text-white);
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  align-content: center;
}

.background-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    will-change: transform;
    animation: spin linear infinite;

    &.blob-1 {
      top: -10rem;
      left: -10rem;
      width: 400px;
      height: 400px;
      background-color: var(--primary);
      animation-duration: 20s;
    }
    &.blob-2 {
      bottom: -10rem;
      right: -10rem;
      width: 400px;
      height: 400px;
      background-color: #22d3ee;
      animation-duration: 25s;
      animation-direction: reverse;
    }
    &.blob-3 {
      top: 50%;
      left: 50%;
      width: 500px;
      height: 300px;
      background-color: #6366f1;
      transform: translate(-50%, -50%);
      opacity: 0.1;
      animation-duration: 15s;
    }
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.main-wrapper {
  width: 100%;
  max-width: 56rem;
  padding: 1rem;
  z-index: 10;
}

.card {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  backdrop-filter: blur(40px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);

  &:hover {
    box-shadow: 0 20px 25px -5px var(--primary-glow);
    transform: translateY(-2px);
  }

  .card-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
    text-align: center;

    @media (min-width: 768px) {
      flex-direction: row;
      padding: 3rem;
      text-align: left;
    }
  }
}

.organic-shape {
  border-radius: 3rem 5rem 4rem 6rem / 5rem 3rem 6rem 4rem;
}

.profile-container {
  position: relative;
  width: 10rem;
  height: 10rem;
  padding: 0.375rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);

  img.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center top;
  }

  .profile-border-hover {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    pointer-events: none;
  }

  &:hover .profile-border-hover {
    border-color: var(--primary);
  }

  .profile-glow {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-glow);
    border-radius: 50%;
    filter: blur(16px);
    z-index: -1;
  }
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;

  h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    background: linear-gradient(to bottom right, #ffffff, #9ca3af);
    background-clip: text;
    color: transparent;
  }

  h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-block-start: 0.5rem;
  }

  .bio {
    font-family: var(--font-mono);
    color: rgba(209, 213, 219, 0.9);
    line-height: 1.6;
    max-width: 60ch;
  }
}

.buttons-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;

  @media (min-width: 768px) {
    justify-content: flex-start;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    height: 2.75rem;
    padding-inline: 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.2s var(--ease-out);

    &.btn-glass {
      background-color: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.1);

      &:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
      }
    }

    &.btn-primary {
      background-color: rgba(19, 164, 236, 0.9);
      border: 1px solid transparent;

      &:hover {
        background-color: var(--primary);
        box-shadow: 0 4px 12px var(--primary-glow);
      }
    }
  }
}

.site-footer {
  margin-block-start: 2rem;
  text-align: center;
  color: rgba(156, 163, 175, 0.8);
  font-size: 0.875rem;
}
