body {
  margin: 0;
  padding: 40px;
  background: #f8f9fa;
  font-family: Arial, sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
  margin-bottom: 40px;
}

.header h1 {
  margin: 0;
}

.header h2 {
  margin: 0 20px;
}

.reset-btn {
  padding: 10px 20px;
  background: #dc3545;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

/* Risk options: horizontal row */
.section-option {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 40px;
}

.box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  flex: 1 1 200px;  /* grow/shrink, min width */
  max-width: 220px;
}

.box h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.box p {
  margin-top: 15px;
  color: #555;
}

.bet-btn {
  padding: 10px 20px;
  background: #007bff;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.bet-btn:hover {
  background: #0056b3;
}

.message {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.log-box {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  max-height: 200px;   /* fixed height */
  overflow-y: auto;    /* only this box scrolls vertically */
  background: #f9f9f9;
}

.log-box p {
  margin: 5px 0;
  font-size: 15px;
  line-height: 1.4;
}