/* ===================================
  SOCIAL SIDEBAR
=================================== */
.social {
  position: fixed;
  top: 150px;
  left: 0;
  z-index: 999;
}
.social ul {
  padding: 0;
  list-style: none;
  transform: translate(-270px, 0);
}
.social ul li {
  display: block;
  margin: 5px;
  background: rgba(15, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  width: 300px;
  text-align: right;
  padding: 10px;
  border-radius: 0 30px 30px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(220, 80, 80, 0.25);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.social ul li:hover {
  transform: translate(110px, 0);
  background: linear-gradient(135deg, rgba(180, 30, 30, 0.15), rgba(10, 5, 5, 0.95));
  border-color: rgba(255, 100, 100, 0.45);
  box-shadow: 0 8px 20px rgba(200, 40, 40, 0.35);
}
.social ul li a {
  color: #f8e8e8;
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  font-weight: 500;
}
.social ul li i {
  color: #ff7070;
  background: rgba(180, 50, 50, 0.25);
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 100, 100, 0.2);
}
.social ul li:hover i {
  color: #ffffff;
  background: rgba(200, 50, 50, 0.5);
  transform: rotate(360deg);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 18px rgba(255, 80, 80, 0.45);
  border-color: rgba(255, 150, 150, 0.4);
}

/* Mobile styling: floating button at bottom left instead of slide-out (no hover on touch) */
@media (max-width: 768px) {
  .social {
    top: auto;
    bottom: 32px;
    left: 20px;
    transform: none;
  }
  .social ul {
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .social ul li {
    width: auto;
    padding: 0;
    margin: 0;
    transform: none !important;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .social ul li a {
    font-size: 0; /* Hide text */
    justify-content: center;
    padding: 0;
  }
  .social ul li i {
    width: 48px;
    height: 48px;
    font-size: 20px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: rgba(15, 10, 10, 0.95);
    border: 1px solid rgba(220, 80, 80, 0.4);
    color: #f8e8e8;
  }
  .social ul li i:hover, .social ul li i:active {
    background: rgba(200, 50, 50, 0.8);
    transform: scale(1.05);
  }
}