/* Rocky Reels — Slot Machine Styles */
.slots-machine {
  max-width: 520px; margin: 0 auto;
  background: linear-gradient(180deg, #2B1A0D 0%, #1A0D06 100%);
  border: 3px solid var(--clr-amber);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  box-shadow: 0 0 60px rgba(212,137,26,.3), var(--shadow-lg);
}

.machine-lights {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-bottom: var(--sp-3);
}
.machine-lights span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clr-amber-light);
  animation: machineBlink 1s ease-in-out infinite;
}
.machine-lights span:nth-child(2) { animation-delay: .125s; }
.machine-lights span:nth-child(3) { animation-delay: .25s;  }
.machine-lights span:nth-child(4) { animation-delay: .375s; }
.machine-lights span:nth-child(6) { animation-delay: .5s; background: var(--clr-maple-light); }
.machine-lights span:nth-child(7) { animation-delay: .625s; }
.machine-lights span:nth-child(8) { animation-delay: .75s; background: var(--clr-maple-light); }
.machine-lights span:nth-child(9) { animation-delay: .875s; }
@keyframes machineBlink {
  0%,100% { opacity: .3; }
  50%      { opacity: 1; box-shadow: 0 0 8px currentColor; }
}
.title-light {
  font-family: var(--font-accent); font-size: .8rem;
  letter-spacing: .15em; color: var(--clr-amber-light);
  width: auto !important; height: auto !important;
  background: transparent !important;
  animation: none !important; border-radius: 0 !important;
}

.reels-frame {
  background: #0D0804;
  border: 2px solid rgba(212,137,26,.4);
  border-radius: var(--r-md);
  padding: var(--sp-2);
  position: relative;
  overflow: hidden;
  margin-bottom: var(--sp-3);
}

.reel-container {
  display: flex; gap: 8px;
}

.reel {
  flex: 1; height: 100px;
  overflow: hidden;
  border-radius: 8px;
  background: #1A1006;
  border: 1px solid rgba(212,137,26,.2);
  position: relative;
}

.reel-strip {
  display: flex; flex-direction: column;
  transition: transform .5s cubic-bezier(.17,.67,.24,1.2);
}

.reel-symbol {
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}

.win-line {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 3px; margin-top: -1.5px;
  background: rgba(212,137,26,.5);
  pointer-events: none;
  z-index: 2;
}
.win-line.active {
  background: var(--clr-amber-light);
  box-shadow: 0 0 12px var(--clr-amber-light);
  animation: winLinePulse .5s ease infinite alternate;
}
@keyframes winLinePulse {
  from { opacity: .5; }
  to   { opacity: 1; }
}

.slot-result {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(4px);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  border-radius: var(--r-md);
  z-index: 5;
  animation: resultPop .3s ease;
}
.slot-result.win  { color: var(--clr-amber-light); }
.slot-result.lose { color: var(--text-muted); }
@keyframes resultPop {
  from { transform: scale(.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.paytable {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 6px; margin-bottom: var(--sp-3);
}
.paytable-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--r-sm);
}
.pay-symbols { font-size: .78rem; color: var(--text-secondary); }
.pay-mult { font-family: var(--font-accent); font-size: .82rem; color: var(--clr-amber-light); font-weight: 600; }

.slot-controls {
  display: flex; flex-direction: column; gap: var(--sp-2); align-items: center;
}

.spin-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--clr-maple) 0%, var(--clr-maple-dark) 100%);
  color: #fff; border: none; border-radius: var(--r-md);
  font-family: var(--font-accent); font-size: 1.3rem; font-weight: 600;
  letter-spacing: .08em; cursor: pointer;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
  box-shadow: var(--shadow-maple);
}
.spin-btn:hover:not(:disabled) {
  transform: scale(1.04);
  box-shadow: 0 12px 36px rgba(192,57,43,.5);
}
.spin-btn:active:not(:disabled) { transform: scale(.97); }
.spin-btn:disabled { opacity: .5; cursor: not-allowed; }
.spin-icon { font-size: 1.4rem; animation: spinIcon 2s linear infinite; }
.spin-btn:not(:disabled):hover .spin-icon { animation-duration: .3s; }
@keyframes spinIcon { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .paytable { grid-template-columns: 1fr; }
  .slots-machine { padding: var(--sp-3) var(--sp-2); }
}
