.ls-slot {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.ls-slot-machine {
  width: min(100%, 560px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.4rem;
  padding: 1.25rem;
  box-shadow: inset 0 0 40px rgba(200, 245, 66, 0.08), 0 0 40px rgba(31, 111, 235, 0.2);
}

.ls-reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.ls-reel {
  height: 150px;
  overflow: hidden;
  border-radius: 1rem;
  background: #0a1018;
  border: 1px solid rgba(200, 245, 66, 0.28);
  box-shadow: inset 0 0 24px rgba(31, 111, 235, 0.35);
  position: relative;
}

.ls-reel::before,
.ls-reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  z-index: 2;
  pointer-events: none;
}

.ls-reel::before {
  top: 0;
  background: linear-gradient(#0a1018, transparent);
}

.ls-reel::after {
  bottom: 0;
  background: linear-gradient(transparent, #0a1018);
}

.ls-reel-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.05s linear;
}

.ls-symbol {
  height: 150px;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: #c8f542;
  text-shadow: 0 0 18px rgba(200, 245, 66, 0.75);
}

.ls-slot-status {
  min-height: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.ls-slot-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ls-spin-btn {
  min-width: 160px;
  background: linear-gradient(120deg, #c8f542, #9be04a);
  color: #12181f;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  box-shadow: 0 0 28px rgba(200, 245, 66, 0.45);
  cursor: pointer;
}

.ls-spin-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ls-table-game {
  display: grid;
  gap: 1.25rem;
}

.ls-felt {
  border-radius: 1.4rem;
  padding: 1.3rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 245, 66, 0.12), transparent 45%),
    linear-gradient(160deg, #0f3a32, #0a2a26 60%, #08201d);
  border: 1px solid rgba(200, 245, 66, 0.2);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(31, 111, 235, 0.15);
}

.ls-hand-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.55rem;
}

.ls-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  min-height: 112px;
  margin-bottom: 1.1rem;
}

.ls-card {
  width: 72px;
  height: 104px;
  border-radius: 0.7rem;
  background: linear-gradient(160deg, #fff, #e8eef5);
  color: #12181f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.4);
  animation: ls-card-in 0.35s ease both;
}

.ls-card.is-red {
  color: #d62828;
}

.ls-card-back {
  background: linear-gradient(145deg, #1f6feb, #123f8a);
  color: transparent;
  box-shadow: 0 0 20px rgba(31, 111, 235, 0.45);
}

.ls-table-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.ls-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ls-table-actions button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.ls-btn-hit {
  background: #c8f542;
  color: #12181f;
  box-shadow: 0 0 22px rgba(200, 245, 66, 0.35);
}

.ls-btn-stand {
  background: #1f6feb;
  color: #fff;
  box-shadow: 0 0 22px rgba(31, 111, 235, 0.4);
}

.ls-btn-again {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.ls-table-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ls-wheel-game {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.ls-wheel-wrap {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
}

.ls-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 40px rgba(31, 111, 235, 0.35), inset 0 0 30px rgba(0, 0, 0, 0.35);
  transition: transform 4s cubic-bezier(0.12, 0.75, 0.08, 1);
  background: conic-gradient(
    #1f6feb 0deg 45deg,
    #c8f542 45deg 90deg,
    #ff5a3d 90deg 135deg,
    #8fd4ff 135deg 180deg,
    #1f6feb 180deg 225deg,
    #c8f542 225deg 270deg,
    #ff5a3d 270deg 315deg,
    #8fd4ff 315deg 360deg
  );
  position: relative;
}

.ls-wheel-center {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: #12181f;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(200, 245, 66, 0.35);
  z-index: 2;
}

.ls-wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid #c8f542;
  filter: drop-shadow(0 0 8px rgba(200, 245, 66, 0.8));
  z-index: 3;
}

.ls-color-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.ls-color-pick {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.25);
}

.ls-color-pick.is-active {
  border-color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.ls-wheel-status {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  min-height: 1.5rem;
}

@keyframes ls-card-in {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .ls-reel {
    height: 120px;
  }

  .ls-symbol {
    height: 120px;
    font-size: 2rem;
  }

  .ls-card {
    width: 60px;
    height: 88px;
  }
}
