* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #355e3b;
  color: #f5f5dc;
  padding: 20px 
}

header {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  color: #fffff0; 
  text-shadow: 1px 1px 2px #222;
}

img {
  width: 500px;
  height: 175px;
  border: 2px solid #daa520;
  border-radius: 12px;         
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
  margin: 10px;
}


.players {
  display: flex;
  justify-content: space-around;
  gap: 0px;
  margin-bottom: 25px;
}

.player {
  background-color: #2a2a2a; 
  border: 2px solid #daa520; 
  border-radius: 10px;
  padding: 15px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  color: #fffff0;
}

.player h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffcccb; 
  text-shadow: 0 1px 1px #000;
}

.money {
  font-size: 1rem;
  color: #f5f5dc;
}

.message, .state {
  background-color: #3f704d; 
  border: 1px solid #daa520;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  color: #fffff0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.message section, .state section {
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.card-pile {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.card:hover {
  transform: scale(1.05);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.buttons button {
  padding: 10px 16px;
  font-size: 1rem;
  background-color: #990000; 
  color: #fffff0;
  border: 2px solid #daa520;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.buttons button:hover {
  background-color: #b22222;
  transform: scale(1.05);
}

a {
  color: #fffff0; 
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
}