.poker-container {
  display: flex;
  height: 120px;
  margin: 15px 0;
  /*background: #1a472a;*/
  border-radius: 8px;
  overflow: hidden;
}

.dealer-section {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*background: #0d2818;*/
  padding: 10px;
}

.dealer-img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}

.game-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
  margin-bottom: 10px;
}

.card {
  width: 51px;
  height: 67px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.card-back {
  background-image: url('../img/cards/card_back.png');
  background-color: #8b0000;
}

.card-front {
  background-color: white;
  transform: rotateY(180deg);
}

.game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.result-message {
  color: #ffd700;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  min-height: 25px;
}

.reset-btn {
  background: #2a623d;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  transition: background 0.3s;
}

.reset-btn:hover {
  background: #3a7d4f;
}

.reset-btn:active {
  transform: scale(0.98);
}