@font-face {
    font-family: 'TitrBold';
    src: url('../fonts/Titr-Bold.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Vazirmatn', sans-serif; background: #f9fbf9; }

#welcome-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #e4fee0);
  color: #0f172a;
  font-family: 'TitrBold', sans-serif;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#welcome-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#welcome-screen img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  border-radius: 20%;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

#welcome-screen h1 {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'TitrBold', sans-serif;
  margin-bottom: 10px;
}

#welcome-screen p {
  font-size: 1rem;
  opacity: 0.8;
  font-family: 'TitrBold', sans-serif;
  margin-bottom: 20px;
}

.progress {
  width: 200px;
  height: 10px;
  background: #e4f0e2;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #06d40d, #41f63b);
  border-radius: 999px;
  transition: width 0.3s linear;
}

.percent {
  font-size: 0.9rem;
  color: #335534;
}