/* Base styles and background */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #283c86, #45a247);
  color: #f1f1f1;
}

/* Header and Footer */
header, footer {
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.4);
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
footer .disclaimer {
  font-size: 0.8rem;
}
footer a {
  color: #ffecb3;
  text-decoration: none;
}

/* Main container splits game area and side panel */
#container {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  gap: 1rem;
  min-height: 80vh;
}

/* Game Area Styles */
#game-area {
  flex: 2;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Table & Cards */
#table {
  margin-bottom: 1rem;
}
.card-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}
.card-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.sides {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.side {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
}

/* Card styling */
.card {
  width: 60px;
  height: 90px;
  background-color: #fff;
  border: 2px solid #333;
  border-radius: 8px;
  margin: 0.2rem;
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Player info styling */
.player-info {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Controls and Buttons */
.controls {
  text-align: center;
  margin: 1rem 0;
}
.controls button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin: 0.3rem;
  border: none;
  border-radius: 4px;
  background-color: #ff5722;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.controls button:hover {
  background-color: #e64a19;
}
.controls input[type="number"] {
  padding: 0.5rem;
  font-size: 1rem;
  width: 80px;
  margin-right: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Side Panel (Game Updates) */
#side-panel {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 1rem;
  max-height: 80vh;
  overflow-y: auto;
}
#side-panel h2 {
  text-align: center;
  margin-top: 0;
}
#log {
  font-size: 0.9rem;
  line-height: 1.4;
}

