:root {
  --page-bg: #ddefd0;
  --card-bg: #ffffff;
  --text: #101828;
  --button: #57d900;
  --button-hover: #4fc900;
  --shadow: 0 4px 6px rgba(16, 24, 40, 0.18), 0 1px 2px rgba(16, 24, 40, 0.10);
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

button,
a {
  font: inherit;
}

.page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background-color: var(--page-bg);
  background-image: url("assets/background.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.redirect-card {
  width: min(375px, calc(100vw - 48px));
  min-height: 285px;
  padding: 24px 24px 23px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.logos {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 21px;
}

.logo {
  display: block;
  width: 60px;
  height: auto;
  object-fit: contain;
}

.wayme-logo {
  height: 60px;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.7px;
  text-align: center;
  white-space: nowrap;
}

.countdown-copy {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
}

.countdown {
  display: inline-block;
  margin-left: 2px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.manual-copy {
  margin: 18px 0 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-align: center;
}

.continue-button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--button);
  color: #000000;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.continue-button:hover {
  background: var(--button-hover);
}

.continue-button:active {
  transform: translateY(1px);
}

.continue-button:focus-visible {
  outline: 3px solid rgba(87, 217, 0, 0.36);
  outline-offset: 3px;
}

@media (max-width: 430px) {
  .page {
    padding: 18px;
    background-size: auto 100%;
  }

  .redirect-card {
    width: 100%;
    min-height: auto;
    padding: 24px;
  }

  h1 {
    font-size: clamp(24px, 7.1vw, 30px);
    line-height: 1.2;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .continue-button {
    transition: none;
  }
}
