.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.container h1 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.8rem;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.game-area {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.dealer-section,
.player-section {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  min-width: 280px;
  text-align: center;
}

.dealer-section h2,
.player-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #00d4ff;
  font-weight: bold;
}

.cards {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 12px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.score {
  font-size: 1.3rem;
  color: #00ff88;
  font-weight: bold;
}

.message {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 1.5rem 2rem;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 10px;
  margin-bottom: 2rem;
  border: 2px solid rgba(0, 212, 255, 0.3);
  min-width: 300px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message.win {
  background: rgba(0, 212, 255, 0.2);
  color: #00ff88;
  border-color: #00ff88;
}

.message.lose {
  background: rgba(255, 68, 68, 0.2);
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.message.draw {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border-color: #ffc107;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 12px 32px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  background: linear-gradient(45deg, #00d4ff, #0099ff);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.5);
}

button:active:not(:disabled) {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
    margin-top: 70px;
  }

  .container h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .game-area {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .dealer-section,
  .player-section {
    padding: 1.5rem;
    min-width: calc(100vw - 3rem);
  }

  .cards {
    font-size: 2.5rem;
    letter-spacing: 8px;
  }

  .message {
    min-width: calc(100vw - 3rem);
    font-size: 1.3rem;
  }

  button {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}
