:root{
  --sx-orange:#ff7a1a;
  --sx-orange2:#ff8f3a;
  --sx-navy:#1e3a8a;
  --sx-text:#0f172a;
  --sx-muted: rgba(15,23,42,.62);
  --sx-bg:#ffffff;
}

*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body.sx-boot{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--sx-bg);
  color: var(--sx-text);
  overflow:hidden;
}

/* step wrapper */
.sx-bootStep{
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.sx-bootStep.is-active{
  opacity: 1;
  pointer-events: auto;
}

.sx-bootCenter{
  height:100%;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 14px;
  padding: 26px;
  text-align:center;

  /* subtle top glow like Pronto */
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(255,122,26,.14), rgba(255,122,26,0) 60%),
    radial-gradient(900px 420px at 50% 100%, rgba(30,58,138,.06), rgba(30,58,138,0) 65%);
}

/* logo */
.sx-bootLogoWrap{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
}

.sx-bootLogoImg{
  width: min(220px, 68vw);
  height: auto;
  display:block;
  filter: drop-shadow(0 18px 44px rgba(2,6,23,.12));
}

/* tagline (orange, brand) */
.sx-bootTagline{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 1000;
  color: var(--sx-orange);
  letter-spacing: .1px;
}

/* Step 3 */
.sx-bootSearchWrap{
  width: 110px;
  height: 110px;
  position: relative;
  margin-bottom: 2px;
}

.sx-bootSearchRing{
  position:absolute;
  inset: 0;
  border-radius: 999px;
  border: 3px solid rgba(255,122,26,.22);
  box-shadow: 0 18px 50px rgba(255,122,26,.14);
}

.sx-bootSearchDot{
  position:absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sx-orange2), var(--sx-orange));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 28px rgba(255,122,26,.28);
  animation: sxOrbit 1.4s linear infinite;
}

/* pulse behind dot */
.sx-bootSearchPulse{
  position:absolute;
  inset: 18px;
  border-radius: 999px;
  background: rgba(255,122,26,.10);
  filter: blur(1px);
  animation: sxPulse 1.1s ease-in-out infinite;
}

@keyframes sxOrbit{
  0%   { transform: translate(-50%, -50%) rotate(0deg) translateX(42px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(42px) rotate(-360deg); }
}

@keyframes sxPulse{
  0%,100% { transform: scale(.92); opacity: .65; }
  50%     { transform: scale(1.02); opacity: 1; }
}

/* title + hint */
.sx-bootTitle{
  margin-top: 10px;
  font-size: 18px;
  font-weight: 1100;
  color: rgba(15,23,42,.92);
}

.sx-bootHint{
  margin-top: 2px;
  font-size: 12px;
  font-weight: 900;
  color: var(--sx-muted);
}

/* actions (center) */
.sx-bootActions{
  width: min(360px, 92vw);
  display:flex;
  gap: 12px;
  margin-top: 14px;
}

/* buttons */
.sx-bootBtn{
  flex: 1;
  height: 46px;
  border-radius: 16px;
  font-weight: 1100;
  font-size: 13px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  user-select:none;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.sx-bootBtn:active{ transform: scale(.98); }

.sx-bootBtn--primary{
  background: linear-gradient(180deg, var(--sx-orange2), var(--sx-orange));
  color:#fff;
  box-shadow: 0 18px 44px rgba(255,122,26,.22);
}

.sx-bootBtn--primary:disabled{
  opacity: .7;
  cursor: default;
}

.sx-bootBtn--ghost{
  background: #fff;
  color: var(--sx-navy);
  border-color: rgba(30,58,138,.20);
  box-shadow: 0 14px 34px rgba(2,6,23,.06);
}
/* Light orange background for logo screens */
#sxStep1 .sx-bootCenter,
#sxStep2 .sx-bootCenter{
  background:
    radial-gradient(
      900px 400px at 50% 20%,
      rgba(255, 143, 58, 0.28),
      rgba(255, 143, 58, 0.12) 40%,
      rgba(255, 143, 58, 0.04) 70%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      #fff4ea 0%,
      #fff7f0 45%,
      #ffffff 100%
    );
}
/* Make logo pop nicely on orange background */
#sxStep1 .sx-bootLogoImg,
#sxStep2 .sx-bootLogoImg{
  filter:
    drop-shadow(0 22px 48px rgba(255,122,26,.28))
    drop-shadow(0 6px 16px rgba(2,6,23,.10));
}
/* Soft orange halo behind logo / loader */
.sx-bootCenter::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 50, 0.18) 0%,
    rgba(255, 140, 50, 0.10) 35%,
    rgba(255, 140, 50, 0.04) 55%,
    transparent 70%
  );
  z-index: 0;
  animation: sxGlowPulse 2.5s ease-in-out infinite;
}

@keyframes sxGlowPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Make sure content stays above glow */
.sx-bootCenter > * {
  position: relative;
  z-index: 1;
}
body.sx-boot {
  background:
    linear-gradient(
      135deg,
      rgba(255, 140, 50, 0.12) 0%,
      rgba(255, 140, 50, 0.06) 15%,
      #ffffff 40%
    );
}
/* Soft orange halo behind logo / loader */
.sx-bootCenter::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 50, 0.18) 0%,
    rgba(255, 140, 50, 0.10) 35%,
    rgba(255, 140, 50, 0.04) 55%,
    transparent 70%
  );
  z-index: 0;
  animation: sxGlowPulse 2.5s ease-in-out infinite;
}

@keyframes sxGlowPulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Make sure content stays above glow */
.sx-bootCenter > * {
  position: relative;
  z-index: 1;
}
/* ORANGE HALO (unique accent - not a bottom strip) */
.sx-bootCenter::before{
  content:"";
  position:absolute;
  left:50%;
  top:38%;
  width:280px;
  height:280px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255,122,26,.24) 0%,
    rgba(255,122,26,.14) 35%,
    rgba(255,122,26,.06) 55%,
    transparent 72%
  );
  filter: blur(1px);
  z-index: 0;
  pointer-events: none;
  animation: sxGlowPulse 2.4s ease-in-out infinite;
}

@keyframes sxGlowPulse{
  0%,100%{ transform: translate(-50%,-50%) scale(.94); opacity:.75; }
  50%{ transform: translate(-50%,-50%) scale(1.04); opacity:1; }
}

/* keep your content above the glow */
.sx-bootCenter > *{
  position: relative;
  z-index: 1;
}
