body {
  background-color: #1a1a2e;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  margin-bottom: 2rem;
  text-align: center;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  color: #e94560;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #a5b1c2;
  margin-bottom: 2rem;
}

.game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  width: 100%;
}

.choices-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.move-button {
  background-color: transparent;
  border: 4px solid #e94560;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.move-button:hover {
  transform: scale(1.1);
  background-color: rgba(233, 69, 96, 0.1);
}

.move-button:active {
  transform: scale(0.95);
}

.move-icon {
  height: 60px;
  transition: transform 0.3s ease;
}

.move-button:hover .move-icon {
  transform: scale(1.2);
}

.result-container {
  text-align: center;
  margin: 1.5rem 0;
  min-height: 100px;
}

.result {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #f9ca24;
}

.moves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.score-container {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  text-align: center;
}

.controls-container {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  justify-content: center;
}

.control-button {
  background-color: #e94560;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-button:hover {
  background-color: #ff6b81;
  transform: translateY(-2px);
}

.control-button:active {
  transform: translateY(0);
}

.auto-play-button.playing {
  background-color: #05c46b;
}

.history-container {
  width: 100%;
  max-width: 600px;
  margin-top: 2rem;
  border-top: 1px solid #4b4b4b;
  padding-top: 1rem;
}

.history-title {
  text-align: center;
  margin-bottom: 1rem;
  color: #a5b1c2;
}

.history-list {
  list-style-type: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

.history-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #4b4b4b;
}

.history-item.win {
  background-color: rgba(9, 132, 227, 0.1);
}

.history-item.loss {
  background-color: rgba(214, 48, 49, 0.1);
}

.history-item.tie {
  background-color: rgba(255, 206, 86, 0.1);
}

.game-mode-selector {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.game-mode-button {
  background-color: transparent;
  border: 2px solid #e94560;
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.game-mode-button.active {
  background-color: #e94560;
}

.game-mode-button:hover {
  background-color: rgba(233, 69, 96, 0.3);
}

.confirmation-dialog {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.dialog-content {
  background-color: #1e272e;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  color: #a5b1c2;
  font-size: 0.9rem;
  border-top: 1px solid #4b4b4b;
  width: 100%;
}

.app-footer a {
  color: #e94560;
  text-decoration: none;
  transition: color 0.3s ease;
}

.app-footer a:hover {
  color: #ff6b81;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .title {
    font-size: 2rem;
  }
  
  .move-button {
    width: 90px;
    height: 90px;
  }
  
  .move-icon {
    height: 50px;
  }
  
  .choices-container {
    gap: 1rem;
  }
}