@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  font-family: "Poppins", sans-serif;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.game-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-title {
  margin-bottom: 2.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00d2ff;
}

/* SELECTIONS SECTION */
.selections {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.selection {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  outline: none;
  cursor: pointer;
  font-size: 3.5rem;
  transition: all 0.3s ease;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.selection:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  border-color: #00d2ff;
}

/* RESULTS GRID (Fixed Alignment) */
.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 1rem;
  border-radius: 12px;
}

.label {
  font-size: 1.4rem;
  color: #aaa;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.result-score {
  font-size: 4rem;
  font-weight: 600;
  color: #00d2ff;
  margin-bottom: 2rem;
}

/* INDIVIDUAL EMOJI LOGS (The Fix) */
.result-selection {
  /* This fixed height ensures Player and Computer always align */
  height: 6rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.5rem;
  opacity: 0.3;
  transition: all 0.2s ease;
}

/* Winner styling grows without changing the row height */
.result-selection.winner {
  opacity: 1;
  font-size: 4.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.6));
}

.controls {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.btn-reset {
  background: rgba(255, 255, 255, 0.1);
  color: #aaa;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2.5rem;
  font-family: inherit;
  font-size: 1.2rem;
  border-radius: 50rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-reset:hover {
  background: #ff4757; /* A subtle red to indicate "reset/clear" */
  color: white;
  border-color: #ff4757;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}
