/* ============================================================
   Fury Fit Games — Countdown Landing Page
   ============================================================ */

/* ---------- Reset & base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  /* Pure black fallback behind the photo */
  background-color: #000000;
  background-image: url("assets/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  height: 100dvh;
  overflow: hidden;

  font-family: "Inter", sans-serif;
  color: #ffffff;
}

/* ---------- Dark overlay over the background photo ---------- */
.overlay {
  position: fixed;
  inset: 0;
  /* Radial gradient: dark everywhere, darker still at the edges */
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.88) 100%
  );
  z-index: 1;
}

/* ---------- Content layout ---------- */
.content {
  position: relative;
  z-index: 2;

  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  padding: 8dvh 1rem;

  /* Subtle fade-in on load */
  animation: fade-in 1.2s ease-out both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Logo ---------- */
.logo img {
  display: block;
  /* Capped near the logo file's native width (283px) to stay sharp */
  width: clamp(180px, 25vw, 290px);
  height: auto;
}

/* ---------- Countdown timer ---------- */
.timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4.5rem);
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 2vh, 1.5rem);
}

.number {
  font-family: "Michroma", sans-serif;
  font-size: clamp(3rem, 9vw, 13.75rem); /* ~48px mobile → 220px desktop */
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #ffffff;
  /* Keep digits from shifting width as they tick */
  font-variant-numeric: tabular-nums;
}

.label {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.65rem, 1.6vw, 1.375rem); /* up to ~22px desktop */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  /* Compensate right-side gap created by letter-spacing */
  margin-right: -0.3em;
  color: #ff0000;
}

/* ---------- Bottom "COUNTDOWN" text ---------- */
.countdown-word {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.6vw, 2rem); /* up to ~32px desktop */
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: #ffffff;
}

/* ---------- Small screens: tighten everything ---------- */
@media (max-width: 480px) {
  .timer {
    gap: 0.9rem;
  }

  .number {
    font-size: 10.5vw;
  }

  .label {
    letter-spacing: 0.18em;
    margin-right: -0.18em;
  }
}
