/* Floating Support Button */
.floating-support-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  animation: popIn 0.5s ease forwards; /* Subtle entrance animation */
}

.floating-support-btn button {
  background: linear-gradient(135deg, #f8c4d1, #fff8f0); /* Pastel gradient */
  color: #333; /* Soft black text */
  border: 1px solid #e6e6e6;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.floating-support-btn button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #f4b8c4, #fbead9); /* Darker gradient */
}

.floating-support-btn .support-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.floating-support-btn button:hover .support-icon {
  transform: rotate(20deg);
}

/* Modal Enhancements */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow: auto;
  backdrop-filter: blur(8px); /* Smooth blur effect */
  animation: fadeIn 0.4s ease;
}

.modal-content {
  background: #fff8f0; /* Pastel cream */
  margin: 8% auto;
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f4b8c4;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background-color: #f8c4d1;
  transform: scale(1.2);
}

/* Support Modal */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.support-option {
  background: linear-gradient(135deg, #fff8f0, #f8c4d1);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.support-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.support-option .support-icon {
  font-size: 30px;
  color: #aa336a;
  margin-bottom: 12px;
}

.support-option h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.support-option p {
  color: #666;
  font-size: 14px;
}

.support-action-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #aa336a, #ff0077);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(170, 51, 106, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(40px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .support-options {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .modal-content {
    width: 90%;
    margin: 15% auto;
  }
}
