* {
  color: white;
}

body {
  margin: 0;
  padding: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-card {
  background: rgba(14, 15, 19, 0.6);
  border-radius: 35px;
  padding: 2rem;
  text-align: center;
  max-width: 400px;

  transform-style: preserve-3d;
  perspective: 1000px;

  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  will-change: transform;
  z-index: 999;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

h2 span {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave 2s infinite;
}

@keyframes wave {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(14deg); }
  20%  { transform: rotate(-8deg); }
  30%  { transform: rotate(14deg); }
  40%  { transform: rotate(-4deg); }
  50%  { transform: rotate(10deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.grid-layout {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.about-card .name {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.about-card .desc {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

.about-card:hover {
  transform: rotateX(4deg) rotateY(-4deg) scale(1.02);
}

.socials {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 10px;
  transition: 0.2s ease;
}

.socials a:hover {
  background: rgba(77, 163, 255, 0.15);
  transform: translateY(-2px);
}

.icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.glow-img {
  position: relative;
}

.glow-img::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);

  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.7rem;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;

  white-space: nowrap;
  opacity: 0;
  pointer-events: none;

  transition: 0.2s ease;
}

.glow-img::before {
  content: "";
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);

  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.75) transparent transparent transparent;

  opacity: 0;
  transition: 0.2s ease;
}

.glow-img:hover::after, .glow-img:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}