/* Reset & basic styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  color: #fff;
  text-align: center;
  padding: 20px;
}

.game-info {
  margin-bottom: 30px;
  text-align: center;
}

.game-info h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #ff6ec7, #7873f5);
  color: transparent;
  background-clip: text;
}

.game-info p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Buttons container */
.buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Choice buttons */
.choice-button {
  background: linear-gradient(145deg, #ff6ec7, #7873f5);
  border: none;
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.choice-button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
  border-radius: 50%;
}

.choice-button:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.choice-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Results styling */
.results {
  max-width: 600px;
  width: 100%;
  text-align: left;
}

.match-result {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: monospace;
  white-space: pre-wrap;
  min-height: 120px;
  overflow-y: auto;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.final-result {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 15px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f7971e, #ffd200);
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Scrollbar for match results */
.match-result::-webkit-scrollbar {
  width: 8px;
}

.match-result::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}
