/* Global Reset & Defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Smooth transitions everywhere */
a,
button,
input {
  transition: all 0.3s ease-in-out;
}

.container {
  transition: all 0.3s ease-in-out;
}

.btn {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  /* Ensure button is always clickable */
  pointer-events: auto;
  z-index: 10;
}

.btn::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 rgba(0, 255, 150, 0);
  transition: box-shadow 0.3s ease;
  /* Prevent glow effect from blocking clicks */
  pointer-events: none;
  z-index: -1;
}

.btn:hover::after {
  box-shadow: 0 0 20px rgba(0, 255, 150, 0.7), 0 0 40px rgba(0, 255, 150, 0.5);
}

@media (max-width: 500px) {
  .container h1 {
    font-size: 1.6rem;
  }
  .container p {
    font-size: 0.9rem;
  }
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
