* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #394867;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 107, 74, 0.26), transparent 30%),
    radial-gradient(circle at 78% 0%, rgba(244, 184, 96, 0.24), transparent 34%),
    linear-gradient(145deg, #172033 0%, #243b6b 52%, #394867 100%);
  color: #172033;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.redirect-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px 14px;
}

.redirect-card {
  width: min(100%, 30.375rem);
  padding: 28px 20px 24px;
  border: 1px solid rgba(255, 247, 237, 0.46);
  border-radius: 26px;
  background: rgba(255, 247, 237, 0.94);
  box-shadow: 0 24px 60px rgba(10, 17, 32, 0.32);
  text-align: center;
}

.redirect-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: #eaf0ff;
  box-shadow: 0 12px 26px rgba(36, 59, 107, 0.18);
}

.redirect-logo {
  max-width: 68px;
  max-height: 68px;
  object-fit: contain;
}

.redirect-kicker {
  margin: 0 0 8px;
  color: #ff6b4a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #172033;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.12;
}

.redirect-copy {
  margin: 14px auto 22px;
  max-width: 28rem;
  color: #394867;
  font-size: 15px;
  line-height: 1.6;
}

.redirect-progress {
  height: 10px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(36, 59, 107, 0.12);
}

.redirect-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6b4a, #f4b860);
  animation: redirect-progress 1.2s ease-in-out infinite;
}

.redirect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  max-width: 280px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ff6b4a;
  box-shadow: 0 12px 24px rgba(255, 107, 74, 0.28);
  color: #fff7ed;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.redirect-button:hover,
.redirect-button:focus-visible {
  background: #d94e32;
  outline: none;
}

.redirect-note {
  margin: 14px 0 0;
  color: rgba(23, 32, 51, 0.68);
  font-size: 13px;
}

@keyframes redirect-progress {
  0% {
    transform: translateX(-105%);
  }

  55% {
    transform: translateX(82%);
  }

  100% {
    transform: translateX(245%);
  }
}
