.lux-hover {
  display: inline-block;
  position: relative;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.lux-hover:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.6),
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 0, 0, 0.6);
}

 .eternal-glow {
  display: inline-block;
  position: relative;
  padding: 1em 2em;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: 3px solid #000; /* thicker solid black border */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); /* slightly smaller glow */
  animation: glowDrift 6s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  0%   { transform: translate(0px, 0px) rotate(0deg); box-shadow: 0 0 12px rgba(255,255,255,0.2); }
  25%  { transform: translate(2px, -2px) rotate(1deg); box-shadow: 0 0 18px rgba(255,255,255,0.25); }
  50%  { transform: translate(-2px, 2px) rotate(-1deg); box-shadow: 0 0 22px rgba(255,255,255,0.3); }
  75%  { transform: translate(1px, -1px) rotate(0.5deg); box-shadow: 0 0 15px rgba(255,255,255,0.2); }
  100% { transform: translate(0px, 0px) rotate(0deg); box-shadow: 0 0 12px rgba(255,255,255,0.2); }
}

 
<style>
/* ===== HEADER BUTTON (RIGHT TOP, NO LAYOUT SHIFT) ===== */
.header-btn-wrap {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 10;
}

/* ===== GLASSY GREEN BUTTON ===== */
.glassy-green-btn {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #0b3d2e;
  text-decoration: none;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.25),
    rgba(39, 174, 96, 0.35)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 204, 113, 0.4);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.4),
    0 6px 14px rgba(39,174,96,0.25);
  overflow: hidden;
  animation: idleGlow 4s ease-in-out infinite;
}
<style>
<style>


 
<style>
.soft-elegant-img {
  position: relative;
  display: inline-block;
  border-radius: 18px;
  overflow: hidden;
  animation: softFloat 6s ease-in-out infinite;
  box-shadow:
    0 18px 40px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.soft-elegant-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

/* subtle light sweep */
.soft-elegant-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.25) 50%,
    transparent 70%
  );
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.soft-elegant-img:hover::after {
  opacity: 1;
  transform: translateX(100%);
}

.soft-elegant-img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.16);
}

/* gentle idle motion */
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
</style>

<div class="soft-elegant-img">
  <img src="your-image.jpg" alt="">
</div>


.glassy-hover {
  position: relative;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 175, 65, 0.25);

  /* soft layered depth */
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(251, 175, 65, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05),
    inset 0 0 8px rgba(251, 175, 65, 0.08);

  transition: 
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    background 0.35s ease;

  overflow: hidden;
}

/* top soft glass reflection */
.glassy-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 35%,
    transparent 65%,
    rgba(255, 255, 255, 0.06) 100%
  );
  opacity: 0.6;
  pointer-events: none;
}

/* subtle inner glow core */
.glassy-hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(251, 175, 65, 0.12),
    transparent 70%
  );
  opacity: 0.5;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* hover - buttery smooth premium lift */
.glassy-hover:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: #FBAF41;
  background: rgba(255, 255, 255, 0.06);

  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(251, 175, 65, 0.5),
    0 0 50px rgba(251, 175, 65, 0.25),
    inset 0 0 14px rgba(255, 255, 255, 0.08),
    inset 0 0 12px rgba(251, 175, 65, 0.15);
}

/* glow intensifies smoothly */
.glassy-hover:hover::after {
  opacity: 0.9;
}

.img-hover {
  overflow: hidden;
  display: inline-block;
  border-radius: 12px;
}

.img-hover img {
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-hover:hover img {
  transform: scale(1.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.cname {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.35s ease;
}

.cname img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.cname:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
}

.cname:hover img {
  transform: scale(1.06);
}
.green-glow-card {
  position: relative;
  padding: 30px 40px;
  border-radius: 16px;
  background: rgba(20, 40, 30, 0.45);
  color: #e8fff1;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(40, 138, 66, 0.25);
  overflow: hidden;
  transition: all 0.4s ease;

  /* subtle idle glow */
  box-shadow:
    0 0 20px rgba(40, 138, 66, 0.18),
    inset 0 0 15px rgba(40, 138, 66, 0.08);
}

/* gradient border glow */
.green-glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, transparent, #288A42, transparent);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity: 0.4;
  transition: all 0.4s ease;
}

/* soft ambient glow */
.green-glow-card::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(40,138,66,0.1), transparent 60%);
  opacity: 0.6;
  transition: 0.4s ease;
}

/* hover effect */
.green-glow-card:hover {
  transform: translateY(-6px) scale(1.02);

  box-shadow:
    0 0 40px rgba(40, 138, 66, 0.5),
    0 0 80px rgba(40, 138, 66, 0.25),
    inset 0 0 25px rgba(40, 138, 66, 0.2);
}

.green-glow-card:hover::before {
  opacity: 1;
  background: linear-gradient(120deg, #1f6f35, #3ecf6d, #1f6f35);
  filter: blur(2px);
}

.green-glow-card:hover::after {
  opacity: 1;
}