.streak-container {
  background: gray;
  width: 60%;
  margin: 100px auto;
  padding: 40px 20px 60px;
  border-radius: 20px;
  position: relative;
  text-align: center;
}

.streak-header {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: bold;
}

.streak-header img {
  width: 30px;
  height: 30px;
}

.rewards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 60px;
}

.reward-box {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-family: sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  background-color: white;
}

.reward-box:hover {
  transform: scale(1.05);
}

.reward-box.claimed {
  background-color: #00ff73;
}

.reward-box-reward {
  background-image: url('images/robux.png');
  background-size: cover;
  background-position: center;
  background-color: white; /* Makes text visible on images */
  width: 100px;
  height: 100px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-family: sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.reward-box-reward.claimed {
  position: relative;
  background-image: url('images/robux.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Transparent green overlay */
.reward-box-reward.claimed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 0, 0.3);
  z-index: 1;
  border-radius: inherit;
}

/* Make sure content is above the overlay */
.reward-box-reward.claimed > * {
  position: relative;
  z-index: 2;
}