/* Banner Carousel Styles */
.banner_carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 33px;
    height: 228px;
    touch-action: pan-y;
}

.banner_slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.banner_slide {
    flex: 0 0 33.333%;
    display: flex;
    width: 100%;
    height: 100%;
}

.banner_slide .banner,
.banner_slide .mob_banner {
    border-radius: 32px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.banner_slide .banner {
    display: block;
}

.banner_slide .mob_banner {
    display: none;
}

.banner_dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.banner_dot.active {
    background: #fff;
}

.banner_dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 860px) {
    .banner_carousel {
        height: 228px;
    }
}
@media screen and (max-width: 860px) {
    .banner_wrap {
        display: none;
    }
}

.balance_wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 30px 0;
    gap: 20px;
}

.balance_block {
    width: 100%;
    background: linear-gradient(180deg,rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
    border-radius: 27.22px;
    padding: 1px;
    position: relative;
}

.balance_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 276deg, rgba(25, 36, 51, 1) 0%, rgba(35, 91, 151, 1) 70%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.mobile_balance_wrap {
    display: none;
}

.content_balance_block {
    padding: 20px 25px;
}

.content_earning_block {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
}

.title {
    margin: 0;
    font-size: 18px;
    color: #707070;
    margin-bottom: 8px;
}

.total_balance {
    color: #3195FF;
    font-size: 35px;
    font-weight: 600;
}

.percent_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.percent_text {
    margin: 10px 0;
    color: #707070;
}

.percent_text > span {
    font-weight: 700;
    color: #fff;
}

.graphic_balance {
}

.earning_block {
    width: 100%;
    background: linear-gradient(180deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
    border-radius: 27.22px;
    margin-left: auto;
    padding: 1px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.earning_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.earning_block > .total_balance {
    color: #fff;
}

.content_earning_block > .percent_text {
    color: #3195FF;
    font-weight: 700;
}

.header_a_m_w > .title {
    color: #ACDBFF;
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
}

.graphic_earning {
}

.actions_button_block {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.action_btn_block {
    position: relative;
    border-radius: 30px;
    width: 100%;
    padding: 1px;
    background: linear-gradient(180deg, rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
    background-clip: content-box;
}

.action_btn_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(221deg, rgba(25, 36, 51, 1) 0%, rgb(57 123 193) 50%, rgba(21, 44, 69, 1) 100%);
    border-radius: inherit;
    z-index: -1;
    padding: 1px;
    box-sizing: border-box;
}

.action_btn {
    background: linear-gradient(0deg,rgba(0, 1, 1, 1) 0%, rgba(13, 16, 36, 1) 100%);
    border-radius: 30px;
    width: 100%;
    color: #fff;
    display: flex;
    padding: 30px;
    cursor: pointer;
    gap: 15px;
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    border: none;
    justify-content: center;
    align-items: center;
}

.active_miners_wrap {
}

.header_a_m_w {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}

.link {
    text-decoration: none;
    color: #6A78FE;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.active_miners_blocks {
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.block_a_m_w {
    max-width: 240px;
    position: relative;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(278.78deg, #FF8C2E -62.66%, #451F15 69.31%);
    display: flex;
    width: 100%;
    height: auto;
}

.block_a_m_w:nth-child(n+6) {
    display: none;
}

.content_block_a_m_w {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 15px;
    padding-bottom: 45px;
}

.type_miner {
    margin-left: auto;
    text-transform: uppercase;
    padding: 5px 15px;
    background: #0000003b;
    border-radius: 17px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.miner {
    width: 160px;
    margin: 20px auto;
    height: 130px;
}

.content_block_a_m_w > .title {
    font-size: 21px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.text_info_select {
    font-size: 14px;
    background: #0000001f;
    padding: 5px 15px;
    border-radius: 17px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    text-align: center;
    gap: 5px;
    position: absolute;
    bottom: 0;
}

.block_a_m_w#start_miner {
    background: linear-gradient(282.47deg, #00a974 -18.24%, #006330 68.91%);
}

.block_a_m_w::before#start_miner {
    background: linear-gradient(305deg, #00a974 -18.24%, #006330 68.91%);
}

.block_a_m_w#advanced_miner {
    background: linear-gradient( 285deg, rgba(179, 46, 255, 1) 0%, rgba(83, 0, 99, 1) 100%);
}

.block_a_m_w::before#advanced_miner {
    background: linear-gradient(305deg,rgba(50, 25, 51, 1) 0%, rgba(149, 35, 149, 1) 50%, rgba(51, 25, 51, 1) 100%);
}

.block_a_m_w#master_miner {
    background: linear-gradient(99.28deg, #192433 -19.03%, #2E93FF 106.18%);
}

.block_a_m_w::before#master_miner {
    background: linear-gradient(305deg, #192433 -19.03%, #2E93FF 106.18%);
}

.block_a_m_w#ultra_miner {
    background: linear-gradient(282.47deg, #FF552E -18.24%, #630028 68.91%);
}

.block_a_m_w::before#ultra_miner {
    background: linear-gradient(305deg, #FF552E -19.03%, #630028 106.18%);
}

.block_a_m_w#elite_miner {
    background: linear-gradient(278.78deg, #FF7E2E -62.66%, #452015 69.31%);
}

.block_a_m_w::before#elite_miner {
    background: linear-gradient(305deg, #FF7E2E -19.03%, #452015 106.18%);
}

.mobile_header {
    display: none;
}

@media screen and (max-width: 860px) {
    .banner_wrap {
        border-radius: 33px;
        height: 228px;
        width: 100%;
        background: linear-gradient(133deg, rgba(25, 36, 51, 1) 0%, rgba(35, 91, 151, 1) 70%, rgba(21, 44, 69, 1) 100%);
        padding: 1px;
        box-sizing: border-box;
    }

    .banner_slide .banner {
        display: none;
    }

   .banner_slide .mob_banner {
        display: flex;
        object-fit: cover;
    border-radius: 32px;
    width: 100%;
    height: 100%;
    }

    .balance_wrap {
        display: none;
    }

    .mobile_balance_wrap {
        display: flex;
        margin: 30px 0;
        background: linear-gradient(180deg, #101221 -2.63%, #0A0B14 100%);
        background-clip: content-box;
        border-radius: 27.22px;
        padding: 1px;
        position: relative;
    }

    .mobile_balance_wrap::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 276deg, rgba(25, 36, 51, 1) 0%, rgba(35, 91, 151, 1) 70%, rgba(21, 44, 69, 1) 100%);
        border-radius: inherit;
        z-index: -1;
        padding: 1px;
        box-sizing: border-box;
    }

    .balance_block {
        width: 45%;
        background: linear-gradient(180deg,rgba(16, 18, 33, 1) 0%, rgba(10, 11, 20, 1) 100%);
        background-clip: content-box;
        border-radius: 27.22px;
        padding: 1px;
        position: relative;
    }

    .balance_block::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 276deg, rgba(25, 36, 51, 1) 0%, rgba(35, 91, 151, 1) 70%, rgba(21, 44, 69, 1) 100%);
        border-radius: inherit;
        z-index: -1;
        padding: 1px;
        box-sizing: border-box;
    }

    .content_balance_block {
        padding: 0 25px;
        border-right: 1px solid #fff;
        margin: 20px 0;
        width: 175px;
    }

    .content_earning_block {
        padding: 20px 25px;
        display: flex;
        flex-direction: column;
        width: 175px;
    }

    .title {
        margin: 0;
        font-size: 14px;
        color: #707070;
        margin-bottom: 8px;
    }

    .total_balance {
        color: #3195FF;
        font-size: 20px;
        font-weight: 600;
    }

    .percent_block {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .percent_text {
        margin: 10px 0;
        color: #707070;
        font-size: 12px;
    }

    .percent_text > span {
        font-weight: 700;
        color: #fff;
    }

    .action_btn {
        background: linear-gradient(0deg,rgba(0, 1, 1, 1) 0%, rgba(13, 16, 36, 1) 100%);
        border-radius: 30px;
        width: 100%;
        color: #fff;
        display: flex;
        flex-direction: column;
        padding: 30px;
        cursor: pointer;
        gap: 15px;
        font-family: 'Montserrat';
        font-size: 18px;
        font-weight: 500;
        border: none;
        justify-content: center;
        align-items: center;
    }

    .action_btn > svg {
        width: 30px;
        height: 30px;
    }


    .active_miners_blocks {
        display: flex;
        gap: 10px;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* Firefox */
    }

    .active_miners_blocks::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .block_a_m_w {
        min-width: 180px;
        max-width: 200px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .block_a_m_w {
        max-width: 160px;
        position: relative;
        border-radius: 20px;
        padding: 1px;
        background: linear-gradient(278.78deg, #FF8C2E -62.66%, #451F15 69.31%);
        display: flex;
        width: 100%;
        height: auto;
    }

    .miner {
        width: 110px;
        margin: 20px auto;
        height: 90px;
    }

    .header_a_m_w > .title {
        font-size: 20px;
    }

    .link {
        font-size: 16px;
    }

    .mobile_header {
        display: flex;
        flex-direction: column;
    }

    .mobile_header > .title {
        font-size: 32px;
        color: #fff;
        font-weight: 700;
        text-align: center;
        margin: auto;
    }

    .mobile_profile_wrap {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 20px 0;
        align-items: center;
    }

    .mobile_profile {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .avatar_profile_header {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .nickname_profile_header {
    }

    .hello_time {
        font-size: 14px;
    }

    .nickname_header {
        font-size: 24px;
    }

    .mobile_notification_wrap {
        background: linear-gradient(273.93deg, #2E93FF 9.16%, #32649B 81%);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 34px;
        cursor: pointer;
    }

    .mobile_notification_wrap > svg {
        background: linear-gradient(273.93deg, #2E93FF 9.16%, #32649B 81%);
        padding: 12px;
        border-radius: 34px;
    }
}
