/* ================= FLOATING HOME BUTTON ================= */
.floating-home-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;

  width: 62px;
  height: 62px;
  border-radius: 50%;

  background: radial-gradient(
    circle at top left,
    #ffffff,
    #f2f2f2
  );

  border: 2px solid rgba(81, 74, 152, 0.6);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 1000;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.35s ease,
    border 0.25s ease;
}

/* Glow ring */
.floating-home-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #514a98, #67c5c2);
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.floating-home-btn:hover::after {
  opacity: 0.9;
}

/* Hover State */
.floating-home-btn:hover {
  transform: scale(1.12);

  background: linear-gradient(
    135deg,
    #1a1a1a,
    #2c3e50,
    #1a1a1a
  );

  border-color: transparent;

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(103, 197, 194, 0.55);
}

/* ================= LOGO ================= */
.home-logo {
  width: 34px;
  height: 34px;

  object-fit: contain;

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Logo interaction */
.floating-home-btn:hover .home-logo {
  transform: rotate(12deg) scale(1.15);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}
