/* Centering the container on the screen */
body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #c0bfc2; /* Darker bg looks better for effects */
}

/* The Responsive Wrapper */
.container {
  display: flex;
  flex-wrap: wrap;      /* This is the magic for responsiveness */
  justify-content: center;
  align-items: center;
  gap: 20px;            /* Space between buttons */
  padding: 20px;
  max-width: 1200px;    /* Prevents the row from getting too wide */
  width: 100%;
}

/* Updated Button Base for mobile-friendliness */
.btn {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  
  /* Ensures buttons are a consistent size on mobile */
  min-width: 160px;
  flex: 0 1 auto; 
}

/* Media Query for very small screens */
@media (max-width: 480px) {
  .btn {
    width: 100%; /* Buttons take full width on tiny phones */
  }
  .container {
    flex-direction: column;
  }
} 


.btn-slide {
  position: relative;
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
  z-index: 1;
  overflow: hidden;
  transition: color 0.4s;
  align-items: center;
}

.btn-slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 0; height: 100%;
  background: #3498db;
  z-index: -1;
  transition: width 0.4s;
}

.btn-slide:hover { color: rgb(254, 254, 254); }
.btn-slide:hover::before { width: 100%; }




.btn-glow {
  background: #6c5ce7;
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.4);
}





.btn-draw {
  background: none;
  color: #2d3436;
  border: 2px solid #2d3436;
  transition: all 0.3s;
}

.btn-draw:hover {
  border-color: #fab1a0;
  color: #fab1a0;
  box-shadow: inset 0 0 0 2em rgba(255, 255, 255, 0); /* Trick to trigger repaint */
}






@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0px rgba(0, 184, 148, 0.5); }
  100% { box-shadow: 0 0 0 15px rgba(0, 184, 148, 0); }
}

.btn-pulse {
  background: #00b894;
  color: white;
  border: none;
}

.btn-pulse:hover {
  animation: pulse-animation 1s infinite;
}






.btn-glass {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(0, 0, 0, 0.3);
  color: #333;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.4);
  letter-spacing: 2px; /* Smooth text expansion */
}
