.game{
    padding: 0 5px;
    background: rgb(46, 46, 46) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel1 {
  width: 100%;
  flex-grow: 1;
  padding: 0 13px 13px 13px;
  border-radius: 0 0 100px 100px;
  background:
    radial-gradient(circle at top, #1f8a3b, #0a5622 70%);
  box-shadow:
    0 40px 80px rgba(0,0,0,.8),
    inset 0 3px 0 rgba(255,255,255,.08),
    /* inset 0 -6px 0 rgba(0,0,0,.6); */
}

.panel {
  background: linear-gradient(180deg, #1c6e31, #124a23);
  border-radius: 0 0 90px 90px;
  padding: 16px;
  height: 100%;
  box-shadow:
    inset 0  6px 10px rgba(0,0,0,.5),
    inset 0 -2px 10px rgba(0, 0, 0, 0.271);
}

.card-wrap {
  margin: 20px auto 0 auto;
  width: 45%;
  height: 35%;
  cursor: pointer;
  transition: transform .3s ease;
}

.card-wrap:hover {
  transform: translateY(-5px) scale(1.01);
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .7s ease;
  color: black;
}

.card.flipped {
  transform: rotateY(180deg);
}


.face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  backface-visibility: hidden;
  box-shadow: 0 10px 0 rgba(0,0,0,.15);
}


.front {
  background: white;
}

.back {
  background: linear-gradient(135deg, #b30000, #7a0000);
  transform: rotateY(180deg);
  overflow: hidden;
}


.back::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 8px;
}


.pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,.15) 0px,
      rgba(255,255,255,.15) 8px,
      transparent 8px,
      transparent 16px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,.12) 0px,
      rgba(0,0,0,.12) 8px,
      transparent 8px,
      transparent 16px
    );
}


.corner {
  position: absolute;
  font-size: 18px;
}

.top {
  top: 8px;
  left: 8px;
}

.bottom {
  bottom: 8px;
  right: 8px;
  transform: rotate(180deg);
}

.center {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 70px;
}

.red {
  color: #e60000;
}

@keyframes float {
  0%,100% { transform: translateZ(30px) rotateX(10deg); }
  50% { transform: translateZ(45px) rotateX(12deg); }
}

.pays {
  text-align: center;
  color: #eaeaea;
  font-size: 14px;
  opacity: .5;
  margin-top: 20px;
}

.bet-box{
    color: white;
}


.chips {
  background: #162639;
  margin: 14px 0;
}


.actions {
  display: flex;
  margin-top: 18px;
}

.actions button {
  flex: 1;
  padding: 17px;
  font-size: 18px;
  border: none;
  color: #fff;
  cursor: pointer;

  &.red {
  background: linear-gradient(#ff4a4a, #b00000);
  }

  &.black {
    background: linear-gradient(#222222, #000);
  }
}

.actions button:active {
  transform: translateY(8px);
  box-shadow:
    0 2px 0 rgba(0,0,0,.6);
}
