/* ===========================================================
   Mini Blogueiros — Presell
   Composição fixa (igual ao mockup), montada com CSS Grid/Flex.
   Sem posicionamento absoluto para estruturar os jogos.
   Sem sobreposição em nenhuma resolução.
   Único elemento clicável: o botão verde do WhatsApp.
   =========================================================== */

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

:root {
  --bg-0: #07070d;
  --bg-1: #0b0b16;
  --purple: #a855f7;
  --green-text: #4ade80;
  --text: #ece9f7;
  --muted: #a9a9c2;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg-0);
  background-image:
    radial-gradient(circle at 20% 6%, rgba(124, 58, 237, 0.16), transparent 42%),
    radial-gradient(circle at 82% 20%, rgba(88, 28, 135, 0.15), transparent 40%),
    radial-gradient(circle at 50% 108%, rgba(124, 58, 237, 0.12), transparent 46%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

/* ---------- Glow roxo discreto no fundo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(75px); }
.orb--1 { width: 320px; height: 320px; top: -70px; left: -90px;  background: rgba(139, 92, 246, 0.18); animation: orbDrift 24s ease-in-out infinite; }
.orb--2 { width: 300px; height: 300px; top: 42%;   right: -110px; background: rgba(124, 58, 237, 0.12); animation: orbDrift 30s ease-in-out infinite reverse; }
.orb--3 { width: 300px; height: 300px; bottom: -60px; left: 35%;  background: rgba(88, 28, 135, 0.16);  animation: orbDrift 27s ease-in-out infinite; }
@keyframes orbDrift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(18px, -24px, 0); } }

/* ---------- Palco / coluna central ---------- */
.stage {
  max-width: 460px;
  margin: 0 auto;
  padding: clamp(22px, 6vw, 36px) clamp(14px, 4vw, 22px) clamp(40px, 12vw, 64px);
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ===========================================================
   TOPO — Subway Surf | Foto | Helix Jump  (grid de 3 colunas)
   =========================================================== */
.hero__top {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  column-gap: clamp(6px, 2.5vw, 16px);
  margin-bottom: clamp(18px, 5vw, 30px);
}

/* Foto — elemento central e maior */
.avatar {
  width: clamp(120px, 33vw, 150px);
  height: clamp(120px, 33vw, 150px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  border: 3px solid rgba(168, 85, 247, 0.55);
  box-shadow:
    0 0 0 6px rgba(139, 92, 246, 0.10),
    0 0 34px 4px rgba(139, 92, 246, 0.32);
}

/* ===========================================================
   JOGOS — apenas visuais / NÃO clicáveis
   =========================================================== */
.game {
  margin: 0;
  opacity: 0;
  animation: gameIn 0.8s ease forwards;
}
.game__frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: rgba(139, 92, 246, 0.04);
  box-shadow: 0 6px 24px -12px rgba(139, 92, 246, 0.45);
  animation: floaty 9s ease-in-out infinite;
}
.game__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.96) saturate(0.98);
  pointer-events: none;          /* imagens dos jogos não recebem clique */
  cursor: default;
  -webkit-user-drag: none;
  user-select: none;
}
.game__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-top: 8px;
  text-align: center;
  pointer-events: none;
}
.game__name {
  font-size: clamp(0.6rem, 2.5vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9cff5;
  line-height: 1.15;
}
.game__desc {
  font-size: clamp(0.55rem, 2.15vw, 0.66rem);
  color: #8a86ad;
  line-height: 1.2;
}
@keyframes gameIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* Jogos laterais (menores que a foto) */
.side-game { width: 100%; max-width: clamp(84px, 26vw, 120px); }
.side-game .game__frame { aspect-ratio: 3 / 4; }
.side-game:first-of-type { animation-delay: 0.05s; }
.side-game:last-of-type  { animation-delay: 0.15s; }
.side-game:first-of-type .game__img { object-position: center 22%; }
.side-game:last-of-type  .game__img { object-position: center; }

/* ===========================================================
   TÍTULO / TEXTO
   =========================================================== */
.headline {
  margin: 0;
  font-size: clamp(1.5rem, 6.2vw, 2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.hl-accent {
  background: linear-gradient(90deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  margin: clamp(12px, 3vw, 16px) 0 clamp(20px, 5vw, 28px);
  font-size: clamp(0.92rem, 3.5vw, 1.06rem);
  line-height: 1.5;
  color: var(--muted);
}
.subtitle .money { color: var(--green-text); font-weight: 700; text-transform: uppercase; }

/* ===========================================================
   BOTÃO WHATSAPP — único elemento clicável
   =========================================================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  padding: clamp(15px, 4vw, 18px) 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, #37ff93 0%, #00e15c 100%);
  color: #03210f;
  font-size: clamp(1rem, 4vw, 1.16rem);
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0, 230, 100, 0.65);
  animation: ctaPulse 1.25s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.cta svg { width: 1.45em; height: 1.45em; flex: none; }
.cta:hover { filter: brightness(1.05); }
.cta:active { transform: scale(0.985); }
@keyframes ctaPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 8px 24px -10px rgba(0, 230, 100, 0.6), 0 0 0 0 rgba(55, 255, 147, 0.55);
  }
  50% {
    transform: scale(1.035);
    filter: brightness(1.25) saturate(1.18);
    box-shadow: 0 16px 44px -8px rgba(0, 240, 110, 0.9), 0 0 0 16px rgba(55, 255, 147, 0);
  }
}

/* ===========================================================
   INFERIOR — Block Win | Bubble Shooter | Raspadinha (grid 3 col)
   =========================================================== */
.decor--bottom {
  width: 100%;
  margin-top: clamp(26px, 8vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  column-gap: clamp(8px, 3vw, 18px);
}
.bottom-game { width: 100%; }
.bottom-game .game__frame { aspect-ratio: 4 / 3; }
.bottom-game:nth-of-type(1) { animation-delay: 0.25s; }
.bottom-game:nth-of-type(2) { animation-delay: 0.35s; }
.bottom-game:nth-of-type(3) { animation-delay: 0.45s; }
.bottom-game:nth-of-type(2) .game__frame { animation-delay: -3s; }
.bottom-game:nth-of-type(3) .game__frame { animation-delay: -6s; }
.bottom-game:nth-of-type(1) .game__img { object-position: left center; }
.bottom-game:nth-of-type(2) .game__img { object-position: center 36%; }
.bottom-game:nth-of-type(3) .game__img { object-position: center; }

/* ---------- Entrada suave dos textos ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===========================================================
   TABLET  (>= 768px) — mesma composição, proporções maiores
   =========================================================== */
@media (min-width: 768px) {
  .stage { max-width: 600px; padding-top: 44px; }
  .hero__top { column-gap: clamp(14px, 3vw, 28px); margin-bottom: 30px; }
  .avatar { width: clamp(150px, 20vw, 180px); height: clamp(150px, 20vw, 180px); }
  .side-game { max-width: clamp(120px, 17vw, 150px); }
  .headline { font-size: clamp(1.9rem, 3.4vw, 2.3rem); }
  .subtitle { font-size: 1.08rem; }
  .decor--bottom { column-gap: clamp(16px, 3vw, 28px); }
  .game__name { font-size: 0.8rem; }
  .game__desc { font-size: 0.72rem; }
}

/* ===========================================================
   DESKTOP  (>= 1280px)
   =========================================================== */
@media (min-width: 1280px) {
  .stage { max-width: 640px; padding-top: 56px; }
  .avatar { width: 190px; height: 190px; }
  .side-game { max-width: 160px; }
  .headline { font-size: 2.5rem; }
  .decor--bottom { column-gap: 36px; }
}

/* ===========================================================
   TELAS GRANDES  (>= 1600px)
   =========================================================== */
@media (min-width: 1600px) {
  .stage { max-width: 680px; }
}

/* ===========================================================
   ACESSIBILIDADE — reduzir movimento
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .game { opacity: 1; }
}
