:root {
  --fc-primary: #b18a5f;
  --fc-primary-hover: #a27d51;
  --fc-messenger: #0084ff;
  --fc-zalo: #0068ff;
  --fc-call: #28a745;
}

.fc-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.fc-panel {
  position: absolute;
  bottom: 80px;
  right: 4px;
  width: 56px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: bottom center;
  z-index: 9999;
}

.fc-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
}

.fc-item {
  display: block;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fc-item:hover {
  transform: scale(1.15);
  background: transparent;
}

.fc-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fc-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.fc-launcher {
  width: 64px;
  height: 64px;
  background: var(--fc-primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(177, 138, 95, 0.45);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: background 0.3s;
}

.fc-launcher:hover {
  background: var(--fc-primary-hover);
}

.fc-launcher svg {
  fill: #fff;
  width: 32px;
  height: 32px;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fc-wrapper.is-open .fc-launcher svg {
  transform: rotate(180deg) scale(0.8);
}

.fc-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--fc-primary);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  animation: fc-pulse 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fc-ring-2 {
  animation-delay: 0.6s;
}

@keyframes fc-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .fc-wrapper {
    bottom: 16px;
    right: 16px;
  }
}
