/* Intro only. No body styling or scroll locking. Max automatic lifetime: 1.68s. */
.castpad-entry {
  --castpad-entry-ready: 1;
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b0d0f;
  color: #f0f2ed;
  font-family: var(--font, Manrope), Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.castpad-entry[hidden] { display: none !important; }
.castpad-entry.is-visible { opacity: 1; pointer-events: auto; }
.castpad-entry.is-exiting { opacity: 0; pointer-events: none; }
.castpad-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, #0b0d0f70 0%, #0b0d0fe8 54%, #0b0d0f 85%);
}
.castpad-entry-content { display: flex; flex-direction: column; align-items: center; padding: 40px 24px; text-align: center; }
.castpad-entry-mark { position: relative; width: 112px; height: 112px; margin-bottom: 24px; }
.castpad-entry-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.castpad-entry.is-visible .castpad-entry-mark { animation: castpad-mark-arrive 980ms cubic-bezier(.18,.78,.2,1) both; }
.castpad-entry-wordmark { margin: 0; font-size: 21px; font-weight: 650; line-height: 1.2; letter-spacing: 5px; padding-left: 5px; }
.castpad-entry.is-visible .castpad-entry-wordmark { animation: castpad-copy-arrive 620ms 120ms ease both; }
.castpad-entry-rule { width: 72px; height: 1px; background: #d1fe17; margin: 25px 0 19px; transform-origin: center; }
.castpad-entry.is-visible .castpad-entry-rule { animation: castpad-rule-arrive 620ms 180ms ease both; }
.castpad-entry-tagline { margin: 0; color: #b3bab5; font-size: 14px; line-height: 1.5; letter-spacing: .05px; }
.castpad-entry.is-visible .castpad-entry-tagline { animation: castpad-copy-arrive 620ms 260ms ease both; }
.castpad-entry-skip {
  position: absolute;
  top: max(24px, env(safe-area-inset-top));
  right: max(28px, env(safe-area-inset-right));
  min-width: 106px;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid #485145;
  border-radius: 9px;
  background: #101410c9;
  color: #cbd6c3;
  font: 550 11px/1.3 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
.castpad-entry-skip:hover { border-color: #d1fe17; color: #d1fe17; background: #1a2116; }
.castpad-entry-skip:focus-visible { outline: 2px solid #d1fe17; outline-offset: 4px; }
.castpad-entry-glimpses { position: absolute; z-index: -2; inset: -4%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; opacity: 0; filter: saturate(.55); }
.castpad-entry-glimpse { display: block; width: 100%; height: 100%; min-width: 0; object-fit: cover; object-position: 50% 25%; }
.castpad-entry.is-visible .castpad-entry-glimpses { animation: castpad-glimpse 1440ms ease both; }
@keyframes castpad-mark-arrive {
  0% { opacity: 0; transform: translateY(12px) scale(.88); filter: blur(5px); }
  45% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes castpad-copy-arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes castpad-rule-arrive {
  from { opacity: 0; transform: scaleX(.1); }
  to { opacity: .8; transform: scaleX(1); }
}
@keyframes castpad-glimpse {
  0% { opacity: 0; transform: scale(1.035); }
  38% { opacity: .36; }
  76% { opacity: .2; }
  100% { opacity: 0; transform: scale(1); }
}
@media (max-width: 640px) {
  .castpad-entry-glimpses { gap: 7px; inset: 0 -18%; }
  .castpad-entry-mark { width: 94px; height: 94px; }
  .castpad-entry-wordmark { font-size: 18px; letter-spacing: 4px; padding-left: 4px; }
  .castpad-entry-tagline { font-size: 13px; }
  .castpad-entry-skip { top: max(18px, env(safe-area-inset-top)); right: max(18px, env(safe-area-inset-right)); }
}
@media (prefers-reduced-motion: reduce) {
  .castpad-entry { display: none !important; }
  .castpad-entry *, .castpad-entry::after { animation: none !important; transition: none !important; }
}
