body {
  margin: 0;
  padding: 0;
  background: #0f0f1a;
  color: white;
  font-family: system-ui, -apple-system, sans-serif;
  height: 100vh;
  overflow: hidden;
}

#qtSplash {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  padding: 24px;                /* ← отступы от краёв экрана */
  box-sizing: border-box;       /* ← чтобы padding не ломал inset:0 */
}

#qtSplash.hidden {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.logo {
  font-size: clamp(2.4rem, 10vw, 5.8rem);   /* ← адаптивный размер */
  font-weight: 900;
  letter-spacing: -4px;
  background: linear-gradient(90deg, #00d4ff, #7c3aed, #ff6bcb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-align: center;                         /* ← центрирование */
}

.subtitle {
  font-size: clamp(0.85rem, 3.2vw, 1.55rem); /* ← адаптивный размер */
  opacity: 0.75;
  margin-bottom: 45px;
  letter-spacing: 1px;
  text-align: center;                         /* ← центрирование */
  padding: 0 16px;                            /* ← отступы по бокам */
}

.progress-container {
  width: min(320px, 75vw);                    /* ← не шире 75% экрана */
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  overflow: hidden;
  margin: 30px 0;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00d4ff, #7c3aed, #ff6bcb);
  border-radius: 5px;
  transition: width 0.5s ease-out;
  box-shadow: 0 0 25px rgba(0,212,255,0.5);
}

.messages {
  font-size: clamp(0.9rem, 3vw, 1.3rem);     /* ← адаптивный размер */
  opacity: 0.85;
  text-align: center;                         /* ← центрирование */
  max-width: 540px;
  width: 100%;                                /* ← занимает доступную ширину */
  line-height: 1.6;
  min-height: 3.6em;
  padding: 0 16px;                            /* ← отступы по бокам */
  box-sizing: border-box;
}

.version {
  position: absolute;
  bottom: 40px;
  font-size: 1rem;
  opacity: 0.4;
}