@keyframes preload {
    from { background-position: 0 0; }
    to { background-position: 0 0; }
}

body::after {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url('avatars/30.png')
             url('avatars/70.png')
             url('avatars/100.png')
             url('anims/wrong.mp4')
             url('anims/success.mp4')
             url('anims/critx10.mp4')
             url('anims/critx50.mp4')
             url('anims/vaib.mp4')
             url('anims/vaib2.mp4');
}

body {
    font-family: 'Roboto', sans-serif;
    background: 
        url('images/back.png') center/cover no-repeat,
        linear-gradient(180deg, #067CCC 0%, #6AC2FD 100%);
    background-blend-mode: soft-light;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

html, body {
    height: 100%;
}

::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

#footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%);
    border-radius: 24px 24px 0px 0px;
    height: 85px;
    align-items: center;
    background: #09101666;
    z-index: 9999;
}

.footer-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s, border-radius 0.3s;
}

.footer-button.active {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 19px;
    box-shadow: 0px 0px 14.5px 0px #0095FF5C;

}

.footer-button.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 47px;
    height: 4px;
    background-color: #68B3EB;
    border-radius: 5px 5px 0 0;
}

.footer-button-title {
    margin-top: 5px;
    margin-bottom: 0px;
    font-size: 14px;
    font-weight: 400;
    color: white;
}

.footer-button-icon {
    width: 24px;
    height: 24px;
}

#tasks-button {
    background-position: center;
    background-repeat: no-repeat;
}

#boosts-button {
    background-position: center;
    background-repeat: no-repeat;
}

#play-button {
    width: 65px;
    height: 65px;
    position: relative;
    bottom: 0.9vh;
    background-position: calc(50% + 1px) center;
    background-repeat: no-repeat;
}

#loan-button {
    background-position: center;
    background-repeat: no-repeat;
    background-position: calc(50% - 0px) center;
}

#invite-button {
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-position: calc(50% + 5px) center;
}


#boosts-button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 52px;
    height: 52px;
    border-radius: 6.62px;
    background: linear-gradient(180deg, #4596CA 0%, #1B5D88 100%);
    border: 0.95px solid #295C7C;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}


#boosts-button.not::before {
    content: "!";
    position: absolute;
    top: -5px;
    right: -5px;
    width: 16px;
    height: 16px;
    background: #ff0000;
    border-radius: 50%;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#prem-boosts-button {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 52px;
    height: 52px;
    border-radius: 6.62px;
    background: linear-gradient(223.01deg, #FACE43 8.06%, #C5941E 99.53%);
    border: 0.95px solid #7C6329;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}



#boosts-icon {
    width: 40px;
    height: 40px;
    position: relative;
    top: -3px;
}



#logo {
    width: 22vh;
    height: 22vh;
    top: 2vh;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(avatars/100.png);
    background-size: 128% 141%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 5px solid #D5AD36;
}

#graphs {
    position: absolute;
    bottom: 29%;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
    background-color: #A6DAFF;
    padding: 8px 8px 8px 8px;
    border-radius: 12px;
}




.graph-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 25px;
    background: #3B7DC8;
    border-radius: 12px;
    width: 19vh;
    height: 16vh;
    box-sizing: border-box;
    min-width: 146px;
    min-height: 95px;
    max-height: 138px;
    max-width: 162px;
}

.graph-box::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
    background-image: repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px), repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px), repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px), repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px);
    background-position: -1px 40%, -1px 55%, -1px 70%, -1px 85%;
    background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
    background-repeat: no-repeat;
    opacity: 0.3;
    border-radius: 12px;
}

.graph-box canvas {
    width: 100% !important;
    height: 74% !important;
    position: absolute;
    bottom: 0;
    z-index: 5;
    border-radius: 12px;
}

.g-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    color: #E6E6E6;
    width: 100%;
    align-items: center;
    padding-left: 10px;
    box-sizing: border-box;
    position: absolute;
    top: 14px;
}

.p-g {
    margin: 0;
    margin-left: 5px;
    font-size: 13px;
}

.p-img {
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}

#btc-img {
    background-image: url(icons/btc.png);
}

#graph-img {
    width: 30px;
    height: 30px;
}

#graph-cost {
    font-size: 19px;
    margin-left: 6px;
}

#eth-img {
    background-image: url(icons/eth.png);
}

#ton-img {
    background-image: url(icons/ton.png);
}

#doge-img {
    background-image: url(icons/doge.png);
}



#splash {
    position: absolute;
    display: flex;
    flex-shrink: 0;
    width: 361px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s ease-out, top 0.5s ease-out;
    z-index: 500;
    background: #194BA3D9;
    backdrop-filter: blur(17.799999237060547px);
    box-shadow: 0px 0px 26.1px 0px #0F77FF;
    border-radius: 11px;
}

#splash-sys {
    position: absolute;
    display: flex;
    flex-shrink: 0;
    width: 361px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s ease-out, top 0.5s ease-out;
    z-index: 500;
    background: #A31919D9;
    backdrop-filter: blur(17.799999237060547px);
    box-shadow: 0px 0px 26.1px 0px #FF0F0F;
    border-radius: 11px;
}

#push-time {
    position: absolute;
    top: 10px;
    right: 14px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.1px;
    color: #FFF;
}

#push-avatar {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 40px;
    height: 40px;
}

#push-title {
    position: absolute;
    top: 10px;
    left: 61px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.1px;
    color: #FFF;
}

#push-signal {
    display: flex;
    flex-shrink: 0;
    bottom: 10px;
    left: 61px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1px;
    color: #FFF;
    width: 206px;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: 61px;
    margin-right: 94px;

}

@keyframes slideInOut {
    0% {
        top: -100px; 
        opacity: 0;
    }
    10% {
        top: 0%;
        opacity: 1;
    }
    60% {
        top: 0%;
        opacity: 1;
    }
    100% {
        top: -100px;
        opacity: 0;
    }
}

@keyframes slideInOutSys {
    0% {
        top: -100px; 
        opacity: 0;
    }
    10% {
        top: 0%;
        opacity: 1;
    }
    60% {
        top: 0%;
        opacity: 1;
    }
    100% {
        top: -100px;
        opacity: 0;
    }
}

.bet {
    position: absolute;
    bottom: 39vh;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.time {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #E6E6E6;
}

.time .icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background: url('clock.png') no-repeat center center;
    background-size: contain;
}

.betbutton {
    display: block;
    border-radius: 10px;
    font-size: 16px;
    width: 164px;
    height: 54px;
    border: 0;
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;

}

.bet-icon {
    width: 16px;
    margin-right: 12px;
}

.button:hover {
    background-color: #c6c6c6;
}

#graph {
    position: absolute;
    width: 340px;
    height: 25vh;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    background: rgba(25, 75, 163, 0.6);
    backdrop-filter: blur(147.5px);
    position: relative;
}

#graph::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
    background-image: repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px), repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px), repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px), repeating-linear-gradient(to right, transparent 0, transparent 4px, #ffffff44 3px, #ffffff44 10px);
    background-position: -1px 40%, -1px 55%, -1px 70%, -1px 85%;
    background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
    background-repeat: no-repeat;
    opacity: 0.3;
    border-radius: 12px;
}

#detail-graph {
    height: 25vh !important; 
}

#detail-graph canvas {
    border-radius: 15px;
}

#graph-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#graph-title .crypto-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.highlight-long {
    background-color: rgba(51, 255, 68, 0.5); 
}

.highlight-short {
    background-color: rgba(255, 0, 0, 0.5); 
}

.state-success {
    border-color: rgba(0, 255, 0, 1); 
}

.state-failed {
    border-color: rgba(255, 0, 0, 1); 
}

.button-inactive {
    opacity: 0.1;
}

#graph-container {
    position: relative;
    width: 300px;
    height: 300px;
}

#main-graph {
    width: 100%;
    height: 100%;
}

#long {
    color: white;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);

}

#short {
    color: rgb(255, 255, 255);
    background: linear-gradient(180deg, #D65052 0%, #BF191B 100%);
}

.green {
    color: green;
}

.red {
    color: red;
}


#boosts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    gap: 16px;
    color: white;
    overflow-y: auto;
}

.boost {
    width: 340px;
    height: 106px;
    border-radius: 12px;
    background: rgba(166, 218, 255, 1);
    position: relative;
    flex-shrink: 0;
}

.boost-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 13px;
    left: 13px;
}

.boost-body {
    width: 226px;
    height: 86px;
    position: absolute;
    top: 10px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.boost-upgrade {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 79px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
}

.boost-upgrade:active {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0px 3px 5px rgba(0, 0, 0, 0.3); 
    background: linear-gradient(180deg, #249d6f 0%, #135e3f 100%);
}

.boost-title {
    margin-top: 5px;
    margin-bottom: 13px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(52, 121, 198, 1);


}

.boost-descr {
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    background: rgba(48, 115, 194, 1);
    padding: 4px 7px;
    border-radius: 20px;

}


#team-descr {
    border-radius: 8px;
}


#loandiv {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    left: 0px;
    overflow: auto;
    z-index: 1;
    top: 0;
}



#credit-pool {
    width: 340px;
    height: 137px;
    min-height: 137px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 12px;
    opacity: 0.9;
    background: #316ABD;
    color: #E6E6E6;
    font-weight: 600;
    position: relative;
}

#credit-pool-title {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Roboto;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin: 0px;

}

#credit-pool-money {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 308px;
    position: absolute;
    top: 47px;
}

#credit-pool-earnings-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 308px;
    position: absolute;
    bottom: 17px;

    p { 
       margin: 0;
    }
}

#credit-pool-earnings {
    width: 74px;
    position: absolute;
    right: 0px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


#loans {
    width: 340px;
    height: 137px;
    min-height: 137px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 12px;
    margin-top: 20px;
    background: #316ABD;
    opacity: 0.9;
    color: #E6E6E6;
    font-weight: 600;
    position: relative;
}

#credit-pool-days, #loans-days {
    
    width: 340px;
    height: 48px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-direction: row;
    justify-content: space-around;
    top: 240px;
    color: #E6E6E6;
    font-weight: 700;
    margin-top: 15px;
    background: #3073C2;
    border-radius: 8px;

    p {
        margin: 0;
    }
}

.day-option {
    width: 33px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
}

.selected {
    background: #68BAF3;
}

#deposit-button, #get-button {
    display: block;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    text-align: center;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: bold;
    width: 340px;
    height: 54px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin: 18px auto;
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    flex-shrink: 0;

}

#get-button {
    margin-bottom: 110px;
}



#deposit-button:active, #get-button:active, #close:active, #owl-ok:active {
    transform: scale(0.95); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
}


#money-input, #borrow-input {
    width: 73px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 0;
    background-color: #68BAF3;
}

.input-icon {
    width: 30px;
    height: 30px;
}

#money-icon1 {
    position: absolute;
    right: 80px;
}

#money-icon2 {
    position: absolute;
    right: 80px;
}
#moneypm {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.money-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    color: white;
    padding: 10px 20px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    padding: 6px;
    width: 61px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.money-btn:active {
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}

#loans-borrow input {
    width: 80px;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    overflow: hidden;
    filter: drop-shadow(1px 1px 3px #222);
    box-shadow: inset 0px 5px 15px rgba(64, 29, 170, 0.41);
    border: 0;
    font-family: 'Instrument Sans', sans-serif;
    text-align: center;
    line-height: normal;
    height: 25px;
    box-sizing: border-box;
    padding: 0;
}

#loans-div-title {
    margin-bottom: 20px;
    margin-top: 32px;
}


input{
    outline: none;
  }

#credit-pool-money input,
#loans-borrow input {
    width: 80px;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    overflow: hidden;
    filter: drop-shadow(1px 1px 3px #222);
    box-shadow: inset 0px 5px 15px rgba(64, 29, 170, 0.41);
    border: 0;
    font-family: 'Instrument Sans', sans-serif;
    text-align: center;
    line-height: normal;
    height: 25px;
    box-sizing: border-box;
    padding: 0;
}






#user-info {
    display: block;
    width: 344px;
    height: 64px;
    background: #194BA399;
    backdrop-filter: blur(34px);
    border-radius: 12px;
}

#user-info-avatar-img {
    width: 54px;
    height: 54px;
    background: #6AC2FD;
    border: 1px solid #179ADC;
    border-radius: 8px;
    position: absolute;
    top: 4px;
    left: 4px;
}


#user-info-name {
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%);
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    color: #FFFFFF;
}


#user-info-points {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 52px;
    width: 152px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    position: absolute;
    right: 11px;
    top: 6px;
    justify-content: center;
    align-items: flex-start;
}


#user-info-points img {
    width: 24px;
    height: 24px;
}

#user-info-points span {
    position: relative;
    top: 1px;
}

.user-count {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
}


/* Панель энергии и коинов */

#stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    bottom: 106px;
    left: 50%;
    transform: translateX(-50%);

}

#stat-block-2 {
    display: block;
    width: 344px;
    height: 60px;
    background: #194BA399;
    border-radius: 12px;
    position: relative;
  
}

#energy {
    display: block;
    width: 220px;
    height: 48px;
    background:
linear-gradient(180deg, #06B3F5 0%, #0075C8 100%);
border-radius: 8px;

    position: absolute;
    left: 62px;
    top: 6px;
    border: 1px solid #179ADC

}

#energy-icon {
    width: 27px;
    height: 34px;
    position: absolute;
    left: 10px;
    top: 7px;
}




#energy-count {
    position: absolute;
    left: 102.5px;
    top: 7px;
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #FFFFFF;

}




#energy-bar-back {
    display: flex;
    width: 170px;
    height: 14px;
    background: #0C0C0C33;
    border-radius: 10px;
    box-shadow: 0px 3px 8px 0px #0E102B40 inset;
    backdrop-filter: blur(32.20000076293945px);
    overflow: hidden;
    position: absolute;
    left: 41px;
    bottom: 7px;
}

#energy-bar-fill {
    width: 100%;
    height: 100%;
    background: #003777;
    transition: width 0.3s ease-in-out;
    

}



#points-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 12px;
}

.point-icon {
    width: 27px;
    height: 27px;
    margin-right: 10px;
}




















.signal-image {
    width: 100px; 
    height: 100px; 
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.percent {
    font-size: 11px;
    color: #E6E6E6;
    position: absolute;
    right: 9px;
    padding: 4px 10px 4px 10px;
    border-radius: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3vh;
    height: 17px;
}

#bet-inf {
    width: 340px;
    height: 81px;
    flex-direction: column;
    border-radius: 12px;
    background: rgba(49, 106, 189, 1);
    font-family: Roboto;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: white;
    position: absolute;
    bottom: 46vh;
    left: 50%;
    transform: translateX(-50%);
}

#bet-inf div {
    display: flex;
    justify-content: space-between;
    margin: 16px;
}

#bet-inf div:last-child {
    margin-top: 0;
}

.green {
    color: #00ff00;
}




#tasks {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}


.task-window {
    width: 360px;
    height: 600px;
    background-color: #3e2565;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tab-bar, .tab-bar-premium {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 340px;
    height: 52px;
    position: absolute;
    top: 110px;
    background: #194BA399;
    backdrop-filter: blur(147px);
    border-radius: 16px;
    left: 50%;
    transform: translateX(-50%);

}

.tab-bar button, .tab-bar-premium button {
    width: 164px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(180deg, #06B3F5 0%, #0075C8 100%);
    box-shadow: 0px 4px 4px 0px #68BCF1 inset;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto;
    font-weight: 600;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    border: none;
    transition: background 0.3s, box-shadow 0.3s;

}

.tab-bar button.active, .tab-bar-premium button.active {
    background: #167BC4;
    box-shadow: none;

}


#bar-back {
    display: flex;
    width: 80%;
    justify-content: space-between;
    background-color: #656597;
    border-radius: 18px;
}


.task-list {
    display: none;
    flex-direction: column;
    width: 327px;
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    gap: 6px;
}

.task-list.active {
    display: flex;
}

.task-item {
    display: flex;
    width: 327px;
    background: #A6DAFF;
    border-radius: 12px;
    flex-shrink: 0;
    min-height: 94px;
    position: relative;
}

.task-item:last-child {
    margin-bottom: 100px;
}

.task-img {
    width: 68px;
    height: 68px;
    position: absolute;
    top: 10px;
    left: 12px;
}

.details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 10px;
    left: 92px;
    max-width: 134px;
    min-height: 68px;
   
}

.description {
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #2C74C3;
}

.reward-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #FFF;
    padding: 7px 12px 7px 12px;
    border-radius: 18px;
    background: #2C74C3;
}

.button-claim {
    width: 79px;
    height: 34px;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    backdrop-filter: blur(32.20000076293945px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 12px;
    border: none;
}

.reward-icon {
    width: 16px;
    height: 16px;
    margin-right: 3px;
    margin-left: 8px;
}

.reward-count {
    position: relative;
    top: 1px;
}

#friends {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    color: white;
}

#friends-info {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 99px;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
}

.friends-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 164px;
    height: 101px;
    border-radius: 16px;
    background: #194BA399;
    backdrop-filter: blur(21.600000381469727px);
    gap: 6px;



  

}

.friends-info-title {
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;

}

.friends-info-count {
    font-family: Instrument Sans;
    font-weight: 700;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: right;

}

.total-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.friends-icon {
    width: 30px;
    height: 30px;
}


#friends-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 300px;
    width: 340px;
    overflow-y: auto;
    left: 50%;
    transform: translateX(-50%);
}

.friend {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 327px;
    height: 56px;
    background: #A6DAFF;
    border-radius: 12px;
    flex-shrink: 0;

}

.friend:last-child {
    margin-bottom: 100px;
}


#friends-title {
    position: absolute;
    top: 250px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Roboto;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;

   
}


.friend-avatar {
    width: 40px;
    height: 40px;
    margin: 8px;
}

.friend span {
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #3479C6;


}

#copy-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: #194BA399;
    border-radius: 8px;

    img {
        width: 16px;
        height: 16px;
    }

    cursor: pointer;


}

#link-info {
    position: absolute;
    top: 210px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    width: 336px;


}

#link-info span {
    font-family: Instrument Sans;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
}

#code {
    background-color: #09122A;
    padding: 5px;
    border-radius: 7px;
    position: relative;
    top: -3px;
}

#window-overlay {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #00000099;
    justify-content: center;
    align-items: center;
}

.window-overlay {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: #00000099;
}

#window {
    width: 340px;
    height: 335px;
    background: #ACCDF0;
    border-radius: 12px;
    position: relative;
}

#winlose-img {
    width: 340px;
    height: 192px;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
}

#window-p {
    font-family: Roboto;
    font-weight: 600;
    font-size: 21px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #316ABD;
    position: absolute;
    bottom: 86px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;

}

#window-button {
    width: 154px;
    height: 54px;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    border-radius: 12px;
    color: white;
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    border: none;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);

}



#owl-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 77px;
    right: -19px;
    transform: translateY(-50%);
    z-index: 10000;
}

#close {
    width: 34px;
    height: 34px;
    color: #71BFF7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    position: absolute;
    top: -1px;
    font-size: 18px;
    right: 23px;
    opacity: 0.9;
    z-index: 9999999;
    background: linear-gradient(180deg, rgba(69, 150, 202, 0.6) 0%, rgba(27, 93, 136, 0.6) 100%);
    box-shadow: 0px 4px 4px 0px #6BC4FD40 inset;
    box-shadow: 0px -4px 4px 0px #6BC4FD40 inset;
    backdrop-filter: blur(23.700000762939453px);
    border: 1px solid;
    border-image-source: linear-gradient(180deg, #295C7C 0%, rgba(41, 92, 124, 0) 100%);
}



#owl-png {
    width: 130px;
    height: 146px;
    background-image: url(owl.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 22px;
}

#owl-window {
    position: absolute;
    z-index: 999999;
    top: 7%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(180deg, #18224D 0%, #181F3A 100%);
    box-shadow: 0px 0px 33.2px 0px #FFFFFF40;

    border-radius: 11px;
    color: white;
}

#owl-main {
    text-align: left;
    width: 90%;
}

#owl-ok {
    position: absolute;
    bottom: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    border: none;
    border-radius: 12px;
    text-align: center;
    color: #FFFFFF;
    width: 320px;
    height: 54px; 
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;

}

#dontshow {
    position: absolute;
    bottom: 94px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

#check {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}


#check input[type="checkbox"] {
    display: none;
}


.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #68BBF5;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    background-color: rgba(45, 174, 123, 0.1);
    transition: all 0.2s ease;
}


#check input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #68BBF5;
    border-color: #68BBF5;
}

#check input[type="checkbox"]:checked + .custom-checkbox::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border-right: 2px solid #202882;
    border-bottom: 2px solid #202882;
}

#link-container {
    position: absolute;
    left: 50%;
    top: 27vh;
    transform: translate(-50%);
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    background: linear-gradient(90deg, rgba(49, 106, 189, 0) 0%, #316ABD 50%, rgba(49, 106, 189, 0) 100%);
}

#link {
    color: white;
    font-family: Roboto;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    text-decoration: none;
}

#trade-title, #title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 32px;
    width: 80%;
    background: linear-gradient(90deg, rgba(49, 106, 189, 0) 0%, #316ABD 50%, rgba(49, 106, 189, 0) 100%);
    font-family: Roboto;
    font-weight: 700;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
    padding: 10px 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title {
    width: 80%;
    background: linear-gradient(90deg, rgba(49, 106, 189, 0) 0%, #316ABD 50%, rgba(49, 106, 189, 0) 100%);
    font-family: Roboto;
    font-weight: 700;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
    padding: 10px 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}



.reward::after {
    content: " CREDI";
    background: none;
    -webkit-text-fill-color: #ADB2CB;
    opacity: 0.5;
}


#total-friends div:last-child span:last-child::after {
    content: " CREDI";
    background: none;
    -webkit-text-fill-color: #ADB2CB;
    opacity: 0.5;
}


.progress-container {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: row;

}

.progress-bar {
    display: flex;
    width: 172px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    box-shadow: 0px 3px 8px 0px rgba(14, 16, 43, 0.25) inset;
    backdrop-filter: blur(32.20000076293945px);
    overflow: hidden;

    
}

.progress {
    height: 100%;
    background: rgba(49, 106, 189, 1);
    transition: width 0.3s ease-in-out;
}

.boost-level {
    position: relative;
    margin-left: 8px;
    color: #3073C2;;
    font-size: 12px;
    font-weight: 500;
}



#team-boost {
    height: 130px;
}

#team-boost-body {
    height: 110px;
}

#loans-title {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Roboto;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    margin: 0px;
}

#loans-borrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 308px;
    position: absolute;
    top: 47px;
}

#loans-earnings {
    width: 74px;
    position: absolute;
    right: 0px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

#loans-earnings-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 308px;
    position: absolute;
    bottom: 17px;
}

#loans-earnings-title {
    margin: 0;
}

#money-icon3 {
    position: absolute;
    right: 80px;
}




#leaderboard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    
}


#leaderboard-title, #tasks-title, #friends-title-top{
    position: absolute;
    top: 39px;
    left: 50%;
    transform: translateX(-50%);
}

#leaderboard-switcher {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 27px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.switcher-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#switcher-text {
    margin: 0 15px;
}

#season-info {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 341px;
    height: 54px;
    background: #A6DAFF;
    color: #1963B8;
    border-radius: 16px;
    border: 4px solid #1963B8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Roboto;
    font-weight: 600;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;    
}


#leaderboard-top3 {
    position: absolute;
    top: 230px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 227px;
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    align-items: flex-end;
    
}



.top-item {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.top-place {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1963B8;
    font-family: Roboto;
    font-weight: 700;
    font-size: 18.17px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    flex-shrink: 0;
    z-index: 2;
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);

}

.top-place-2, .top-place-3 {
    top: 56px;
}

.top-item-avatar {
    position: absolute;
    top: 0;
    z-index: 1;

}

.top-item-info {
    position: absolute;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top-coin-icon {
    width: 18px;
    height: 18px;
}

.top-boost-icon {
    height: 25px;
    width: 25px;
}

.top-name {
    position: absolute;
    top: 54px;
    font-family: Roboto;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #222222;
}

.top-name-2, .top-name-3 {
    top: 52px;
}

.top-points {
    position: absolute;
    top: 73px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #222222B2;

}   

.top-points-2, .top-points-3 {
    top: 71px;
}

.top-boosts, .top-coins {
    position: absolute;
    bottom: 37px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 12.98px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #222222;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#boosts-title {
    margin-top: 100px
}

.top-boosts-2, .top-boosts-3 {
    bottom: 31px;
}


.top-boosts {
    gap: 0;
}

.top-coins {
    bottom: 16px;
}

.top-coins-2, .top-coins-3 {
    bottom: 10px;
}



#top1 {
    width: 128px;
    height: 227px;
    position: relative;
}

#top2, #top3 {
    width: 106px;
    height: 188px;
    position: relative;
}

#top1-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border-width: 2.6px;
    border: 2.6px solid #FED700;

}

#top2-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border-width: 2.6px;
    border: 2.6px solid #C0C0C0;
    position: absolute;
    top: -9px;
}

#top3-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    border-width: 2.6px;
    border: 2.6px solid #CD8032;
    position: absolute;
    top: -9px;
}

#top1-info{
    width: 128px;
    height: 166px;
    background: #FED700;
    border-radius: 16px 16px 0px 0px;
}


#top2-info {
    width: 106px;
    height: 146px;
    background: #C0C0C0;
    border-radius: 16px 16px 0px 10px;
}


#top3-info {
    width: 106px;
    height: 146px;
    background: #CD8032;
    border-radius: 16px 16px 10px 0px;

}


#leaderboard-list {
    position: relative;
    top: 500px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-height: 50%;
    background: #A6DAFF;
    border-radius: 32px 32px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 70px;
}

.leaderboard-item:nth-child(1) {
    margin-top: 10px;
}

.leaderboard-item:last-child {
    margin-bottom: 100px;
    border-bottom: none;
}

.leaderboard-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 340px;
    height: 56px;
    flex-shrink: 0;
    border-bottom: 1px solid white;
    position: relative;
}


.leaderboard-item-you {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 340px;
    height: 56px;
    flex-shrink: 0;
    background: #2C75C3;
    backdrop-filter: blur(32.20000076293945px);
    border-radius: 9px;
    color: white;
    position: sticky;
    bottom: 90px;
    z-index: 10;
    margin-top: 10px;
}


.leaderboard-item-you span {
    color: white;
}

.leaderboard-item-avatar {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 36px;
    top: 8px;
}  

.leaderboard-item-coin-icon {
    width: 18px;
    height: 18px;
}

.leaderboard-item-count {
    position: absolute;
    right: 21px;
    top: 21px;
    display: flex;
    gap: 6px;
    align-items: center;
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 12.98px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #2C75C3;
}




.leaderboard-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    position: absolute;
    left: 88px;
    top: 12px;
}


.leaderboard-item-place {
    position: absolute;
    left: 17px;
    top: 21px;
    font-family: SF Pro Display;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #3479C6B2;


}

.leaderboard-item-name {
    font-family: Roboto;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #3479C6;
}


.leaderboard-item-points {
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #3479C6B2;


}

.leaderboard-item-count-you {
    position: absolute;
    right: 21px;
    top: 21px;
    display: flex;
    gap: 6px;
    align-items: center;
    font-family: SF Pro Display;
    font-weight: 400;
    font-size: 12.98px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    position: absolute;
    right: 9px;
    top: 18px;
}


.leaderboard-item-you .leaderboard-item-avatar {

    width: 40px;
    height: 40px;
    position: absolute;
    left: 8px;
    top: 8px;
    
}

.leaderboard-item-you + .leaderboard-item {
    border-top: 1px solid white;
}


.leaderboard-item-you {
    margin-top: 5px;
    margin-bottom: 5px;
}

.leaderboard-item-you .leaderboard-item-info {
    left: 56px;
    top: 14px;
}




.leaderboard-item-count-you {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: sans-serif;
  }
  
  .rank-circle {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    color: #027AFD;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -1px;
  }
  
  .rank-number {
    font-family: Roboto;
    font-weight: 500;
    font-size: 16px;
    line-height: 10.8px;
    letter-spacing: 0.08px;
    vertical-align: middle;
    color: #fff;

  }
  
  .rank-separator {
    font-size: 12px;
    font-weight: 400;
    color: #BABABA;

  }
  
  .rank-label {
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 9.8px;
    letter-spacing: 0.08px;
    vertical-align: middle;
    color: #EBEBEB;

  }


  #premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }


  #premium-title {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
  }
  

  #premium-tab-bar {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 64px;
  }

  .tab-premium {
    width: 164px !important;
    height: 56px !important;
    font-family: Roboto !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    text-align: center !important;

  }

  #donate-container, #quest-container {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    width: 340px;

  }

  #donate-title, #quest-title {
    font-family: Roboto;
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
  }

  .donate-item {
    width: 340px;
    height: 101px;
    border-radius: 12px;
    background: #194BA399;
    backdrop-filter: blur(147.5px);
    position: relative;
    cursor: pointer;
  }



  .donate-item:last-child {
    margin-bottom: 100px;
  }

  .donate-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    left: 13px;
    top: 10px;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .donate-title {
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #fff;
    position: absolute;
    left: 108px;
    top: 11px;

  }

  .donate-descr {
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    position: absolute;
    right: 13px;
    top: 15px
  }

  .donate-price {
    font-family: Roboto;
    font-weight: 500;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    position: absolute;
    left: 108px;
    bottom: 9px;
  }

  .star-icon {
    width: 32px;
    height: 30px;
    margin-left: 6px;
    position: relative;
    top: 2px;
  }

  .quest-item {
    display: flex;
    width: 340px;
    border-radius: 12px;
    background: url(images/lines.png) bottom/100% no-repeat, linear-gradient(180deg, #0F77CA 0%, #0F72BC 100%);
    border: 1px solid #3CC5FF;
    position: relative;
    box-sizing: border-box;
    transition: height 0.6s ease, background 0.6s ease;
  }

  .quest-item:last-child {
    margin-bottom: 100px;
  }

  .quest-item.completed, .quest-item.blocked {
    background: url(images/lines.png) bottom/100% no-repeat, #FFFFFF66;
    backdrop-filter: blur(19.700000762939453px);
  }

  .quest-item.blocked {
    width: 340px;
    height: 103px;
    border: 0;
  }

  .quest-item.completed .quest-place {
    color: #7E9DC2;
  }
  
  .quest-item.completed .quest-descr {
    background: #7E9DC2;
    border-radius: 8px;
    padding: 6px 8px;
    margin-left: 16px;
    margin-top: 63px;
    margin-bottom: 12px;
  }

  .quest-item.completed .quest-button {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.4) 0%, rgba(182, 182, 182, 0.6) 100%);
    backdrop-filter: blur(32.20000076293945px);
    color: #929292;
    cursor: default;
    left: auto;
    right: 16px;
    border: none;
  }

  .quest-item.completed .quest-img {
    display: none;
  }

  .quest-item.blocked .quest-img {
    display: none;
  }

  .quest-item.blocked #wallet-div {
    display: none;
  }


    .quest-item.blocked .quest-descr {
        display: none;
    }

    .quest-item.blocked .quest-button {
        display: none;
    }


  .quest-item.blocked .quest-place {
    color: #7E9DC2;
  }

  .quest-item.blocked::after {
    content: '';
    background: url(icons/lock.png) center/contain no-repeat;
    width: 42px;
    height: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .quest-place {
    font-family: Roboto;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
    position: absolute;
    left: 16px;
    top: 12px;

  }

  .quest-descr {
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #fff;
    margin-top: 63px;
    margin-left: 24px;
    margin-bottom: 66px;
    width: 160px;
  }

  .quest-button {
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    width: 94px;
    height: 34px;
    backdrop-filter: blur(32.20000076293945px);
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 16px;
    bottom: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
  } 
  
  .quest-button:active, #modal-button:active {
    background: linear-gradient(180deg, #259d6f 0%, #155d40 100%);
    box-shadow: inset 0px 3px 5px rgba(0, 0, 0, 0.35), inset 0px 1px 3px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
  }

  .quest-img {
    width: 120px;
    height: 120px;
    position: absolute;
    right: 13px;
    top: 13px;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  #wallet-quest .quest-descr {
    margin-top: 63px;
    margin-bottom: 88px;
    margin-left: 24px;
  }

  #wallet-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: absolute;
    bottom: 12px;
    left: 16px;
  }

  #wallet-input {
    font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15px;
    vertical-align: middle;
    width: 246px;
    height: 48px;
    background: #00000033;
    border: 1.8px solid #0000000D;
    backdrop-filter: blur(39px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #fff;
    position: relative;
    cursor: pointer;
    padding: 0 16px;
    box-sizing: border-box;
    transition: background 0.3s ease;
  }
  
  #wallet-input:active {
    box-shadow: inset 0px 3px 5px rgba(0, 0, 0, 0.3);
    border: 1.8px solid #0000000D;
    width: 246px;
    height: 48px;
  }
  
  #wallet-input span {
    max-width: 214px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  #wallet-title {
    width: 57px;
    height: 19px;
    background: #3073C2;
    border-radius: 32px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 19px;
    letter-spacing: 0.15px;
    vertical-align: middle;
    color: #fff;
    position: absolute;
    top: -12px;
    left: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;

  }
  

  #wallet-button {
    background: #00000033;
    backdrop-filter: blur(39px);
    width: 48px;
    height: 46px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.3s ease;
  }
   
  #wallet-button:active {
     box-shadow: inset 0px 3px 5px rgba(0, 0, 0, 0.3);
     width: 48px;
     height: 46px;
   }

   #wallet-accept-icon {
     width: 22px;
     height: 16px;
   }

   #wallet-quest .quest-img {
    right: 4px;
    top: 6px;
   }

   #wallet-button.disabled {
    background: rgba(128, 128, 128, 0.5) !important;
    pointer-events: none;
    cursor: default;
}

   #wallet-input.disabled {
    background: rgba(128, 128, 128, 0.5) !important;
    pointer-events: none;
    cursor: default;
}



#modal-info {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#00000099;
    z-index: 9999999;
}

#modal-window {
    display: flex;
    width: 340px;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    background: #ACCDF0;
    gap: 16px;
    box-sizing: border-box;
    padding: 22px 16px;
}


#modal-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-body {
    width: 296px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-direction: column;
}

#modal-title {
    font-family: Roboto;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #3073C2;
}

#modal-body {
    font-family: Roboto;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-align: center;
    color: #7C7C7C;
}


#modal-button {
    display: flex;
    width: 164px;
    height: 54px;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    color: #FFF;
    border-radius: 12px;
    background: linear-gradient(180deg, #2DAE7B 0%, #186F4C 100%);
    backdrop-filter: blur(32.20000076293945px);
    font-family: Roboto;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;

}


.boost:last-child {
    margin-bottom: 100px;
}


@media screen and (max-height: 830px) {
    #stat-block {
        bottom: 90px;
    }

    .bet {
        bottom:225px;
    }
}

@media screen and (max-height: 800px) {
    #graphs {
        bottom: 32%;
    }
}


@media screen and (max-height: 715px) {
    #link-container {
        display: none;
    }

    #graphs {
        bottom: 38%;
    }
}


@media screen and (max-height: 690px) {
    #link-container {
        display: none;
    }

    #graphs {
        bottom: 38%;
    }

    #bet-inf {
        bottom: 285px;
    }

    #graph {
        top: 62px;
    }

    #trade-title {
        top: 12px;
    }

}

/* Стили для таймеров */
#credit-pool-timer, #loan-timer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(29, 37, 58, 0.9), rgba(29, 37, 58, 0.7));
    padding: 12px 18px;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;
    font-family: 'SF Pro Display', sans-serif;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 230px;
}

#credit-pool-timer::before, #loan-timer-container::before {
    content: '⏱️';
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
}

.timer-icon {
    display: none;
}

#timer, #loan-timer {
    color: #70cfff;
    font-weight: 600;
    margin-left: 5px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(112, 207, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* При истечении времени */
#timer.expired, #loan-timer.expired {
    color: #ff7070;
    text-shadow: 0 0 8px rgba(255, 112, 112, 0.5);
    animation: none;
}

#push-title-sys {
    position: absolute;
    top: 10px;
    left: 61px;
    font-family: Roboto;
    font-weight: 600;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.1px;
    color: #FFF;
}

#push-time-sys {
    position: absolute;
    top: 10px;
    right: 14px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.1px;
    color: #FFF;
}

#push-avatar-sys {
    position: absolute;
    top: 10px;
    left: 14px;
    width: 40px;
    height: 40px;
}

#push-signal-sys {
    display: flex;
    flex-shrink: 0;
    bottom: 10px;
    left: 61px;
    font-family: Roboto;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1px;
    color: #FFF;
    width: 206px;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: 61px;
    margin-right: 94px;
}




