html {
  overflow-x: hidden;
  overflow-y: scroll;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #FAFAF7;
  min-block-size: 100vh;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#loading-bg {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FAFAF7;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.loading-logo {
  width: 180px;
  max-width: 60vw;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoEntry 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.loading-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.loading-bar {
  position: relative;
  width: 220px;
  height: 3px;
  background: rgba(227, 6, 19, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.loading-bar::after {
  content: '';
  position: absolute;
  left: -40%;
  top: 0;
  bottom: 0;
  width: 40%;
  background: #E30613;
  border-radius: 99px;
  animation: g4s-load 1.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loading-tag {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #71717A;
}

@keyframes g4s-load {
  0%   { left: -40%; }
  60%  { left: 100%; }
  100% { left: 100%; }
}

@keyframes logoEntry {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
