/* Скрываем #nexui и #nexuimob, показываем #nexuipad при ширине до 1200px */
@media screen and (max-width: 1200px) {
    #nexui {
        display: none;
    }

    #nexuipad {
        display: block !important;
    }

    #nexuimob {
        display: none;
    }
}

/* При ширине до 767px показываем только #nexuimob, остальные скрываем */
@media screen and (max-width: 767px) {
    #nexui {
        display: none;
    }

    #nexuipad {
        display: none !important;
    }

    #nexuimob {
        display: block !important;
    }
}





/* Модальное окно */
.modalv {
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    /* margin: auto; */

    transform: translate(-50%, -33%);
    left: 50%;
    display: block;
    top: 33%;
    position: absolute;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}


/* Заголовок */
.modalv h2 {
    font-size: 48px;
    margin: 0 0 20px;
    color: #333;
}

/* Кнопки */
.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.modal-buttons button {
    display: block;
    text-decoration: none;
    border: none;
    color: #fff;
    background: #4CAF50;
    /* Зелёный для кнопки "Да" */
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-buttons button:hover {
    background: #45a049;
}

.modal-buttons button.no {
    background: #e74c3c;
    /* Красный для кнопки "Нет" */
}

.modal-buttons button.no:hover {
    background: #c0392b;
}

/* Адаптация для мобильных устройств */
@media (max-width: 480px) {
    .modalv {
        padding: 15px;
    }

    .modalv h2 {
        font-size: 28px;
    }

    .modal-buttons button {
        font-size: 20px;
        padding: 8px;
    }
}

#avi-ban {
    background-color: #1b1b2c;
    z-index: 9999999;
    width: 100%;
    position: relative;
    left: 0px;
    height: 100vh;
    position: fixed;
    font-family: sans-serif;
    top: 0;
}

.cs9x-preloader-page {
    background-color: #1b1b2c;
}

/* Центральный блок с картинкой и полосой загрузки */
.cs9x-preloader-shell {
    margin: auto;
    align-items: center;
    display: table;
    position: absolute;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Полоска загрузки */
.cs9x-preloader-bar {
    width: 70vw;
    display: block;
    height: 30px;
    margin: 18px auto;
    border-radius: 0.5rem;
    background-color: #FBFCFF;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Бегущий прямоугольник внутри полоски */
.cs9x-preloader-bar::before {
    content: "";
    height: 30px;
    width: 30px;
    position: absolute;
    transform: translate(-34px, 0);
    background-color: #FFA15D;
    border-radius: 0.5rem;
    /* Одна корректная анимация с именем cs9x-preloader-run */
    animation: cs9x-preloader-run 1.4s infinite ease;
}

/* Анимация движения “бегунка” */
@keyframes cs9x-preloader-run {
    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 0;
    }
}

/* Картинка слота */
.cs9x-preloader-shell img {
    max-width: 70vw;
    animation: cs9x-preloader-bounce 1.4s ease infinite;
}

/* Лёгкий “прыгающий” эффект для картинки */
@keyframes cs9x-preloader-bounce {
    0% {
        transform: scale(1);
        filter: blur(0);
    }

    50% {
        transform: scale(0.9);
        filter: blur(1.4px);
    }

    100% {
        transform: scale(1);
        filter: blur(0);
    }
}

/* Адаптация под большие экраны */
@media (min-width: 1024px) {
    .cs9x-preloader-shell img {
        max-width: 70vw;
    }

    .cs9x-preloader-bar {
        width: 70vw;
        height: 16px;
    }

    .cs9x-preloader-bar::before {
        width: 50px;
        height: 16px;
    }
}

.loader-wrap {
    width: 360px;
    text-align: center;
      color: #063d53;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -60%);
}



.loading-text {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 22px;
    text-transform: uppercase;
    text-shadow:
        0 0 8px rgba(108, 238, 255, 0.85),
        0 0 18px rgba(108, 221, 255, 0.55);
    animation: fadeText 2s ease forwards;
}

.bar {
    width: 100%;
    height: 22px;
    padding: 3px;
    border-radius: 999px;
    border: 2px solid #4dd5ff;
    box-shadow:
        0 0 12px rgba(77, 249, 255, 0.75),
        inset 0 0 10px rgba(77, 219, 255, 0.25);
    background: rgba(25, 0, 45, 0.55);
    overflow: hidden;
    position: relative;
}

.bar-fill {
   height: 100%;
    width: 0%;
    border-radius: 999px;
    background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.18) 0 10px, rgba(255, 255, 255, 0.06) 10px 20px), linear-gradient(90deg, #099eb2 0%, #1e6d81 100%);
    box-shadow: 0 0 12px rgba(79, 205, 255, 0.8), 0 0 22px rgba(79, 229, 255, 0.45);
    animation: fillBar 0s linear forwards, moveStripes 0.5s linear infinite;
}

.percent {
margin-top: 12px;
    font-size: 38px;
    font-weight: 700;
    color: #0b5673;
    text-shadow: 0 0 8px rgba(88, 188, 255, 0.85), 0 0 18px rgba(88, 180, 255, 0.45);
    min-height: 28px;
}

.percent::after {
    content: "0%";
    animation: percentText 5s steps(1, end) forwards;
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes moveStripes {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 24px 0, 0 0;
    }
}

@keyframes snexui {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(720deg);
    }
}

@keyframes fadeText {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes percentText {
    0% {
        content: "0%";
    }

    10% {
        content: "8%";
    }

    20% {
        content: "17%";
    }

    30% {
        content: "29%";
    }

    40% {
        content: "43%";
    }

    50% {
        content: "57%";
    }

    60% {
        content: "68%";
    }

    70% {
        content: "79%";
    }

    80% {
        content: "88%";
    }

    90% {
        content: "96%";
    }

    100% {
        content: "100%";
    }
}
.preloader7 {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    /* background: linear-gradient(180deg, #000, #B22222, #000) !important; */
    z-index: 1001;
}
.preloader7__image {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: url(nexui/preload2.gif) no-repeat 50% 50% / contain;
}