
.card-machine {
  text-align: center;
  margin-top: 80px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

.card {
  width: 110px;
  height: 160px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  position: relative;
  transition: transform 250ms cubic-bezier(.22,.61,.36,1);
}

/* Spin bounce */
.card.spin {
  transform: translateY(-12px);
}

/* Corners */
.corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.corner.top {
  top: 10px;
  left: 10px;
}

.corner.bottom {
  bottom: 10px;
  right: 10px;
  transform: rotate(180deg);
}

/* Center suit */
.center-suit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: 500;
}

/* Colors */
.card.red {
  color: #d93025;
}

.card.black {
  color: #202124;
}

button {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  transition: background 200ms;
}

button:hover {
  background: #1669c1;
}