/* CTA para tráfego de anúncios — trucoonline.app.br (v1) */
.cta-end {
  max-width: 760px;
  margin: 40px auto 32px;
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(99, 233, 255, .15);
}
.cta-end-title { font-size: 1.35rem; font-weight: 800; margin: 0; color: #fff; }

.cta-sticky { display: none; }

@media (max-width: 768px) {
  .cta-sticky {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    background: rgb(99, 233, 255);
    color: rgb(7, 16, 35);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-weight: 900;
    letter-spacing: .05em;
    text-align: center;
    padding: 15px 16px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(99, 233, 255, .18), 0 6px 24px rgba(0, 0, 0, .45), 0 0 28px rgba(99, 233, 255, .24);
  }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* v2 — pulso no botão JOGAR AGORA do cabeçalho e no CTA principal */
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(99, 233, 255, .70), 0 0 28px rgba(99, 233, 255, .24); transform: scale(1); }
  50%  { transform: scale(1.06); }
  70%  { box-shadow: 0 0 0 14px rgba(99, 233, 255, 0), 0 0 28px rgba(99, 233, 255, .24); }
  100% { box-shadow: 0 0 0 0 rgba(99, 233, 255, 0), 0 0 28px rgba(99, 233, 255, .24); transform: scale(1); }
}
.header-cta[data-cta="header"],
.hub-actions [data-cta="hero"],
.cta-sticky {
  animation: cta-pulse 1.8s ease-out infinite;
  will-change: transform, box-shadow;
}
.header-cta[data-cta="header"]:hover,
.hub-actions [data-cta="hero"]:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .header-cta[data-cta="header"], .hub-actions [data-cta="hero"], .cta-sticky { animation: none; }
}

/* v5 — barra fixa 4% acima da base no mobile */
@media (max-width: 768px) {
  .cta-sticky { bottom: calc(4vh + env(safe-area-inset-bottom, 0px)); }
}
