/* The opening mark is styled before the JavaScript bundle arrives. */
html { min-height: 100%; background: #081522; }
body { margin: 0; }
html:has(.boot-shell), body:has(.boot-shell) { background: #081522; color-scheme: dark; }
.boot-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  place-items: center;
  overflow: hidden;
  color: #f6ecd7;
  background: radial-gradient(ellipse at 65% 20%, #142b43 0, transparent 50%), radial-gradient(ellipse at 15% 90%, #10263d 0, transparent 55%), #081522;
}
.boot-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#c9a96a22 .7px, transparent .7px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 65%);
}
.boot-shell__brand { position: absolute; top: clamp(28px, 6vh, 64px); left: 50%; transform: translateX(-50%); width: 130px; height: auto; opacity: .85; }
.boot-shell__signature { position: absolute; bottom: 30px; margin: 0; color: #8192a6; font: 12px Tajawal, Arial, sans-serif; letter-spacing: .03em; }
.flight-arrival { position: relative; display: grid; justify-items: center; gap: 17px; width: 180px; text-align: center; font-family: Tajawal, Arial, sans-serif; }
.flight-emblem { position: relative; display: grid; place-items: center; width: 100px; height: 100px; isolation: isolate; }
.flight-emblem::before { content: ""; position: absolute; inset: -28px; border-radius: 50%; background: radial-gradient(circle, #d9ac4c14, transparent 67%); animation: flight-breathe 3s ease-in-out infinite; }
.flight-emblem__orbit { position: absolute; inset: 7px; border: 1px solid #f2cc791a; border-radius: 50%; }
.flight-emblem__orbit::before { content: ""; position: absolute; inset: -1px; border: 1px solid transparent; border-top-color: #e9c374; border-right-color: #e9c37455; border-radius: 50%; animation: flight-orbit 2.8s cubic-bezier(.4,.1,.3,1) infinite; }
.flight-emblem__orbit::after { content: ""; position: absolute; inset: -10px; border: 1px dashed #a8b9cc20; border-radius: 50%; }
.flight-emblem__plane { position: relative; width: 32px; height: 32px; filter: drop-shadow(0 3px 10px #edc56f38); transform: rotate(38deg); animation: flight-float 3s ease-in-out infinite; }
.flight-arrival__copy { display: grid; justify-items: center; gap: 9px; }
.flight-arrival__name { color: #e8d1a0; font: 500 10px/1.4 Arial, sans-serif; letter-spacing: .3em; padding-left: .3em; }
.flight-arrival__label { margin: 0; color: #b8c5d4; font-size: 14px; font-weight: 500; line-height: 1.8; }
.flight-arrival__dots { display: flex; gap: 5px; direction: ltr; }
.flight-arrival__dots i { width: 3px; height: 3px; border-radius: 50%; background: #e8c678; animation: flight-dot 1.5s ease-in-out infinite; }
.flight-arrival__dots i:nth-child(2) { animation-delay: .18s; }
.flight-arrival__dots i:nth-child(3) { animation-delay: .36s; }
.arrival-indicator { position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -45%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, transform .4s ease, visibility .3s; }
.arrival-indicator.is-active { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.arrival-indicator::before { content: ""; position: absolute; inset: -36px -26px; border-radius: 50%; background: radial-gradient(ellipse, #081522fc 25%, #081522e6 45%, #08152200 72%); z-index: -1; }
@keyframes flight-orbit { to { transform: rotate(360deg); } }
@keyframes flight-float { 0%, 100% { transform: translate(-1px, 2px) rotate(38deg); } 50% { transform: translate(2px, -3px) rotate(42deg); } }
@keyframes flight-breathe { 50% { opacity: .4; transform: scale(.88); } }
@keyframes flight-dot { 0%, 65%, 100% { opacity: .25; transform: scale(.8); } 30% { opacity: 1; transform: scale(1.2); } }
@media (prefers-reduced-motion: reduce) {
  .flight-emblem::before, .flight-emblem__orbit::before, .flight-emblem__plane, .flight-arrival__dots i { animation: none; }
  .arrival-indicator { transition: none; }
}
