/* =========================
   Homepage (Logged In)
   ========================= */

.welcome-back {
  font-size: clamp(1.6rem, 1.5rem + 1.5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
}

.card .home-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px 0;
}

.card .home-title .name {
  font-size: clamp(1rem, 0.8rem + 1.2vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
}

.card .home-races {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .home-packs {
  display: flex;
  flex-direction: column;
}

.card .home-packs .count {
  color: var(--color-text-muted);
  font-size: clamp(0.8rem, 0.5rem + 1vw, 1.2rem);
  font-weight: 600;
  text-align: center;
}

.card .home-packs .pack-summaries {
  font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card .home-packs .pack-summaries .pack-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* =========================
   Homepage (Logged Out)
   ========================= */

.hero-intro {
  display: flex;
  background: var(--color-background-dark);
  padding: calc(var(--spacing-unit) * 3);
}

.hero-intro .main-col {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: calc(var(--spacing-unit) * 3);
}

.hero-intro .main-col .slogan-1 {
  font-size: clamp(0.5rem, 0.4rem + 3vw, 2.9rem);
  font-weight: 900;
  margin-top: auto;
}

.hero-intro .main-col .slogan-2 {
  font-size: clamp(0.3rem, 0.2rem + 3vw, 2.5rem);
  font-weight: 800;
}

.hero-intro .main-col .register-login-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.2rem, 2vw, 0.8rem);
  margin: 1rem 0 0 0;
}

.hero-tile {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.hero-tile > * {
  width: 100%;
}

.hero-tile-title {
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  font-size: clamp(0.7rem, 0.6rem + 0.6vw, 1.25rem);
}

.card .register-text {
  font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.8rem);
  font-weight: 700;
  text-align: center;
}

/* Adjust font sizes when screen becomes 1 column */
@media (max-width: 991.99px) {
  .hero-intro .responsive-main-col .slogan-1 {
    font-size: clamp(0.9rem, 0.3rem + 4vw, 3.3rem);
  }
  .hero-intro .responsive-main-col .slogan-2 {
    font-size: clamp(0.7rem, 0.3rem + 3.2vw, 3.1rem);
  }
  .hero-tile-title {
    font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem);
  }
  .card .register-text {
    font-size: clamp(1.2rem, 1.0rem + 2.5vw, 2.8rem);
  }
}