/* Glassy 3D card */
.overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) 
             perspective(800px) rotateX(4deg) rotateY(-4deg);
  width: 90%; max-width: 360px;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255, 0.15);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 
    0 8px 24px rgba(0,0,0,0.2),
    inset 0 0 0 1px rgba(255,255,255,0.3);
  backdrop-filter: blur(12px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Gradient border via pseudo-element */
.overlay::before {
  content: "";
  position: absolute;
  top:-2px; left:-2px; right:-2px; bottom:-2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6A11CB, #2575FC);
  z-index: -1;
}

/* Hover to “pop” forward */
.overlay:hover {
  transform: translate(-50%, -50%) 
             perspective(800px) rotateX(0deg) rotateY(0deg);
  box-shadow: 
    0 16px 40px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}

/* Headings */
.overlay .coming-soon {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.overlay .site-title {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  color: #e0e0e0;
}

/* Description text */
.overlay .description {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

/* Contact button—neon-gradient, 3D */
.overlay .contact-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #2575FC, #6A11CB);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37,117,252,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.overlay .contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37,117,252,0.8);
}

/* 1) Base overlay: frosted glass + 3D tilt */
.overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%)
             perspective(600px) rotateX(5deg) rotateY(-5deg);
  transform-style: preserve-3d;
  width: 90%; max-width: 360px;
  padding: 1.8rem 1.2rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  overflow: visible;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 2) Vibrant gradient outline underneath */
.overlay::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: 18px; /* match overlay’s +2px */
  background: linear-gradient(135deg, #2575FC, #6A11CB);
  z-index: -1;
}

/* 3) Hover “pop” effect */
.overlay:hover {
  transform: translate(-50%, -50%)
             perspective(600px) rotateX(0) rotateY(0);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}


/* Inline logo in the overlay */
.inline-logo {
  display: block;           /* makes it its own row */
  margin: 0 auto 1rem;      /* center + bottom gap */
  width: 96px;              /* adjust as needed */
  max-width: 50%;           /* responsive cap */
  height: auto;
}

/* If you want to hide the text fallback */
.site-title {
  display: none;
}
