*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    list-style-type: none;
    list-style: none;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

*::before,
*::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

button,
input,
textarea {
    border: none;
    outline: none;
    background-color: transparent;
}

a,
button {
    cursor: pointer;
}

header,
section,
footer {
    width: 100%;
    padding: 0 22px;
}

.container {
    width: 100%;
    max-width: 1396px;
    margin: auto;
}

.z-index {
    position: relative;
    z-index: 10;
}

.f-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    position: relative;
    background-color: #0D101D;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: #0175FF;
}

.global-weapons {
    width: 100.5%;
    overflow: hidden;
    display: flex;
}

.global-weapons .global-players {
    z-index: 10;
    min-width: 190px;
    max-width: 190px;
    justify-content: flex-end;
    height: 87px;
    background: linear-gradient(90deg, #12172D 31.84%, #19203E 93.95%);
    transform: skewX(-20deg);
    position: relative;
    margin-left: -88px;
    padding-right: 30px;
}

.global-weapons .global-players .count-players {
    flex-direction: column;
    transform: skewX(20deg);
}

.global-weapons .global-players img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.global-weapons .global-players h2,
.global-weapons .global-players h2 span {
    font-family: 'RF Dewi Expanded';
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 16.8px;
    letter-spacing: 1px;
}

.global-weapons .global-players h2 {
    margin: 4px 0 2px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 18px;
}

.global-weapons .global-players p {
    position: relative;
    font-family: 'RF Dewi Expanded';
    font-size: 9px;
    font-style: italic;
    font-weight: 400;
    line-height: 10.8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.global-weapons .weapon-btns {
    background: linear-gradient(90deg, #12172D 31.84%, #19203E 93.95%);
    z-index: 10;
    min-width: 34.5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: skewX(-20deg);
    margin-left: -2px;
    height: 87px;
}

.global-weapons .weapon-btns .btn-category {
    width: 100%;
    height: 100%;
    background-color: #12172D;
    cursor: pointer;
}

.global-weapons .weapon-btns .btn-category .icon {
    width: 17px;
    height: 14.7px;
    background-image: var(--iconDef);
    transform: skewX(20deg);
}

.global-weapons .weapon-btns .btn-category.active,
.global-weapons .weapon-btns .btn-category:hover {
    background-color: #062447;
    opacity: 1;
}

.global-weapons .weapon-btns .btn-category.active .icon,
.global-weapons .weapon-btns .btn-category:hover .icon {
    background-image: var(--iconHov);
}

@media (min-width: 1200px){
    .weapons-cards-content{
        height: 90px; 
     }
}

.global-weapons .weapons-cards-content {
    /* width: 100%; */
    transform: translate(-183px, -3px) skewX(-20deg);    margin: 0 2px;
    display: flex;
}

.global-weapons .weapons-cards-content::-webkit-scrollbar {
    height: 0;
}

.global-weapons .weapons-cards-content .weapons-cards-box {
    display: none;
    /* gap: 2px; */
    height: 100%;
    min-width: calc(100% + 50px);
    position: relative;
    overflow: hidden; /* Ограничиваем видимую область, чтобы скрывать выходящие за пределы элементы */
}

.weapons-cards-box.active{
    display: flex !important;
}
/* 
.global-weapons .weapons-cards-content .weapons-cards-box:hover {
    animation-play-state: paused;
} */

@media (max-width: 1200px){
    .weapons-cards-content{
        transform: translate(-186px, -3px) skewX(-20deg) !important;
    }
    /* .global-weapons .global-players, .global-weapons .weapon-btns {
        height: 88px !important;
    } */
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.light_card {
    position: relative;
    min-width: 180px;
    max-width: 180px;
    height: 91px;
    padding: 30px 10px 0px 10px;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(47deg, #19203E, #131934);
}

.light_card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%; /* Уменьшенная ширина полоски */
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.068) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    animation: shimmer 1.5s infinite;

}

@keyframes shimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}


.global-weapons .weapons-cards-content .weapons-cards-box .WC {
    cursor: pointer;
    position: relative;
    min-width: 180px;
    max-width: 180px;
    height: 91px;
    background: linear-gradient(90deg, #1a1a1a, #3a3a3a);
    padding: 30px 10px 0px 10px;
    border: solid transparent;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
    background: linear-gradient(var(--A), var(--A)) padding-box,
        linear-gradient(90deg, var(--B1) 0%, var(--B2) 100%) border-box;
    animation: slideInFromLeft 0.5s ease-out;
}

.global-weapons .weapons-cards-content .weapons-cards-box .WC * {
    z-index: 5;
}

.global-weapons .weapons-cards-content .weapons-cards-box .WC::before,
.global-weapons .weapons-cards-content .weapons-cards-box .WC::after {
    content: '';
    border-radius: 50%;
    filter: blur(20px);
}

.global-weapons .weapons-cards-content .weapons-cards-box .WC::before {
    width: 20.85px;
    height: 62.13px;
    top: 0;
    left: -10px;
    right: auto;
    bottom: auto;
    background-color: var(--BF1);
    z-index: 2;
}

.global-weapons .weapons-cards-content .weapons-cards-box .WC::after {
    width: 44px;
    height: 54.23px;
    top: auto;
    left: auto;
    right: -22px;
    bottom: 0;
    background-color: var(--BF2);
    z-index: 2;
}

/* Фото скина в центре карточки */
.main-content {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
}

/* Фото скина наклонено */
.main-content .main-img {
    width: 100px;
    position: absolute;
    letter-spacing: 0;
    white-space: nowrap;
    font-family: 'Courier New', Courier, monospace;
    top: 25%;
    left: 70%;
    transform: translate(-50%, -50%) skewX(20deg);
    transition: transform 0.3s ease;
    opacity: 1;
}



/* При наведении фото скина уходит вверх */
.WC:hover .main-content {
    transform: translateY(-150%) skewX(20deg);
    opacity: 0;
}

/* Название оружия в две строки */
.weapon-name *{
    transform: skewX(20deg) !important;
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 400;
    line-height: 14.52px;
    text-transform: uppercase;
    color: #FFFFFF99;
}

.weapon-name span {
    color: #fff;
    font-weight: 700;
}

.weapon-name .weapon-model {
    display: block;
}

/* Имя игрока снизу, выезжает слева */
.left-content {
    max-width: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    /* bottom: 5px; */
    left: -120px; /* Спрятано за пределами блока */
    opacity: 0;
    transform: skewX(20deg);
    transition: opacity 0.3s ease, left 0.3s ease;
}

.player-avatar {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 10px;
}

.left-content span {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 600;
    line-height: 14.52px;
    color: white;
}

/* При наведении имя игрока выезжает слева */
.WC:hover .left-content {
    left: 10px;
    opacity: 1;
}

/* Фото кейса справа */
.right-content {
    position: absolute;
    right: -120px;
    top: 55%;
    transform: translateY(-50%) skewX(20deg);
    opacity: 0;
    transition: opacity 0.3s ease, right 0.3s ease;
}

.right-content img {
    min-width: 110px;
    max-width: 110px;
}

/* Показываем кейс при наведении */
.WC:hover .right-content {
    right: -20px;
    opacity: 1;
}

header {
    position: absolute;
    top: 105px;
}

header .navbar {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

a.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8.67px;
}

/* a.logo::before {
    content: '';
    left: -27.5px;
    top: -10%;
    transform: translateY(-50%);
    width: calc(100% + 55px);
    height: 9px;
    background-color: rgb(1, 183, 255, 0.8);
    filter: blur(50px);
    z-index: 0;
} */

a.logo .logo-box {
    position: relative;
    width: 30px;
    height: 30px;
}

a.logo .logo-box .logo-img-0,
a.logo .logo-box .logo-img-1,
a.logo .logo-box .logo-img-2 {
    position: absolute;
    top: -12px;
    left: -15px;
    z-index: 5;
    /* width: 100%; */
}

a.logo .logo-box .logo-img-1 {
    filter: blur(4px);
    z-index: 4;
}

a.logo .logo-box .logo-img-2 {
    filter: blur(12px);
    z-index: 3;
}

a.logo .logo-text {
    position: relative;
    z-index: 5;
    width: 151px;
    font-family: 'Conthrax sb';
    font-size: 20px;
    font-style: italic;
    line-height: 27.74px;

}

header .navbar .menu-content {
    width: 100%;
    border-radius: 20px;
    min-height: 89px;
    background-color: #12172D;
    padding: 12px;
    display: flex;
    gap: 12px;
}

header .navbar .menu-content .menu-box,
header .navbar .menu-content .menu-box a.menu-item,
header .navbar .menu-content .nav-balance,
header .navbar .menu-content .nav-balance .nav-users-box,
header .navbar .menu-content .nav-balance .nav-users-box .user-balance h2.b-title {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: flex-end;
}

header .navbar .menu-content {
    display: none;
}

header .navbar .menu-content.responsive__mobile {
    display: flex;
}

header .navbar .menu-content .menu-box {
    max-width: min-content;
}

.mobile-m-close-bg,
header .navbar .menu-content .menu-box a.menu-item.mobile-menu-item {
    display: none;
}

header .navbar .menu-content .menu-box a.menu-item {
    gap: 10px;
    border-radius: 14px;
    background-color: #19203E;
    padding: 18px 20px 18px 14px;
    height: 64px;
    filter: brightness(1);
}

header .navbar .menu-content .menu-box a.menu-item:not(.soon):hover {
    filter: brightness(1.2);
}

header .navbar .menu-content .menu-box a.menu-item img {
    width: 28px;
    height: 28px;
}

header .navbar .menu-content .menu-box a.menu-item span:not(.notif__span) {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 19.36px;
    text-transform: uppercase;
}

header .navbar .menu-content .nav-balance a.nav-stock-btn {
    position: relative;
    border-radius: 16px;
    /* overflow: hidden; */
    width: 100%;
    min-width: 270px;
    /* max-width: 320px; */
    height: 64px;
    /* border: 1.5px solid transparent; */
    border: 1.5px solid transparent;
    background: linear-gradient(#19203E, #19203E) padding-box, linear-gradient(90deg, #0075FF 0%, #00F0FF 100%) border-box;
    padding: 13px 14px 12px 14px;
}

header .navbar .menu-content .nav-balance a.nav-stock-btn:hover {
    background: linear-gradient(#1d2549, #1d2549) padding-box, linear-gradient(90deg, #0075FF 0%, #00F0FF 100%) border-box;
}

/* a.nav-stock-btn:hover > img {
    transition: ease 0.1s;
    scale: 0.9;
} */

header .navbar .menu-content .nav-balance a.nav-stock-btn h2.s-title {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 19.36px;
}

header .navbar .menu-content .nav-balance a.nav-stock-btn p.s-info {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 300;
    line-height: 16.94px;
    margin-top: 3px;
}

header .navbar .menu-content .nav-balance .nav-stock-btn img.gift {
    position: absolute;
    right: 0;
    bottom: 0px;
    object-fit: cover;
    object-position: 0 2px;
    border-radius: 0 0 15px 0;
    /* width: 73.5px; */
}

span.notif__span {
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 10;
    padding: 5px;
    background-color: #e03636;
    box-shadow: 0 0 10px 0px #000000a8;
    --notif_w: 25px;
    min-width: var(--notif_w);
    min-height: var(--notif_w);
    max-width: var(--notif_w);
    max-height: var(--notif_w);
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: normal;
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    border-radius: 50%;
    letter-spacing: 1px;
    opacity: 0;
}

span.notif__span.active {
    opacity: 1;
    transition: ease 0.3s;
}

span.notif__span.small {
    right: 5px;
    top: 1px;
    --notif_w: 19px;
}

header .navbar .menu-content .nav-balance .nav-users-box {
    width: max-content;
    gap: 12.75px;
    height: 64px;
    padding: 0 6px 0 6px;
    background-color: #19203E;
    border-radius: 16px;
}

.profile_button {
    position: relative;
    min-width: 52px;
    max-width: 52px;
    height: 52px;
    box-shadow: 0px 0px 4px 1px #01B3FF4D;
    border-radius: 12px;
    border: 1.5px solid transparent;
    background: linear-gradient(#19203E, #19203E) padding-box, linear-gradient(90deg, #0075FF 0%, #00F0FF 100%) border-box;
    overflow: hidden;
    transition: ease 0.1s;
}

.profile_button:hover{
    box-shadow: 0px 0px 4px 1px #47c8ffe7;
    transition: ease 0.1s;

}

img.user-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* header .navbar .menu-content .nav-balance .nav-users-box .user-balance {} */

header .navbar .menu-content .nav-balance .nav-users-box .user-balance h2.b-title {
    gap: 6px;
}

header .navbar .menu-content .nav-balance .nav-users-box .user-balance h2.b-title span:not(.tooltiptext) {
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 500;
    line-height: 21.78px;
    white-space: nowrap;
}

header .navbar .menu-content .nav-balance .nav-users-box .user-balance h2.b-title .b-icon,
.card-link .b-icon, .buy-btn .b-icon {
    border: 1px solid transparent;
    background: linear-gradient(#19203E, #19203E) padding-box, linear-gradient(90deg, #0175FF 0%, #0148FF 100%) border-box;
    border-radius: 3px;
    width: 20px;
    height: 17px;

    font-family: 'Conthrax sb';
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
    line-height: 13px;
    padding: 4px 4px 2px 1px;
}

header .navbar .menu-content .nav-balance .nav-users-box .user-balance h2.b-title .b-icon.fill-gr {
    background: linear-gradient(90deg, #0075FF 0%, #0047FF 100%);
    border-width: 0px;
}

header .navbar .menu-content .nav-balance .nav-users-box .balance-top-up {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 500;
    line-height: 16.94px;
    padding: 12.5px 20px;
    background: linear-gradient(90deg, #0075FF 0%, #00F0FF 100%);
    box-shadow: 0px 0px 8px 2px #01B3FF80;
    border-radius: 10px;
    color: #111111;
}

.balance-top-up p{
    line-height: 2;
    font-family: 'Inter';
    font-size: 15px;
    font-weight: 500;
    color: #111111;
}

.balance-top-up.login {
    display: flex;
    gap: 0.5em;
    min-width: 220px;
}

header .navbar .menu-content .nav-balance .nav-users-box .balance-top-up:hover {
    opacity: 0.8;
}

header .navbar .menu-content .nav-balance .nav-users-box .balance-top-up.add-btn {
    padding: 0 0;
    width: 42px;
    height: 42px;
}

header .navbar .menu-content .nav-balance .nav-users-box .balance-top-up.small-btn {
    display: none;
}

header .navbar .menu-content .nav-balance .nav-users-box .balance-top-up.add-btn img {
    width: 24px;
    object-fit: cover;
}

/* header .navbar .menu-content .nav-balance .nav-users-box button.bars-btn {} */

header .navbar .menu-content .nav-balance .nav-users-box button.bars-btn img {
    width: 24px;
    height: 24px;
}


.opacity-0 {
    opacity: 0;
    transition: ease 0.3s;
}

.octagon_br {
    aspect-ratio: 1.5;
    position: relative;
    z-index: 0;
}

.octagon_br:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--BGR);
    --grs1: #000 var(--BS), #0000 0 calc(100% - var(--BS)), #000 0;
    --grs2: #0000 calc(0.707*var(--CS)),
        #000 0 calc(0.707*var(--CS) + var(--BS)),
        #0000 0 calc(100% - 0.707*var(--CS) - var(--BS)),
        #000 0 calc(100% - 0.707*var(--CS)),
        #0000 0;
    mask:
        linear-gradient(45deg, var(--grs2)),
        linear-gradient(-45deg, var(--grs2)),
        linear-gradient(90deg, var(--grs1)) 50%/100% calc(100% - 2*var(--CS)) no-repeat,
        linear-gradient(180deg, var(--grs1)) 50%/calc(100% - 2*var(--CS)) 100% no-repeat;

}




.currency {
    background: linear-gradient(90deg, #0075FF 0%, #0047FF 100%);
    border-width: 0px;
    border-radius: 3px;
    width: 20px;
    height: 17px;
    font-family: 'Conthrax sb';
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
    line-height: 13px;
    padding: 3px 4px 2px 3px;
}




button:hover {
    opacity: 0.8;
}






footer .footer {
    position: relative;
    background-color: #12172D;
    border-radius: 24px;
    margin-bottom: 37px;
    padding: 28px;
    display: flex;
    gap: 48px;
}

footer .footer .footer-logo-box {
    min-width: max-content;
}

footer .footer .footer-logo-box a.logo {
    margin-top: 10px;
    width: max-content;
}

footer .footer .footer-logo-box .footer-menu {
    margin: 25.5px 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer .footer .footer-logo-box .footer-menu a.menu-item {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    color: rgb(255, 255, 255, 0.4);
}

.contact-link {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 500;
    line-height: 16.94px;
    color: rgba(116, 227, 255, 0.8);
}

.contact-link:hover{
    color: #fff;
}

footer .footer .footer-logo-box .footer-menu a.menu-item:not(.soon):hover {
    color: #fff;
}

.menu-item.soon img{
    filter: blur(2px);
}

.menu-item.soon{
    cursor: default;
}

footer .footer .footer-logo-box .footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 13px;
}

footer .footer .footer-logo-box .footer-social a img {
    border-radius: 50%;
    background: transparent;
    filter: brightness(1);
}

footer .footer .footer-logo-box .footer-social a img:hover {
    filter: brightness(3);
    background: #000;
}

footer .footer .footer-menu-box {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #19203E 0%, #161C37 100%);
    border-radius: 14px;
    overflow: hidden;
    padding: 27px 34px;
}

footer .footer .footer-menu-box .hexagon-img {
    position: absolute;
    right: -10px;
    bottom: -55px;
    width: 100%;
    max-width: 680px;
    height: 100%;
    background-image: url('../images/stocks/footer-hexagon-bg.webp');
    transform: rotate(-10.53deg);
    mix-blend-mode: screen;
}

footer .footer .footer-menu-box .hexagon-img::before {
    content: '';
    top: 20px;
    right: 40px;
    left: auto;
    max-width: 410px;
    height: 106px;
    background: radial-gradient(50.02% 49.99% at 50.23% 50.01%, #0007F7 0%, #0006DD 7%, #00049B 27%, #000263 45%, #000138 63%, #000019 78%, #000006 91%, #000000 100%);
    border-radius: 50%;
    opacity: 0.23;
    transform: rotate(-8.19deg);
}

footer .footer .footer-menu-box .hexagon-img::after {
    content: '';
    top: auto;
    bottom: 7px;
    right: 50px;
    left: auto;
    max-width: 365px;
    height: 182px;
    background: radial-gradient(49.95% 50.08% at 49.65% 50.13%, #0044A9 0%, #003E9A 6%, #002863 30%, #001638 52%, #000A19 72%, #000206 88%, #000000 100%);
    border-radius: 50%;
    opacity: 0.36;
    transform: rotate(-16.56deg);
}

footer .footer .footer-menu-box .global-game-info {
    width: 100%;
    max-width: 496px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 21px;
}

@media (min-width: 1378px) {
    footer .footer .footer-menu-box .global-game-info {
        grid-template-columns: auto auto auto;
    }
}

footer .footer .footer-menu-box .global-game-info .g-menu-item {
    justify-content: flex-start;
    gap: 20px;
}

footer .footer .footer-menu-box .global-game-info .g-menu-item img.icon {
    width: 58px;
    height: 58px;
    object-fit: cover;
}

footer .footer .footer-menu-box .global-game-info .g-menu-item .texts-content h2 {
    font-family: 'Inter';
    font-size: 32px;
    font-weight: 800;
    line-height: 38.73px;
    /*  */
    background: linear-gradient(90deg, #0075FF 0%, #00F0FF 100%);
    background-clip: text;
    color: transparent;
}

footer .footer .footer-menu-box .global-game-info .g-menu-item .texts-content .odometer-value, .texts-content .odometer-formatting-mark{
    background: linear-gradient(11deg, #0075FF 0%, #00f0ff 80%);
    background-clip: text;
    color: transparent;
}

footer .footer .footer-menu-box .global-game-info .g-menu-item .texts-content p {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    color: #FFFFFF66;
    white-space: nowrap;
}

footer .footer img.footer-image-csgo {
    position: absolute;
    right: 4.799426934097421%;
    bottom: 0;
    width: 100%;
    max-width: 405px;
}

/* footer .footer img.footer-image-csgo:hover {
    scale: 1.05;
    cursor: pointer;
} */

.footer-box {
    position: relative;
}

.footer-box .hexagon-img {
    position: absolute;
    right: 0;
    bottom: 0;
}

.info-panel{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}


.img-info-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}


.none {
    display: none !important;
}


.scale_0 {
    transform: scale(0);
}


.restricted {
    --bc1: #8400EE;
    --bc2: #350060;
    --fill: #120728;
    --bf: #7f01e7;
    --af: #7f01e7;
}

.restricted_slot {
    --fill: #15082F;
    --c-center: #8001E766;
}



.restricted_header{
    --A: #120728;
    --B1: #26074D;
    --B2: #8400EE;
    --BF1: #8001E780;
    --BF2: #8001E7B2;
}

.covert {
    --bc1: #BD0000;
    --bc2: #490000;
    --fill: #220B17;
    --bf: #fa1212;
    --af: #fa1212;
}

.covert_slot{
    --fill: #220B17;
    --c-center: #FA121266;
}

.covert_header{
    --A: #220B17;
    --B1: #410C16;
    --B2: #FF1212;
    --BF1: #FA121280;
    --BF2: #FA1212B2;
}

.consumer {
    --bc1: #565E68;
    --bc2: #272C32;
    --fill: #1B1F2E;
    --bf: #9fb1c7;
    --af: #9fb1c7;
}

.consumer_slot{
    --fill: #1B1F2E;
    --c-center: #9FB1C780;
}

.consumer_header{
    --A: #1B1F2E;
    --B1: #2E3545;
    --B2: #A4B6CC;
    --BF1: #9FB1C780;
    --BF2: #9FB1C7B2;
}

.industrial {
    --bc1: #0F50B2;
    --bc2: #002866;
    --fill: #081730;
    --bf: #1d73f4;
    --af: #1d73f4;
}

.industrial_slot{
    --fill: #0F1D34;
    --c-center: #1D72F480;
}

.industrial_header{
    --A: #081730;
    --B1: #0C244E;
    --B2: #1D72F4;
    --BF1: #1D72F480;
    --BF2: #1D72F4B2;
}

.contraband {
    --bc1: #AA8500;
    --bc2: #624C00;
    --fill: #231C03;
    --bf: #fac401;
    --af: #fac401;
}

.contraband_slot {
    --fill: #181302;
    --c-center: #FAC30166;
}

.contraband_header{
    --A: #423713;
    --B1: #3E3310;
    --B2: #FFC700;
    --BF1: #FAC30180;
    --BF2: #FAC301B2;
}


.classified {
    --bc1: #AE0073;
    --bc2: #45002E;
    --fill: #200B27;
    --bf: #e4119e;
    --af: #e4119e;
}

.classified_slot{
    --fill: #200B27;
    --c-center: #E4119D80;
}

.classified_header{
    --A: #200B27;
    --B1: #410C3B;
    --B2: #E911A0;
    --BF1: #E4119D80;
    --BF2: #E4119DB2;
}
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('../images/all/content-bg.webp'); */
    background-color: #000019;
    background-size: cover;
    background-position: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Запрещаем прокрутку внутри лоадера */
}

.loader-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Помещаем подложку под основной контент лоадера */
}

.loader-container {
    position: relative;
}

.loader {
    border: 4px solid transparent;
    border-top: 4px solid #3498db; /* Синий кружок */
    border-bottom: 4px solid #fff; /* Белый кружок */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
}

.loader-mini {
    display: none;
    border: 4px solid transparent;
    border-top: 4px solid #3498db;
    border-bottom: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 900;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.save_notification.error {
    background: #2f150b !important;
    box-shadow: 0px 0px 10px 0px #ff012359 !important;

}

.save_notification.error .progress-bar {
    background-color: #ff4d53 !important;
}

.notifications-container {
    position: fixed;
    top: 5%;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
}

.save_notification {
    padding: 10px 15px 20px 10px;
    background: #19203E;
    box-shadow: 0px 0px 10px 0px #01b3ff59;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(120%);
    opacity: 0;
    transition: 0.5s ease-in-out;
    position: relative;
    min-width: 250px;
    max-width: 90vw;
}

.save_notification.active {
    transform: translateX(0);
    opacity: 1;
}

.save_notification.error {
    border-top: 3px solid #ff4d4d;
}

.save_notification {
    border-top: 3px solid #225591;
}

.save_notification img.icon {
    width: 30px;
    height: 30px;
}

.save_notification h2.title {
    font-family: 'RF Dewi Expanded';
    font-size: 17px;
    font-weight: 600;
}

.save_notification p.info {
    max-width: 395px;
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 500;
}

.save_notification .progress {
    position: absolute;
    width: 100%;
    height: 5px;
    left: 0;
    bottom: 0;
}

.save_notification .progress .progress-bar {
    height: 100%;
    background-color: #0175FF;
    width: 0%;
}

.save_notification .notif-close {
    position: absolute;
    top: 5px;
    right: 8px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.save_notification .notif-close:hover {
    filter: brightness(0.6);
}


input:-webkit-autofill {
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Для Firefox */
input:-moz-autofill {
    background-color: transparent !important;
}

/* Для Edge */
input:-ms-input-placeholder {
    background-color: transparent !important;
}

/* 
.tooltip {
    position: relative;
    overflow: visible; 
}


.tooltip .tooltiptext {
    font-family: 'Inter';
    font-size: 12px;
    font-weight: 300;
    visibility: hidden;
    width: 120px;
    background-color: #0f1222;
    color: #fff;
    text-align: center;
    padding: 5px 5px 5px 5px; 
    border-radius: 6px;
    position: absolute;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none; 
    display: inline-block;
    min-width: 60px;
    max-width: 160px;
    width: max-content;
    white-space: normal;
    word-wrap: break-word; 
    font-style: normal;
    text-transform: none;
}
  
.tooltiptext.no-mw {
    max-width: 1000px;
}

.tooltiptext.top{
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
}
  
.tooltiptext.bottom{
    top: 105%;
    left: 50%;
    transform: translateX(-50%);
}

.tooltiptext.right{
    left: 150%;
    transform: translateY(-50%);
}

.tooltiptext.bigger {
    max-width: 180px;
    padding: 10px 5px 10px 5px; 
    font-size: 14px;
}

.tooltiptext.longer {
    max-width: 380px !important;
}

@media only screen and (max-width: 768px) {
    .tooltiptext.bigger{
        font-size: 12px;
    }
    .tooltiptext.right{
        bottom: 105%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media only screen and (max-width: 542px) {
    .save_notification {
        left: 20px
    }
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}


.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #0f1222 transparent transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
} */


:root{
    --tooltip-bg: #1f2239;
    --tooltip-fg: #fff;
    --tooltip-radius: 10px;
    --tooltip-shadow: 0 10px 24px rgba(0,0,0,.18);
    --tooltip-gap: 10px;      /* расстояние от триггера до тултипа */
    --tooltip-pad: 5px 7px; /* базовые отступы */
    --tooltip-font: 12px;
    --tooltip-z: 99999;
}

.tooltip{
    overflow: visible;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tooltip .tooltiptext{
    white-space: normal;
    pointer-events: none;
    position: absolute;
    box-sizing: border-box;
    background: var(--tooltip-bg);
    color: var(--tooltip-fg);
    border-radius: var(--tooltip-radius);
    box-shadow: var(--tooltip-shadow);
    padding: var(--tooltip-pad);
    font: 500 var(--tooltip-font)/1.35 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    text-align: left;
    min-width: 30px;
    max-width: 160px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: var(--tooltip-z);
    font-style: normal;
    text-transform: none;
    /* по умолчанию — сверху */
    left: 50%;
    bottom: calc(100% + var(--tooltip-gap));
    transform: translate(-50%, 6px);
    
}

/* Показ по hover/focus */
.tooltip:hover .tooltiptext,
.tooltip:focus-within .tooltiptext{
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Стрелочка */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    width: 0; height: 0;
    border: 6px solid transparent;
    left: 50%; /* стрелка по центру триггера */
    transform: translateX(-50%);
}

/* пример для тултипа сверху */
.tooltip .tooltiptext.top::after {
    top: 100%;
    border-top-color: var(--tooltip-bg);
    border-bottom: 0;
}


.tooltip .tooltiptext.bottom {
    top: calc(100% + var(--tooltip-gap));
    bottom: auto; /* сброс */
    transform: translateX(-50%); /* убрать translateY */
}

.tooltip .tooltiptext.right {
    left: calc(100% + var(--tooltip-gap));
    top: 50%;
    bottom: auto; /* сброс */
    transform: translateY(-50%); /* оставить только вертикальное центрирование */
}

/* размеры */
.tooltip .tooltiptext.bigger {
    max-width: 180px;
    font-size: 14px;
    padding: 8px 12px;
}

.tooltip .tooltiptext.longer {
    max-width: 380px;
    white-space: normal;
}

/* стрелочка */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    width: 0; height: 0;
    border: 6px solid transparent;
}

/* стрелочки для каждой позиции */
.tooltip .tooltiptext.top::after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: var(--tooltip-bg);
    border-bottom: 0;
}

.tooltip .tooltiptext.bottom::after {
    top: -6px;          /* стрелка сверху тултипа */
    left: 50%;
    transform: translateX(-50%) rotate(180deg); /* переворачиваем стрелку */
    border-top-color: var(--tooltip-bg);
    border-bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}


.tooltip .tooltiptext.right::after {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: var(--tooltip-bg);
    border-left: 0;
}

/* Удобные фокусы для клавиатуры */
.tooltip:focus-visible{ outline: 2px dashed #888; outline-offset: 4px; border-radius: 8px; }

#days_label {
    width: 60px;
}


/* правила игры info */
.game-popup-info {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    display: flex;
    justify-content: center;
    /* padding: 50px 0; */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: 0.5s ease;
    overflow-y: scroll;
    overflow-x: hidden;
}

.game-popup-info::-webkit-scrollbar {
    width: 0;
}

.game-popup-info.active {
    opacity: 1;
    pointer-events: visible;
    visibility: visible;
}

.game-popup-info .g-popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
    background-color: #000000B2;
}

.game-popup-info .g-body {
    position: relative;
    width: 100%;
    max-width: 547px;
    background-color: #12172D;
    border-radius: 24px;
    overflow: hidden;
    padding: 26px 20px 20px 20px;
    z-index: 45;
    height: max-content;
    margin: 50px 0;
}

.popup-info .g-body{
    max-width: 1047px !important;
}

.game-popup-info .g-body::before,
.game-popup-info .g-body::after {
    position: absolute;
    content: '';
    left: 50%;
    z-index: 5;
    height: 6px;
    width: 50.639%;
    transform: translateX(-50%);
    clip-path: polygon(0% 0%, 100% 0, calc(100% - 10px) 100%, 10px 100%);
    background: linear-gradient(90deg, #0075FF 0%, #00F0FF 50.4%, #0075FF 100%);
}

.game-popup-info .g-body::after {
    top: auto;
    bottom: 0;
    clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 100%, 0% 100%);
}

.game-popup-info .g-body h2.title {
    font-family: 'RF Dewi Expanded';
    font-size: 18px;
    font-style: italic;
    font-weight: 600;
    line-height: 21.6px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    margin: 6px 0 0 0;
}

.game-popup-info .g-body button.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    background-color: #19203E;
    border-radius: 4px;
}

.game-popup-info .g-body button.close-btn img.icon {
    width: 22px;
    height: 22px;
}

.game-popup-info .g-body .teachs-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 0 0;
}

.game-popup-info .g-body .teachs-info .teach-box {
    background-color: #19203E;
    border-radius: 8px;
    padding: 16px 16px 16px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}

.game-popup-info .g-body .teachs-info .teach-box .numb {
    position: relative;
    padding: 0 0 0 16px;
    filter: drop-shadow(0 0 8px #01B3FF80);
}

.game-popup-info .g-body .teachs-info .teach-box .numb::before {
    content: '';
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(0deg, #0075FF 0%, #00F0FF 50.4%, #0075FF 100%);
    clip-path: polygon(0 0, 100% 5px, 100% calc(100% - 5px), 0 100%);
}

.game-popup-info .g-body .teachs-info .teach-box .numb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -90%;
    z-index: 4;
    transform: translateY(-50%);
    width: 38px;
    height: 21px;
    background-color: #01A4FF;
    border-radius: 50%;
    filter: blur(30px);
}

.game-popup-info .g-body .teachs-info .teach-box .numb .number_box {
    width: 28px;
    height: 28px;
    --BS: 2px;
    --BGR: linear-gradient(90deg, #0075FF 0%, #00F0FF 100%);
    --CS: 6px;
    background-color: #182E51;
    clip-path: polygon(var(--CS) 0%, calc(100% - var(--CS)) 0%, 100% var(--CS), 100% calc(100% - var(--CS)), calc(100% - var(--CS)) 100%, var(--CS) 100%, 0% calc(100% - var(--CS)), 0% var(--CS));
    padding-bottom: 2px;

    font-family: 'RF Dewi Expanded';
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    line-height: 19.2px;
}

.game-popup-info .g-body .teachs-info .teach-box .text-box h2.teach-title {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    line-height: 19.36px;
}

.game-popup-info .g-body .teachs-info .teach-box .text-box .teach-info {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 300;
    line-height: 18.9px;
    margin: 6px 0 0 0;
}

.blink {
    animation: blink 0.3s ease-in-out;
}

.use-notif{
    position: relative;
}

@keyframes blink {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
    100% { filter: brightness(1); }
}

.users-box-outer {
    position: relative; /* Нужно, чтобы уведомление привязывалось к нему */
}

.balance-notification {
    opacity: 0;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* Растянуть на всю ширину родителя */
    background: #19203E;
    color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 20px 6px #00000066;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    z-index: 10;
}

.balance-notification.active {
    display: block;
    opacity: 1;
}


/* Заголовок */
.balance-notification h2 {
    font-family: 'Inter', sans-serif;
    font-size: 18px; /* Чуть меньше */
    margin-bottom: 7px;
    font-weight: bold;
}

/* Описание */
.balance-notification p {
    font-family: 'Inter', sans-serif;
    font-size: 15px; /* Чуть меньше */
    margin-bottom: 10px;
}

/* Таймер */
.balance-notification .timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

/* Отдельные цифры таймера */
.balance-notification .time-box {
    font-family: 'Inter', sans-serif;
    background: #252A48;
    padding: 10px 10px;
    border-radius: 8px;
    font-size: 32px;
    font-weight: bold;
    min-width: 45px;
    max-width: 45px;
    text-align: center;
    color: #fff;
    /* box-shadow: 0px 0px 10px 2px #01B3FF80; */
}

/* Разделитель ":" */
.balance-notification .time-divider {
    font-size: 36px;
    font-weight: bold;
    color: white;
}


/* Кнопки */
.balance-notification .buttons {
    display: flex;
    gap: 9px;
    justify-content: center;
}

.balance-notification .buttons button {
    font-family: 'Inter', sans-serif;
    flex: 1;
    padding: 10px; /* Чуть меньше */
    border: none;
    border-radius: 9px;
    font-size: 13px; /* Чуть меньше */
    cursor: pointer;
}

/* Кнопка активации */
.balance-notification .buttons .activate {
    background: linear-gradient(90deg, #0075FF 0%, #00F0FF 100%);
    color: #111;
}

/* Кнопка отмены */
.balance-notification .buttons .cancel {
    background: #252A48;
    color: white;
}

.game-popup-info .teachs-info .text-box {
    max-width: 90%;
}