/* Casino Slots: product visuals only. Controls and text come from site-ui. */
.casino-slots { --s-gold: #f5c96a; --s-ink: #fff8e7; }
.slot-machine {
  position: relative;
  text-align: center;
  color: var(--s-ink);
  overflow: hidden;
  background: linear-gradient(170deg, #5a1424 0%, #2a0a12 60%, #14050a 100%);
  border: 2px solid var(--s-gold);
  border-radius: 22px;
  box-shadow: 0 0 0 6px rgba(245, 201, 106, 0.12), 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: clamp(16px, 4vw, 28px);
}
.slot-machine::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px 200px at 50% -10%, rgba(255, 220, 120, 0.25), transparent 70%);
}
.slot-kicker { margin: 0; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--s-gold); font-weight: 700; }
.slot-title {
  margin: 4px 0 6px;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 900;
  background: linear-gradient(180deg, #fff3c4, var(--s-gold) 55%, #b9832a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slot-rules { margin: 0 auto 14px; max-width: 34rem; color: #e8d9b0; font-size: 0.95rem; }
.slot-cabinet {
  position: relative;
  display: inline-block;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #d9a441, #8a5a14);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 8px 16px rgba(0, 0, 0, 0.4);
}
.slot-window {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  background: #050205;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.9);
}
.casino-reel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(76px, 22vw, 116px);
  height: clamp(96px, 26vw, 140px);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf4, #efe2b8 55%, #fffdf4);
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12), 0 0 0 2px #2a1a00;
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 900;
  color: #7a1c1c;
  font-variant-emoji: emoji;
}
.casino-reel.is-rolling { animation: reel-roll 0.14s linear infinite; filter: blur(1.5px); }
.casino-reel.is-stopped { animation: reel-stop 0.38s cubic-bezier(.2,1.6,.4,1); }
@keyframes reel-roll { 0% { transform: translateY(-6px); } 100% { transform: translateY(6px); } }
@keyframes reel-stop { 0% { transform: translateY(-18px); } 60% { transform: translateY(4px); } 100% { transform: translateY(0); } }
.slot-balance { margin: 16px 0 10px; font-size: 1rem; color: #e8d9b0; }
.slot-balance strong {
  font-size: 1.6rem;
  color: var(--s-gold);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(245, 201, 106, 0.7);
}
.casino-bets { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.bet-chip {
  min-width: 96px;
  border-radius: 999px;
  border: 2px solid var(--s-gold);
  background: #120308;
  color: var(--s-ink);
  font-weight: 700;
}
.bet-chip[aria-pressed="true"] {
  background: linear-gradient(180deg, #ffe08a, #b9832a);
  color: #2a1a00;
  box-shadow: 0 0 14px rgba(245, 201, 106, 0.6);
}
.slot-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.spin-btn {
  min-width: 180px;
  min-height: 56px;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff5a5a, #b3151f);
  border-color: #ffb3b3;
  color: #fff;
  box-shadow: 0 6px 0 #6b0a10, 0 0 18px rgba(255, 60, 60, 0.45);
}
.spin-btn:not(:disabled):active { transform: translateY(3px); box-shadow: 0 3px 0 #6b0a10; }
.spin-btn:disabled { opacity: 0.5; }
.slot-status { min-height: 1.5em; margin: 14px 0 6px; font-weight: 700; color: var(--s-gold); }
.slot-paytable { margin: 10px auto 0; max-width: 24rem; text-align: left; color: #e8d9b0; }
.slot-paytable summary { cursor: pointer; text-align: center; color: var(--s-gold); }
.slot-paytable ul { margin: 8px 0 0; padding-left: 1.2rem; }
/* Win feedback */
.slot-machine.is-win { animation: win-glow 0.6s ease-in-out 4; }
.slot-machine.is-jackpot { animation: win-glow 0.4s ease-in-out 10; }
.slot-machine.is-jackpot .casino-reel { animation: reel-stop 0.5s ease-out 3; }
@keyframes win-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(245, 201, 106, 0.12), 0 18px 40px rgba(0,0,0,.45); }
  50% { box-shadow: 0 0 0 6px rgba(245, 201, 106, 0.6), 0 0 60px rgba(245, 201, 106, 0.8); }
}
@media (prefers-reduced-motion: reduce) {
  .casino-reel.is-rolling, .casino-reel.is-stopped, .slot-machine.is-win, .slot-machine.is-jackpot,
  .slot-machine.is-jackpot .casino-reel { animation: none; }
}
