/* SmartAlc.com Ko-fi Tip Button Styles */

.kofi-button-container {
  margin: 25px auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.kofi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FF5F5F;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.kofi-button:hover {
  background-color: #FF7878;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.kofi-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kofi-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.kofi-button:hover::after {
  left: 100%;
}

.kofi-icon {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

/* Dark theme specific adjustments */
.kofi-button-container.dark-theme .kofi-button {
  background-color: #e94560;
}

.kofi-button-container.dark-theme .kofi-button:hover {
  background-color: #ff6b81;
}

/* Animation for the button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.kofi-button.animate {
  animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .kofi-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .kofi-icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .kofi-button-container {
    margin: 20px auto;
  }
  
  .kofi-button {
    width: 100%;
    max-width: 250px;
  }
}
