/* v189: animaciones del inicio al bajar + pulido de los botones de abajo.
   Solo opacidad y movimiento (rapido en celulares; sin desenfoque). Quitar el <link> lo desactiva. */

/* ---------- Entrada del inicio (al cargar) ---------- */
@keyframes g189-logo{from{opacity:0;transform:translate3d(0,14px,0) scale(.92)}to{opacity:1;transform:none}}
@keyframes g189-up{from{opacity:0;transform:translate3d(0,14px,0)}to{opacity:1;transform:none}}

  .home-hero>.updates-logo{animation:g189-logo .9s cubic-bezier(.16,.72,.22,1) both}
  .home-hero>.home-hero-copy{animation:g189-up .7s cubic-bezier(.16,.72,.22,1) .18s both}
  .home-hero>.home-hero-modes{animation:g189-up .7s cubic-bezier(.16,.72,.22,1) .28s both}
  .home-hero>.home-hero-connect{animation:g189-up .7s cubic-bezier(.16,.72,.22,1) .38s both}


/* ---------- Aparecer al bajar ---------- */
@keyframes g189-rise{from{opacity:0;transform:translate3d(0,var(--g189-dist,34px),0) scale(.985)}to{opacity:1;transform:none}}
@keyframes g189-pop{from{opacity:0;transform:translate3d(0,var(--g189-dist,34px),0) scale(.94)}to{opacity:1;transform:none}}
.g189-hide{opacity:0}
.g189-in{animation:g189-rise .75s cubic-bezier(.16,.72,.22,1) var(--g189-delay,0ms) both;will-change:opacity,transform}
.g189-in.g189-card{animation-name:g189-pop}
@media (max-width:850px){
  .g189-hide,.g189-in{--g189-dist:20px}
  .g189-in{animation-duration:.6s}
}

/* ---------- Boton "Ver todos los creadores" ---------- */
.creator-all a i{display:inline-block;transition:transform .2s ease}
.creator-all a:hover i,.creator-all a:focus-visible i{transform:translateX(4px)}
.creator-all a:active{transform:scale(.97)!important}

/* ---------- Titulos de reconocimientos: se leen bien aunque pase la luna por detras ---------- */
.recognition-title{text-shadow:0 0 14px #000c,0 2px 3px #000e}

/* ---------- Botones del pie (Store, Discord, Instagram, X) ---------- */
.cosline-footer a{
  background-image:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.1) 50%,transparent 62%),linear-gradient(135deg,rgba(91,18,31,.3),rgba(18,15,20,.9) 58%)!important;
  background-size:260% 100%,100% 100%!important;
  background-position:130% 0,0 0!important;
  transition:border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .2s ease,background-position .6s ease!important;
}
.cosline-footer a:hover,.cosline-footer a:focus-visible{
  background-image:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.1) 50%,transparent 62%),linear-gradient(135deg,rgba(133,25,40,.46),rgba(24,15,21,.94) 62%)!important;
  background-position:-30% 0,0 0!important;
}
.cosline-footer a::before{transition:width .2s ease,box-shadow .2s ease}
.cosline-footer a:hover::before,.cosline-footer a:focus-visible::before{width:3px;box-shadow:0 0 16px rgba(239,57,73,.95)}
.cosline-footer .social-icon,.cosline-footer a[href*="store"]::after{transition:transform .2s ease,filter .2s ease}
.cosline-footer a:hover .social-icon,.cosline-footer a:focus-visible .social-icon,
.cosline-footer a:hover::after,.cosline-footer a:focus-visible::after{transform:scale(1.14);filter:drop-shadow(0 0 9px rgba(239,57,73,.8))}
.cosline-footer a:active{transform:translateY(0) scale(.97)!important}
/* La tienda destaca un poco mas: es el boton principal */
.cosline-footer>div>a[href*="store"]{border-color:rgba(239,57,73,.75);box-shadow:inset 0 1px rgba(255,255,255,.05),0 0 22px rgba(239,57,73,.18)}
@media (max-width:570px){
  .cosline-footer>div>a{min-height:50px!important;font-size:12px!important}
  .cosline-footer>div>a:not([href*="store"]){justify-content:center!important}
}

/* ---------- Boton "volver arriba" ---------- */
.g189-top{position:fixed;right:18px;bottom:calc(18px + var(--g189-lift,0px));z-index:900;width:46px;height:46px;display:grid;place-items:center;padding:0;border:1px solid #ef3949a6;background:linear-gradient(135deg,#2a1018,#100c11);color:#ff5968;cursor:pointer;box-shadow:0 0 18px #ef394933,0 8px 20px #0009;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,box-shadow .2s ease,background-color .2s}
.g189-top::before{content:"";width:10px;height:10px;margin-top:5px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg)}
.g189-top.is-shown{opacity:1;pointer-events:auto;transform:none}
.g189-top:hover,.g189-top:focus-visible{outline:0;border-color:#ff5968;box-shadow:0 0 26px #ef394966,0 8px 20px #0009}
.g189-top:active{transform:scale(.94)}
@media (max-width:850px){.g189-top{right:14px;bottom:calc(14px + env(safe-area-inset-bottom) + var(--g189-lift,0px));width:44px;height:44px}}

/* Si el sistema pide menos movimiento: se mantiene la aparicion, pero mas corta */
@media (prefers-reduced-motion:reduce){.g189-hide,.g189-in{--g189-dist:22px}}
@media print{.g189-hide{opacity:1}.g189-top{display:none}}
