.game-area {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.choices {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.choice-btn {
  background: #333;
  border: none;
  padding: 20px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.choice-btn:hover {
  background: #444;
  transform: translateY(-5px);
}

.choice-btn i {
  font-size: 2em;
}

.game-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
}

.player-choice, .computer-choice {
  text-align: center;
}

.choice-display {
  font-size: 3em;
  margin: 10px 0;
}

.vs {
  font-size: 2em;
  font-weight: bold;
  color: #ff6b6b;
}

.result {
  font-size: 1.5em;
  margin: 20px 0;
  padding: 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.animate-result {
  animation: popIn 0.5s ease-out;
  transform-origin: center;
}

@keyframes popIn {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

#resetPrompt {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-style: italic;
}

.win {
  color: #4CAF50;
}

.lose {
  color: #f44336;
}

.tie {
  color: #2196F3;
}

.current-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.current-score p {
  margin: 0;
  padding: 10px;
  background: #333;
  border-radius: 5px;
}

#gameHistory {
  list-style: none;
  padding: 0;
}

#gameHistory li {
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  background: #333;
}

@media (max-width: 768px) {
  .choices {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .choice-btn {
    padding: 10px;
    min-width: 80px;
  }

  .choice-btn i {
    font-size: 1.5em;
  }

  .choice-btn span {
    font-size: 0.8em;
  }

  .game-status {
    flex-direction: column;
  }

  .vs {
    margin: 10px 0;
  }
}

@media (max-width: 360px) {
  .choices {
    gap: 5px;
  }
  
  .choice-btn {
    padding: 8px;
    min-width: 70px;
  }
}

.rules-section {
  margin-top: 20px;
}

.rules-section h3 {
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.modern-rules {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.rule-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  flex: 1;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.rule-card:hover {
  transform: translateY(-5px);
}

.rule-card .rule-icon {
  font-size: 2.5em;
  display: block;
  margin-bottom: 10px;
}

.rule-card h4 {
  color: #2196F3;
  margin: 10px 0;
}

.quick-start {
  list-style: none;
  padding: 0;
}

.quick-start li {
  margin: 15px 0;
  display: flex;
  align-items: center;
  padding: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.quick-start li:hover {
  transform: translateX(10px);
}

.step-number {
  background: #2196F3;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  margin-top: 40px;
}

.faq-section h3 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

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

.faq-question {
  font-weight: bold;
  cursor: pointer;
}

.faq-answer {
  margin-top: 10px;
  display: none; /* initially hidden */
}

.faq-item.active .faq-answer {
  display: block; /* show answer when active */
}