@font-face {
  font-family: 'ABC Arizona Flare';
  src: url('https://storage.googleapis.com/previ-static/fonts/arizona_flare_medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('https://storage.googleapis.com/previ-static/fonts/gilroy-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('https://storage.googleapis.com/previ-static/fonts/gilroy-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
}

#loading-screen {
  position: fixed;
  inset: 0;
  background: #E6E3DF;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 40px;
}

.previ-logo {
  height: 48px;
}

.savings-text {
  font-family: 'ABC Arizona Flare', serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1.2;
  text-align: center;
  color: #000;
  margin-bottom: 0;
  max-width: 90vw;
  word-break: break-word;
}

.gathering-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px;
}

.gathering-text {
  font-family: 'Gilroy', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  color: #000;
  text-align: center;
  max-width: 90vw;
  word-break: break-word;
  margin-bottom: 24px;
}

.gathering-bar {
  width: 100%;
  height: 4px;
  background: #0680C5;
  border-radius: 8px;
}

.loader {
  display: block;
  position: relative;
  height: 4px;
  width: 322px;
  max-width: 100%;
  background: #D3CCBD;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
}

.loader::after {
  content: '';
  width: 40%;
  height: 100%;
  background: #0680C5;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animloader 2s linear infinite;
}

@keyframes animloader {
  0% {
    left: 0;
    transform: translateX(-100%);
  }
  100% {
    left: 100%;
    transform: translateX(0%);
  }
}

@media (max-width: 600px) {
  .loading-content {
    gap: 40px;
    padding: 20px;
  }
  .savings-text {
    font-size: 32px;
    max-width: 95vw;
  }
  .gathering-container {
    padding: 16px 8px;
  }
  .loader {
    width: 180px;
    max-width: 100%;
    margin: 0 10px;
  }
} 