/* Rarity */
#rarity-page {
  margin: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#rarity-card {
  margin-top: 5vh;
  height: 50vh;
  width: 40vh;
  background-image: url('../assets/images/backgrounds/rarity page themes/galaxy-glow-theme.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Watermark at bottom */
  align-items: center;
  padding: 2vh 3vh;
  box-shadow: 1vh 1vh 3vh black, 0 0 1vh 0.05vh black inset;
  border: 3px solid black;
  text-align: center;
}

.rarity-content {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* Equal space for 3 containers */
  align-items: center;
  flex-grow: 1;
  background: rgba(0, 0, 0, 0);
}

.rc-section {
  border-radius: 1vh;
  background: rgba(0, 0, 0, 0);
  line-height: 1.25;
}

.for-shadow {
  /* Restored strong text stroke for readability */
  /* acode issue */
  text-shadow:
    -0.15vh -0.15vh 0 black,
    0.15vh -0.15vh 0 black,
    -0.15vh -0.15vh 0 black,
    0.15vh -0.15vh 0 black,
    0 0 1.5vh black,
    0 0 1.5vh black,
    0 0 1.5vh black,
    0 0 1.5vh black;
}

.rc-extra-text {
  color: hsl(30,100%,85%);
  font-size: 2.5vh;
}

#global-rarity-number {
  font-size: 4vh;
  color: hsl(20, 100%, 50%);
  font-weight: 600;
}

.country-rarity-number {
  color: hsl(25,100%,67%);
  font-size: 3.5vh;
  font-weight: 600;
}

#rc-country-text {
  font-size: 3vh;
}

.watermark-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
}

.watermark {
  color: #8e8e8e;
  font-size: 1.35vh;
  margin-top: auto;
}

.rarity-card-buttons {
  height: 3.5rem;
  width: 100%;
  background: ;
  margin-top: 1rem;
  border-radius: 20px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.rarity-card-buttons:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg,var(--color-primary), var(--color-primary-light));
}

.rarity-card-buttons:active {
  transform: scale(0.95);
  background: linear-gradient(90deg,var(--color-primary-light), var(--color-primary));
}