/* ==========================================================================
   COIN MACHINE / CLASSIC SLOTS STYLESHEET
   Neon Arcade Background, Rolling Reel Physics, Blinking Ignition Buttons
   ========================================================================== */

.slots-view {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  background: radial-gradient(ellipse 90% 70% at 50% 25%, #2a1236 0%, #16081e 50%, #0a030d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 16px 50px;
  position: relative;
  overflow: hidden;
}

/* Neon Arcade Ambience */
.slots-ambient-neon {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 30%, rgba(229, 72, 77, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(216, 178, 106, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
}

/* ==========================================================================
   SLOT MACHINE CHASSIS & CABINET
   ========================================================================== */

.slot-cabinet {
  width: min(720px, 100%);
  background: linear-gradient(180deg, #241a33 0%, #171021 60%, #0f0a17 100%);
  border: 4px solid #3d2b56;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9),
              0 0 40px rgba(168, 85, 247, 0.2),
              inset 0 0 20px rgba(0, 0, 0, 0.8);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 10;
}

/* Top Marquee (Jackpot & Title) */
.cabinet-marquee {
  background: linear-gradient(180deg, #120c1c, #0a0610);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 0 25px var(--gold-glow), inset 0 0 15px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.marquee-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px var(--gold-glow);
}

.marquee-jackpot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.jackpot-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.jackpot-amount {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   REEL WINDOW & 3D ROLLING ANIMATION
   ========================================================================== */

.reels-window {
  background: #08050c;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 10px 25px rgba(0, 0, 0, 0.95),
              inset 0 -10px 25px rgba(0, 0, 0, 0.95);
}

/* Glass glare reflection over reels */
.reels-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 20;
}

/* Payline marker laser */
.payline-guide {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(229, 72, 77, 0.4);
  box-shadow: 0 0 10px var(--accent);
  z-index: 15;
  pointer-events: none;
}

.reels-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: 240px;
}

.reel-track {
  background: #fbfaf8;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35),
              0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.1s linear;
}

/* Rolling Animation: Motion blur & vertical rolling */
.reel-strip.spinning {
  filter: blur(2.5px);
  animation: reelRollingLoop 0.18s linear infinite;
}

@keyframes reelRollingLoop {
  0% { transform: translateY(0); }
  100% { transform: translateY(-300px); }
}

.reel-strip.stopping {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: blur(0px);
}

.slot-symbol-box {
  height: 80px;
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  user-select: none;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.slot-symbol-box.winner {
  animation: symbolBounce 0.6s infinite alternate;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

@keyframes symbolBounce {
  from { transform: scale(1); }
  to { transform: scale(1.18); }
}

/* ==========================================================================
   IGNITION CONTROLS & BLINKING BUTTON ANIMATION
   User requirement: "bei der coin maschine will ich die tasten blinken lassen,
   wenn man die klickt, damit die maschine startet"
   ========================================================================== */

.cabinet-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.controls-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.bet-display-box {
  display: flex;
  flex-direction: column;
}

.bet-display-box .lbl {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.bet-display-box .val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
}

.controls-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 14px;
}

/* Physical Arcade Button Style -> Modern Capsule Pill Arcade Style */
.arcade-btn {
  min-height: 52px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  outline: none;
}

.arcade-btn:hover:not(:disabled) {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 8px 24px -2px rgba(0, 210, 255, 0.45);
  transform: translateY(-2px);
}

.arcade-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.arcade-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Master Spin Button (SatoshiBet Signature Neon Cyan Capsule) */
.arcade-btn.btn-spin {
  background: var(--neon-blue);
  border-color: transparent;
  color: #000000;
  box-shadow: 0 8px 26px -2px rgba(0, 210, 255, 0.6);
  font-size: 1.1rem;
}

.arcade-btn.btn-spin:hover:not(:disabled) {
  background: #38e1ff;
  color: #000000;
  box-shadow: 0 12px 32px -2px rgba(0, 210, 255, 0.75);
  transform: translateY(-2px);
}

/* The Blinking Flash Animation upon click! */
.arcade-btn.ignite-flash {
  animation: buttonIgnitionStrobe 0.45s cubic-bezier(0.16, 1, 0.3, 1) 3;
}

@keyframes buttonIgnitionStrobe {
  0% {
    background: #ffffff;
    color: #111;
    border-color: #ffffff;
    box-shadow: 0 0 35px #ffffff, 0 0 60px var(--gold);
    transform: scale(0.97);
  }
  50% {
    background: #ffeb3b;
    color: #000;
    border-color: #ffeb3b;
    box-shadow: 0 0 45px #ffeb3b, 0 0 80px #ff9800;
    transform: scale(1.02);
  }
  100% {
    background: linear-gradient(180deg, #e5484d 0%, #b82c31 100%);
    color: #fff;
    box-shadow: 0 6px 0 #6d1417, 0 0 20px var(--accent);
    transform: scale(1);
  }
}

/* ==========================================================================
   PAYTABLE MODAL / DRAWER
   ========================================================================== */

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.paytable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-2);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.paytable-syms {
  font-size: 1.4rem;
}

.paytable-payout {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--gold);
}
