/* ============================================
   CORUJA OFERTAS — Lead Capture Page
   Theme: Dark Tech / Gaming  |  Roxo + Azul Neon
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep:      #070510;
  --purple:       #7c3aed;
  --purple-light: #a855f7;
  --blue:         #3b82f6;
  --blue-light:   #60a5fa;
  --whatsapp:     #178641;
  --telegram:     #0270A2;
  --text-white:   #ffffff;
  --text-muted:   rgba(255,255,255,0.65);
  --glow-purple:  0 0 20px rgba(124, 58, 237, 0.7), 0 0 60px rgba(124, 58, 237, 0.3);
}

html {
  font-size: 16px;
-webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 32px;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ---------- Background gradient animado ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 60%),
    var(--bg-deep);
  z-index: 0;
  pointer-events: none;
}

/* ---------- Ticker topo ---------- */
.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #7c3aed;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.5);
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
}

.ticker-track span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 0 32px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.ticker-track span::before {
  content: '⚡';
  margin-right: 10px;
  color: #facc15;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Partículas flutuantes ---------- */
.particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.particles span {
  display: block;
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple-light);
  opacity: 0;
  animation: float-particle linear infinite;
}

.particles span:nth-child(1)  { left: 5%;   animation-duration: 12s; animation-delay: 0s;    width: 2px; height: 2px; }
.particles span:nth-child(2)  { left: 15%;  animation-duration: 18s; animation-delay: 2s;    background: var(--blue-light); }
.particles span:nth-child(3)  { left: 25%;  animation-duration: 14s; animation-delay: 4s;    width: 4px; height: 4px; }
.particles span:nth-child(4)  { left: 35%;  animation-duration: 20s; animation-delay: 1s;    background: var(--blue-light); width: 2px; height: 2px; }
.particles span:nth-child(5)  { left: 45%;  animation-duration: 16s; animation-delay: 3s;    }
.particles span:nth-child(6)  { left: 55%;  animation-duration: 22s; animation-delay: 5s;    background: var(--blue-light); width: 4px; height: 4px; }
.particles span:nth-child(7)  { left: 65%;  animation-duration: 13s; animation-delay: 0.5s;  }
.particles span:nth-child(8)  { left: 75%;  animation-duration: 17s; animation-delay: 2.5s;  background: var(--blue-light); }
.particles span:nth-child(9)  { left: 85%;  animation-duration: 19s; animation-delay: 4.5s;  width: 2px; height: 2px; }
.particles span:nth-child(10) { left: 92%;  animation-duration: 15s; animation-delay: 1.5s;  background: var(--blue-light); }
.particles span:nth-child(11) { left: 10%;  animation-duration: 21s; animation-delay: 6s;    width: 2px; height: 2px; background: var(--blue-light); }
.particles span:nth-child(12) { left: 30%;  animation-duration: 11s; animation-delay: 7s;    }
.particles span:nth-child(13) { left: 50%;  animation-duration: 23s; animation-delay: 3.5s;  background: var(--blue-light); width: 4px; height: 4px; }
.particles span:nth-child(14) { left: 70%;  animation-duration: 16s; animation-delay: 8s;    width: 2px; height: 2px; }
.particles span:nth-child(15) { left: 88%;  animation-duration: 14s; animation-delay: 6.5s;  background: var(--blue-light); }

@keyframes float-particle {
  0%   { bottom: -10px; opacity: 0; transform: translateX(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { bottom: 110vh; opacity: 0; transform: translateX(30px); }
}

/* ---------- Container Principal ---------- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 48px 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Avatar ---------- */
.avatar-wrapper {
  margin-bottom: 32px;
  animation: avatar-enter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes avatar-enter {
  from { opacity: 0; transform: scale(0.5) translateY(-20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.avatar-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  box-shadow: var(--glow-purple);
  animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: var(--glow-purple); }
  50%       { box-shadow: 0 0 30px rgba(124, 58, 237, 0.9), 0 0 80px rgba(124, 58, 237, 0.4), 0 0 20px rgba(59,130,246,0.5); }
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--bg-deep);
}

/* ---------- Headline ---------- */
.headline {
  text-align: center;
  margin-bottom: 16px;
  animation: fade-up 0.7s ease 0.35s both;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.headline-top {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.bold-word {
  font-weight: 800;
  color: #ffffff;
}

.headline-tech {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.mundo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 6px;
}

.tech {
  font-size: 3.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f97316, #ef4444, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 3px rgba(249, 115, 22, 0.2));
  animation: tech-glow 2.5s ease-in-out infinite;
}

@keyframes tech-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(249, 115, 22, 0.2)); }
  50%       { filter: drop-shadow(0 0 6px rgba(249, 115, 22, 0.35)) drop-shadow(0 0 12px rgba(239, 68, 68, 0.15)); }
}

/* ---------- Sub-headline ---------- */
.subheadline {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 28px;
  animation: fade-up 0.7s ease 0.45s both;
}

/* ---------- Badge "grupo ativo" ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 9px 20px;
  border-radius: 100px;
  margin-top: 24px;
  animation: fade-up 0.7s ease 0.55s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: dot-blink 1.4s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0); }
}

/* ---------- Botões CTA ---------- */
.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fade-up 0.7s ease 0.65s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 52px;
  min-height: 64px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid #ffffff;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.btn-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.btn:active {
  transform: scale(0.97) !important;
  animation: none !important;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 0 22px rgba(23, 134, 65, 0.75), 0 0 40px rgba(23, 134, 65, 0.3);
  }
}

@keyframes pulse-telegram {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 0 22px rgba(2, 112, 162, 0.75), 0 0 40px rgba(2, 112, 162, 0.3);
  }
}

/* WhatsApp */
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  animation: pulse-whatsapp 0.9s ease-in-out infinite;
}

/* Telegram */
.btn-telegram {
  background: var(--telegram);
  color: #fff;
  animation: pulse-telegram 0.9s ease-in-out infinite;
}

/* ---------- Benefícios ---------- */
.benefits {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
  animation: fade-up 0.7s ease 0.8s both;
  width: 100%;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  flex: 1;
}

.benefit-icon {
  font-size: 1.7rem;
  line-height: 1;
}

/* ---------- Animação genérica de entrada ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsivo para telas menores ---------- */
@media (max-width: 380px) {
  .container {
    padding: 36px 18px 24px;
  }

  .tech {
    font-size: 2.2rem;
  }

  .mundo {
    font-size: 1rem;
  }

  .headline-top {
    font-size: 1.1rem;
  }

  .avatar-ring {
    width: 120px;
    height: 120px;
  }

  .btn {
    padding: 18px 28px;
    font-size: 0.95rem;
  }

  .subheadline {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

/* ---------- Content wrapper (mobile base) ---------- */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ---------- Telas maiores (desktop) ---------- */
@media (min-width: 768px) {
  .ticker-bar {
    height: 38px;
    border-bottom-width: 1px;
  }

  .ticker-track span {
    font-size: 0.78rem;
    padding: 0 40px;
    letter-spacing: 0.14em;
  }

  body {
    padding-top: 38px;
  }

  body::before {
    background:
      radial-gradient(ellipse 60% 60% at 50% -5%, rgba(124, 58, 237, 0.3) 0%, transparent 70%),
      radial-gradient(ellipse 40% 50% at 85% 70%, rgba(59, 130, 246, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 35% 40% at 15% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
      var(--bg-deep);
  }

  .container {
    max-width: 1060px;
    flex-direction: row;
    align-items: center;
    gap: 64px;
    padding: 80px 80px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 28px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 64px rgba(0, 0, 0, 0.4);
  }

  .avatar-wrapper {
    order: 2;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .avatar-ring {
    width: 320px;
    height: 320px;
  }

  .content {
    order: 1;
    flex: 1;
    align-items: flex-start;
  }

  .headline {
    text-align: left;
    margin-bottom: 20px;
  }

  .subheadline {
    margin-bottom: 32px;
  }

  .cta-wrapper {
    align-items: flex-start;
    width: 100%;
    gap: 14px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .badge {
    align-self: flex-start;
    margin-top: 32px;
  }

  .benefits {
    justify-content: flex-start;
    margin-top: 36px;
    gap: 28px;
  }

  .benefit-item {
    flex-direction: row;
    gap: 8px;
    font-size: 0.85rem;
    flex: unset;
  }

  .benefit-icon {
    font-size: 1.2rem;
  }

  .tech {
    font-size: 5.5rem;
  }

  .mundo {
    font-size: 1.8rem;
    margin-top: 12px;
  }

  .headline-top {
    font-size: 1.6rem;
  }

}
