.button-icon:focus {
  outline: none;
}
/* buttons.css - Centralized button styles for Game-Art.Dev CMS */

/* Base button style */
.button {
  display: inline-block;
  padding: 8px 16px;
  margin: 8px 0px;
  font-family: inherit;
  border: 1px solid #0000005c;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(0deg, #111111, #1d1d1d);
  color: #fff;
  border-bottom: 4px solid var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.31px;
    text-transform: uppercase;
    color: #eef5ff;
    text-decoration: none;
}
.button:hover, .button:focus {
  outline: none;
  text-decoration: underline;
  background: #222;
}

/* Secondary button */
.button-secondary {
  display: inline-block;
  padding: 8px 16px;
  margin: 8px 0px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #0000005c;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(0deg, #111111, #1d1d1d);
  color: #fff;
  border-bottom: 4px solid var(--primary-color);
}
.button-secondary:hover, .button-secondary:focus {
  background: #222;
  outline: none;
  text-decoration: underline;
  background: #222;
}

/* Icon button (for header, actions, etc.) */
.button-icon {
  background: none;
  border: none;
  color: #fff;
  padding: 8px;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.button-icon--with-badge {
  overflow: visible;
}

.button-icon__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff4b4b;
  color: #fff;
  font-size: 0.67rem;
  line-height: 18px;
  font-weight: 700;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}

.button-icon:hover,
.button-icon:focus {
  text-decoration: none;
}

.button-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s, background 0.2s;
  z-index: 0;
   text-decoration: none;
}
.button-icon:hover::before,
.button-icon:focus::before {
  transform: translate(-50%, -50%) scale(1);
  background: #555;
   text-decoration: none;
}
.button-icon > i,
.button-icon > .fa,
.button-icon > .fa-solid,
.button-icon > .fa-regular,
.button-icon > .fa-brands,
.button-icon > .icon {
  position: relative;
  z-index: 1;
   text-decoration: none;
}


/* Disabled state */
.button:disabled, .button-secondary:disabled, .button-icon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Utility: full-width button */
.button-full {
  width: 100%;
  display: block;
}

/* Example: Add more variants as needed */
