﻿html, body {
    font-family: 'Jost', sans-serif;
    color: #ffffff;
    background: #131B22;
    overflow-y: visible; /* вертикально позволяем выход */
    overflow-x: clip;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
body {
    padding-top: 100px;
    min-height: 100vh;
}
main {
    flex: 1 0 auto; /* основной контент растягивается и занимает всё доступное пространство */
}
footer {
    flex-shrink: 0; /* футер не сжимается */
}
.fixed-top {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030; /* или выше при необходимости */
}
.navbar {
    position: fixed;
    top: 10px; /* небольшой отступ сверху */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px); /* отступы слева и справа, чтобы был "капсулой" */
    max-width: 1200px; /* ограничение по ширине */
    padding: 1rem 2rem;
    border-radius: 24px; /* округлые края */
    background-color: rgba(19, 27, 34, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
    z-index: 1050;
}
@media (max-width: 767.98px) {
    .navbar {
        width: calc(100% - 12px); /* почти во всю ширину, с 6px отступом слева и справа */
        padding: 0.5rem 0.05rem; /* уменьшенный padding */
        border-radius: 12px; /* более скромное закругление */
        top: 6px; /* небольшой верхний отступ */
        max-width: 100vw; /* максимум — вся ширина экрана */
    }
}


/* При скролле — фон чуть более плотный */
.navbar-solid {
    background-color: rgba(19, 27, 34, 0.9);
}
/* Горизонтальное меню по центру на десктопе */
.nav.d-none.d-lg-flex {
    margin: 0 auto;
}

    .nav.d-none.d-lg-flex .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        color: white;
    }

        .nav.d-none.d-lg-flex .nav-link:hover {
            color: #cccccc;
            text-decoration: none;
        }
        .nav.d-none.d-lg-flex .nav-link.active {
            color: #F02E2E;
            font-weight: 400;
        }

/* Кастомная бургер-кнопка */
.custom-toggler {
    background-color: #1D2A36;
    border: none;
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Белые полоски: 20x4 px */
.burger-line {
    display: block;
    width: 20px;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
}

/* Скрытое боковое меню по умолчанию */
.side-menu {
    display: none;
}

/* Мобильное боковое меню */
@media (max-width: 991.98px) {
    .side-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background-color: #1D2A36;
        z-index: 1050;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
    }

        .side-menu.open {
            transform: translateX(0);
        }

        /* Навигация внутри бокового меню */
        .side-menu .nav-link {
            color: white;
            font-size: 1.25rem;
            margin-bottom: 1rem;
            padding-left: 1rem;
        }

            .side-menu .nav-link:hover {
                color: #cccccc;
                text-decoration: none;
            }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

.btn-account {
    background-color: #1D2A36;
    gap: 0.5rem;
    font-weight: 400;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 1rem;
    min-height: 36px;
    transition: background-color 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}



    .btn-account:hover {
        background-color: #17212B;
        color: #ffffff;
    }

.btn-notifications {
    background-color: #1D2A36;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 400;
    padding: 0.4rem 1rem;
    min-height: 36px;
    transition: background-color 0.2s ease-in-out;
}


    .btn-notifications:hover {
        background-color: #17212B;
        color: #ffffff;
    }

.dropdown-menu {
    background-color: #1D2A36 !important;
    border-radius: 8px;
    border: none;
    padding: 0.5rem 0;
    min-width: 160px;
}


.dropdown-item {
    color: #ffffff;
    padding: 0.5rem 1rem;
}

    .dropdown-item:hover {
        background-color: #17212B;
        color: #ffffff;
    }

.btn-account.dropdown-toggle::after {
    display: none;
}

@media (max-width: 991.98px) {
    .btn-text {
        display: none;
    }

    .btn-notifications {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .btn-notifications.dropdown-toggle::after {
            display: none;
            margin-left: 0.5em;
            vertical-align: 0.255em;
            content: "";
            border-top: 0.3em solid;
            border-right: 0.3em solid transparent;
            border-left: 0.3em solid transparent;
        }
}

.background-wrapper {
    position: relative;
    overflow: visible !important;
    padding-top: 25px;
    padding-bottom: 25px;
}

.content-section {
    position: relative;
    overflow: visible; 
    width: 100%;
    background: #131B22;
    padding-top: 100px;
    padding-bottom: 100px;
    z-index: 1;
    color: #ffffff;
}

/* ========== Круги (фон) ========== */
.circle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(75px);
}

.circle1 {
    background-color: #5227A359;
    top: 0;
    right: 100px;
    transform: translate(50%, 0);
}

.circle2 {
    background-color: #F02E2E40;
    bottom: 0;
    left: 100px;
    transform: translate(-50%, 0);
}

@media (max-width: 767.98px) {
    .circle {
        width: 182px;
        height: 182px;
        filter: blur(50px);
    }

    .circle1 {
        right: 50px;
    }

    .circle2 {
        left: 50px;
    }
}

/* ========== Самолёты (фон) ========== */
.plane-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.plane-wrapper {
    position: absolute;
    height: 90%; /* или подбери своё значение: 130%, 120% */
    overflow: hidden;
}

    .plane-wrapper.left {
        bottom: 0;
        left: 0;
    }

    .plane-wrapper.right {
        top: 0;
        right: 0;
    }

    .plane-wrapper img {
        height: 100%;
        width: auto;
        object-fit: contain;
        position: relative;
    }

    .plane-wrapper.left img {
        transform: translateX(-50%);
    }

    .plane-wrapper.right img {
        transform: translateX(50%);
    }

@media (max-width: 767.98px) {
    .plane-wrapper {
        height: 70%; /* было 100%, теперь меньше */
    }

        .plane-wrapper.left img {
            transform: translateX(-60%);
        }

        .plane-wrapper.right img {
            transform: translateX(50%);
        }

        .plane-wrapper.right {
            top: 30px;
        }

        .plane-wrapper.left {
            bottom: 30px;
        }
}

@media (min-width: 768px) {
    .plane-container {
        height: 800px;
    }

    .content-section {
        min-height: 800px;
    }
}
.jackpot-text {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  white-space: nowrap;
  color: #ffffff;
}

.counter-container {
    background-color: #1D2A36;
    border-radius: 16px;
    user-select: none;
    padding: 5px;
}

.counter-block {
  min-width: 50px;
}

.counter-value {
  font-weight: 700;
  font-size: 36px;
  color: #ffffff;
  line-height: 1;
}

.counter-label {
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 1px;
  margin-top: 2px;
}

.extra-text {
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    max-width: 150px;
    white-space: normal; 
    text-align: left;
}
.colon {
    font-size: 20px;
    font-weight: 700;
    color: #858C92;
    line-height: 1;
    margin-bottom: 10px; 
}

.mt-n100 {
    margin-top: -100px;
}

@media (max-width: 767.98px) {
    .jackpot-text {
        font-size: 36px;
        text-align: center;
    }
    
    .counter-container {
        justify-content: center;
    }

    .extra-text.full-text-mobile {
        max-width: none;
        text-align: center;
        white-space: normal;
    }
}


.progress-circle-bar {
    transition: stroke-dashoffset 0.5s ease;
}

.progress-circle-text {
    display: none;
}

.center-image {
    z-index: 2;
}

.center-text {
    z-index: 3;
    pointer-events: none;
}

.faq-section {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-bottom: 0;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 48px;
}

.faq-card {
    width: 400px; /* фиксированная ширина карточки */
    min-width: 280px;
}

.faq-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: inherit;
}

.faq-text {
    font-size: 16px;
    font-weight: 400;
    max-width: 400px;
    white-space: normal;
    word-wrap: break-word;
    text-align: start;
}

@media (max-width: 767.98px) {
    .faq-card {
        width: 100%;
        min-width: auto;
    }
}

.fortune-wheel-wrapper {
    color: white;
    font-family: 'Jost', sans-serif;
    margin: 0;
    padding: 0;
    /* Убираем height: 100vh; чтобы не перекрывать фон */
    /* height: 100vh; */
    /* Заменяем на адаптивное поведение */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 500px; /* ограничение по ширине, чтобы не ломало дизайн */
    margin: 0 auto; /* центрируем по горизонтали */
}

    .fortune-wheel-wrapper .wheel-container {
        position: relative;
        width: 90vmin;
        height: 90vmin;
        max-width: 500px;
        max-height: 500px;
    }

    .fortune-wheel-wrapper canvas {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        user-select: none;
        width: 100% !important; /* подстраиваем под контейнер */
        height: 100% !important;
    }

    .fortune-wheel-wrapper .fortune-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background-image: url('../img/spin-1.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 1;
    }

    .fortune-wheel-wrapper .spin-button {
        margin-top: 20px;
        align-self: center;
        max-width: 200px;
        width: 100%;
    }

    .fortune-wheel-wrapper #result {
        margin-top: 20px;
        font-weight: 700;
        font-size: 2.25rem;
        color: #f0ad4e;
        text-align: center;
        min-height: 2.5em;
        user-select: none;
        width: 100%;
    }


.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1D2A36;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #2d3b48;
    z-index: 1050;
}

    .mobile-bottom-nav .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #898D91; 
        font-size: 12px;
        transition: color 0.2s ease;
    }

        .mobile-bottom-nav .nav-item .nav-icon {
            width: 24px;
            height: 24px;
            margin-bottom: 4px;
        }

        .mobile-bottom-nav .nav-item.active {
            color: #F02E2E; /* активный — красный */
        }

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}
@media (max-width: 767.98px) {
    main {
        padding-bottom: 60px; /* навигация занимает 60px */
    }
}

.btn-accent {
    background: radial-gradient(circle at center, #FD4A4A 0%, #e63939 100%);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 2px 1px #AA1010;
    transition: all 0.3s ease-in-out;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    z-index: 5;
}

    .btn-accent:hover,
    .btn-accent:focus {
        background: radial-gradient(circle at center, #e63939 0%, #c73030 100%);
        color: white;
        text-decoration: none;
    }

.btn-default {
    background-color: #1D2A36;
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    box-shadow: none;
    transition: background-color 0.3s ease-in-out;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

    .btn-default:hover,
    .btn-default:focus {
        background-color: #162029;
        color: #ffffff;
        text-decoration: none;
    }

.custom-card {
    background-color: #1D2A36;
    border-radius: 16px;
}

    .custom-card span {
        font-size: 15px;
        font-weight: 700;
        color: white;
    }

.new-to-this-description {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    margin-top: 1rem;
}

.input-custom {
    background-color: #1D2A36 !important;
    color: #ffffff;
    border: none; 
    border-radius: 4px;
    height: 39px; 
    max-width: 325px;
    width: 100%;
    box-sizing: border-box;
    padding: 0.375rem 0.75rem; 
}

    .input-custom:focus {
        background-color: #1D2A36 !important;
        color: #ffffff;
        border: none;
        box-shadow: 0 0 0 0.25rem rgba(77, 171, 247, 0.25); 
        outline: none;
    }

    .input-custom::placeholder {
        color: #a0aec0;
        opacity: 1;
    }

.form-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
}

.form-custom {
    width: 100%;
    max-width: 325px; /* под размер инпутов */
}


.iti__country-list {
    background-color: #1D2A36 !important;
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    overflow: auto; /* чтобы был скролл при переполнении */
    overflow-x: hidden;
}

    /* Стили для скроллбара в WebKit-браузерах (Chrome, Edge, Safari) */
    .iti__country-list::-webkit-scrollbar {
        width: 8px;
        border-radius: 8px;
        background: transparent;
    }

    .iti__country-list::-webkit-scrollbar-track {
        background: #16232a;
        border-radius: 8px;
    }

    .iti__country-list::-webkit-scrollbar-thumb {
        background-color: #4dabf7; /* цвет ползунка */
        border-radius: 8px;
        border: 2px solid #16232a; /* создаёт отступы и эффект скругления */
    }

/* Для Firefox — немного ограниченные возможности, но можно задать цвет */
.iti__country-list {
    scrollbar-width: thin;
    scrollbar-color: #4dabf7 #16232a;
}
body.modal-open {
    padding-right: 0 !important;
}

.task-item {
    background-color: #2C2F34;
    border-radius: 0.375rem; /* примерно 6px, или p-3 из Bootstrap */
    padding: 1rem; /* чтобы совпадало с p-3 в JS */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* чтобы иконки и текст не слипались (примерно me-3) */
}

    .task-item > svg:first-child {
        margin-right: 12px; /* как в скрипте */
        flex-shrink: 0; /* чтобы не сжималась иконка */
    }

    .task-item > svg:last-child {
        margin-left: 12px;
        flex-shrink: 0;
    }

    .task-item > .flex-grow-1 {
        white-space: normal !important; /* разрешить перенос строк */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        flex-shrink: 1; /* разрешить сжиматься */
        min-width: 0; /* чтобы flex элемент не выходил за контейнер */
    }

.task-item {
    position: relative;
    background-color: #2C2F34;
    border-radius: 0.375rem;
    padding: 1rem 1rem; /* обычные паддинги, без дополнительного левого */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden; /* чтобы блюр не выходил за рамки */
    z-index: 0; /* для контекста */
}

    .task-item::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(-90%, -50%);
        width: 80px;
        height: 80px;
        background: #E5A314E6; /* #E5A314 с 90% opacity */
        border-radius: 50%;
        filter: blur(60px);
        opacity: 0.8;
        pointer-events: none;
        z-index: -1;
    }


input, textarea, select, button {
    -webkit-user-select: text;
}


