/* ─── Arcade Attract Mode (replaces locked-overlay) ─── */

/* Container: overlays the screen-frame, transparent so game/demo is visible */
.attract-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  pointer-events: none;
  transition: opacity .4s;
}

.attract-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ─── INSERT COIN text ─── */
.attract-insert-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;
  text-align: center;
  pointer-events: none;
}

.attract-insert-main {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffdd44;
  text-shadow:
    0 0 20px rgba(255,221,68,.7),
    0 0 40px rgba(255,170,0,.4),
    0 2px 6px rgba(0,0,0,.8);
  animation: attractBlink 1.8s ease-in-out infinite;
  line-height: 1.4;
}

.attract-insert-sub {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  text-shadow: 0 1px 4px rgba(0,0,0,.9);
  margin-top: 4px;
}

@keyframes attractBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

/* Semi-transparent scrim behind text for readability */
.attract-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.25) 50%,
    rgba(0,0,0,.10) 100%);
  z-index: 22;
  pointer-events: none;
}

/* ─── Disabled machine overlay ─── */
.attract-disabled {
  position: absolute;
  inset: 0;
  background: rgba(4,6,26,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 20;
  border-radius: 4px;
}

.attract-disabled.hidden {
  display: none;
}

.attract-disabled-icon {
  font-size: 3rem;
}

.attract-disabled-text {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}

/* ─── Coin buttons row (credit + card side by side) ─── */
.coin-buttons {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

/* ─── Card-use button in coin panel ─── */
.card-use-btn {
  padding: 10px 16px;
  border: 2px solid rgba(200,168,76,.5);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(200,168,76,.15), rgba(200,168,76,.06));
  color: #f0d878;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all .2s;
  text-transform: uppercase;
  white-space: nowrap;
}

.card-use-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, rgba(200,168,76,.30), rgba(200,168,76,.15));
  box-shadow: 0 0 25px rgba(200,168,76,.3);
  transform: scale(1.03);
}

.card-use-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.card-use-btn:active:not(:disabled) {
  transform: scale(.97);
}
