/*
 * لوين؟ — «عداد الافتتاح» (resources/views/launch.blade.php): the landing page's hero (landing.css)
 * alone on the screen, with a countdown in place of its buttons. Loaded after landing.css.
 */

.lp-launch { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.lp-launch main { flex: 1 0 auto; display: flex; }
.lp-launch .lp-hero {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0;
  padding-top: clamp(24px, 6vh, 64px);
}

.lp-launch__heading {
  margin: clamp(18px, 3vh, 28px) 0 0;
  font: 800 clamp(1.5rem, 3vw, 2.125rem)/1.25 var(--lp-display);
  color: #FFFFFF;
}

/* Four cells: days at the start (the right), seconds at the end, in yellow */
.lp-countdown {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  margin-top: clamp(20px, 3.4vh, 30px);
}
.lp-countdown__cell {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: clamp(70px, 16vw, 104px);
  padding: 12px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -4px 0 rgba(22, 184, 166, 0.55);
}
.lp-countdown__value {
  font: 800 clamp(2.25rem, 6vw, 3.5rem)/1 var(--lp-display);
  font-variant-numeric: tabular-nums;
  color: #FFFFFF;
}
.lp-countdown__cell--seconds { box-shadow: inset 0 -4px 0 rgba(255, 200, 87, 0.8); }
.lp-countdown__cell--seconds .lp-countdown__value { color: var(--lp-yellow); }
.lp-countdown__label { color: var(--lp-on-dark); font-size: 0.875rem; font-weight: 600; }

.lp-countdown__when { margin: 16px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; }
.lp-countdown__opened { margin: 14px 0 0; color: var(--lp-yellow); font: 800 1.25rem/1.4 var(--lp-display); }

.lp-launch__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--lp-ink);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
}
.lp-launch__footer a { color: #FFFFFF; font-weight: 600; }
.lp-launch__footer :focus-visible { outline-color: var(--lp-yellow); }

@media (prefers-reduced-motion: no-preference) {
  .lp-countdown { animation: lp-rise 0.9s 0.55s var(--lp-ease) backwards; }
}

@media (max-width: 760px) {
  .lp-countdown__cell { padding: 10px 4px 8px; border-radius: 14px; }
  .lp-launch .lp-scene { margin-top: -40px; }
}
