body,
html {
  font-family: serif, sans-serif;
  overflow: auto;
  background-color: #000;
  color: white;
  margin: 0px;
}

a {
  text-decoration: none;
}
a:link,
a:visited {
  color: white;
}
ul {
  list-style-type: none;
}




.wrapper {
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.wrapper::before {
    background: linear-gradient(270deg, transparent 0, transparent 572px, #09172e 652px, #09172e);
    content: "";
    position: fixed;
    width: 50%;
    max-width: 100%;
    bottom: 0;
    top: 0;
    left: 0;
    z-index: -1;
}
.wrapper::after {
    background: linear-gradient(90deg, transparent 0, transparent 572px, #09172e 652px, #09172e);
    content: "";
    position: fixed;
    width: 50%;
    max-width: 100%;
    bottom: 0;
    top: 0;
    right: 0;
    z-index: -1;
}





header {
    max-width: 1000px;
    height: 64px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    justify-content: center;
}
header:before {
    content: "";
    height: 96px;
    right: -20px;
    width: calc(50% + 40px);
    position: absolute;
    top: 0;
    background: url(../images/bg-header-top.webp) 100% -2px no-repeat;
    background-size: cover;
    pointer-events: none;
}
header:after {
    content: "";
    height: 96px;
    width: calc(50% + 40px);
    position: absolute;
    top: 0;
    background: url(../images/bg-header-top.webp) 100% -2px no-repeat;
    background-size: cover;
    pointer-events: none;
    transform: rotateY(180deg);
    z-index: -1;
}




.btn-red {
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    width: 240px;
    text-decoration: none;
    background-image: linear-gradient(#c9021a, #72010f);
    position: relative;
    transition: 0.2s;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    filter: brightness(1);
    will-change: background, filter;
    height: 48px;
    padding: 0 10px;
    cursor: pointer;
    display: inline-flex;
    z-index: 2;
    font-family: sans-serif;
  }
  .ml {
    margin-left: 60px;
  }
  .mr {
    margin-right: 60px;
  }
  .btn-blue {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    font-size: 20px;
    width: 6rem;
    text-decoration: none;
    background-image: linear-gradient(#1f69b9, #084686);
    position: relative;
    transition: 0.2s;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    filter: brightness(1);
    will-change: background, filter;
    height: 48px;
    padding: 0 30px;
    cursor: pointer;
    z-index: 2;
    font-family: sans-serif;
}



.or {
  margin: 0 16px 0 18px;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
  z-index: 1;
  margin: 0 28px;
  padding: 0 15px;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  border-radius: 16px;
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  color: #7e8187;
  height: 20px;
  display: flex;
  align-items: center;
}
.auth {
  display: flex;
  z-index: 3;
  gap: 10px;
  list-style-type: none;
  padding: 0px;
}
.auth_item {
  cursor: pointer;
}



nav {
  height: 270px;
  margin: 0px auto;
  margin-top: 20px;
  max-width: 1000px;
  background-image: url(../images/promo_bg.webp);
  background-size: cover;
  background-position: 70px;
  position: relative;
}
.logo {
  position: absolute;
  top: -63px;
  left: -29px;
  z-index: 1;
}
.main_menu {
  display: flex;
  z-index: 3;
  gap: 25px;
  float: right;
  margin: 15px 30px;
  font-size: 18px;
}




.title {
  width: 350px;
  height: 200px;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  line-height: 1.3;
  padding: 0px 40px;
  position: absolute;
  bottom: 5px;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.title h2 {
  margin: 5px;
}
.title p {
  color: #ffc000;
  font-size: 18px;
  margin: 5px;
  margin-bottom: 15px;
}
.title_desc {
  width: 260px;
  height: 55px;
  background-color: #ffc000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.7);
  font-size: 20px;
  background-image: url(../images/more.webp);
  position: relative;
}
.title_desc::before {
  z-index: 3;
  content: "";
  display: block;
  width: 55px;
  height: 82px;
  background: url(../images/btn-engage-toggle.webp) 50% no-repeat;
  background-position: 0 -64px;
  position: absolute;
  right: -50px;
  top: -23px;
}
.title_desc::after {
  z-index: 3;
  content: "";
  display: block;
  width: 55px;
  height: 82px;
  background: url(../images/btn-engage-toggle.webp) 50% no-repeat;
  background-position: 0 18px;
  position: absolute;
  left: -5px;
  top: -23px;
}





main {
  margin: 0px auto;
  max-width: 1000px;
  display: flex;
}
section {
  float: left;
  width: 700px;
  background-image: url(../images/wrapper-main-1.webp);
  position: relative;
}
aside {
  float: right;
  width: 300px;
  background-image: url(../images/wrapper-main-1.webp);
}
.game_header1 {
  width: 100%;
  height: 90px;
  background-image: url(../images/game_header.png);
  background-size: cover;
  margin: 10px 0 0 0;
}
.game_header2 {
  width: 100%;
  height: 80px;
  background-image: url(../images/bg-category.webp);
  background-size: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
  display: flex;
  color: #fff;
  align-items: center;
  padding-left: 30px;
  transform: translateX(-10px);
}




.reg {
  width: 100%;
  height: 80px;
  background-image: url(../images/perforated_texture.webp);
  background-position: 0 0;
  border: 2px solid #090909;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 0 0 1px hsla(0deg, 0%, 100%, 0.05), 0 0 0 1px #171e27;
  box-shadow: inset 0 0 0 1px hsla(0deg, 0%, 100%, 0.05), 0 0 0 1px #171e27;
  background-size: 16px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spikes_top:before {
  content: "";
  width: 6px;
  height: 6px;
  background-image: url(../images/ellipse.svg);
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 5px;
  left: 5px;
}
.spikes_top:after {
  content: "";
  width: 6px;
  height: 6px;
  background-image: url(https://dcpcdn.top/core-assets/avtomaty/images/ellipse.svg);
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
}
.spikes_bottom::before {
  content: "";
  width: 6px;
  height: 6px;
  background-image: url(https://dcpcdn.top/core-assets/avtomaty/images/ellipse.svg);
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  bottom: 5px;
  left: 5px;
}
.spikes_bottom::after {
  content: "";
  width: 6px;
  height: 6px;
  background-image: url(https://dcpcdn.top/core-assets/avtomaty/images/ellipse.svg);
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  bottom: 5px;
  right: 5px;
}


.btn-big {
  width: 190px;
}
.strip {
  width:100%;
  height: 600px;
  background-image: url(../images/strip.png);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px hsla(0deg, 0%, 100%, 0.05), 0 0 0 1px #171e27;
  position: relative;
}
.btn-strip {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.5);
}
.box {
  width:100%;
  height: 300px;
  background-image: url(../images/box.png);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px hsla(0deg, 0%, 100%, 0.05), 0 0 0 1px #171e27;
  position: relative;
}
.btn-box {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.5);
}
.johny {
  width:100%;
  height: 220px;
  background-image: url(../images/johny.png);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px hsla(0deg, 0%, 100%, 0.05), 0 0 0 1px #171e27;
  position: relative;
}



h2.main_title {
  color: #fff;
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 40px;
}
p.main_text {
  padding: 20px 30px 0px 30px;
  text-align: justify;
  font-size: 14px;
  line-height: 1.2rem;
  font-family: sans-serif;
}
.section-header {
  color: #aaaabd;
  max-width: 100%;
  justify-content: flex-start;
  margin: 3rem 3rem;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}







.games-article {
    margin-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.3rem;
    margin-bottom: 3rem;
    padding: 0px;
}
.games-article > li { 
    width: 20px;
    flex-basis: 150px;
    position: relative;
    margin: 10px 0;
}
.games-article li img { 
    object-fit: cover; 
    width: 100%; 
    height: 120px; 
    vertical-align: middle; 
    border-radius: 5px; 
}
.games-article li p { 
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 10px;
}
.games-article li a.button {
    position: absolute; 
    top: 60%;
    left: 50%;
}
.games-article li a.button .btn-green {
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    background-image: linear-gradient(#63b420, #1d5803);
    position: relative;
    transition: 0.2s;
    border: none;
    border-radius: 4px;
    font-weight: 400;
    filter: brightness(1);
    will-change: background, filter;
    height: 40px;
    padding: 0 30px;
    cursor: pointer;
    z-index: 2;
}   
.games-article li a {
    position: absolute;
    top: 70%;
    left: 15%;
    color: white;
}  
.image-hide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(2,0,36,0.9556197478991597) 0%, rgba(2,0,36,0.9640231092436975) 47%, rgba(0,0,0,0.8407738095238095) 48%, rgba(0,0,0,0.577468487394958) 100%);
    display: none;
}
.image-hide-show:hover > img + div { 
    display: block;
}




hr {
  width: 100%;
  height: .1rem;
  margin: 0 auto;
  background-color: #333;
  max-width: 1000px;
  border: none;
}
.center-bottom {
  max-width: 1000px;
  margin: 0 auto;  
  z-index: 0;
  height: 6rem;
  background-color: #24262c;
  clear: both;
  display: flex;
  justify-content: center;
  background-image: url(../images/bottomCards.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40%;
}
.bottom_first {
  font-family: sans-serif;
  max-width: 1000px;
  margin: 0 auto;  
  display: flex;
  justify-content: center;
  color: white;
  line-height: 1.6rem;
  padding: 20px 30px 0px 30px;
  font-size: .9rem;
  line-height: 1.3rem;
  background-color: #24262c;
  padding: 0px;
  min-height: 130px;
}
.bottom_first-left {
  flex-basis: 20%;
}
.bottom_first-center {
  flex-basis: 15%;
}
.bottom_first-right {
  flex-basis: 55%;
}
.bottom_first b {
  color: white;
}   
.item {
  margin: 0px 10px;
  margin-bottom: 30px;
}
.item p {
  text-align: justify;
}
.bottom_second {
  max-width: 1000px;
  margin: 0 auto;  
  height: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  line-height: 1.6rem;
  font-size: .9rem;
  background-color: #24262c;
}







.logo-mobile {
  display: none;
  z-index: 4;
}
.logo-mobile img {
  height: 3rem;
  float: right;
  margin-right: 1rem;
}
.burg-button {
    width: 2.5rem;
    height: 2rem;
    border: none;
    background-color: transparent;
    position: relative;
    margin: 1rem;
    z-index: 6;
}
.burg-button span {
    position: absolute;
    width: 90%;
    height: 2px;
    background-color: #fff;
    left: 2px;
  transition: transform .5s, opacity .5, background-color .5s;
}
.burg-button span:nth-child(1) {
  transform: translateY(-8px);
}
.burg-button span:nth-child(3) {
  transform: translateY(8px);
}
.burg-menu {
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: #152b5a;
  padding: 3.5rem 1rem 3rem 0rem;
  width: 17rem;
  left: -18rem;
  height: auto;
  transition: transform .5s;
  z-index: 5;
  font-size: 1rem;
}
.menu__list {
  display: block;
  color: white;
  list-style: none;
}
.menu__item {
padding: 1rem 0rem;
}





.game {
  margin: 20px;
  max-width: 100%;
}
.game iframe {
  width: 100%;
  height: 500px;
}






@media screen and (max-width: 1370px) {

  main, section {  
      width: 100%;
  }
  aside {
      display: none;
      visibility: hidden;
  }
  .game_header1 {
    width: 80%;
    height: 90px;
    background-image: url(../images/game_header.png);
    background-size: cover;
    margin: 0 auto;
  }
}




@media (max-width: 992px) {
  .logo-mobile {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 4rem;
      background-color: #152b5a;
      margin-bottom: 1rem;
      box-shadow: 0px 1px 0 0 #14498e;
  }
  .burger.open .burg-menu {
      transform: translateX(100%);
  }
  .title {
    gap: 0px;
  }	
  .title h2 {
    margin: 0px;
    text-shadow: 1px 1px 1px #333;
  }
  .title p {
    text-shadow: 1px 1px 1px #333;
  }
  .title_desc {
    width: 170px;
    height: 55px;
  }
  .title_desc::before {
    z-index: 3;
    content: "";
    display: block;
    width: 55px;
    height: 82px;
    background: url(../images/btn-engage-toggle.webp) 50% no-repeat;
    background-position: 0 -64px;
    position: absolute;
    right: -50px;
    top: -23px;
  }
  .title_desc::after {
    z-index: 3;
    content: "";
    display: block;
    width: 55px;
    height: 82px;
    background: url(../images/btn-engage-toggle.webp) 50% no-repeat;
    background-position: 0 18px;
    position: absolute;
    left: -5px;
    top: -23px;
  }





  header, .main_menu, .logo {
    display: none;
  }
  .games-article {
      margin-top: 2rem;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1.3rem;
      list-style-type: none;
      padding: 0px;
  }
    .games-article li a.button {
        position: absolute; 
        top: 62%;
        left: 45%;
        width: 45%;
    }
    .games-article li a.button .btn-green {
        width: 20%;
    }    
    .games-article li a {
      left: 10%;
    }  
    .games-article > li { 
        width: 60px;
        flex-basis: 150px;
    }
  .image-hide-show .image-hide {
      display: none;
      background-color: rgba(12, 26, 43, 0.4);
  }
  .image-hide-show:active > img + div { 
      display: block;
  }
  .image-hide .btn-green {
      font-size: .9rem;
  }





  nav {
    height: 270px;
    margin: 0px auto;
    margin-top: 20px;
    max-width: 100vw;
    background-image: linear-gradient(90deg, rgba(2, 0, 36, 0.001) 40%, rgba(0,0,0,1) 100%), url(../images/promo_bg.webp);
    background-size: 240% 100%;
    background-position: -170px;
    position: relative;
  }
  body .center-bottom {
    clear: both;
    background-size: 80%;
    border-radius: 0 0 0 0;
    box-shadow: none;
  }
  .game_header1 {
    width: 70%;
    height: 90px;
    background-image: url(../images/game_header.png);
    background-size: cover;
    margin: 0 auto;
  }
  .game_header2 {
    transform: translateX(0px);
  }
  .section-header {
    margin: 3rem 2.4rem;
  }
  h2.main_title {
    color: #fff;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 40px;
    font-size: 18px;
  }

  body .bottom_first-left, body .bottom_first-center {
    display: none;
  }
  .bottom_first-right {
    flex-basis: 90%;
  }
  body .bottom_second {
      font-display: flex;
      flex-direction: column;

      height: 13rem;
      line-height: 1.4rem;
      text-align: center;
      width: 100%;
  }
  body .bottom_second .bottom_second-left {
      font-size: 0.8rem;
      margin: 0px;
  }
  body .bottom_second .bottom_second-right {
      background-size: 80%;
      background-position: center center;
  }

}