* {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  background: #f9fafc;
  box-sizing: border-box;
}

h1 {
  background-color: #081b31;
  color: white;
  height: 5rem;
  line-height: 5rem;
  font-size: 2.2rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Choices container */
.choices {
  display: flex;
  flex-wrap: wrap;  
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  padding: 0 1rem;
}

.choice {
  height: 180px;
  width: 180px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choice:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

.choice img {
  height: 160px;
  width: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #081b31;
  background: white;
  transition: border-color 0.3s ease;
}

.choice:hover img {
  border-color: #2a9d8f;
}

/* Scoreboard */
.score-board {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  margin-top: 2rem;
  gap: 3rem;
  font-weight: bold;
  color: #081b31;
}

#user-score,
#comp-score {
  font-size: 3rem;
  color: #2a9d8f;
}

.msg-container {
  margin-top: 2rem;
}

#msg {
  background-color: #081b31;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 1.4rem;
  display: inline-block;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

/* Reset button */
#reset-btn {
  margin-top: 2.5rem;
  padding: 0.7rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background: #e63946;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

#reset-btn:hover {
  background: #d62828;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Tablets */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
    height: 4.5rem;
    line-height: 4.5rem;
  }

  .choice {
    height: 150px;
    width: 150px;
  }

  .choice img {
    height: 130px;
    width: 130px;
  }

  #user-score,
  #comp-score {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
    height: auto;
    line-height: normal;
    padding: 1rem;
  }

  .choices {
    gap: 1.5rem;
    margin: 2rem auto;
  }

  .choice {
    height: 120px;
    width: 120px;
  }

  .choice img {
    height: 100px;
    width: 100px;
  }

  .score-board {
    font-size: 1.2rem;
    gap: 2rem;
  }

  #user-score,
  #comp-score {
    font-size: 2rem;
  }

  #msg {
    font-size: 1.2rem;
    padding: 0.6rem 1rem;
  }

  #reset-btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}
