
.dice-game {
  text-align: center;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.score-container {
  margin-left: 20px;
  padding: 20px;
  background: rgba(33, 33, 33, 0.95);
  color: white;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  min-width: 300px;
}

.game-instructions {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.game-instructions h3 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 20px;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
}

.dice-selection {
  margin-bottom: 20px;
  color: white;
}

.dice-selection select {
  padding: 8px;
  font-size: 16px;
  margin-left: 10px;
  background: #222;
  color: white;
  border: 2px solid #444;
  border-radius: 5px;
}

.dice-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.dice {
  font-size: 72px;
  margin: 20px;
  padding: 20px;
  border: 2px solid #444;
  border-radius: 10px;
  background: #222;
  color: white;
}

.dice:nth-child(2) {
  background: #ff8c00;
}

.dice:nth-child(3) {
  background: #0066cc;
  min-height: 100px;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.dice.rolling {
  animation: diceRoll 0.5s ease;
}

.faq-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-section h2 {
  color: #333;
  font-size: 1.8em;
  margin-bottom: 30px;
  text-align: center;
}

.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.faq-item h3 {
  color: #2196F3;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

@keyframes diceRoll {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.roll-button {
  padding: 10px 20px;
  font-size: 18px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 10px;
  transition: background 0.3s;
}

.roll-button:hover {
  background: #45a049;
}

#guessInput {
  padding: 10px;
  font-size: 18px;
  width: 200px;
  margin: 10px;
  border: 2px solid #444;
  border-radius: 5px;
  background: #222;
  color: white;
}

.result {
  font-size: 24px;
  margin: 20px;
  padding: 10px;
  border-radius: 5px;
  min-height: 40px;
}

.score-board {
  display: flex;
  justify-content: space-around;
  font-size: 20px;
  margin: 20px 0;
  color: white;
}
