body {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fafafa;
  color: #222;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

/* Word container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Polish word */
h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* English translation */
p {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #555;
  margin: 0;
  font-weight: 400;
}

/* Fade/scale animation */
.fade-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Progress bar container */
.progress-container {
  width: 80%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 20px;
}

/* Progress bar fill */
.progress-bar {
  width: 0%;
  height: 100%;
  background: #000; /* black fill */
  border-radius: 4px;
  transition: width 0.1s linear;
}

#english-translation {
  transform: scale(0.8);
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

#english-translation.visible {
  opacity: 1;
  transform: scale(1);
}

