/* Result Display Styles */
.result-container {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 4px;
  perspective: 1000px;
}

.number-cell {
  width: 50px;
  height: 50px;
  background: #282935;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 28px;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.number-cell.rolling {
  animation: numberSpin 0.5s linear infinite;
  background: #282935;
}

.number-cell.win {
  background: #4CAF50;
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
  animation: revealNumber 0.3s ease-out forwards;
}

.number-cell.lose {
  background: #f44336;
  box-shadow: 0 0 15px rgba(244, 67, 54, 0.3);
  animation: revealNumber 0.3s ease-out forwards;
}

.number-cell img {
  height: 32px;
  width: 32px;
}

@keyframes numberSpin {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

@keyframes revealNumber {
  0% {
    transform: rotateX(180deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}