/* Cricbuz pre-bundle first-paint loader (CSP-safe external stylesheet). */
html,
body {
  margin: 0;
  padding: 0;
  background: #080f17;
  color: #f1f6fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans Bengali', sans-serif;
}

.cbz-boot-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 229, 155, 0.12) 0%, rgba(47, 125, 255, 0.08) 28%, rgba(8, 15, 23, 0) 62%),
    linear-gradient(180deg, #0b1623 0%, #080f17 100%);
  text-align: center;
  box-sizing: border-box;
}

.cbz-boot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(320px, calc(100vw - 32px));
  padding: 28px 24px 24px;
  border-radius: 18px;
  background: rgba(17, 29, 41, 0.88);
  border: 1px solid rgba(0, 229, 155, 0.24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cbz-boot-emblem {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}

.cbz-boot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(42, 58, 73, 0.55);
  border-top-color: #00e59b;
  border-right-color: #22d3ee;
  animation: cbzBootSpin 0.95s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.cbz-boot-ring--inner {
  inset: 8px;
  border-width: 2px;
  border-color: rgba(47, 125, 255, 0.18);
  border-bottom-color: #2f7dff;
  border-left-color: #54f7c7;
  animation: cbzBootSpinReverse 1.35s linear infinite;
}

.cbz-boot-ball {
  width: 34px;
  height: 34px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 229, 155, 0.24));
  animation: cbzBootPulse 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.cbz-boot-wordmark {
  width: 152px;
  max-width: 62vw;
  height: auto;
  aspect-ratio: 640 / 181;
  object-fit: contain;
  display: block;
}

.cbz-boot-track {
  position: relative;
  width: 100%;
  max-width: 196px;
  height: 4px;
  border-radius: 999px;
  background: #0c1620;
  border: 1px solid rgba(42, 58, 73, 0.7);
  overflow: hidden;
}

.cbz-boot-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 44%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00e59b 0%, #22d3ee 55%, #2f7dff 100%);
  animation: cbzBootSweep 1.25s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.cbz-boot-status {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #a7b8c7;
}

@keyframes cbzBootSpin {
  to { transform: rotate(360deg); }
}

@keyframes cbzBootSpinReverse {
  to { transform: rotate(-360deg); }
}

@keyframes cbzBootPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes cbzBootSweep {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(240%); }
}

@media (prefers-reduced-motion: reduce) {
  .cbz-boot-ring,
  .cbz-boot-ring--inner,
  .cbz-boot-ball,
  .cbz-boot-bar {
    animation: none !important;
  }
  .cbz-boot-bar {
    width: 60%;
    transform: translateX(30%);
  }
}
