/* container */
.eplay-hero-layers-swiper { position: relative; }
.eplay-hero-layers-swiper .swiper,
.eplay-hero-layers-swiper .swiper-wrapper,
.eplay-hero-layers-swiper .swiper-slide { height: 100vh; }

/* layout slide */
.eplay-hero-layers-swiper .eplay-hero-slide{
  height: 100%;
  display: grid;
  grid-template-columns: 1.20fr 1fr;
  align-items: center;
  gap: 0;
  padding: 0 130px;
      max-width: 1600px;
    margin: auto;
}

/* rail fuori dalla griglia */
.eplay-hero-layers-swiper .eplay-rail--outside{
  position: absolute;
  bottom: 0;
  left: var(--eplay-scroll-left, 30px);
  height: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  pointer-events: auto;
}
.eplay-hero-layers-swiper .eplay-rail--outside a{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:inherit;
  opacity:.85;
  flex-direction:column;
}

@media (max-width: 767px){
  .eplay-hero-layers-swiper .eplay-rail--outside{ display:none; }
}

.eplay-hero-layers-swiper .eplay-rail a{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:inherit;
  opacity:.85;
  flex-direction:column;
}
.eplay-hero-layers-swiper .eplay-rail .line{
  width:1px;
  height:90px;
  background:#111;
  display:inline-block;
}
.eplay-hero-layers-swiper .eplay-rail .txt{
  writing-mode: sideways-lr;
  transform-origin:center;
  font-size:14px;
  letter-spacing:.08em;
}

/* colonna testo */
.eplay-hero-layers-swiper .eplay-hero-left{ max-width:560px; position:relative; z-index:9;}
.eplay-hero-layers-swiper .eplay-title{
  font-size:38px;
  line-height:normal;
  letter-spacing:1px;
  font-weight:800;
  font-family:'rubik-semibold';
  color:#414141;
}
.eplay-hero-layers-swiper .eplay-shadow{
  line-height:1;
  margin:0 0 18px;
  position:absolute;
  width:100%;
  left:0;
  top:-80px;
  color:#D9D9D9;
  font-family:'rubik-bold';
  font-size:clamp(45px, 9vw, 130px);
  letter-spacing:-3px;
  font-weight:700;
  text-align:left;
  white-space: nowrap;
}
.eplay-hero-layers-swiper .eplay-desc{
  font-size:18px;
  line-height:1.6;
  margin:15px 0 26px;
  max-width:520px;
}
.eplay-hero-layers-swiper .eplay-desc p{
  font-family:'rubik-semibold';
  color:#414141;
}

/* colonna immagini (3 layer) */
.eplay-hero-right img.layer.mid { max-width: 250px !important; }
.eplay-hero-right img.layer.front { left: -10%; max-width:400px; bottom: 23%; }
.eplay-hero-right img.layer.back  { left: -20%; max-width: 400px; }

.eplay-hero-layers-swiper .eplay-hero-right{
  position:relative;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.eplay-hero-layers-swiper .layer{
  position:absolute;
  max-width:760px;
  width:100%;
  height:auto;
}
.eplay-hero-layers-swiper .layer.mid{ z-index:2; transform: translateX(40px); }
.eplay-hero-layers-swiper .layer.front{ z-index:3; transform: translateX(-20px); }

/* Animazioni */
.eplay-hero-layers-swiper .anim{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: transform, opacity;
}
.eplay-hero-layers-swiper .anim-x{
  opacity:0;
  transform: translateX(50px);
  transition: opacity .65s ease, transform .65s ease;
  will-change: transform, opacity;
}

.eplay-hero-layers-swiper .swiper-slide-active .anim,
.eplay-hero-layers-swiper .swiper-slide-active .anim-x{
  opacity:1;
  transform: translate(0,0);
}

.eplay-hero-layers-swiper .swiper-slide-active .eplay-shadow{ transition-delay:.05s; }
.eplay-hero-layers-swiper .swiper-slide-active .eplay-title { transition-delay:.12s; }
.eplay-hero-layers-swiper .swiper-slide-active .eplay-desc  { transition-delay:.22s; }

.eplay-hero-layers-swiper .layer{
  opacity:0;
  transition: opacity .7s ease, transform .7s ease;
  will-change: transform, opacity;
}
.eplay-hero-layers-swiper .swiper-slide-active .layer{ opacity:1; }
.eplay-hero-layers-swiper .swiper-slide-active .layer.mid{ transform: translateX(15px); }
.eplay-hero-layers-swiper .swiper-slide-active .layer.front{ transform: translateX(-10px); }

/* Swiper fade */
.eplay-hero-layers-swiper .swiper-wrapper { transform: none !important; }
.eplay-hero-layers-swiper .swiper-slide { transition-property: opacity !important; }

.eplay-hero-layers-swiper .layer.back{
  z-index:1;
  opacity:0;
  transform: scale(.5);
  filter: blur(0px);
  transition: opacity .8s ease, transform 1.2s ease;
  will-change: transform, opacity;
}
.eplay-hero-layers-swiper .swiper-slide-active .layer.back{
  opacity:1;
  transform: scale(1);
}

/* small text */
.eplay-hero-layers-swiper .eplay-small{
  margin-top:-10px;
  margin-bottom:18px;
  display:inline-flex;
  flex-direction:column;
  gap:10px;
  width:100%;
}
.eplay-hero-layers-swiper .eplay-small__txt{
  font-size:13px;
  text-transform: lowercase;
  opacity:1;
  font-family:'rubik-regular';
  color:#414141;
}
.eplay-hero-layers-swiper .eplay-small__line{
  width:46px;
  height:2px;
  background:#c9a24a;
  display:inline-block;
}

/* pagination */
.eplay-hero-layers-swiper .swiper-pagination{
  bottom:100px !important;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:25px;
}
.eplay-hero-layers-swiper .swiper-pagination-bullet{
  width:8px;
  height:8px;
  margin:0 !important;
  border-radius:50%;
  background:#414141;
  opacity:.35;
  position:relative;
  transition: opacity .2s ease, transform .2s ease;
}
.eplay-hero-layers-swiper .swiper-pagination-bullet-active{
  opacity:1;
}
.eplay-hero-layers-swiper .swiper-pagination-bullet-active::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:25px;
  height:25px;
  transform: translate(-50%, -50%);
  border-radius:50%;
  border:1px solid #414141;
  opacity:.85;
  pointer-events:none;
  animation: eplayRing .25s ease-out;
}
@keyframes eplayRing{
  from { transform: translate(-50%, -50%) scale(.85); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1);   opacity: .85; }
}

/* button pill + wave */
.eplay-hero-layers-swiper .eplay-btn--pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  height:auto;
  padding:0 13px 0 0;
  background:#F9F9F9;
  color:#414141;
  text-decoration:none;
  border-radius:999px;
}
.eplay-hero-layers-swiper .eplay-btn--pill .eplay-btn__icon{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#414141;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 40px;
}
.eplay-hero-layers-swiper .eplay-btn--pill .eplay-btn__icon img{
  width:24px;
  height:24px;
  display:block;
  transition: transform .55s ease;
  transform-origin:50% 50%;
}
.eplay-hero-layers-swiper .eplay-btn--pill:hover .eplay-btn__icon img{
  transform: rotate(360deg);
}
.eplay-hero-layers-swiper .eplay-btn--pill .button--text--wrap{
  position:relative;
  display:inline-block;
  line-height:1;
  overflow:hidden;
  white-space:nowrap;
  margin:10px 0;
  font-size: 13px;
}
.eplay-hero-layers-swiper .eplay-btn--pill .button--text--main{
  position:relative;
  display:inline-block;
}
.eplay-hero-layers-swiper .eplay-btn--pill .button--text--hover{
  position:absolute;
  left:0;
  top:100%;
  display:inline-block;
}
.eplay-hero-layers-swiper .eplay-btn--pill .button--text--wrap .button_char{
  display:inline-block !important;
  transition: transform .3s ease;
  transition-delay: calc(0.02s * var(--c));
  will-change: transform;
}
.eplay-hero-layers-swiper .eplay-btn--pill:hover .button--text--main .button_char{
  transform: translateY(-110%);
}
.eplay-hero-layers-swiper .eplay-btn--pill:hover .button--text--hover .button_char{
  transform: translateY(-110%);
}

/* responsive */
@media (max-width: 1024px){
  .eplay-hero-layers-swiper .eplay-hero-slide{
    grid-template-rows: auto auto;
    padding: 0 20px;
  }
  .eplay-hero-layers-swiper .eplay-hero-right{
    min-height: 44vh;
  }
  .eplay-hero-layers-swiper .eplay-title{ font-size:56px; }
  .eplay-hero-layers-swiper .eplay-shadow {
        top: -20px;
    }
}
@media (max-width: 767px){
  .eplay-hero-layers-swiper .eplay-hero-slide{
    grid-template-columns: 1fr;
    padding: 0 16px;
    padding-top: 50px;
  }
  .eplay-hero-layers-swiper .eplay-title {
        font-size: 34px;
  }
  .eplay-hero-layers-swiper .eplay-hero-right{ min-height:55vh; }

  .eplay-hero-right img.layer.back {
    left: 0;
    max-width: 250px;
  }

  .eplay-hero-right img.layer.mid {
    max-width: 150px !important;
    right: 0;
    bottom: 40%;
  }

  .eplay-hero-right img.layer.front {
    left: unset;
    max-width: 250px;
    bottom: 50%;
  }

  .eplay-hero-layers-swiper .swiper, .eplay-hero-layers-swiper .swiper-wrapper, .eplay-hero-layers-swiper .swiper-slide{
    height: auto;
  }
}

.elementor-editor-active .eplay-hero-layers-swiper .anim,
.elementor-editor-active .eplay-hero-layers-swiper .anim-x,
.elementor-editor-active .eplay-hero-layers-swiper .layer{
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}