* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sora', sans-serif;
}

html {
    scroll-behavior: smooth;
}

html,body{
    max-width: 100%;
    overflow-x: hidden;
}

/* =========================
   LOADER (pantalla de carga)
   ========================= */

#loader{
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-logo{
  width: 120px;
  animation: logoPulse 1.8s ease-in-out infinite;
}

@keyframes logoPulse{
  0%{
    transform: translateY(8px);
    opacity: 0;
  }
  100%{
    transform: translateY(0);
    opacity: 1;
  }
}

/* estado oculto */
#loader.hide{
  opacity: 0;
  visibility: hidden;
}

body {
    padding-bottom: 90px;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #111;
    line-height: 1.6;
    overflow-x: hidden;
}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    animation: heroFade 1.2s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    z-index: 2;
    overflow-x: hidden;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pack-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    cursor: pointer;
}

/* SOBRE CENTRAL */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.main-pack {
    width: 260px;
    max-width: 80vw;
    position: relative;
    z-index: 5;
    transition: transform 0.4s ease, filter 0.4s ease;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.15));
}

/* IMÁGENES LATERALES */

.side {
    width: 140px;
    max-width: 45vw;
    position: absolute;
    opacity: 0;
    transition: all 0.5s ease;
    filter: drop-shadow(0px 10px 25px rgba(0,0,0,0.12));
}

/* Delay escalonado */

.l1 { transition-delay: 0.05s; }
.l2 { transition-delay: 0.1s; }
.r1 { transition-delay: 0.05s; }
.r2 { transition-delay: 0.1s; }

/* EFECTO ACTIVO */

.pack-container:hover .main-pack,
.pack-container.active .main-pack {
    transform: scale(1.06);
    filter: drop-shadow(0px 25px 50px rgba(0,0,0,0.18));
}

/* Efecto presión móvil */

.pack-container:active .main-pack {
    transform: scale(0.96);
}

/* IZQUIERDA */

.pack-container:hover .l1,
.pack-container.active .l1 {
    transform: translateX(-120px) rotate(-10deg);
    opacity: 1;
    z-index: 2;
}

.pack-container:hover .l2,
.pack-container.active .l2 {
    transform: translateX(-200px) rotate(-18deg);
    opacity: 1;
    z-index: 1;
}

/* DERECHA */

.pack-container:hover .r1,
.pack-container.active .r1 {
    transform: translateX(120px) rotate(10deg);
    opacity: 1;
    z-index: 2;
}

.pack-container:hover .r2,
.pack-container.active .r2 {
    transform: translateX(200px) rotate(18deg);
    opacity: 1;
    z-index: 1;
}

/* TITULOS */

h1 {
    font-size: 34px;
    letter-spacing: 2px;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.sub {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.tagline{
  font-size: 16px;
  color:#555;
  margin-top: 10px;
  letter-spacing: 3px;
}

.scroll-hint{
  margin-top: 28px;
  font-size: 22px;
  opacity: .35;
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(8px); }
}

/* Divider animado */

.divider {
    width: 0;
    height: 2px;
    background: #111;
    margin: 15px auto;
    transition: width 0.8s ease;
}

.reveal.visible .divider,
.hero .divider {
    width: 60px;
}

/* SECCIONES */

section:not(.hero) {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* REVEAL PREMIUM */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CARDS */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.card {
    border: 1px solid #eee;
    padding: 24px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    background: #fff;
}

.card:hover {
    border-color: #111;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
    color: #777;
    position: relative;
    z-index: 2;
}

/* ESCRITORIO */

@media (min-width: 768px) {

    .main-pack {
        width: 320px;
    }

    .side {
        width: 170px;
    }

    .pack-container:hover .l1,
    .pack-container.active .l1 {
        transform: translateX(-220px) rotate(-12deg);
    }

    .pack-container:hover .l2,
    .pack-container.active .l2 {
        transform: translateX(-360px) rotate(-22deg);
    }

    .pack-container:hover .r1,
    .pack-container.active .r1 {
        transform: translateX(220px) rotate(12deg);
    }

    .pack-container:hover .r2,
    .pack-container.active .r2 {
        transform: translateX(360px) rotate(22deg);
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    h1 {
        font-size: 50px;
    }
}

/* ========================= */
/* FONDO FLOTANTE POKEMON */
/* (SCROLLEA CON LA PÁGINA) */
/* ========================= */

/* Para que el fondo absoluto se ancle al documento */
body {
    position: relative;
}

/* Fondo que ocupa toda la altura del documento (no fixed) */
.floating-bg {
    position: absolute;  /* <- NO fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;        /* <- cubre todo el scroll */
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.float{
  position:absolute;
  width:110px;          /* tamaño base */
  max-width: 28vw;      /* evita que en móviles gigantes se salga */
  opacity:0.18;
  animation: floatBg 22s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0px 12px 25px rgba(0,0,0,0.10));
}

/* Animación suave */
@keyframes floatBg {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-35px) rotate(8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* POSICIONES repartidas por toda la página (top en %) */
/* 12 pokemons: añade más copiando el patrón */
.f1  { top: 6%;  left: 6%;  animation-duration: 18s; }
.f2  { top: 14%; left: 82%; animation-duration: 24s; }
.f3  { top: 22%; left: 18%; animation-duration: 26s; }
.f4  { top: 30%; left: 72%; animation-duration: 20s; }
.f5  { top: 38%; left: 10%; animation-duration: 28s; }
.f6  { top: 46%; left: 86%; animation-duration: 23s; }
.f7  { top: 54%; left: 24%; animation-duration: 27s; }
.f8  { top: 62%; left: 68%; animation-duration: 19s; }
.f9  { top: 70%; left: 8%;  animation-duration: 25s; }
.f10 { top: 78%; left: 80%; animation-duration: 21s; }
.f11 { top: 86%; left: 20%; animation-duration: 29s; }
.f12 { top: 94%; left: 66%; animation-duration: 22s; }

/* Móvil: más pequeños y más discretos */
@media (max-width: 480px) {
    .float { width: 80px; opacity: 0.14; }
}

/* Probabilidades: 2 columnas en móvil */
.probs-2col-mobile{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* Ajuste de tamaños para que no se vea apretado */
@media (max-width: 480px){
  .probs-2col-mobile .card-caption{
    padding: 12px 12px 14px 12px;
  }

  .probs-2col-mobile h3{
    font-size: 14px;
  }

  .probs-2col-mobile p{
    font-size: 12px;
  }

  .probs-2col-mobile .pill{
    font-size: 11px;
    padding: 5px 8px;
  }
}

/* =========================
   PANELES BLANCOS SUAVES
   ========================= */

/* Cada sección (menos el hero) se convierte en panel */
section.reveal {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 56px 18px;         /* un pelín más compacto para móvil */
  margin: 18px auto;          /* separa paneles */
  box-shadow: 0 18px 40px rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
}

/* En escritorio paneles un poco más aireados */
@media (min-width: 768px) {
  section.reveal {
    padding: 70px 28px;
    margin: 22px auto;
    border-radius: 22px;
  }
}

/* Subtítulo de sección */
.section-sub{
  color: #666;
  font-size: 14px;
  margin-top: 6px;
  margin-bottom: 10px;
}

/* Nota pequeña */
.note{
  margin-top: 18px;
  font-size: 12px;
  color: #777;
}

/* =========================
   PILLS (chips) dentro de cards
   ========================= */
.pill{
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.75);
  font-size: 12px;
  color: #333;
}

/* =========================
   STEPS (proceso)
   ========================= */
.steps{
  margin-top: 26px;
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.step{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 14px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.65);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.step:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  font-weight: 700;
  color: #111;
}

.steps h3{
  margin: 0 0 6px 0;
  font-size: 16px;
}

.steps p{
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================
   ICONOS PRO (SVG) EN PASOS
   ========================= */

.steps{
  gap: 14px;
}

.step{
  grid-template-columns: 54px 1fr; /* más ancho para el icono */
}

.step-icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);

  /* para que el icono quede siempre nítido */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.step-icon .icon{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #111;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

/* Hover: micro detalle */
.step:hover .step-icon{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.07);
  border-color: rgba(0,0,0,0.14);
  transition: all .35s ease;
}

.tiktok-wrap{
  display:flex;
  justify-content:center;
  padding:20px 10px;
}

/* =========================
   BOTONES de links (vídeos)
   ========================= */
.btn-row{
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn{
  display: inline-block;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  color: #111;
  text-decoration: none;
  font-size: 14px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 14px 26px rgba(0,0,0,0.06);
}

/* =========================
   CHECKLIST transparencia
   ========================= */
.checklist{
  list-style: none;
  margin: 22px auto 0 auto;
  padding: 0;
  max-width: 720px;
  text-align: left;
  display: grid;
  gap: 10px;
}

.checklist li{
  position: relative;
  padding: 12px 12px 12px 44px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
  color: #444;
  font-size: 14px;
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;

  /* Nuevo estilo verde */
  background: #e8f7ee;
  border: 1px solid #7bd89a;
  color: #1f9d55;
}

/* =========================
   FAQ
   ========================= */
.faq{
  margin-top: 22px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 12px;
  text-align: left;
}

.faq-item{
  padding: 16px 14px;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  background: rgba(255,255,255,0.65);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.faq-item:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.12);
}

.faq-item h3{
  font-size: 15px;
  margin: 0 0 8px 0;
}

.faq-item p{
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}

/* =========================
   FOOTER PREMIUM MINIMAL
   ========================= */

.footer{
  text-align: center;
  padding: 60px 20px 40px;
  color: #666;
  position: relative;
  z-index: 3;
}

.footer-line{
  width: 60px;
  height: 2px;
  background: rgba(0,0,0,0.15);
  margin: 0 auto 25px auto;
  border-radius: 2px;
}

.footer-title{
  font-size: 16px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.footer-sub{
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
}

.footer-note{
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
}

.footer-links{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a{
  text-decoration: none;
  color: #555;
  font-size: 13px;
  transition: all .25s ease;
}

.footer-links a:hover{
  color: #111;
  transform: translateY(-1px);
}

.footer-legal{
  margin-top: 25px;
  font-size: 11px;
  color: #bbb;
}


/* =========================
   BOTÓN FLOTANTE COMPRA
   ========================= */

.buy-bar{
  position: fixed;

  /* Safe area (iPhone) + margen */
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);

  z-index: 999;

  /* Responsive width */
  width: min(92vw, 420px);
  text-align: center;

  /* Alineación */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  /* Estilo */
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: .2px;

  color: #fff;
  background: #111;

  box-shadow:
    -3px 3px 0 rgba(0,255,255,0.35),
    3px -3px 0 rgba(255,0,80,0.35),
    0 18px 40px rgba(0,0,0,0.28);

  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;

  animation: buyPulse 4s ease-in-out infinite;
}

@keyframes buyPulse{
  0%,100%{ transform: translateX(-50%) scale(1); }
  50%{ transform: translateX(-50%) scale(1.03); }
}

/* Hover desktop */
.buy-bar:hover{
  transform: translateX(-50%) translateY(-2px);
  background: #0b0b0b;
  box-shadow:
    -4px 4px 0 rgba(0,255,255,0.45),
    4px -4px 0 rgba(255,0,80,0.45),
    0 22px 50px rgba(0,0,0,0.34);
}

/* Feedback táctil móvil */
.buy-bar:active{
  transform: translateX(-50%) scale(0.98);
}

.buy-bar::before{
  content: "🛒";
  font-size: 15px;
  line-height: 1;
  opacity: .9;
}

/* Ajustes específicos móviles */
@media (max-width: 480px){
  .buy-bar{
    width: min(94vw, 420px);
    font-size: 14px;
    padding: 13px 16px;
  }
}

/* Escritorio: un pelín más compacto */
@media (min-width: 768px){
  .buy-bar{
    font-size: 14px;
    padding: 12px 18px;
    width: min(70vw, 360px);
  }
}
.card,
.steps,
.step,
.checklist,
.faq,
.btn-row,
.section-sub,
h2,
p {
    position: relative;
    z-index: 3;
}

/* Grid un pelín más “visual” para probabilidades */
.probs-grid{
  margin-top: 30px;
}

/* Card con imagen */
.card.card-img{
  padding: 0;                 /* quitamos padding para que la imagen domine */
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Imagen arriba */
.card.card-img img{
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform .45s ease;
}

/* “Caption” debajo */
.card-caption{
  padding: 16px 16px 18px 16px;
}

/* Hover: conserva tu elevación + anima también la imagen */
.card.card-img:hover{
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.18);
}

.card.card-img:hover img{
  transform: scale(1.06);
}





