/* ===================================== */
/*         SOCIAL BAR & BUTTONS          */
/* ===================================== */

.socials-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.social-toggle-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  background:
    linear-gradient(135deg, var(--highlight-gold), #f0c66e);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--ink);
  padding: 11px 15px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.social-toggle-btn:active {
  transform: scale(0.95);
}

.social-toggle-btn:hover {
  box-shadow: 0 16px 34px rgba(214, 162, 74, 0.22);
  transform: translateY(-2px);
}

.socials-bar {
  position: fixed;
  bottom: 24px;
  right: 92px;
  background:
    linear-gradient(145deg, rgba(214, 162, 74, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0)),
    rgba(14, 24, 31, 0.9);
  padding: 8px;
  border: 1px solid rgba(214, 162, 74, 0.2);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  display: flex;
  gap: 6px;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.25s ease, transform 0.3s ease;
  transform: translateX(12px);
}

.socials-bar.active {
  max-width: 500px;
  opacity: 1;
  transform: translateX(0);
}

.socials-bar a {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: relative;
  transition: background-color 0.25s ease, transform 0.25s ease;
  width: 42px;
}

.socials-bar a + a::before {
  background: rgba(244, 247, 248, 0.1);
  content: "";
  height: 18px;
  left: -3px;
  position: absolute;
  top: 12px;
  width: 1px;
}

.socials-bar a:hover {
  background: rgba(214, 162, 74, 0.14);
  transform: translateY(-2px);
}

.socials-bar a img {
  width: 22px;
  height: 22px;
  filter: brightness(1.08) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.socials-bar a:hover img {
  transform: scale(1.08);
  filter: brightness(1.2) drop-shadow(0 8px 14px rgba(214, 162, 74, 0.22));
}

@media (min-width: 768px) {
  .social-toggle-btn { display: none; }
  .socials-bar {
    position: fixed;
    bottom: 28px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: unset;
    opacity: 1;
  }

  .socials-bar:hover {
    transform: translateX(-50%) translateY(-2px);
  }
}
