/*!
 * Cassiopeia Extended — eSports Homepage (HOME ONLY)
 * -----------------------------------------------------------------------------
 * Contient uniquement ce qui concerne la page d'accueil :
 * - HERO (picture responsive)
 * - Titre néon "tube" (encadré)
 * - Animation slide + glow
 * - Breadcrumb "arena" (si tu le gardes)
 * -----------------------------------------------------------------------------
 */

/* =============================================================================
   1) HERO
   ========================================================================== */
:root{
  --gx-hero-minh: 520px;
}

.gx-hero{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 25px 70px rgba(0,0,0,.65);
  min-height: var(--gx-hero-minh);
}

.gx-hero__media{
  position:absolute;
  inset:0;
  display:block;
}

.gx-hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.05);
}

.gx-hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(245,197,66,.18), transparent 55%),
    radial-gradient(800px 520px at 80% 55%, rgba(120,80,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.78));
}

.gx-hero__content{
  position:relative;
  padding: 4.2rem 3.2rem;
  max-width: 980px;
}

.gx-hero--center .gx-hero__content{
  margin: 0 auto;
  text-align: center;
}

.gx-hero__kicker{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(245,197,66,.35);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.9);
  font-weight: 800;
  font-family: var(--gx-font-head, "Rajdhani", "Inter", sans-serif);
  letter-spacing: .06em;
}

.gx-hero__cta{
  display:flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  justify-content:center;
}

@media (max-width: 1200px){ .gx-hero{ min-height: 460px; } }
@media (max-width: 992px){  .gx-hero{ min-height: 420px; } }
@media (max-width: 768px){
  .gx-hero{ min-height: 380px; }
  .gx-hero__content{ padding: 2.4rem 1.4rem; }
}

/* =============================================================================
   2) TITRE — NEON TUBE
   ========================================================================== */
.gx-hero__title{
  font-size: clamp(2.6rem, 6vw, 5.0rem);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1.2rem 2.2rem;
  margin: 1.2rem auto 1rem;
  display: inline-block;
  position: relative;
  color: #fff;
  font-family: var(--gx-font-head, "Rajdhani", "Inter", sans-serif);

  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.35));
  border: 1px solid rgba(245,197,66,.45);

  text-shadow:
    0 0 6px rgba(245,197,66,.85),
    0 0 12px rgba(245,197,66,.65),
    0 0 22px rgba(245,197,66,.45),
    0 0 40px rgba(245,197,66,.25),
    0 12px 35px rgba(0,0,0,.85);

  box-shadow:
    inset 0 0 18px rgba(245,197,66,.18),
    0 0 25px rgba(245,197,66,.25),
    0 25px 60px rgba(0,0,0,.75);
}

.gx-hero__title::after{
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -.7rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(245,197,66,.9), transparent);
  box-shadow:
    0 0 12px rgba(245,197,66,.9),
    0 0 24px rgba(245,197,66,.6);
}

@keyframes gxNeonPulse{
  0%,100% { filter: brightness(1); }
  50%     { filter: brightness(1.15); }
}
.gx-hero__title{
  animation: gxNeonPulse 4.5s ease-in-out infinite;
}

@media (max-width: 768px){
  .gx-hero__title{
    font-size: clamp(2rem, 9vw, 3.2rem);
    padding: .9rem 1.4rem;
    letter-spacing: .08em;
  }
}

/* =============================================================================
   3) ANIMATION D’ENTRÉE (slide + glow)
   ========================================================================== */
.gx-hero__kicker,
.gx-hero__title,
.gx-hero__cta{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
}

@keyframes gxIn{
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.gx-hero__kicker{ animation: gxIn .75s ease-out .10s forwards; }
.gx-hero__title { animation: gxIn .85s ease-out .22s forwards; }
.gx-hero__cta   { animation: gxIn .85s ease-out .38s forwards; }

@keyframes gxGlow{
  0%,100% { box-shadow: 0 0 0 rgba(245,197,66,0); }
  50%     { box-shadow: 0 0 28px rgba(245,197,66,.22); }
}
.gx-hero{ animation: gxGlow 1.4s ease-out .15s 1; }

@media (prefers-reduced-motion: reduce){
  .gx-hero__kicker,.gx-hero__title,.gx-hero__cta{
    opacity:1; transform:none; filter:none; animation:none;
  }
  .gx-hero{ animation:none; }
}

/* =============================================================================
   4) BREADCRUMB "ARENA" (si tu l’utilises)
   - Si tu ne veux plus du breadcrumb sur la home, tu peux le cacher ici.
   ========================================================================== */
/* Décommente pour cacher complètement le breadcrumb sur l’accueil */
/*
body.itemid-101 nav.mod-breadcrumbs__wrapper{ display:none !important; }
*/

body.itemid-101 nav.mod-breadcrumbs__wrapper{
  margin-top: 1rem;
}

body.itemid-101 ol.mod-breadcrumbs.breadcrumb{
  max-width: 1200px;
  margin: 0 auto !important;
  padding: .85rem 1.1rem !important;
  border-radius: 16px;
  background: rgba(0,0,0,.35) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

body.itemid-101 ol.mod-breadcrumbs.breadcrumb .breadcrumb-item,
body.itemid-101 ol.mod-breadcrumbs.breadcrumb .breadcrumb-item a,
body.itemid-101 ol.mod-breadcrumbs.breadcrumb .breadcrumb-item span{
  font-family: var(--gx-font-head, "Rajdhani", "Inter", sans-serif);
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 900;
  font-size: 1.05rem;
  color: rgba(255,255,255,.85) !important;
}

body.itemid-101 ol.mod-breadcrumbs.breadcrumb .breadcrumb-item.active span{
  color: var(--link-color) !important;
  text-shadow: 0 0 10px rgba(245,197,66,.30);
}
