/* Shelltty: under construction page. Uses the tokens from site.css. */
body.uc-body { background: var(--bg); }
.uc {
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; justify-items: center;
  padding: 40px var(--gutter) 24px; text-align: center;
}
.uc-glow {
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 35% at 50% 32%, rgba(255, 150, 40, 0.28), transparent 70%),
    radial-gradient(30% 30% at 20% 80%, rgba(200, 69, 47, 0.14), transparent 70%),
    radial-gradient(30% 30% at 82% 75%, rgba(124, 64, 108, 0.16), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }

.uc-inner { position: relative; z-index: 1; align-self: center; max-width: 720px; display: grid; justify-items: center; gap: 18px; }
.uc-emblem {
  width: clamp(150px, 26vw, 230px); height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
  animation: rise 1.1s cubic-bezier(.2, .8, .2, 1) both, breathe 5s ease-in-out 1.1s infinite;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes breathe {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 0 rgba(255, 150, 40, 0)); }
  50% { transform: translateY(-8px); filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 26px rgba(255, 150, 40, 0.45)); }
}

.uc-line {
  margin: 8px 0 0; font: 600 clamp(1rem, 2.4vw, 1.25rem)/1 var(--font-mono); color: var(--cream);
  display: inline-flex; align-items: center; gap: 0.5ch;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 16px;
  animation: rise 0.9s ease 0.35s both;
}
.uc-prompt { color: var(--amber); }
.uc-typed {
  display: inline-block; overflow: hidden; white-space: nowrap; width: 0;
  animation: type 1.6s steps(17, end) 1.2s forwards;
}
@keyframes type { to { width: 17ch; } }
.uc-cursor {
  width: 0.62em; height: 1.1em; background: var(--amber); border-radius: 2px;
  box-shadow: 0 0 12px rgba(255, 150, 40, 0.8); animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.uc h1 { font-size: clamp(1.6rem, 4.4vw, 2.6rem); margin: 10px 0 0; animation: rise 0.9s ease 0.5s both; }
.uc-lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); margin: 0; animation: rise 0.9s ease 0.65s both; }

/* Progress: five project tiles from the Shelltty sidebar light up in turn,
   each with the activity-glow streak the app shows on busy tabs. */
.uc-progress { display: flex; gap: 12px; margin-top: 14px; animation: rise 0.9s ease 0.8s both; }
.uc-progress .t {
  position: relative; overflow: hidden;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c); opacity: 0.35;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -3px 0 rgba(0, 0, 0, 0.25);
  animation: light 3.5s ease-in-out infinite;
}
.uc-progress .t::after {
  content: ""; position: absolute; left: -60%; bottom: 0; width: 60%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--amber-hi), transparent);
  animation: streak 3.5s ease-in-out infinite;
}
.t1 { --c: var(--terracotta); } .t2 { --c: var(--amber-deep); } .t3 { --c: var(--olive); } .t4 { --c: var(--plum); } .t5 { --c: var(--slate); }
.t2, .t2::after { animation-delay: 0.35s !important; }
.t3, .t3::after { animation-delay: 0.7s !important; }
.t4, .t4::after { animation-delay: 1.05s !important; }
.t5, .t5::after { animation-delay: 1.4s !important; }
@keyframes light {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  20%, 45% { opacity: 1; transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 22px rgba(255, 150, 40, 0.45); }
}
@keyframes streak { 0%, 10% { left: -60%; } 45%, 100% { left: 110%; } }

.uc-status { margin: 4px 0 0; color: var(--muted); font-size: 0.9rem; }
.dots::after { content: ""; animation: dots 1.6s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.uc-footer { position: relative; z-index: 1; padding-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .uc *, .uc-glow { animation: none !important; }
  .uc-typed { width: auto; }
  .uc-progress .t { opacity: 1; }
}

/* More room between the icon and the launch line; the icon sits higher. */
.uc-emblem { margin-bottom: clamp(40px, 11vh, 120px); }
.uc { padding-top: clamp(24px, 5vh, 48px); }
.uc-progress { margin-top: clamp(28px, 5vh, 48px); }
