@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

:root {
  --navy: #060D1F;
  --blue-1: #6366F1;
  --blue-2: #3B82F6;
  --blue-logo: #0EA5E9;
  --gold: #FFC107;
  --white: #F8FAFC;
  --muted: #9CA8C7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  overflow-x: hidden;
}

/* brilho/neon azul de fundo, no mesmo clima do site/app, com leve deriva contínua */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  animation: drift 12s ease-in-out infinite alternate;
}

body::before {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
}

body::after {
  width: 480px;
  height: 480px;
  bottom: -160px;
  right: -160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent 70%);
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 20px) scale(1.15); }
}

/* elementos decorativos: linhas de circuito neon + chips da plataforma, tudo leve (CSS/SVG, sem imagens) */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.22;
}

.circuit__path {
  fill: none;
  stroke: url(#circuitGrad);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  animation: flow 10s linear infinite;
}

.circuit__path--2 { animation-duration: 13s; animation-direction: reverse; }
.circuit__path--3 { animation-duration: 16s; }

@keyframes flow {
  to { stroke-dashoffset: -480; }
}

.chip {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-logo);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0.4;
  white-space: nowrap;
  animation: chipFloat 7s ease-in-out infinite;
}

.chip--gold {
  color: var(--gold);
  border-color: rgba(255, 193, 7, 0.25);
}

.chip--1 { top: 12%; left: 8%; animation-delay: 0s; }
.chip--2 { top: 22%; right: 9%; animation-delay: 1.5s; }
.chip--3 { bottom: 24%; left: 6%; animation-delay: 0.8s; }
.chip--4 { bottom: 14%; right: 7%; animation-delay: 2.2s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 640px) {
  .chip { display: none; }
}

@media (max-width: 480px) {
  .logo { width: 120px; margin-bottom: 4px; }
  .mascote { width: 112px; height: 112px; margin-bottom: 12px; }
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo,
.mascote,
.tagline,
.link,
.footer {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}

.logo { animation-delay: 0.05s; }
.mascote { animation-delay: 0.15s; }
.tagline { animation-delay: 0.25s; }
.links .link:nth-child(1) { animation-delay: 0.35s; }
.links .link:nth-child(2) { animation-delay: 0.45s; }
.links .link:nth-child(3) { animation-delay: 0.55s; }
.footer { animation-delay: 0.65s; }

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

.logo {
  width: 150px;
  height: auto;
  margin-bottom: 12px;
}

.mascote {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 26px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 24px rgba(255, 193, 7, 0.35);
  margin-bottom: 16px;
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.6s ease forwards 0.15s, float 3.2s ease-in-out 0.8s infinite;
}

.mascote:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 32px rgba(255, 193, 7, 0.55);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.tagline {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 300px;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* brilho que varre o botão ao passar o mouse */
.link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.link:hover::before {
  left: 130%;
}

.link__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.link__arrow {
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.link:hover .link__arrow,
.link:focus-visible .link__arrow {
  opacity: 1;
  transform: translateX(0);
}

.link:active {
  transform: translateY(-1px) scale(0.98);
}

.link__title {
  font-weight: 900;
  font-size: 17px;
  color: var(--white);
}

.link__desc {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

.link--primary {
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2));
  background-size: 200% 100%;
  background-position: 0% 0%;
  border: none;
}

.link--primary .link__title,
.link--primary .link__desc {
  color: var(--white);
}

.link--primary:hover,
.link--primary:focus-visible {
  transform: translateY(-3px) scale(1.02);
  background-position: 100% 0%;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.45);
}

.link--whatsapp {
  border-color: rgba(255, 193, 7, 0.4);
}

.link--whatsapp .link__title {
  color: var(--gold);
}

.link--whatsapp:hover,
.link--whatsapp:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(255, 193, 7, 0.25);
}

.link--whatsapp .link__arrow {
  color: var(--gold);
}

.footer {
  margin-top: 40px;
  font-size: 12px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
