.play-stage {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #120814;
  box-shadow: var(--shadow), 0 0 60px rgba(255, 90, 42, 0.16);
}

.play-stage-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.2) contrast(1.05);
}

.play-stage-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 90, 42, 0.26), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(214, 242, 92, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(8, 5, 12, 0.22), rgba(8, 5, 12, 0.9));
}

.stage-orbs {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.stage-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: orb-drift 9s ease-in-out infinite;
}

.stage-orbs span:nth-child(1) {
  width: 140px;
  height: 140px;
  left: 6%;
  top: 18%;
  background: radial-gradient(circle, rgba(255, 90, 42, 0.45), transparent 68%);
}

.stage-orbs span:nth-child(2) {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 8%;
  background: radial-gradient(circle, rgba(214, 242, 92, 0.28), transparent 68%);
  animation-delay: -3s;
}

.stage-orbs span:nth-child(3) {
  width: 110px;
  height: 110px;
  left: 42%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(142, 200, 255, 0.32), transparent 68%);
  animation-delay: -6s;
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(18px, -22px) scale(1.12);
    opacity: 1;
  }
}

.play-ui {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  padding: 2.2rem 1.1rem 1.8rem;
}

.play-kicker {
  margin: 0;
  color: var(--amber);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.play-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--volt);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  text-align: center;
  text-shadow: 0 0 18px rgba(214, 242, 92, 0.45);
}

.reel-cabinet {
  position: relative;
  padding: 1.4rem 1.2rem 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 179, 71, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 90, 42, 0.16), rgba(8, 5, 12, 0.72)),
    #1a0c16;
  box-shadow:
    inset 0 0 40px rgba(255, 90, 42, 0.18),
    0 0 36px rgba(214, 242, 92, 0.16);
}

.reel-cabinet.is-lit {
  box-shadow:
    inset 0 0 50px rgba(255, 90, 42, 0.32),
    0 0 48px rgba(214, 242, 92, 0.4);
}

.cabinet-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(247, 240, 230, 0.14) 48%, transparent 66%);
  animation: glass-sweep 5.5s ease-in-out infinite;
}

@keyframes glass-sweep {
  0%,
  100% {
    opacity: 0.15;
    transform: translateX(-8%);
  }
  50% {
    opacity: 0.45;
    transform: translateX(8%);
  }
}

.reel-lamps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.reel-lamps span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 16px rgba(214, 242, 92, 0.9);
  animation: lamp-pulse 1.6s ease-in-out infinite alternate;
}

.reel-lamps span:last-child {
  background: var(--ember);
  box-shadow: 0 0 16px rgba(255, 90, 42, 0.9);
  animation-delay: 0.4s;
}

@keyframes lamp-pulse {
  from {
    transform: scale(0.86);
    opacity: 0.55;
  }
  to {
    transform: scale(1.08);
    opacity: 1;
  }
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 124px));
  gap: 0.75rem;
}

.reel {
  position: relative;
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(214, 242, 92, 0.42);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(247, 240, 230, 0.08), transparent 18%, transparent 82%, rgba(8, 5, 12, 0.55)),
    rgba(8, 5, 12, 0.82);
  box-shadow: inset 0 0 28px rgba(255, 90, 42, 0.22), 0 0 28px rgba(214, 242, 92, 0.16);
}

.reel-window {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(8, 5, 12, 0.55), transparent 22%, transparent 78%, rgba(8, 5, 12, 0.7));
}

.reel-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel-sym {
  height: 70px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--pearl);
}

.reel-sym i {
  color: var(--ember);
  filter: drop-shadow(0 0 12px rgba(255, 90, 42, 0.85));
}

.reel-sym:nth-child(3n) i {
  color: var(--volt);
  filter: drop-shadow(0 0 12px rgba(214, 242, 92, 0.85));
}

.reel-sym:nth-child(4n) i {
  color: var(--ice);
  filter: drop-shadow(0 0 12px rgba(142, 200, 255, 0.85));
}

.reel-payline {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--volt), transparent);
  box-shadow: 0 0 16px rgba(214, 242, 92, 0.8);
  z-index: 3;
}

.play-sparks {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.play-sparks b {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px rgba(214, 242, 92, 0.95);
  animation: spark-up 1.1s ease-out forwards;
}

@keyframes spark-up {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-70px) scale(0.2);
  }
}

.play-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.play-controls button {
  cursor: pointer;
  border: 0;
}

.play-controls button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.table-felt {
  position: relative;
  width: min(100%, 760px);
  padding: 1.5rem 1.15rem 1.3rem;
  border: 1px solid rgba(142, 200, 255, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(142, 200, 255, 0.2), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(255, 90, 42, 0.12), transparent 40%),
    #0d1520;
  box-shadow: 0 0 44px rgba(142, 200, 255, 0.16), inset 0 0 40px rgba(8, 5, 12, 0.45);
}

.felt-rail {
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(214, 242, 92, 0.22);
  box-shadow: inset 0 0 30px rgba(142, 200, 255, 0.12);
}

.hand-meters {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.meter {
  flex: 1;
  padding: 0.55rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(247, 240, 230, 0.12);
  background: rgba(8, 5, 12, 0.45);
  text-align: center;
}

.meter span {
  display: block;
  color: var(--amber);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.meter strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--volt);
  text-shadow: 0 0 12px rgba(214, 242, 92, 0.45);
}

.hand-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  min-height: 132px;
  margin-bottom: 0.85rem;
}

.hand-label {
  width: 100%;
  text-align: center;
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vcard {
  width: 84px;
  height: 118px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8ee 0%, #e7d7c4 100%);
  color: #1a0d24;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  font-family: var(--display);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 18px rgba(255, 90, 42, 0.22);
  animation: card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center;
}

.vcard.ice {
  color: #1d4e89;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 18px rgba(142, 200, 255, 0.35);
}

.vcard.ember {
  color: #9a3412;
}

.vcard i {
  align-self: center;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 6px rgba(255, 90, 42, 0.35));
}

.vcard.back {
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 242, 92, 0.22), transparent 46%),
    linear-gradient(145deg, #2a1233, #ff5a2a);
  color: var(--pearl);
}

@keyframes card-in {
  from {
    transform: translateY(16px) rotateY(-80deg) scale(0.92);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.wheel-wrap {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 28px rgba(255, 90, 42, 0.35));
}

.wheel-orbit {
  pointer-events: none;
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(214, 242, 92, 0.45);
  animation: orbit-spin 18s linear infinite;
}

.wheel-orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 16px rgba(142, 200, 255, 0.9);
  transform: translateX(-50%);
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid rgba(247, 240, 230, 0.16);
  background: conic-gradient(
    #ff5a2a 0 45deg,
    #d6f25c 45deg 90deg,
    #8ec8ff 90deg 135deg,
    #ffb347 135deg 180deg,
    #ff5a2a 180deg 225deg,
    #d6f25c 225deg 270deg,
    #8ec8ff 270deg 315deg,
    #ffb347 315deg 360deg
  );
  box-shadow: 0 0 48px rgba(255, 90, 42, 0.32), inset 0 0 40px rgba(0, 0, 0, 0.35);
  transition: transform 4.2s cubic-bezier(0.12, 0.7, 0.12, 1);
}

.wheel.is-lit {
  box-shadow: 0 0 64px rgba(214, 242, 92, 0.55), inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.wedge-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.wedge-label span {
  display: block;
  width: 78px;
  margin-left: -39px;
  margin-top: -132px;
  color: #08050c;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 8px rgba(247, 240, 230, 0.35);
}

.wheel-hub {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 32%, #2a1636, #160b1f);
  border: 2px solid rgba(214, 242, 92, 0.55);
  color: var(--volt);
  box-shadow: 0 0 24px rgba(214, 242, 92, 0.35);
  z-index: 2;
  font-size: 1.4rem;
}

.wheel-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid var(--volt);
  transform: translateX(-50%);
  filter: drop-shadow(0 0 10px rgba(214, 242, 92, 0.8));
  z-index: 3;
  animation: pin-nudge 1.8s ease-in-out infinite;
}

@keyframes pin-nudge {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(-8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel-strip,
  .wheel,
  .vcard,
  .stage-orbs span,
  .cabinet-shine,
  .reel-lamps span,
  .wheel-orbit,
  .wheel-pin {
    animation: none;
    transition: none;
  }
}
