.glass-card {
  position: fixed;
  width: 90%;
  z-index: 2;
  border-radius: 1.6rem;
  padding: 3rem 1rem;
  user-select: none;
  -webkit-user-select: none;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px) brightness(1.55) saturate(3);
  -webkit-backdrop-filter: blur(10px) brightness(1.55) saturate(3);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 40px 80px rgba(0, 0, 0, 0.30);
  transform: translate(-50%, -50%) perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  padding: 1px;

  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.09) 55%, transparent 75%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.06) 55%, transparent 75%),
    linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07));

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 85%,
      rgba(0, 0, 0, 0.14) 0%,
      transparent 65%);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-para,
.social-links {
  font-size: 0.9rem;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
}

.wave-emoji {
  font-weight: normal;
  animation-name: wave;
  display: inline-block;
  transform-origin: 70% 70%;
  animation-duration: 1.8s;
  animation-iteration-count: infinite;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  10% {
    transform: rotate(10deg);
  }

  20% {
    transform: rotate(-12deg);
  }

  30% {
    transform: rotate(10deg);
  }

  40% {
    transform: rotate(-9deg);
  }

  50% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Media Queries */

@media (min-width: 350px) {
  .social-links {
    gap: 2rem;
  }
}

@media (min-width: 370px) {
  .glass-card {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-headline {
    font-size: 1.1rem;
  }

  .hero-para,
  .social-links {
    font-size: 0.95rem;
  }
}

@media (min-width: 490px) {
  .glass-card {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .social-links {
    gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  .glass-card {
    width: 700px;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-headline {
    font-size: 1.3rem;
  }

  .hero-para,
  .social-links {
    font-size: 1rem;
  }

  .social-links {
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .glass-card {
    width: 800px;
  }
}
