﻿

/* go/index.html — página de redirecionamento (layout original) */
:root {
  --rd-ink: #1a1d3b;
  --rd-muted: #4b4f76;
  --rd-surface: #f2eff7;
  --rd-canvas: #ad9dc7;
  --rd-canvas-wide: #111436;
  --rd-accent: #2d3380;
  --rd-green: #04be02;
  --rd-gold: #ffaa09;
  --rd-layout-max: 100%;
  --rd-pad-x: 10px;
}

@media (min-width: 451px) {
  :root {
    --rd-layout-max: min(100vw, calc(100vh * 750 / 1334));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--rd-canvas);
}

@media (min-width: 451px) {
  html {
    background: var(--rd-canvas-wide);
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--rd-ink);
  background: var(--rd-canvas);
}

@media (min-width: 451px) {
  body {
    background: var(--rd-canvas-wide);
  }
}

.redirect-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: min(100%, var(--rd-layout-max));
  margin: 0 auto;
  padding: 1.25rem var(--rd-pad-x) 1.5rem;
}

.redirect-card {
  width: 100%;
  max-width: 420px;
  padding: 1.35rem 1.15rem 1.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 51, 128, 0.18);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(17, 20, 54, 0.12);
}

.redirect-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.redirect-logo {
  display: block;
  width: auto;
  max-width: 160px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}

.redirect-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rd-muted);
}

.redirect-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 4.2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--rd-ink);
}

.redirect-copy {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--rd-muted);
}

.redirect-progress {
  display: block;
  width: 100%;
  height: 4px;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(45, 51, 128, 0.12);
}

.redirect-progress span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rd-green), #028a00);
  animation: rd-progress 1.2s ease-in-out infinite;
}

@keyframes rd-progress {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.redirect-button {
  display: inline-block;
  min-width: 180px;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  background: var(--rd-green);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(4, 190, 2, 0.28);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.redirect-button:hover,
.redirect-button:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: none;
}

.redirect-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--rd-muted);
}
