/* Сброс и базовые настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
               Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #09203f 0%, #537895 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Контейнер для центрирования */
.download-container {
  width: 100%;
  max-width: 400px;
  padding: 0 16px;
}

/* Собственно карточка */
.download-box {
  position: relative;
  background-color: rgba(20, 40, 70, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Иконка сверху */
.download-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Заголовок */
h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Текст статуса */
#loader-text {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 12px;
}

/* Текст ошибки */
.error-text {
  font-size: 14px;
  color: #ff8080;
  min-height: 1.2em; /* чтобы не прыгал layout */
}

/* Адаптив */
@media (max-width: 480px) {
  .download-box {
    padding: 20px;
  }
  h1 {
    font-size: 20px;
  }
  #loader-text, .error-text {
    font-size: 14px;
  }
  .download-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }
}
