.header button:hover{
    box-shadow: 0 0 36px 4px #ffffffa6, 0 0 100px 30px #ff00ff9e, 0 0 140px 60px #0f0562;
    color: var(--wp--preset--color--primary-color) !important;
}

.header button:hover:before{
    width: 100%;
}
.header button:hover{
    color: var(--wp--preset--color--dark) !important;
}
.header button{
    cursor: pointer;
    color: var(--wp--preset--color--white);
    padding: 20px 50px;
    border: 1px solid var(--wp--preset--color--primary-color);
    background: var(--wp--preset--color--primary-color);
    border-radius: 15px;
    font-size: 14px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    z-index: 11;
}
.header button::before{
    content: attr(button-title);
    left: 0;
    top: 0;
    position: absolute;
    width: 0;
    height: 100%;
    background-color: white;
    transition: 0.3s ease;
    line-height: 65px;
    text-align: center;
    z-index: -1;
    box-shadow: 0 0 36px 4px #ffffffa6, 0 0 100px 30px #ff00ff9e, 0 0 140px 60px #0f0562;
}


.header{

    display: flex;
    justify-content: space-between;
    width: 100%;
    left: 0;
    right: 0;
    align-items: center;
    --header-height:54px;
    position: relative;
}
.header .nav-logo{max-width: 152px;width:100%;}
.header .main-menu{list-style: none;padding:0;margin: 0;position: relative;display: flex;flex-direction: row;gap:20px;}




.header .menu-item {line-height: var(--header-height);  vertical-align: top;    text-decoration: none;position: relative;text-transform: uppercase;}
.header li:hover > .sub-menu{display:block;}
.header .sub-menu .sub-menu{left:100%;top:-40px;}
.header .sub-menu {top:var(--header-height); margin:0;    padding: 30px 40px;
    list-style: none;background:var(--wp--preset--color--dark); z-index: 999; position: absolute; display: none;  width: 230px;}
.header .sub-menu li{ width: 100%;line-height: 60px;}
.header .sub-menu li a{color:var(--wp--preset--color--white);width: fit-content;text-transform:none;
    margin:10px 0;
    padding: 0;}
.header .main-menu a {color:var(--wp--preset--color--white);letter-spacing: 0.2px; text-decoration: none;   margin: 0 15px; text-align: left; white-space: nowrap;}
.header .main-menu > li{  margin:0;  font-size:15px;  transition:all 0.3s ;box-shadow: inset 0 0 0 var(--wp--preset--color--primary-color);opacity:0.7;}


.header .sub-menu > li:hover > a,
.header .sub-menu li.current-selected-item a,
.header .sub-menu li.current_page_item a, .header .sub-menu li.current-menu-item a{box-shadow: inset 0 -1px 0 var(--wp--preset--color--primary-color);}

.header .sub-menu li:hover,
.header .sub-menu li.current-selected-item,
.header .sub-menu li.current_page_item {box-shadow: none;}

.header .main-menu > li:hover,
.header > li.current-menu-ancestor,
.header li.current-selected-item,
.header li.current_page_item {
        opacity: 1;
        box-shadow: inset 0 4px 0 var(--wp--preset--color--primary-color);
}
.header .main-menu .sub-menu a:hover{
        opacity: 1;
        color:var(--wp--preset--color--primary-color);

}
.header .sub-menu a{ display:block;line-height: 26px;font-size:16px;padding: 17px 5px;color:var(--wp--preset--color--dark);  padding-right:40px;white-space:normal;}
.header .sub-menu li:hover > a{color:var(--wp--preset--color--primary-color);}


.header.light .main-menu a {color:var(--wp--preset--color--dark);}
.header.light .sub-menu a{ color:var(--wp--preset--color--primary-color);}


.header button{border-radius: 50px;padding:14px 50px;}




/*.header .wp-block-group{    display: flex;*/
/*    flex-wrap: nowrap;*/
/*    align-items: normal;}*/



.header.light .show-submenu-onhover a:after, .header.light .menu-item-has-children > a:after{
   background: url(/wp-content/themes/casino/assets/images/arrow-dark.svg)no-repeat center;
}
.header-custom-submenu:after{
    border-top:1px solid rgba(137, 137, 137, 0.30);
    z-index: -1;
    content: '';
    position: absolute;
    left: 0;
    bottom: 20%;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100%;
    top: 0;
    background: inherit;
    margin-left: calc((100% - 100vw) / 2);
}
.header .show-submenu-onhover a:after, .header .menu-item-has-children > a:after{
    content:'';
    width:10px;
    height: 10px;
    margin-left:10px;
    display: inline-block;
    transform: rotate(90deg);
    transition:all 0.3s ;
    background: url(/wp-content/themes/casino/assets/images/arrow.svg)no-repeat center;
}
.show-submenu-onhover:hover a:after,
.header .menu-item-has-children:hover > a:after,
.header li.current-selected-item > a:after{
transform: rotate(-90deg);
}

.header-custom-submenu{
    transition:all 0.3s ;
    opacity: 0;
    display: none;
      animation: linear ease;
  animation-name: menu;
  animation-duration: 0.2s;
  animation-direction: normal;

}
.show-submenu.header-custom-submenu, .header-custom-submenu:hover{
    opacity: 1;
    z-index: 5;
    display: block;
    position: absolute;
    top:var(--header-height);
    padding-bottom: 30px;
    width: 100vw;
    left: calc((100% - 100vw) / 2);
    background-image: var(--wp--preset--gradient--dark-card);
}

.light .show-submenu.header-custom-submenu, .light .header-custom-submenu:hover{
    background-image: var(--wp--preset--gradient--light-card);
}
@-webkit-keyframes menu {
  0% {

      opacity:0;
  }
  100% {

      opacity:1;
   }
}

.mob-menu-button{
    display: none;
}
.mob-menu-button svg {display: none;margin-right:20px;cursor:pointer;}
.mob-menu-button.active svg {display: block;}
.light .mob-menu-button.active svg rect, .light .mob-menu-button svg.hamburger rect{fill:#000;}
.mob-menu-button svg.hamburger{display:block;}
.mob-menu-button.active svg.hamburger{display:none;}


.mobile-back{   margin: 30px 20px -10px;    color: var(--wp--preset--color--white);
    padding-bottom: 30px;display:none;cursor:pointer;opacity: 0.7;text-transform: uppercase;font-size:14px;}
.mobile-back svg{position:relative;top:7px;margin-right:15px;}
.light .mob-menu-submenu{color:#000;}
.light .mob-menu-submenu rect, .light .mob-menu-submenu path{fill:#000;}
.light .mobile-back{color:#000;}
.light .mobile-back svg path{stroke:#000;}

 .header .social-navigation{height: 100vh;display: none}
 .header .social-navigation ul{list-style: none;bottom:30px;position: absolute;    bottom: 30px;}
 .logged-in .social-navigation ul{bottom: 30px;}
 .header .social-navigation ul li{padding:0;line-height: 30px;}
 .header .social-navigation a{color:inherit; font-size:17px;font-weight:400;}

.header .show-nav  .social-navigation{display: block;}
p a:hover{color:var(--wp--preset--color--primary-color);}
@media screen and (max-width: 1430px){
    .header .nav-logo{margin-left:20px;}
    .header .get-started-button{margin-right:20px;}
}

@media screen and (max-width: 1024px){

    .header{width: 100%;height:var(--header-height);z-index: 2;}
    body.menu-active .wp-site-blocks {position: fixed;top:0;left:0;    width: 100%;}
    body.menu-active.logged-in .wp-site-blocks{top:46px;}
    body.menu-active #continually-container{display:none;}
    body.menu-active .header.wp-block{background: #0a0a0a;}
    .header > a{display: none;}
    .header button{display:none}
    .header .main-menu > li{opacity: 1;}
    .mob-menu-button{display: block;}
    .mobile-back{display: inline-block;}
    .header nav{display:none;position: absolute;background: inherit;width:100%;z-index: -1;top:var(--header-height);}
    .header nav:after {left: 0;position: absolute;content: '';padding: 0;margin: 0;
        background: var(--wp--preset--color--dark) url(/wp-content/themes/casino/assets/images/logo-overlay.svg)
        no-repeat center;background-size: 2393px 2819px;width: 100%;height: 100vh;top: - var(--header-height);z-index: -1;}
    .header .main-menu a{color: var(--wp--preset--color--white);}
    .header .main-menu .current-menu-item > a{color: var(--wp--preset--color--primary-color);}
    .header-custom-submenu:after{top:- var(--header-height);height:calc(100% + 200px);}
    .light.header nav:after{background-color:#FFF;}
    .logged-in nav.show-nav{display:block;    height: calc(100vh - var(--header-height) - 46px);}
    nav.show-nav{z-index:9999;display:block;    height: calc(100vh - var(--header-height));}
    .header .main-menu{flex-direction: column;}
    .header .menu-item, .header .main-menu > li{line-height:40px;font-size:30px;padding-left:20px;}
    .mob-menu-submenu {cursor: pointer;position: absolute;right: 23px;top: 12px;}
    .header .show-submenu-onhover a:after, .header .menu-item-has-children > a:after{
        background: none;

    }
    .header-custom-submenu, .header-custom-submenu:hover{ min-height:calc(100vh - 200px);  opacity: 1;display: none;left: -120%;top:100%;}
    .header-custom-submenu.show-submenu,
    .acf-block-preview .header-custom-submenu{    z-index: 9999;
        opacity:1;display: block;left: 0 ;top:0;position:absolute;    width: 100%;}
    .acf-block-preview .header nav{display:block;}
    .acf-block-preview .hide-submenu{display:none !important;}
    .header .nav-logo{margin-left:20px;}
.header-custom-submenu > .wp-block-template-part{    max-height: calc(100vh - 225px);
    overflow: scroll;}


.header .sub-menu .sub-menu{left:auto;top:auto;    padding-left: 20px;box-sizing: border-box;}
.header .sub-menu .sub-menu li{border-bottom:0;}
.header .sub-menu .mob-menu-submenu{right:0;}
.header .sub-menu li:hover a{box-shadow: none;}
.header .main-menu{gap:0;}
.header .sub-menu {
    top: auto;
    margin: 0;
    border-radius: 0;
    list-style: none;
     background: transparent;
    z-index: 999;
    position: relative;
    display: none;
    width: 100%;
    padding: 0;
}
.header .menu-item{font-size: 16px;text-transform:none;padding:0;}
.header .sub-menu li{    line-height: 45px;border-bottom: 1px solid rgba(255, 255, 255, 0.17);}
.header .sub-menu li a{    margin:0;margin-left:20px;}
.header .main-menu > li{padding-right: 20px; font-size: 16px;text-transform:uppercase;}
.header .main-menu > li > a{font-weight:400;border-bottom: 1px solid rgba(255, 255, 255, 0.17);}
.header .main-menu > li:hover > a {
    color: var(--wp--preset--color--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.header .main-menu > li:hover,
.header li.current-menu-ancestor,
.header li.current-selected-item,
.header li.current_page_item {
        opacity: 1;
        box-shadow: inset 0 0 0 var(--wp--preset--color--primary-color);

}
.header .mob-menu-submenu.custom-submenu{
    background:none;
}
    .header .mob-menu-submenu{

content: '';
    width: 10px;
    height: 10px;
    margin-left: 10px;
    display: inline-block;
    transform: rotate(90deg);
    transition: all 0.3s;
    background: url(/wp-content/themes/casino/assets/images/arrow.svg)no-repeat center;
    padding: 25px 10px !important;
    top: -8px;
    box-sizing: content-box;
    margin: 0;
    right: 20px;
    }


.header li:hover > .sub-menu {
    display: none;
}

.header li.current-menu-ancestor > .sub-menu, .open-submenu.sub-menu, li:hover > .open-submenu.sub-menu{display:block;}



.header .main-menu a{width:100%; line-height: 45px;    padding: 0;   display: inline-block;margin:0;}
.header .show-submenu-onhover a:after, .header .menu-item-has-children > a:after {
    position: absolute;
    right: 40px;
    top: 18px;
}



}

@media screen and (max-width: 768px){
    .header-custom-submenu:before{ position:absolute;content:''; width:100%;top:0;border-top: 1px solid rgba(153, 153, 153, 0.29);}
    .header .main-menu{margin-top: 20px;}
    .show-submenu.header-custom-submenu, .header-custom-submenu:hover{ background: var(--wp--preset--color--dark);}
    .header .wp-block-column + .wp-block-column{border-top:1px solid rgba(153, 153, 153, 0.29);}
    .header-custom-submenu:after{background-image: none;}
    body .header .nav-logo img{max-width: 170px;}

}



.header button::before {
    box-shadow: 0 0 36px 4px #ffffffa6, 0 0 100px 30px #ecb600, 0 0 140px 60px #edb600;
}
.header button:hover {
    box-shadow: 0 0 36px 4px #ffffffa6, 0 0 100px 30px var(--wp--preset--color--primary-color), 0 0 140px 60px var(--wp--preset--color--primary-color);
    color: var(--wp--preset--color--primary-color) !important;
}


