@font-face {
  font-family: "RobotoLocal";
  src: url("./assets/fonts/roboto/Roboto-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PoppinsLocal";
  src: url("./assets/fonts/poppins/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #1d1e2f;
  --foreground: #f9f9fa;
  --muted: rgba(249, 249, 250, 0.74);
  --border: rgba(249, 249, 250, 0.12);
  --primary: #00bec7;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "RobotoLocal", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--foreground);
  background:
    radial-gradient(circle at top left, rgba(0, 190, 199, 0.12), transparent 28%),
    linear-gradient(180deg, #27273c 0%, var(--background) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(249, 249, 250, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(249, 249, 250, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 82%);
  pointer-events: none;
}

.redirect-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 24px;
}

.redirect-card {
  width: min(100%, 620px);
  text-align: center;
}

.redirect-logo {
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto 32px;
}

.redirect-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "PoppinsLocal", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

strong {
  font-weight: 900;
}

.redirect-copy {
  max-width: 52ch;
  margin: 22px auto 0;
  color: var(--foreground);
  font-size: 1.06rem;
  line-height: 1.8;
}

.redirect-copy-subtle {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.98rem;
}

.redirect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 900;
  border: 1px solid rgba(0, 190, 199, 0.34);
  background: linear-gradient(135deg, var(--primary) 0%, #00ABB3 100%);
  color: var(--foreground);
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(0, 190, 199, 0.16);
}

.redirect-footer {
  display: flex;
  justify-content: center;
  padding: 0 24px 28px;
}

.redirect-footer-link {
  display: inline-flex;
  gap: 14px;
  color: var(--muted);
  text-decoration: none;
}

.redirect-footer-url {
  margin-top:4px;
}


.redirect-footer-logo {
  width: auto;
  height: 22px;
}

@media (max-width: 640px) {
  .redirect-page {
    padding-top: 32px;
  }

  .redirect-logo {
    width: min(100%, 220px);
    margin-bottom: 32px;
  }

  .redirect-button {
    width: 100%;
  }

  .redirect-footer-link {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
