/**
 * First paint before the JS bundle (mirrors GenericPageSkeleton.module.css).
 * Linked from index.html — keep visually aligned when either changes.
 */

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #eef2f1;
  font-family: 'Zoho Puvi', system-ui, -apple-system, sans-serif;
}

#root {
  min-height: 100vh;
  width: 100%;
}

.static-gps {
  position: fixed;
  inset: 0;
  z-index: 1100;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  box-sizing: border-box;
  background: linear-gradient(
    165deg,
    #e8f4f0 0%,
    #f0f7f4 28%,
    #eef2f1 58%,
    #e3f0eb 100%
  );
  overflow: hidden;
  isolation: isolate;
}

.static-gps::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 90%;
  background: radial-gradient(
    ellipse 65% 55% at 50% 35%,
    rgba(74, 155, 133, 0.14) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.static-gps__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: min(100%, 48rem);
}

.static-gps__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.static-gps__logo {
  height: clamp(100px, 22vw, 148px);
  width: auto;
  max-width: min(100%, 300px);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

.static-gps__title {
  margin: 0;
  font-size: clamp(24px, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3a7a68;
  line-height: 1.2;
  animation: static-gps-title-blink 1.75s ease-in-out infinite;
}

.static-gps__tagline {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #4a4a4a;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.static-gps__bar-wrap {
  width: min(220px, 60vw);
  height: 4px;
  border-radius: 9999px;
  background: #e0e0e0;
  overflow: hidden;
}

.static-gps__bar-wrap::after {
  content: '';
  display: block;
  height: 100%;
  width: 45%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #c5e0d6, #4a9b85, #c5e0d6);
  animation: static-gps-bar-slide 1.2s ease-in-out infinite;
}

@keyframes static-gps-title-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.38;
  }
}

@keyframes static-gps-bar-slide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .static-gps__title {
    animation: none;
    opacity: 1;
  }

  .static-gps__bar-wrap::after {
    animation: none;
    transform: none;
    width: 100%;
    opacity: 0.35;
  }
}
