/* WiFi Computers — signal boot loader (CSS-only, used pre-JS + in React) */

.signal-boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 42%, rgba(255, 140, 0, 0.12), transparent 62%),
    #050505;
  color: #e2e8f0;
  font-family: Inter, system-ui, sans-serif;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.signal-boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.signal-boot__stage {
  position: relative;
  width: min(220px, 56vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.signal-boot__wifi {
  position: absolute;
  inset: 8% 18% 42%;
  display: grid;
  place-items: end center;
}

.signal-boot__arc {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--size);
  height: var(--size);
  translate: -50% 0;
  border: 2.5px solid transparent;
  border-top-color: rgba(255, 140, 0, 0.95);
  border-radius: 50%;
  opacity: 0;
  animation: signal-arc 1.8s ease-in-out infinite;
  animation-delay: var(--delay);
  filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.45));
}

.signal-boot__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8c00;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.8);
  animation: signal-dot 1.8s ease-in-out infinite;
}

.signal-boot__laptop {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 72%;
  translate: -50% 0;
}

.signal-boot__screen {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 10px 10px 2px 2px;
  background: linear-gradient(160deg, #121212 0%, #0a0a0a 55%, #111827 100%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.08), 0 18px 40px rgba(0, 0, 0, 0.55);
}

.signal-boot__screen::before {
  content: '';
  position: absolute;
  inset: 10% 12%;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 140, 0, 0.18) 50%, transparent 100%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 200% 100%, 12px 12px, 12px 12px;
  animation: signal-scan 2.2s linear infinite;
}

.signal-boot__screen::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 7%;
  width: 6px;
  height: 6px;
  translate: -50% 0;
  border-radius: 50%;
  background: #ff8c00;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.7);
}

.signal-boot__base {
  height: 8px;
  margin: 0 auto;
  width: 108%;
  translate: -3.5% 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #1f1f1f, #0d0d0d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
}

.signal-boot__track {
  height: 3px;
  width: 42%;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
  background: #000;
}

.signal-boot__copy {
  margin-top: 1.75rem;
  text-align: center;
}

.signal-boot__brand {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.signal-boot__brand span {
  color: #ff8c00;
}

.signal-boot__status {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.signal-boot__bars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1rem;
  height: 14px;
  align-items: flex-end;
}

.signal-boot__bar {
  width: 3px;
  border-radius: 999px;
  background: #ff8c00;
  animation: signal-bar 1.1s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.85;
}

.seo-crawl {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@keyframes signal-arc {
  0%,
  15% {
    opacity: 0;
    transform: scale(0.72);
  }
  40%,
  60% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.06);
  }
}

@keyframes signal-dot {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes signal-scan {
  0% {
    background-position: 120% 0, 0 0, 0 0;
  }
  100% {
    background-position: -120% 0, 0 0, 0 0;
  }
}

@keyframes signal-bar {
  0%,
  100% {
    height: 22%;
  }
  50% {
    height: 100%;
  }
}
