/* Sticky social + mosque toggle (shared with Tailwind homepage; icons need BI + FA) */
.sticky-social-links {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@keyframes sticky-attn-glow {
  0%,
  28%,
  100% {
    filter: brightness(1);
    border-color: rgba(212, 175, 55, 0.65);
  }
  6%,
  18% {
    filter: brightness(1.12);
    border-color: rgba(250, 204, 21, 0.96);
  }
  12%,
  24% {
    filter: brightness(1);
    border-color: rgba(212, 175, 55, 0.65);
  }
}

.sticky-social-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.65);
  color: #fefce8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(155deg, #15803d 0%, #166534 38%, #0c2718 100%);
  box-shadow: none;
  animation: sticky-attn-glow 3.2s ease-in-out infinite;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.28s ease,
    border-color 0.28s ease;
}

.sticky-social-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.11;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(250, 204, 21, 0.35) 5px, rgba(250, 204, 21, 0.35) 6px),
    repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(250, 204, 21, 0.22) 5px, rgba(250, 204, 21, 0.22) 6px);
}

.sticky-social-toggle::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(250, 204, 21, 0.28);
  pointer-events: none;
  z-index: 0;
}

.sticky-social-toggle i {
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-social-toggle:hover {
  animation: none;
  transform: translateY(-3px) scale(1.08);
  filter: brightness(1.1);
  border-color: rgba(250, 204, 21, 0.95);
  box-shadow: none;
  background: linear-gradient(155deg, #22c55e 0%, #166534 42%, #14532d 100%);
}

.sticky-social-toggle:hover i {
  transform: scale(1.08);
}

.sticky-social-toggle:focus-visible {
  animation: none;
  outline: 2px solid rgba(250, 204, 21, 0.95);
  outline-offset: 3px;
  box-shadow: none;
}

.sticky-social-links.open .sticky-social-toggle {
  animation: none;
  background: linear-gradient(155deg, #14532d 0%, #0f2918 55%, #1c1917 100%);
  border-color: rgba(250, 204, 21, 0.85);
  box-shadow: none;
}

.sticky-social-links.open .sticky-social-toggle::before {
  opacity: 0.16;
}

.sticky-social-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  background: transparent;
}

.sticky-social-links.open .sticky-social-list {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

.sticky-social-link {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(212, 175, 55, 0.58);
  color: #fefce8;
  text-decoration: none;
  background: linear-gradient(155deg, #15803d 0%, #166534 42%, #0c2718 100%);
  box-shadow: none;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.22s ease,
    border-color 0.22s ease;
}

.sticky-social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(250, 204, 21, 0.32) 4px, rgba(250, 204, 21, 0.32) 5px),
    repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(250, 204, 21, 0.2) 4px, rgba(250, 204, 21, 0.2) 5px);
}

.sticky-social-link::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 1px solid rgba(250, 204, 21, 0.24);
  pointer-events: none;
  z-index: 0;
}

.sticky-social-link:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.08);
  border-color: rgba(250, 204, 21, 0.92);
  color: #fffef5 !important;
  box-shadow: none;
  background: linear-gradient(155deg, #22c55e 0%, #166534 42%, #14532d 100%);
}

.sticky-social-link:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.9);
  outline-offset: 3px;
  box-shadow: none;
}

.sticky-social-link i {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.sticky-tiktok {
  background: linear-gradient(155deg, #0f2918 0%, #166534 45%, #0c2718 100%);
}

.sticky-youtube {
  background: linear-gradient(155deg, #166534 0%, #14532d 48%, #0c2718 100%);
}

.sticky-instagram {
  background: linear-gradient(155deg, #15803d 0%, #166534 38%, #1c1917 100%);
}

.sticky-tiktok:hover,
.sticky-youtube:hover,
.sticky-instagram:hover,
.sticky-email:hover {
  background: linear-gradient(155deg, #22c55e 0%, #166534 42%, #14532d 100%);
}

@media (prefers-reduced-motion: reduce) {
  .sticky-social-toggle,
  .sticky-social-toggle i {
    transition: border-color 0.2s ease, filter 0.2s ease;
  }
  .sticky-social-toggle {
    animation: none;
  }
  .sticky-social-toggle:hover {
    transform: none;
  }
  .sticky-social-toggle:hover i {
    transform: none;
  }
  .sticky-social-link:hover {
    transform: none;
  }
}

@media (max-width: 992px) {
  .sticky-social-links {
    left: 12px;
    right: auto;
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .sticky-social-list {
    order: -1;
    margin-top: 0;
    margin-bottom: 6px;
  }
}

@media (max-width: 576px) {
  .sticky-social-links {
    left: 10px;
    bottom: 10px;
    gap: 6px;
  }
  .sticky-social-toggle {
    width: 44px;
    height: 44px;
  }
  .sticky-social-link {
    width: 40px;
    height: 40px;
  }
}
