:root {
  --bg-start: #0e2246;
  --bg-end: #060b1a;
  --card-start: #10264d;
  --card-end: #0b1a33;
  --primary-1: #5aa8ff;
  --primary-2: #8fc2ff;
  --button-1: #4f8fff;
  --button-2: #2f6fff;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-soft: rgba(255, 255, 255, 0.56);
  --shadow-card: 0 25px 50px rgba(0, 0, 0, 0.45);
  --shadow-button: 0 10px 25px rgba(79, 143, 255, 0.45);
  --radius-card: 22px;
  --radius-button: 14px;
  --max-width: 360px;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--text-main);
  background: radial-gradient(circle at top, var(--bg-start), var(--bg-end));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.card {
  width: 100%;
  max-width: var(--max-width);
  padding: 26px 22px 28px;
  text-align: center;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, var(--card-start), var(--card-end));
  box-shadow: var(--shadow-card);
}

.title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.subtitle {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.loader-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
}

.loader {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary-1);
  box-shadow: 0 0 18px rgba(90, 168, 255, 0.6);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.percent {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 700;
  color: #6bb2ff;
}

.progress {
  width: 100%;
  height: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.progress-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  transition: width 0.05s linear;
}

.note {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
}

.btn {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: var(--radius-button);
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(180deg, var(--button-1), var(--button-2));
  box-shadow: var(--shadow-button);
}

.btn:active {
  transform: scale(0.98);
}