:root {
  --bg-deep: #14152b;
  --bg-panel: #262a52;
  --bg-glow: #3a3765;
  --lime: #c3d96a;
  --green: #6fb42c;
  --ink: #f4f6f2;
  --ink-muted: #a9b0c9;

  --font-display: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  background-image: radial-gradient(circle at 18% 15%, var(--bg-glow) 0%, transparent 55%),
                     radial-gradient(circle at 85% 90%, var(--bg-panel) 0%, transparent 50%);
  color: var(--ink);
  position: relative;
}

.bg-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  color: var(--ink);
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.25;
}

.shape-1 {
  width: 420px;
  height: 420px;
  background: var(--lime);
  top: -140px;
  right: -120px;
}

.shape-2 {
  width: 360px;
  height: 360px;
  background: var(--green);
  bottom: -150px;
  left: -140px;
}

.watermark {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -140px;
  bottom: -140px;
  opacity: 0.05;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vh, 20px);
  padding: clamp(12px, 3vh, 28px) 20px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 640px;
  width: 100%;
  padding: clamp(20px, 4vh, 44px) 28px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.labi-logo {
  width: min(280px, 60vw);
  max-height: 22vh;
  height: auto;
  object-fit: contain;
  margin-bottom: clamp(14px, 2.5vh, 28px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  background: rgba(195, 217, 106, 0.12);
  border: 1px solid rgba(195, 217, 106, 0.35);
  color: var(--lime);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: clamp(12px, 2.5vh, 22px);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(195, 217, 106, 0.7);
  animation: pulse 1.8s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(195, 217, 106, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(195, 217, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(195, 217, 106, 0); }
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: clamp(10px, 2vh, 16px);
  line-height: 1.3;
  text-wrap: balance;
}

.message {
  font-family: var(--font-body);
  color: var(--ink-muted);
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: clamp(18px, 3vh, 32px);
}

.message strong {
  color: var(--lime);
  font-weight: 600;
}

.btn-resultados {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: #14210f;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  padding: clamp(12px, 2vh, 16px) 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(111, 180, 44, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-resultados:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(111, 180, 44, 0.48);
}

.btn-resultados:active {
  transform: translateY(0);
}

.btn-resultados:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.hint {
  font-family: var(--font-mono);
  margin-top: clamp(10px, 2vh, 18px);
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.footer {
  text-align: center;
  font-family: var(--font-body);
  color: var(--ink-muted);
  font-size: 0.8rem;
  padding: 0 12px;
}

@media (max-width: 480px) {
  .card {
    padding: 24px 18px;
  }
}

/* Celulares em modo paisagem (tela baixa) */
@media (max-height: 480px) and (orientation: landscape) {
  .container {
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }
  .card {
    padding: 16px 24px;
  }
  .labi-logo {
    max-height: 15vh;
    margin-bottom: 10px;
  }
  .badge {
    margin-bottom: 10px;
  }
  h1 {
    margin-bottom: 8px;
  }
  .message {
    margin-bottom: 14px;
  }
  .hint {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --ink-muted: #d4d8e8;
  }
  .card {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
  }
}
