* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
a:active {
    color: rgba(241,158,54,1);
}
html {
    font-family: sans-serif;
}
.select-none {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}
body {
    background: radial-gradient(circle, rgba(209,213,223,1) 0%, rgba(123,130,149,1) 15%, rgb(0, 0, 0) 75%);
    background: radial-gradient(circle, rgba(253,237,201,1) 0%, rgba(241,158,54,1) 15%, rgba(23,23,23,1) 75%);
    /* background: radial-gradient(circle, rgba(190,201,233,1) 0%, rgba(95,107,189,1) 15%, rgba(23,23,23,1) 75%); */
    /* background: radial-gradient(circle, rgba(122,230,243,1) 10%, rgba(31,118,191,1) 25%, rgba(23,23,23,1) 75%); */
    /* background: radial-gradient(circle, rgba(205,122,243,1) 0%, rgba(154,31,191,1) 15%, rgba(23,23,23,1) 75%); */

    background-repeat: no-repeat;
    min-height: 100vh;   
}
.haeder {
    display: flex;
    align-items: center;
    padding: 1rem;
}
.haeder a {
    margin-right: 1rem;
}
.squad-container {
    margin: 1.75rem auto;
    width: 80%;
    height: 4.5rem;
    border-radius: 15px;
    background-color: rgba(50, 49, 49, 0.3);
    border: 2px solid rgb(43, 42, 42, 0.05);
}
.login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1rem;
}
.login-detail {
    display: flex;
    align-items: center;
}
.profile {
    width: 3rem;
    height: 3rem;
    background-color: rgb(16, 16, 16);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.profile span {
    font-size: 2rem;
    color: rgba(151, 151, 151, 0.773);
}
.user-data {
    display: flex;
    flex-direction: column;
    margin-left: 0.75rem;
}
.name {
    color: #ffffff;
}
.user-rank {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: #c1c1c1;
}
.coin-count-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.25rem;
}
.rank-container {
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}
.rank-items {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
}
.rank-items h3{
    margin-right: 0.5rem;
}
.rank-items img{
    margin-left: 0.5rem;
    margin-right: 0.25rem;
}
#rank {
    font-weight: bold;
}
.coin-count-container img {
    margin-right: 1rem;
    width: 50px;
}
.coin-count-container h1 {
    color: #ffffff;
    font-size: 3.5rem;
}
.coin-container {
    position: relative;
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}
.coin-container span {
    position: absolute;
    z-index: 999;
    font-size: 2rem;
    color: #ffffff;
}
#coin {
    transition: .1s;
    transform-style: preserve-3d;
}
.menu-container {
    margin-top: 2.25rem;
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.power {
    display: flex;
    justify-content: center;
    margin-right: 0.5rem;
    width: 33%;
}
.power-count {
    display: flex;
    flex-direction: column;
}
.power-count span {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.5rem;
}
.gray {
    color: #d7d7d798!important;
    font-size: 0.75rem!important;
}
.menu-bottuns {
    width: 67%;
    padding: 1rem 0.25rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 5rem;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.03);
    border-radius: 15px;
    margin-left: 0.5rem;
    margin-right: -1.25rem;
}

.button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0.25rem;
    width: 33.3333%;
}
.button img {
    margin-top: 0.5rem;
}
.button span {
    margin-top: 0.25rem;
    font-weight: bold;
    color: #ffffff;
}
.b-r {
    border-right: 2px solid rgba(218, 218, 218, 0.1);
}
.progress-bar {
    width: 90%;
    height: 1rem;
    margin: 1.25rem auto;
    border-radius: 30px;
    background-color: rgba(218, 218, 218, 0.5)
}
.progress {
    /* width: 100%; */
    height: 100%;
    /* background: linear-gradient(278deg, rgba(205,122,243,1) 2%, rgba(154,31,191,1) 52%, rgba(75,1,97,1) 88%); */
    background: linear-gradient(278deg, rgba(253,237,201,1) 2%, rgba(241,158,54,1) 52%, rgba(185,103,0,1) 88%);
    border-radius: 30px;
}

/* boost page styles */
.boost {
    background: linear-gradient(0deg, rgba(241,158,54,1) 2%, rgb(0, 0, 0) 45%);
    background: linear-gradient(0deg, rgba(157,101,30,1) 5%, rgba(0,0,0,1) 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    padding-bottom: 4rem;
}
.user-balance {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 3rem;
}
.balance-title {
    color: #c1c1c1;
    margin-bottom: 1.5rem;
}
.balance-coins {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 3.5rem;
    font-weight: bold;
}
.balance-coins img {
    margin-right: 0.75rem;
}
.balance-guid {
    color: rgba(185,103,0,1);
    font-weight: 700;
}
.free-boosts {
    padding: 0 1rem;
}
.free-boosts-title {
    margin-bottom: 0.5rem;
    padding: 0 0.3rem;
}
.free-boosts-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.free-boost-button {
    cursor: pointer;
    display: flex;
    width: 50%;
    height: 4.5rem;
    margin: 0.5rem 0;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
    padding: 0 0.75rem;
    background-color: rgba(218, 218, 218, 0.2);
    border:2px solid rgba(218, 218, 218, 0.02);
}
.free-boosts-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.m-r {
    margin-right: 0.75rem;
}
.m-l {
    margin-left: 0.75rem;
}
.available {
    margin-top: 0.25rem;
    color: #919191;
    font-size: 0.75rem;
}
.boosters {
    margin-top: 3rem;
    padding: 0 1rem;
}
.boosters-title {
    margin-bottom: 1rem;
    padding: 0 0.3rem;
}
.boosters-buttons {
    width: 100%;
    border-radius: 15px;
    padding: 1.25rem;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
}
.boosters-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.boosters-button-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.boosters-button-data {
    display: flex;
    align-items: center;
}
.boosters-button-image {
    background-color: rgba(218, 218, 218, 0.1);
    border: 2px solid rgba(218, 218, 218, 0.01);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.25rem;
    height: 4.25rem;
    padding: 4px;
    margin-right: 1rem;
    border-radius: 15px;
}
.boosters-button-detail h4 {
    margin-bottom: 0.25rem;
    font-weight: 300;
}
.boosters-button-detail h4, 
.boosters-button-data span, 
.boosters-button-data  p{
    color: #c1c1c1aa;
}
.boosters-button-data h5{
    font-size: 1rem;
}
.m-r-25 {
    margin-right: 0.25rem;
}
.m-b-1 {
    margin-bottom: 1rem;
}
.buy-skins {
    margin-top: 3rem;
}
.slide {
    width: 17rem!important;
    margin: 0 1rem;
    border-radius: 15px;
    padding: 1.25rem;
    height: 10rem;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
}
.skin-button  {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* guid styles */
.guid {
    background-image: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 100%);
}
.guid-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    padding: 0 3rem;
}
.guid-social a {
    display: flex;
    align-items: center;
    padding: 0.75rem 2.5rem;
    border-radius: 15px;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
}
.guid-social a svg {
    margin-right: 0.25rem;
}
.guid-content {
    margin-top: 4rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.guid-title {
    margin-bottom: 4rem;
}
.guid-help-detail {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}
.guid-help-detail img {
    margin-right: 1.75rem;
}
.guid-help-detail h3 {
    margin-bottom: 0.25rem;
}
.guid-help-detail p {
    font-size: 1rem;
    color: #c1c1c1;
}
.guid-button {
    margin-top: 5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.guid-button a,
.frens-invite-button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.25rem;
    background: linear-gradient(83deg, rgba(255,184,95,1) 3%, rgba(241,158,54,1) 28%, rgba(255,142,2,1) 91%);
    width: 20rem;
    padding: 1rem 0;
    border-radius: 15px;
}

/* frens styles */
.frens {
    background: linear-gradient(0deg, rgba(241,158,54,1) 2%, rgb(0, 0, 0) 45%);
    background: linear-gradient(0deg, rgba(157,101,30,1) 5%, rgba(0,0,0,1) 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    padding-bottom: 4rem;
}
.frens-main  {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.frens-count {
    margin-bottom: 1.25rem;
    font-size: 2rem;
    font-weight: bold;
    
}
.frens-total-earn {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    border-radius: 15px;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
    padding: 0.75rem;
}
.frens-total-count {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(241,158,54,1);
}
.frens-total-count img {
    margin-left: 0.5rem;
}
.leaders {
    color: #c1c1c16e;
}
.frens-help, 
.frens-list {
    padding: 1rem;
}
.frens-help-title, 
.frens-list-title {
    padding-left: 0.5rem;
    color: rgba(241,158,54,1);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.frens-list-title {
    color: #ffffff;
}
.frens-help-box,
.frens-list-box {
    width: 100%;
    /* height: 10rem; */
    margin: 0 auto;
    border-radius: 15px;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
}
.frens-invite {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.frens-invite-button {
    position: fixed;
    bottom: 10px;
    width: 23.5rem;
}
.frens-help-content {
    padding: 1rem;
    display: flex;
    align-items: center;
}
.frens-help-image {
    margin-right: 0.75rem;
}
.fren-help-text h5 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.fren-help-text div{
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
}
.fren-help-text div img {
    margin-right: 0.25rem;
}
.fren-help-text div span {
    margin-right: 0.25rem;
}
.frens-open-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}
.frens-open-detail a {
    color: #ffffff;
    font-weight: bold;
}
.frens-data {
    padding: 1rem;
}
.frens-data,
.frens-profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.frens-profile-photo {
    background-color: aquamarine;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 100%;
    margin-right: 0.75rem;
}
.frens-profile-data h4{
    margin-bottom: 0.25rem;
}
.frens-profile-data div{
    display: flex;
    align-items: center;
}
.frens-profile-data div img,
.frens-profile-data div span {
    margin-right: 0.30rem;
}
.frens-data-count {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(255, 170, 66);
}
.frens-data-count span{
    margin-right: 0.25rem;
}

/* earn styles */
.earn {
    background: linear-gradient(0deg, rgba(241,158,54,1) 2%, rgb(0, 0, 0) 45%);
    background: linear-gradient(0deg, rgba(157,101,30,1) 5%, rgba(0,0,0,1) 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    padding-bottom: 4rem;
}
.earn-more {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}
.earn-more img {
    margin-bottom: 1.5rem;
}
.earn-more h3 {
    font-size: 1.5rem;
}

/* login styles */
.login-page {
    background: linear-gradient(0deg, rgba(241,158,54,1) 2%, rgb(0, 0, 0) 45%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    padding-bottom: 4rem;
}
.login-coins,
.login-page-detail {
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-page-detail  {
    margin-top: 1rem;
    font-size: 1rem;
    color: #c1c1c1;
}
.login-coins-count {
    font-size: 2rem;
    margin-left: 1rem;
}
.login-form {
    margin-top: 3rem;
    padding: 0 2rem;
}
.login-form form {
    padding: 2rem;
    border-radius: 15px;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form form label {
    margin-bottom: 0.25rem;
}
.login-form form input {
    outline: none;
    background-color: rgba(218, 218, 218, 0.2);
    border: 2px solid rgba(218, 218, 218, 0.02);
    margin-bottom: 1rem;
    padding: 0.75rem;
    color: #ffffff;
    border-radius: 10px;
}
.submit-button {
    border: none;
    outline: none;
    margin-top: 0.75rem;
    background: linear-gradient(83deg, rgba(255,184,95,1) 3%, rgba(241,158,54,1) 28%, rgba(255,142,2,1) 91%);
}

.avatar {
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 50%;
}
/* Добавьте стили для boost-item, quest-item, referral-item, skin-item и других классов */
.boost-item, .quest-item, .referral-item, .skin-item {
    /* Ваши стили */
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: rgba(218, 218, 218, 0.2);
    border-radius: 10px;
}

/* Стили для кнопок */
.boost-item button, .quest-item button, .skin-item input[type="radio"] + img {
    /* Ваши стили */
    cursor: pointer;
}

/* Стили для прелоадера */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: gray; /* Можно заменить на другой цвет или сделать прозрачным */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Убедимся, что прелоадер всегда поверх других элементов */
}

/* Контейнер изображения */
#image-container {
    position: relative;
    max-width: 90%; /* Ограничим максимальную ширину */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Изображение с закругленной рамкой */
#loading-gif {
    width: 100%;
    height: auto;
    max-height: 90vh; /* Ограничим максимальную высоту */
    object-fit: contain; /* Сохраним пропорции изображения */
    border: 5px solid #4caf50; /* Зеленая рамка толщиной 5px */
    border-radius: 10px; /* Закругленные углы радиусом 10px */
}

/* Оверлей с прогресс-баром */
#progress-overlay {
    position: absolute;
    bottom: 0; /* Располагаем внизу изображения */
    left: 50%;
    transform: translateX(-50%);
    width: 70%; /* Ширина прогресс-бара относительно изображения */
}

/* Фон подложки для прогресс-бара */
#progress-background {
    background-color: rgba(128, 128, 128, 0.5); /* Полупрозрачный серый фон */
    padding: 5px;
    border-radius: 20px;
}

/* Прогресс-бар */
#progress-bar {
    position: relative;
    width: 0%;
    height: 15px;
    background-color: #4caf50; /* Цвет прогресса */
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

/* Текст с процентами */
#progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}
