@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');


body{
    background-color: #000;
    color: #fff;
    font-family: "Onest", sans-serif;
    min-height: 100vh;
}

.wrapper{
    padding-bottom: 50px;
}
.page_start{
    text-align: center;
    padding: 0 30px;
}
.page_start h1{
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 39px;

}

.page_start img{
    height: 250px;
}
.page_start .start_img{
    position: relative;
}
.page_start .start_img::after{
    content: "";
    position: absolute;
    bottom: -50px;
    left: calc(50% - 150px);
    background: #00b6fc33;
    filter: blur(25px);
    height: 120px;
    width: 300px;
    z-index: -1;
    border-radius: 1000px;
}
.page_start h2{
    font-weight: 600;
    font-size: 20px;
}
.page_start p{
    font-size: 14px;
}
.green_btn{
    background: #0087C8;
    color: #fff;
    font-weight: 400;
    display: block;
    border-radius: 100px;
    font-size: 18px;
    text-decoration: none;
    padding: 10px 30px;
}
.start_btn{
    width: 90%;
}
.green_btn:active, .green_btn:hover{
    color: #fff;
    text-decoration: none;
    background-color: #0087C8;
}
.page_dashboard{

}
.page_dashboard::before, .page_miners::before, .page_task::before{
    /* content: 'TON FORGE';
    background-image: url(/assets/img/top_line.png);
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center; */
}
body.mobile .page_dashboard{
    padding-top: 80px;
}
body.mobile .page_top{
    padding-top: 110px;
}
body.mobile .page_top_image{
    padding-top: 110px;
}
body.mobile .page_start h1{
    padding-top: 120px;
}
.top_card{
    padding: 25px 15px;
    border-radius: 0 0 20px 20px;
    padding-bottom: 0;
}
.top_card_title{
    font-weight: 500;
    margin-bottom: 10px;
}   
.stars_balance_block{
    border: none;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 18px;
    background: #1F1F1F;
}
.stars_balance_block img{
    margin-right: 10px;
}
.mine_block{
    margin-top: 30px;
    background-color: #0087C8;
    padding: 30px;
    border-radius: 50px;
}
.mine_block_title{
    display: flex;
    align-items: center;
    justify-content: center;
}
.mine_block_title img{

}
.mine_block_title span{
    color: #fff;
    font-weight: 600;
}
.mine_block_img{
    text-align: center;
}
.mine_block_body{
    text-align: center;
}
.mine_block_body span{
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}
.mine_block_foot{
    display: flex;
    align-items: center;
    justify-content: space-evenly
}

.mine_butt{
    width: 40%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.493) 0%,rgb(255, 255, 255) 100%);
    border-radius: 50px;
    padding: 9px 10px;
    text-align: center;
    color: #000;
    text-decoration: none;
    border: 1px solid #fff;
}
.white_button{
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.493) 0%,rgb(255, 255, 255) 100%);
    border-radius: 50px;
    padding: 9px 10px;
    text-align: center;
    color: #000;
    text-decoration: none;
    border: 1px solid #fff;
}
.black_button{
    background-color: #000;
    border-radius: 7px;
    padding: 7px 15px;
    color: #fff;
    text-decoration: none;
}
.black_button:active, .black_button:hover{
    color: #fff;
    text-decoration: none;
}
.deposit_button{
    position: relative;
}
.dash_buttons{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 35px;
    margin-bottom: 20px;
}
.dash_buttons a{
    text-align: center;
    color: #fff;
    text-decoration: none;
}
.dash_buttons a img{
    
}
.dash_buttons a div{ 
    background-color: #fff;
    border-radius: 100px;
    height: 60px;
    width: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.miners_block{
    margin-top: 30px;
}
.miners_title{
    font-size: 18px;
}
.miner{
    background-color: #18191E;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 10px;
}
.miner_title{
    background-color: #4489f2;
    padding: 4px 15px;
    border-radius: 7px;
    display: inline;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.miner_power{
    margin-top: 10px;
    font-size: 12px;
    margin-bottom: 15px;
}
.green_color{
    color: #478fe3;
}
.miner_power_value img{
    width: 24px;
    height: 24px;
    margin-right: 3px;
}
.miner_power_value{
    display: flex;
    align-items: center;
}
.miner_power_title{
    margin-bottom: 5px;
}
.miner_progres{
    font-size: 12px;
}
.miner_progres_bg{
    width: 100%;
    background: #000;
    border-radius: 50px;
    height: 8px;
    margin-top: 6px;
}
.miner_progres_line{
    border-radius: 50px;
    height: 8px;
    background: linear-gradient(90deg, rgb(36, 51, 116) 0%, rgb(36, 51, 116) 7.692%, rgb(39, 59, 146) 7.692%, rgb(39, 59, 146) 15.385%, rgb(43, 67, 173) 15.385%, rgb(43, 67, 173) 23.077%, rgb(46, 77, 198) 23.077%, rgb(46, 77, 198) 30.769%, rgb(49, 86, 218) 30.769%, rgb(49, 86, 218) 38.462%, rgb(53, 97, 234) 38.462%, rgb(53, 97, 234) 46.154%, rgb(57, 107, 244) 46.154%, rgb(57, 107, 244) 53.846%, rgb(61, 117, 249) 53.846%, rgb(61, 117, 249) 61.538%, rgb(64, 127, 248) 61.538%, rgb(64, 127, 248) 69.231%, rgb(68, 137, 242) 69.231%, rgb(68, 137, 242) 76.923%, rgb(72, 146, 231) 76.923%, rgb(72, 146, 231) 84.615%, rgb(75, 154, 214) 84.615%, rgb(75, 154, 214) 92.308%, rgb(79, 162, 193) 92.308%, rgb(79, 162, 193) 100%);
}
.miner_img{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}
.miner_img::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #37668e80;
    filter: blur(25px);
    z-index: 0;
}
.miner_img img{
    z-index: 1;
}
.upgrade_block{
    padding-top: 10px;
}
.upgrade_button{
    width: 100%;
    border-radius: 50px;
    padding: 15px;
    display: block;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    background-color: #0087C8;
    color: #fff;
}
.upgrade_button:active, .upgrade_button:hover{
    color: #fff;
}
.top_card.page_top{
    text-align: center;
    margin-bottom: 20px;
}
.page_title{
    font-size: 24px;
}
.page_desc{
    font-size: 13px;
    color: #ffffffbc;
}
.dash_ref_block{
    background-color: #0087C8;
    padding: 30px;
    border-radius: 50px;
    text-align: center;
}
.dash_ref_with_block{
    background-color: #1F1F1F;
    padding: 30px;
    border-radius: 50px;
    text-align: center;
}
.miner_rent_period{
    background-color: #000;
    padding: 7px 10px;
    border-radius: 7px;
    display: inline;
    font-size: 14px;
}
.miner.rent{
    border-radius: 15px;
    margin-bottom: 0;
}
.rent_miner_but{
    margin-bottom: 20px;
    margin-top: 5px;
    border-radius: 10px;
    background-color: #0087C8;
    border: none;
    padding: 10px 20px;
    color: #fff;
    display: block;
    width: 100%;
    font-weight: 600;
}
.drwb_amount{
    text-align: center;
    color: #0087C8;
    font-size: 32px;
    font-weight: 600;
}
.rent_miner_but:active{
    background-color: #5fd369;
}
.top_card.page_top_image{

}
.page_top_image_img{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.page_top_image_img img{
    width: 60%;
    z-index: 1;
}
.page_top_image_img::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #378e3e80;
    filter: blur(25px);
    z-index: 0;
}
.tasks_list{
    margin-top: 20px;
}
.task_item{
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    background-color: #18191E;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.task_img{
    width: 42px;
    margin-right: 10px;
}
.task_img img{
    width: 42px;
    height: 42px;
    border-radius: 100px;
}
.task_body{
    margin-right: auto;
}
.task_title{

}
.task_price{

}
.task_price img{
    width: 16px;
    height: 16px;
}
.task_button{

}
.task_claimed{
    display: none;
}
.task_claimed img{
    width: 24px;
    height: 24px;
    margin-left: 7px;
}
.start_task_but{
    border: 1px solid rgb(64, 127, 248);
    background: transparent;
    border-radius: 10px;
    color: #fff;
    padding: 7px 15px;
}
.task_item.claimed .start_task_but{
    display: none;
}
.task_item.claimed .task_claimed{
    display: flex;
}
.shop_title{
    text-align: center;
    margin-top: 20px;
}
.shop_title h3{
    font-size: 20px;
    font-weight: 500;
}
.shop_list{
    margin-top: 15px;
}
.shop_item{
    border-radius: 30px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid #0087C8;
}
.shop_item_img{

}
.shop_item_img img{
    height: 80px;
}
.shop_item_price{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.shop_item_price img{
    width: 24px;
    height: 24px;
    margin-right: 7px;
}
.shop_item_buy{

}
.shop_item_buy_button{
    background: #0087C8;
    color: #fff;
    border-radius: 50px;
    padding: 5px 20px;
    border: none;
    width: 100%;
    display: block;
}
.loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #18191E;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 36px;
    font-weight: 600;
}
.modal_overlay{
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: #00000091;
    z-index: 98;
    display: none;
}
.deposit_modal{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90%;
    background-color: #000;
    z-index: 99;
    padding: 30px;
    display: none;
    overflow-y: auto; 
}
.deposit_modal_close{
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 26px;
    cursor: pointer;
}
.deposit_modal h2{
    margin-top: 20px;
    margin-bottom: 15px;
}
.deposit_modal button{
    display: block;
    width: 100%;
    background-color: #18191E;
    border-radius: 10px;
    padding: 15px;
    border: none;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}
.deposit_modal button img{
    width: 32px;
    height: 32px;
    margin-right: 10px;
}
.amount_dep{
    margin-bottom: 10px;
}
.amount_dep input{
    width: 100%;
    background-color: transparent;
    border-radius: 10px;
    padding: 15px;
    color: #fff;
    border: 1px solid rgb(255 255 255);
}
/* .memo_dep{
    display: none;
} */

.rotate-image {
  /* Задаем продолжительность и тип анимации */
  animation: spin 4s linear infinite;
}

/* Определяем ключевые кадры анимации */
@keyframes spin {
  from {
    /* Начальное состояние: 0 градусов */
    transform: rotate(0deg);
  }
  to {
    /* Конечное состояние: 360 градусов (полный оборот) */
    transform: rotate(360deg);
  }
}