.metallic-btn {
  position: relative;
  display: block;
  width: 100%;
  height: 58px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.metallic-btn.is-pressed {
  transform: translateY(1px) scale(0.98);
  transition-duration: 0.15s;
}

.mb-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.3),
    0 20px 12px rgba(0,0,0,0.08),
    0 9px 9px rgba(0,0,0,0.12),
    0 2px 5px rgba(0,0,0,0.15);
}
.metallic-btn:hover .mb-rim {
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 8px 5px rgba(0,0,0,0.1),
    0 4px 4px rgba(0,0,0,0.15),
    0 1px 2px rgba(0,0,0,0.2);
}
.metallic-btn.is-pressed .mb-rim {
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
}

.mb-surface {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: #3a3a3a; /* fallback agar WebGL na chale */
}
.mb-surface canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.mb-face {
  position: absolute;
  inset: 2px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #09191f 0%, #04141a 100%);
  transition: box-shadow 0.15s;
}
.metallic-btn.is-violet .mb-face {
  background: linear-gradient(180deg, #161618 0%, #050506 100%);
}

.mb-label {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  white-space: nowrap;
  pointer-events: none;
}

.mb-ripples {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.mb-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
  animation: mb-ripple 0.6s ease-out forwards;
}
@keyframes mb-ripple {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}
.stock-out {
  width: 100%;
  height: 58px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #121214 0%, #050506 100%);
  color: rgba(252, 165, 165, 0.5);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: not-allowed;
}
/* VPS cards: dark face, blue sheen */
.metallic-btn.is-violet .mb-face {
  background: linear-gradient(180deg, #0f2a33 0%, #04141a 100%);
}

.stock-out {
  width: 100%;
  height: 58px;
  border-radius: 9999px;
  border: 1px solid rgba(103, 232, 249, 0.1);
  background: linear-gradient(180deg, #0c1f26 0%, #04141a 100%);
  color: rgba(252, 165, 165, 0.5);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: not-allowed;
}