html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}
html { height: 101%; } /* always display scrollbars */
body { font-size: 62.5%; line-height: 1; font-family: Arial, Tahoma, Verdana, sans-serif; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
strong { font-weight: bold; } 

input { outline: none; }

table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; }

a { text-decoration: none; }
a:hover { text-decoration: underline; }


.Wrapper{
  background: url(../images/bg/bg14.jpg);
/*background: #0d142a;*/
  background-size: cover;
}

.WrapCounter{
  border: 5px solid white;
  padding: 20px;
  width: auto;
  border-radius: 30px;
}
.Count{
  width: 200px;
  font-size: 30px;
  font-weight: 900;
  color: white;
  padding: 10px;
  text-align: center;
  display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.SmallCoin{
  width: 50px;
  margin-right: 5px;
}
.WrapCoin{
  display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: flex-end;
    align-content: flex-end;
    -webkit-align-items: center;
    align-items: center;
}
.BlockCoin{
  display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.WrapPrize{
  display: none;
}
.WrapForm{
  display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.Coin{
  width: 200px;
  margin: 0 auto;
  padding: 50px;
  animation: bounce-in 2s ease;
  
}


@keyframes  play_top {

    0% 
    {
        -webkit-box-shadow: 0 0 rgba(0,163,182,.6);
        -moz-box-shadow: 0 0 rgba(0,163,182,.6);
        box-shadow: 0 0 rgba(0,163,182,.6);
    }
    to 
    {
        -webkit-box-shadow: 0 0 0 20px rgba(0,163,182,0);
        -moz-box-shadow: 0 0 0 20px rgba(0,163,182,0);
        box-shadow: 0 0 0 20px rgba(0,163,182,0);
    }   

}

@keyframes  play_down {

    0% 
    {
        -webkit-box-shadow: 0 0 rgba(55,55,55,.6);
        -moz-box-shadow: 0 0 rgba(55,55,55,.6);
        box-shadow: 0 0 rgba(55,55,55,.6); 
    }
    to 
    {
        -webkit-box-shadow: 0 0 0 20px rgba(55,55,55,0);
        -moz-box-shadow: 0 0 0 20px rgba(55,55,55,0);
        box-shadow: 0 0 0 20px rgba(55,55,55,0);  
    }

}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% { transform: scale(.9); }
  100% { transform: scale(1); }
}
.Coin img{
  width: 100%;
  /*animation: 1s linear 0s normal none infinite running rot;
  -webkit-animation: 1s linear 0s normal none infinite running rot;*/
}
span.valute{
margin-left: 10px;
}

@keyframes rot {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes rot {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% { transform: scale(.9); }
  100% { transform: scale(1); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
button.ClickBut{
  padding: 20px;
  color: #ffffff;
  text-align: center;
  font-size: 50px;

  background: #abf210;

/*            background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%);*/
            margin: 10px;
            padding: 15px 45px;
            text-align: center;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: white;            
            box-shadow: 0 0 20px #eee;
            border-radius: 10px;
            display: block;
            border: none;
            -webkit-animation-name: 'play_down';
    -moz-animation-name: 'play_up';
    animation-duration: 1s;
    animation-iteration-count: infinite;
    box-shadow: 0 0 0 3px rgba(0, 0, 0,.5);
    cursor: pointer;
          }


          button.ClickBut:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
          }
          .BlockPicture{
            width: 400px;
          }
          .BlockPicture img{
            width: 100%;
          }

          #timerBlock {
            text-align: center;
            font-size: 30px;
            margin-top: 20px;
            text-align: center;
            color: #ffffff;
        }

        .WrapTimer{
padding: 20px;
                 }

                 /* Стили для модального окна */
        #modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        #modalContent {
/*            background: linear-gradient(45deg, #3c0564, #35032a);*/
background: #19203a;
            padding: 20px 30px;
            border-radius: 10px;
            text-align: center;
            position: relative;
            animation: bounce-in 2s ease;
        }

              #modal2 {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }

        #modalContent2 {
    background: #19203a;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    width: 30%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование по обеим осям */
/*    animation: bounce-in 2s ease;*/
}

.TextAfterReg{
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
}

        .win {
            font-size: 24px;
            color: #ffffff;
            font-weight: bold;
        }


        /* Стили для закрытия модального окна */
        .closeButton {
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            color: #ffffff;
            font-size: 20px;
            z-index: 999999 ;
            
          }

.PicPlayer{
    animation: fade-in 2s linear forwards;
}

          .BlockPictureWin .PicPlayerWin {
            display: none;
            position: absolute;
/*            z-index: 1; /* Задаем начальный z-index */
            top: -5%;
            right: 5%;
            width: 400px;
        }

        .PicPlayerWin{
          animation: fade-in-left 2s ease;
        }

        .BlockPictureWin .PicPlayerWin {
            z-index: 999; /* Задаем высокий z-index для блока с победителем */
        }

        .BlockPictureWin img{
            width: 100%;
          }

.error {
        margin-top: 10px;
        color: #ff1200;
        font-weight: 400;
    }

.YouWin{
    padding: 30px;
}       
span.WinMoney{
  font-size: 40px;
  padding-top: 30px;
  padding-bottom: 20px;
  font-weight: 900;
  color: #abf210;
}

span.win{
  font-size: 20px;
  padding-bottom: 30px;
}

button.ButtonModal{
    background: #abf210;
/*background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%);*/
            margin: 10px;
            padding: 15px 45px;
            text-align: center;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: white;            
            box-shadow: 0 0 20px #eee;
            border-radius: 10px;
            display: block;
            border: none;
            cursor: pointer;
}

button.ButtonModal span{
  font-weight: 900;
  font-size: 25px;
}


#fallingCoinsContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.fallingCoin {
    position: absolute;
    width: 20px; /* Размер монеты */
    height: 20px;
    background: url('../images/small-coin.png') no-repeat center center;
    background-size: cover;
    animation: fall 1s linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh); /* Высота, на которую монета упадет (100vh - высота экрана) */
    }
}


.WrapButtonModal{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

/*Registration*/


.block-registration {
/*    background: linear-gradient(45deg, #3c0564, #35032a);*/
background: #0d142a;
   width: 450px;
    padding: 30px;
    border-radius: 10px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.registration-form {
/*    background-color: #fff;*/
    padding: 0;
    
}

.title-welcome {
    text-align: center;
    margin-bottom: 50px;
    color: #3c0564;
}
.title-welcome h2{
  font-size: 30px;
  color: #ffffff;
}

.form-registr {
    margin: 0 auto;
    padding: 0 30px;
}

.signup-form {
    display: flex;
    flex-direction: column;
}

.inputLabel {
    margin-bottom: 15px;
}

input {
    width: 100%;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #333;
    outline: none;
    padding: 10px 0;
    padding-left: 20px;
    box-sizing: border-box;
}

.currency-select select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #333;
    outline: none;
}

.buttons-reg {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}

.check-agree {
    display: flex;
    align-items: center;
    color: #333;
    margin: 25px 0;
}

.container-check {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    color: white;
    line-height: 30px;
}

.container-check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border-radius: 5px;
    border: 2px solid #3c0564;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container-check input:checked ~ .checkmark:after {
    display: block;
}

.container-check .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #3c0564;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

@keyframes pulse {
  from { transform: scale(0.8); }
  to { transform: scale(1.2); }
}

@keyframes rotate-in-down-left {
  0% {
    transform-origin: left bottom;
    transform: rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform-origin: left bottom;
    transform: rotate(0);
    opacity: 1;
  }
}
.button-registr button {
    background: #abf210;
/*    background-image: linear-gradient(to right, #FF512F 0%, #F09819  51%, #FF512F  100%);*/
            margin: 10px;
            padding: 15px 45px;
            text-align: center;
            text-transform: uppercase;
            transition: 0.5s;
            background-size: 200% auto;
            color: white;            
            box-shadow: 0 0 20px #eee;
            border-radius: 10px;
            border: none;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    font-size: 30px;
  font-weight: 900;
  animation: pulse 1s infinite ease-in-out alternate;
}


/*.button-registr button:hover {
    background-color: #35032a;
}*/

.wrap-registration {
    display: none; /* Сначала скрываем блок */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.5);
            margin: 0 auto;
            width: 100%;
            height: 100vh;


    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;

}

.close-form{
   position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            color: #ffffff;
            font-size: 20px;
            z-index: 999999 ;
}

/* Add more styling as needed */


.WrapPromocode{
    padding: 20px;

}
span.Promo{
    font-size: 40px;
    font-weight: 900;
    color: orange;
}
.Textpromo{
    margin-bottom: 10px;
}
.Textpromo span{
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;

}


     #warning {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
           background: linear-gradient(45deg, #49196d, #000000);
            border: 0;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            max-width: 300px;
        }

        #warningContent {
            text-align: center;
            position: relative;
            color: #ffffff;
        }
    #warningContent span{
        color: #ffffff;
        font-size: 20px;
    }
        .BlockWarning {
            margin-bottom: 15px;
            padding: 30px;
        }

        #warning .closeButton {
            cursor: pointer;
            font-size: 20px;
            color: #555;
            position: absolute;
            top: 10px;
            right: 10px;
        }

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-in-left {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-m {
  from { transform: scale(0.7); }
  to { transform: scale(0.8); }
}
        @media only screen and (max-width: 767px) {
    .Coin img,
    .ClickBut {
        touch-action: manipulation;
    }
}


.social-icons {
    /*display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    align-items: center;*/
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}
.social-icons img{
    width: 15px;
}

.social-icons img.fb{
    width: 15px;
}

.blocksocial{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #19203a;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.social-icons li {
    padding: 20px;
    border-bottom: 2px solid grey;
}

.social-icons li:last-child {
    border-bottom: none;
}

@media(max-width:1024px) and (orientation:portrait){
    .BlockPictureWin img, .BlockPicture{
        display: none;
    }
    .BlockCoin{
        height: 100vh;
    }
    .block-registration {
    width: 90%;
    max-width: 450px;
    padding: 40px 20px;
    height: max-content;
    box-sizing: border-box;
}
.wrap-form{
    padding: 10px 20px;
}
.button-registr button{
    animation: pulse-m 1s infinite ease-in-out alternate;
}
.title-welcome h2 {
    font-size: 25px;
    text-align: justify;
}


/*.title-welcome {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 10px;
}*/
}


@media(max-width:1100px) and (orientation:landscape){
    .BlockPictureWin img, .BlockPicture{
        display: none;
    }
    .wrap-registration {
            overflow-y: auto;
        }
        .wrap-form {
            display: flex;
            flex-wrap: wrap; /* Разрешает перенос элементов на новую строку */
        }

        .inputLabel,
        .currency-select {
            width: 50%; /* Каждый элемент будет занимать половину ширины */
            box-sizing: border-box;
            padding: 0 10px;
        }
}

@media(max-width: 300px){
    .Coin {
    width: 60%;
}
button.ButtonModal{
    padding: 15px 20px;

}
button.ButtonModal span {
    font-size: 20px;
}
button.ClickBut{
    padding: 15px 35px;
}
button.ClickBut span {
    font-size: 30px;
}
.registration-form{
    width: 100%;
}
.form-registr{
    padding: 0;
}
.wrap-form{
    padding: 10px 0;
}
.button-registr button{
    padding: 15px 20px;
}
.YouWin {
    padding: 30px 10px;
}
}