/* HeroCountdown.module.css - Scoped styles for hero countdown banner */

.heroCountdown {
  --hero-bg: #e8e8e8;
  --hero-headline: #DF9E0F;
  --hero-tile-bg: #DF9E0F;
  --hero-digit: #1a1a1a;
  --hero-label: #FCCE4B;
  --hero-tile-gap: 0.75rem;
  --hero-tile-radius: 1.25rem;
  --hero-tile-min-width: 4.5rem;
  --hero-tile-aspect: 1.1;

  background: linear-gradient(to top, rgba(69, 1, 20, 1) 50%, rgba(69, 1, 20, 0) 100%);
  padding: 0 1.5rem 1.5rem;
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 60vh;
}

/* Wrapper keeps headline, prize, tiles, labels in original order and spacing; whole block sits at bottom */
.heroCountdown__content {
  margin-top: auto;
  padding: 2.5rem 0 0;
}

.heroCountdown__headline {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hero-headline);
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.heroCountdown__prize {
  display:none;
/*  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--hero-label);
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;*/
}

.heroCountdown__tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--hero-tile-gap);
  margin: 0 auto 0.25rem;
  max-width: 28rem;
}

.heroCountdown__tile {
  flex: 1 1 var(--hero-tile-min-width);
  min-width: var(--hero-tile-min-width);
  max-width: 5.5rem;
  aspect-ratio: var(--hero-tile-aspect);
  background-color: var(--hero-tile-bg);
  border-radius: var(--hero-tile-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.35rem;
}

.heroCountdown__digit {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--hero-digit);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.heroCountdown__labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--hero-tile-gap);
  margin: 0 auto;
  max-width: 28rem;
}

.heroCountdown__labelWrap {
  flex: 1 1 var(--hero-tile-min-width);
  min-width: var(--hero-tile-min-width);
  max-width: 5.5rem;
  aspect-ratio: var(--hero-tile-aspect);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  box-sizing: border-box;
}

.heroCountdown__label {
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--hero-label);
  letter-spacing: 0.02em;
}

.heroCountdown__stayTuned {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--hero-headline);
  margin: auto 0 0 0;
}

.heroCountdown__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop: 4 tiles in one row */
@media (min-width: 480px) {
  .heroCountdown__tiles,
  .heroCountdown__labels {
    flex-wrap: nowrap;
  }

  .heroCountdown__tile,
  .heroCountdown__labelWrap {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}

/* Mobile: 4 in a row (same as desktop), tighter tiles and labels aligned */
@media (max-width: 575px) {
  .heroCountdown__tiles {
    flex-wrap: nowrap;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.25rem;
  }

  .heroCountdown__labels {
    flex-wrap: nowrap;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .heroCountdown__tile,
  .heroCountdown__labelWrap {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  /* Tighter tile padding and slightly smaller aspect on mobile */
  .heroCountdown__tile {
    padding: 0.35rem;
    aspect-ratio: 1.05;
  }

  /* Label row height = content only so labels sit directly under their tiles */
  .heroCountdown__labelWrap {
    aspect-ratio: unset;
    height: auto;
    padding-top: 0.25rem;
    justify-content: center;
  }
}
