/* =========================================================
   ARENA UI — HERO COMPONENT (Pagina Giochi)
   Estratto e ottimizzato dai blocchi hero + compat games
   Mobile-first • Zero modifiche estetiche
========================================================= */


/* ---------------------------------------------------------
   1) HERO WRAPPER (mobile-first)
--------------------------------------------------------- */

.ar-hero {
  position: relative;
  min-height: 100dvh;

  padding: 96px 16px 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  /* Background radiale neon (preso dal tuo file) */
  background:
    radial-gradient(900px 520px at 0% 0%,
      rgba(56,189,248,.18), transparent 60%),
    radial-gradient(820px 560px at 100% 100%,
      rgba(236,72,153,.14), transparent 62%),
    linear-gradient(180deg,
      rgba(2,6,23,.55) 0%,
      rgba(2,6,23,.86) 60%,
      rgba(2,6,23,.96) 100%);
}


/* ---------------------------------------------------------
   2) HERO INNER LAYOUT
--------------------------------------------------------- */

.ar-hero-inner {
  width: 100%;
  max-width: 1100px;

  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;

  position: relative;
  z-index: 2; /* Sopra i neon e bg */
}

/* ---------------------------------------------------------
   3) HERO TEXT BLOCK
--------------------------------------------------------- */

.ar-hero-text {
  text-align: center;
}

.ar-hero-text h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: 0 12px 44px rgba(0,0,0,.55);
}

.ar-hero-text p {
  max-width: 640px;
  opacity: .9;
  text-shadow: 0 10px 34px rgba(0,0,0,.45);
}


/* CTA area */
.ar-hero-cta {
  margin-top: 24px;
}


/* ---------------------------------------------------------
   4) HERO SIDE INFO / META
--------------------------------------------------------- */

/* Meta card */
.ar-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;

  margin-bottom: 1.1rem; /* spazio prima del CTA */
}
@media (min-width: 1024px){
  .ar-hero-meta{ margin-bottom: 1.25rem; }
}

.ar-hero-meta.ar-hero-meta--panel{
  border-radius: 16px;

  background: rgba(15,23,42,.55);
  border: 1px solid rgba(148,163,184,.12);

  box-shadow: 0 18px 44px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
}

.ar-hero-meta span {
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.18);

  font-size: .78rem;
  font-weight: 700;

  color: rgba(226,232,240,.95);
}


/* ---------------------------------------------------------
   5) SHINE & REVEAL SUPPORT (usa ui-reveal, ma teniamo alias)
--------------------------------------------------------- */

.shine {
  position: relative;

  background: linear-gradient(
    90deg,#fff,#a5f3fc 35%,#c7d2fe 55%,#fff 75%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  background-size: 220% 100%;
  animation: arShineMove 3.8s ease-in-out infinite;
}

@keyframes arShineMove {
  0% { background-position:200% 0; }
  100% { background-position:-200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-2 {
  transition-delay: .16s;
}
