:root {
  --fg: #1a2330;
  --muted: #5b6570;
  --blue: #3f56a2;
  --accent: #045a8d;
  --panel: #ffffff;
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  font-family: var(--font-body);
  color: var(--fg);
  background:
    radial-gradient(ellipse 90% 70% at 80% -10%, rgba(211, 35, 72, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(63, 86, 162, 0.14), transparent 55%),
    linear-gradient(180deg, #f7f9fb, #eef2f6);
}

.panel {
  width: min(100%, 40rem);
  background: var(--panel);
  border: 1px solid rgba(20, 20, 20, 0.06);
  border-radius: 1.1rem;
  box-shadow: 0 18px 50px rgba(20, 40, 70, 0.08);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  animation: rise 0.65s ease both;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.5rem;
  width: 100%;
}

.logo-link {
  display: grid;
  place-items: center;
  line-height: 0;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.logo-link:hover {
  transform: translateY(-1px);
}

.logo-link img {
  display: block;
  width: min(42vw, 12.5rem);
  height: auto;
  border-radius: 0.45rem;
}

.logo-antes {
  width: min(38vw, 10.5rem) !important;
}

.divider {
  width: 1px;
  height: 3.25rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(63, 86, 162, 0.35),
    transparent
  );
}

.meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.redirect {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 2.4vw, 1.1rem);
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.redirect a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.redirect a:hover {
  text-decoration: underline;
}

.count {
  color: var(--fg);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.mail {
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.mail:hover {
  text-decoration: underline;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .divider {
    display: none;
  }

  .logos {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
