/* DraftArena 1.4.9 - Home-only cinematic treatment. User-provided artwork. */
#main.page-home {position:relative;isolation:isolate;}
#main.page-home::before {
  content:'';position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:linear-gradient(180deg,rgba(12,12,12,.12),rgba(12,12,12,.48)),
    url('/assets/backgrounds/ankama-fight-background.png');
  background-position:center,center 38%;background-repeat:no-repeat;
  background-size:cover,cover;opacity:.19;
  transform-origin:center 18%;animation:home-atmosphere 28s ease-in-out infinite alternate;
}
#main.page-home > * {position:relative;z-index:1;}
/* Focus the imagery between the content and the background, rather than over the text. */
#main.page-home .hero-elite {
  background:radial-gradient(ellipse 70% 95% at 87% 36%,rgba(117,90,45,.19),transparent 70%),
    linear-gradient(112deg,rgba(20,20,20,.94),rgba(25,25,25,.81) 65%,rgba(20,20,20,.89));
  border:1px solid rgba(212,178,110,.26);
  box-shadow:0 22px 56px rgba(0,0,0,.30),inset 0 1px rgba(255,255,255,.035);
}
#main.page-home .hero-champion {
  box-shadow:0 18px 48px rgba(0,0,0,.42);
}
#main.page-home .home-metrics {
  background:rgba(26,26,26,.91)!important;
  border:1px solid rgba(210,177,111,.19);
  box-shadow:0 10px 33px rgba(0,0,0,.15);
}
#main.page-home .home-leader,
#main.page-home .home-matches {
  background:rgba(25,25,25,.95)!important;
  border-color:rgba(218,194,145,.14)!important;
}
#main.page-home .home-leader:hover {
  border-color:rgba(229,188,98,.55)!important;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
#main.page-home .hero-copy, #main.page-home .hero-champion {z-index:2;}
#main.page-home .hero-copy p {color:#d2c9b8;}
#main.page-home .hero-actions .btn {min-height:46px;}
#main.page-home .hero-elite h1 {text-wrap:balance;}
/* Navigation remains short and legible even with a longer find-match label. */
.sidebar .nav-item[data-page='cola'] {letter-spacing:0;}
.sidebar .nav-item:focus-visible, #main.page-home .btn:focus-visible {
  outline:2px solid #e5bc62;outline-offset:3px;
}
@keyframes home-atmosphere {
  from {transform:scale(1) translateY(0);opacity:.14}
  to   {transform:scale(1.035) translateY(-5px);opacity:.21}
}
@media(max-width:1130px){
  .sidebar .nav-item {padding:10px 11px;font-size:11px;}
}
@media(max-width:740px){
  #main.page-home::before{background-position:center,center 30%;background-size:cover,auto 100%;opacity:.13;}
  #main.page-home .hero-elite{padding:30px 23px;}
  .sidebar .nav-item[data-page='cola']{padding-inline:9px;}
}
@media(prefers-reduced-motion:reduce){
  #main.page-home::before{animation:none!important;transform:none;opacity:.16;}
}
