.fantasy-btn {
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 160px;
  padding: 10px 25px;
  margin: 5px auto;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #000; /* black text, or #fff if you want. */
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
  cursor: pointer;
  border: none;
  outline: none;

  /* Golden gradient background */
  background: linear-gradient(to bottom, #ffeb3b 0%, #fdd835 100%);
  border-radius: 50px;

  /* Use a black or darker gold border. */
  box-shadow:
    0 0 0 4px #c6a700,       /* a darker gold ring */
    inset 0 0 15px rgba(0,0,0,0.2);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.fantasy-btn:hover {
  background: linear-gradient(to bottom, #fff176 0%, #fdd835 100%);
  box-shadow:
    0 0 0 4px #c6a700,
    inset 0 0 15px rgba(0,0,0,0.2),
    0 0 8px #c6a700; /* faint glow */
}

.fantasy-btn:active {
  transform: translateY(2px);
  box-shadow:
    0 0 0 4px #9e8c00, /* slightly darker gold on press */
    inset 0 2px 8px rgba(0,0,0,0.3);
}

/* Optional smaller or larger variants */
.fantasy-btn-sm {
  font-size: 16px;
  padding: 8px 20px;
}
.fantasy-btn-lg {
  font-size: 22px;
  padding: 12px 30px;
}
/* =========================
   Inline variant for fantasy buttons
   Use when buttons should not stretch to full width
   ========================= */

.fantasy-btn--inline {
  width: auto;
  max-width: none;
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}
/* =========================
   Compact inline fantasy buttons
   Used in tables, dashboards, action rows
   ========================= */

.fantasy-btn--inline {
  width: auto;
  max-width: none;
  min-width: unset;

  padding: 6px 12px;
  font-size: 0.85rem;
  line-height: 1.1;

  border-radius: 18px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25);
}

/* Optional: even smaller on mobile */
@media (max-width: 768px) {
  .fantasy-btn--inline {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}
/* =========================
   Equal-size action buttons (game over, end states)
   ========================= */

.fantasy-btn--action {
  min-width: 160px;
  text-align: center;
}

/* =========================
   Disable Bootstrap blue hover / focus styles
   for fantasy buttons
   ========================= */

.fantasy-btn,
.fantasy-btn:hover,
.fantasy-btn:focus,
.fantasy-btn:active {
  background-color: var(--fantasy-yellow, #ffe44d);
  color: #000;
  text-decoration: none;

  outline: none !important;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25);
}

/* Prevent Bootstrap focus ring */
.fantasy-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.25);
}

/* Links styled as buttons */
a.fantasy-btn {
  color: #000;
}

a.fantasy-btn:hover {
  color: #000;
}
