html,
body {
  margin: 0;
  background-color: #060913;
  background-image:
    linear-gradient(
      135deg,
      rgba(6, 182, 212, 0.12) 0%,
      rgba(10, 14, 26, 0.45) 50%,
      rgba(168, 85, 247, 0.12) 100%
    ),
    url("/cosmic_background.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.boot-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, #05090f 0%, #010205 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000000;
  overflow: hidden;
}

.boot-overlay::before,
.boot-overlay::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.boot-overlay::before {
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-top: 1px solid rgba(6, 182, 212, 0.18);
  border-left: 1px solid rgba(6, 182, 212, 0.18);
}

.boot-overlay::after {
  bottom: 0;
  right: 0;
  width: 220px;
  height: 220px;
  border-bottom: 1px solid rgba(6, 182, 212, 0.18);
  border-right: 1px solid rgba(6, 182, 212, 0.18);
}

.boot-content {
  text-align: center;
  font-family: "Space Grotesk", monospace;
  position: relative;
  z-index: 2;
}

.boot-brand {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.32em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #e8eaf0 0%, #ffffff 35%, #c8d8f0 60%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(147, 197, 253, 0.35));
  animation: boot-text-glow 3s ease-in-out infinite alternate;
}

@keyframes boot-text-glow {
  0% {
    opacity: 0.85;
  }
  100% {
    opacity: 1;
  }
}

.boot-subtitle {
  font-size: 11px;
  color: rgba(147, 197, 253, 0.65);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 500;
}

.boot-version {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.22em;
  margin-bottom: 32px;
  font-family: monospace;
}

.boot-divider {
  width: 240px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 182, 212, 0.2) 20%,
    rgba(147, 197, 253, 0.55) 50%,
    rgba(6, 182, 212, 0.2) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 12px rgba(147, 197, 253, 0.2),
    0 1px 0 rgba(255, 255, 255, 0.04);
  margin: 0 auto 28px;
}

.boot-ignition-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 20px auto 0;
}

.boot-ign-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(6, 182, 212, 0.2);
  pointer-events: none;
}

.boot-ign-ring--1 {
  inset: -4px;
  border-color: rgba(6, 182, 212, 0.18);
}

.boot-ign-ring--2 {
  inset: -12px;
  border-color: rgba(6, 182, 212, 0.1);
}

.boot-ign-ring--3 {
  inset: -24px;
  border-color: rgba(6, 182, 212, 0.06);
}

.boot-ign-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.boot-ign-arc-spin {
  transform-origin: 100px 100px;
  animation: boot-ign-arc-cw 4s linear infinite;
}

.boot-ign-arc-spin-rev {
  transform-origin: 100px 100px;
  animation: boot-ign-arc-ccw 6s linear infinite;
}

@keyframes boot-ign-arc-cw {
  to {
    transform: rotate(360deg);
  }
}

@keyframes boot-ign-arc-ccw {
  to {
    transform: rotate(-360deg);
  }
}

.boot-ign-btn {
  position: relative;
  z-index: 10;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: none;
  cursor: not-allowed;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boot-ign-btn__glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
  box-shadow:
    0 0 40px rgba(6, 182, 212, 0.3),
    0 0 80px rgba(6, 182, 212, 0.12);
  opacity: 0.7;
  animation: boot-ign-glow-breathe 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes boot-ign-glow-breathe {
  0%,
  100% {
    box-shadow:
      0 0 40px rgba(6, 182, 212, 0.3),
      0 0 80px rgba(6, 182, 212, 0.12);
    opacity: 0.7;
  }
  50% {
    box-shadow:
      0 0 65px rgba(6, 182, 212, 0.55),
      0 0 120px rgba(6, 182, 212, 0.22);
    opacity: 1;
  }
}

.boot-ign-btn__inner {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    radial-gradient(circle at 36% 28%, rgba(180, 210, 255, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 68% 72%, rgba(6, 182, 212, 0.06) 0%, transparent 38%),
    linear-gradient(148deg, #1c2540 0%, #0d1220 45%, #060b16 100%);
  outline: 1.5px solid rgba(147, 197, 253, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 12px rgba(0, 0, 0, 0.7),
    0 0 0 4px rgba(6, 182, 212, 0.06),
    0 6px 32px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(6, 182, 212, 0.08);
}

.boot-ign-btn__label {
  font-family: "Space Grotesk", monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  background: linear-gradient(135deg, #93c5fd 0%, #e0f0ff 50%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(147, 197, 253, 0.5));
  text-transform: uppercase;
}

.boot-ign-btn__spinner {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(6, 182, 212, 0.12);
  border-top-color: rgba(147, 197, 253, 0.8);
  animation: boot-ign-spin 0.9s linear infinite;
}

@keyframes boot-ign-spin {
  to {
    transform: rotate(360deg);
  }
}

.boot-ambient-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(147, 197, 253, 0.04) 0%,
    rgba(6, 182, 212, 0.04) 35%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: boot-ambient-pulse 5s ease-in-out infinite alternate;
}

@keyframes boot-ambient-pulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

/* Accessibility screen-reader only class for pre-rendered SEO content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
