:root {
  font-family: system-ui, sans-serif;
  background: #0f172a;
  color: #e5e7eb;
}

body {
  margin: 0;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

#buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* Base */
.button-card {
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1e293b;
}

.button-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.button-card button {
  width: 100%;
  padding: 12px;
  cursor: pointer;
}

/* Example button styles */
.btn-glow {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  border: none;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(56,189,248,0.6);
  transition: transform 0.2s ease;
}

.btn-glow:hover {
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  color: #38bdf8;
  border: 2px solid #38bdf8;
  border-radius: 8px;
}

footer {
  text-align: center;
  margin-top: 40px;
  opacity: 0.7;
}
/* ✨ Magic Wand Button */

.btn-wand {
  position: relative;
  width: 60px;
  height: 180px;
  margin: 0 auto;
  background: linear-gradient(180deg, #111827, #374151);
  border-radius: 999px;
  border: 2px solid #6366f1;
  cursor: pointer;
  outline: none;
  overflow: visible;
}

/* Wand tip */
.btn-wand::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #fde68a, #facc15);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(250,204,21,0.9);
}

/* Sparkles */
.btn-wand::after {
  content: "✨ ✦ ✧ ✨";
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  color: #fde68a;
  font-size: 18px;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

/* Click sparkle animation */
.btn-wand:active::after {
  transform: translateX(-50%) scale(1.4);
  opacity: 1;
}

/* Text below the wand */
.wand-label {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: #c7d2fe;
  user-select: none;
}
