/* =====================================================
   Extra Life Café — Floating Social Buttons v1.0.0
   ===================================================== */

.elc-social-float {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
}

.elc-social-float a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  overflow: hidden;
}

.elc-social-float a:hover {
  transform: scale(1.18) translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
}

/* Couleurs officielles */
.elc-social-float a.elc-facebook  { background: #1877F2; }
.elc-social-float a.elc-twitter   { background: #000000; }
.elc-social-float a.elc-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%, #fdf497 5%,
    #fd5949 45%, #d6249f 60%,
    #285AEB 90%
  );
}
.elc-social-float a.elc-tiktok    { background: #010101; }
.elc-social-float a.elc-discord   { background: #5865F2; }

.elc-social-float a svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Tablette */
@media (max-width: 980px) {
  .elc-social-float {
    left: 10px;
    gap: 8px;
  }
  .elc-social-float a {
    width: 40px;
    height: 40px;
  }
  .elc-social-float a svg {
    width: 19px;
    height: 19px;
  }
}

/* Mobile — barre horizontale en bas */
@media (max-width: 767px) {
  .elc-social-float {
    left: 50%;
    top: auto;
    bottom: 12px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 8px 14px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  .elc-social-float a {
    width: 42px;
    height: 42px;
  }
  .elc-social-float a:hover {
    transform: scale(1.12) translateX(0);
  }
}
