/* ==========================================================================
   APEIRON — FULL-VISUAL SPLASH PAGE (SINGLE IMAGE + COUNTDOWN ONLY)
   ========================================================================== */

:root {
  --color-bg: #0c0907;
  --color-accent-gold: #F1B82D;
  --color-accent-orange: #E07A24;
  --color-accent-terracotta: #A84B1E;
  --color-text-muted: #d8ccb8;
  --font-headings: 'Montserrat', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100dvh;
  background-color: var(--color-bg);
  color: #FDF5E2;
  font-family: var(--font-headings);
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 50% 40%, rgba(224, 122, 36, 0.16), transparent 62%),
    var(--color-bg);
}

/* Single viewport-fitted stage: only the poster + the countdown */
.splash-stage {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2dvh, 1.5rem);
  padding: clamp(0.75rem, 2dvh, 1.5rem) clamp(0.75rem, 2.5vw, 2rem);
}

.poster-wrap {
  width: min(100%, 1240px);
  max-height: calc(100dvh - 10.5rem);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(241, 184, 45, 0.35);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.78),
    0 0 42px rgba(241, 184, 45, 0.15);
  background-color: #090706;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
}

/* Clean standalone countdown console */
.countdown-bar {
  container-type: inline-size;
  width: min(100%, 620px);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(0.45rem, 2vw, 1.15rem);
  padding: clamp(0.7rem, 1.6dvh, 1rem) clamp(1rem, 3vw, 2rem);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(24, 19, 15, 0.94), rgba(10, 8, 7, 0.98));
  border: 1px solid rgba(241, 184, 45, 0.4);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(241, 184, 45, 0.2);
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(3.4rem, 9vw, 5.4rem);
}

.time-value {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.4rem);
  line-height: 1;
  color: var(--color-accent-gold);
  text-shadow: 0 0 22px rgba(241, 184, 45, 0.4);
}

.time-label {
  margin-top: 0.35rem;
  font-weight: 700;
  font-size: clamp(0.6rem, 0.52rem + 0.25vw, 0.74rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.time-sep {
  font-weight: 900;
  font-size: clamp(1.55rem, 1rem + 2vw, 2.85rem);
  line-height: 1;
  color: var(--color-accent-orange);
  user-select: none;
  opacity: 0.85;
  transform: translateY(-0.3rem);
}

@container (max-width: 380px) {
  .time-unit {
    min-width: 2.85rem;
  }

  .time-value {
    font-size: 1.5rem;
  }

  .time-sep {
    font-size: 1.35rem;
  }

  .time-label {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
}
