#boda-preloader {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(
    165deg,
    #f5ede0 0%,
    #e8d9c4 45%,
    #ddd0b8 100%
  );
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

#boda-preloader.boda-preloader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boda-preloader-inner {
  width: min(320px, 88vw);
  text-align: center;
}

.boda-preloader-title {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 400;
  color: #4a3728;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.boda-preloader-hook {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 6.5vw, 28px);
  color: #2c1a0e;
  line-height: 1.35;
  margin-bottom: 28px;
  padding: 0 8px;
}

.boda-preloader-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(44, 26, 14, 0.12);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(44, 26, 14, 0.08);
}

.boda-preloader-track::before,
.boda-preloader-track::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  border: 1px solid rgba(201, 146, 42, 0.5);
  background: #f5ede0;
  z-index: 2;
}

.boda-preloader-track::before {
  left: -2px;
}

.boda-preloader-track::after {
  right: -2px;
}

.boda-preloader-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a67c2e 0%, #c9922a 50%, #e8c56a 100%);
  box-shadow: 0 0 12px rgba(201, 146, 42, 0.35);
  transition: width 0.2s ease-out;
}

.boda-preloader-pct {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #6b5344;
  margin-top: 14px;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.boda-preloader-detail {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #8a7568;
  margin-top: 8px;
  min-height: 1.2em;
  font-style: italic;
}

body.boda-preloading {
  overflow: hidden;
}

body.boda-preloading #boda-intro {
  visibility: hidden;
}

body.boda-preloading #root {
  visibility: hidden;
}
