html {
    scroll-behavior: smooth;
}

.header .header-enter:hover {
    color: #3B89D5;
}

.personal .custom-checkbox-wrapper {
    color: #aaa;
}

.bx-authform-content-container, .bx-authform-note-container, .bx-authform-label-container {
    color: #F2F2F2;
}

.bx-authform-link-container, .bx-authform-description-container {
    color: #F5F5F5;
}
.question-answer a:hover,
.custom-checkbox-wrapper a {
    color: #f5671f;
}

a.form-custom__delete {
    color: var(--gray)
}
.bx-authform-link-container a,
.bx-authform-description-container a,
.bx-authform-link-container a,
.bx-authform-link-container a:hover {
    color: #f5671f;
    display: block;
    margin-top: 20px;
    font-size: 18px;
}
.footer{background: url(/img/bgmainbot.svg) no-repeat 100% 100% / cover;    color:white!important;
}
.footer a:hover,
.header a:hover {
    color: inherit;
}

.personal .row {
    gap: 15px
}

@media screen and (max-width: 768px) {
    .personal {
        padding-top: 20px;
    }
    .personal .row {
        justify-content: center;
    }
}


.personal-route {
    max-width: 280px;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    gap: 3px;
}

.personal-route img {
    max-width: 100%;
    height: 168px;
    object-fit: cover;
}

.personal-route a,
.personal-route a:hover {
    color: #3B89D5;
}

.header-logo-container {
    margin-left: 40px;
    margin-bottom: 40px;
}
.header-logo {
    width: 350px;
    height: 110px;
    max-width: 350px;
    max-height: 110px;
    min-width: 350px;
    min-height: 110px;
}
@media (max-width: 992px) {
    .header-logo {
        width: 250px;
        max-width: 250px;
        min-width: 250px;
    }
}
@media (max-width: 350px) {
    .header-logo {
        width: 170px;
        max-width: 170px;
        min-width: 170px;
    }
}
.mb-6 {
    margin-bottom: 30px;
}
.body-white {
    background-color: var(--white);
}
.img-responsive {
    max-width: 100%;
}

.hamburger {
    position: relative;
    z-index: 1111;
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
.hamburger:hover {
    opacity: 1;
}
.hamburger.is-active:hover {
    opacity: 1;
}
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: var(--gray);
}
.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: 0;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--gray);
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
.hamburger-inner::after {
    bottom: -10px;
}

/*
* Elastic
*/
.hamburger--elastic .hamburger-inner {
    top: 2px;
    transition-duration: 0.275s;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hamburger--elastic .hamburger-inner::before {
    top: 10px;
    transition: opacity 0.125s 0.275s ease;
}
.hamburger--elastic .hamburger-inner::after {
    top: 20px;
    transition: transform 0.275s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.hamburger--elastic.is-active .hamburger-inner {
    transform: translate3d(0, 10px, 0) rotate(135deg);
    transition-delay: 0.075s;
}
.hamburger--elastic.is-active .hamburger-inner::before {
    transition-delay: 0s;
    opacity: 0;
}
.hamburger--elastic.is-active .hamburger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-270deg);
    transition-delay: 0.075s;
}

.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--white);
    z-index: 1111;
    overflow: auto;
    height: 100%;
    width: 0;
    transition: width .2s;
}
.nav-mobile__inner {
    padding: 33px 15px 33px 56px;
}
.nav-mobile.active {
    width: 80%;
}
.nav-mobile__auth {
    margin-top: 0;
}
.nav-mobile__auth-person {
    width: 44px;
}
.nav-mobile__logout-img {
    width: 24px;
}
@media (max-width: 992px) {
    .body-overflow {
        overflow-y: hidden;
    }
}

.personal-blocks {
    margin: 115px 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}
@media (max-width: 768px) {
    .personal-blocks {
        margin-top: 30px;
    }
}

.personal-left-block {
    -ms-flex: 0 0 300px;
    flex: 0 0 300px;
    max-width: 300px;
    display: none;
}
.personal-right-block {
    -ms-flex: 0 0 calc(90%);
    flex: 0 0 calc(90%);
    max-width: calc(90%);
}
.personal {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
    min-height: 457px;
    height: calc(100% - 53px);
    border-radius: 16px;
}
@media (min-width: 768px) {
    .personal {
        padding: 40px;
    }
}

.sidebar {
    font-family: 'Montserrat Regular';
}
@media (max-width: 768px) {
    .sidebar {
        margin: 45px 10px 0;
    }
}
.sidebar-top {
    border-radius: 16px;
    background: linear-gradient(167.97deg, rgba(155, 138, 255, 0.69) -54.76%, rgba(49, 118, 222, 0.62) 58.75%, rgba(27, 138, 242, 0) 137.39%);
    padding: 20px;
    margin-bottom: 15px;
    background-repeat: no-repeat;
}
.sidebar-person {
    position: relative;
}
.sidebar-person__full-name {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}
.sidebar-person__id {
    color: var(--gray-light);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 0px;
}
.sidebar-person__bonuses {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.sidebar-person__arrow {
    width: 24px;
    height: 22px;
    background-image: url(../images/svg/menu.svg);
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 14px);
    right: 18px;
    background-size: contain;
}

.sidebar-person__arrow.active {
    background-image: url("../images/svg/cross.svg");
    top: calc(50% - 14px);
    filter: brightness(5);
}


.personal-headline {
    color: var(--input-border);
    font-family: 'Montserrat Medium', sans-serif;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
    text-transform: uppercase;
    font-size: 26px !important;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .personal-left-block {
        display: block;
    }
    .personal-right-block {
        -ms-flex: 0 0 calc(100% - 300px);
        flex: 0 0 calc(100% - 300px);
        max-width: calc(100% - 300px);
        padding-left: 40px;
    }
    .personal-headline {
        font-size: 28px !important;
        margin-bottom: 8px;
    }
}
@media (min-width: 1200px) {
    .personal-headline {
        font-size: 36px !important;
    }
}
.sidebar-nav {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
}
.sidebar-nav__item {
    display: block;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
    color: var(--gray);
    cursor: pointer;
    padding: 14px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px !important;
    font-family: 'Pragmatica Regular';
    transition: 0.4s;
    position: relative;
    /*margin-bottom: 1px;*/
}

.sidebar-nav__item__active {
    background: linear-gradient(70deg, #F0246F 0%, #F04E2B 70%) !important;
    color: var(--white) !important;
}
.sidebar-nav__item:hover {
    color: var(--orange-corp);
    background-color: var(--gray-very-light);
    text-decoration: none;
}
.sidebar-nav__item--has-children:after {
    content: '';
    color: var(--gray);
    position: absolute;
    top: 20px;
    right: 10px;
    margin-left: 5px;
    font-size: 33px;
    line-height: 14px;
    width: 15px;
    height: 15px;
    background-image: url("../images/svg/arrow-down.svg");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
}
.sidebar-nav__item__opened {
    margin-bottom: 0;
}
.sidebar-nav__item--has-children.sidebar-nav__item__opened:after {
    content: "";
    color: var(--orange-corp);
    margin-left: 5px;
    font-size: 33px;
    line-height: 14px;
    top: 17px;
    width: 15px;
    height: 15px;
    background-image: url("../images/svg/arrow-up.svg");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
}
.sidebar-subnav {
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
.sidebar-subnav a {
    display: block;
    padding: 14px 40px;
    font-family: 'Pragmatica Regular';
}
.sidebar-subnav a:hover {
    background-color: var(--gray-very-light);
    text-decoration: none;
}
@media (max-width: 768px) {
    .sidebar-nav.active {
        display: block !important;
    }
}

.form-custom {
    font-family: 'Pragmatica Regular';
}
.form-group-custom {
    position: relative;
    margin-bottom: 30px;
}
.form-group-custom--arrow::before {
    content: '';
    color: var(--gray);
    position: absolute;
    top: 20px;
    right: 10px;
    margin-left: 5px;
    font-size: 33px;
    line-height: 10px;
    width: 15px;
    height: 15px;
    background-image: url("../images/svg/arrow-down.svg");
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
}
.form-group-custom--arrow.active::before {
    background-image: url("../images/svg/arrow-up.svg");
    top: 20px;
}
.form-label-custom {
    -webkit-transition: all .2s;
    transition: all .2s;
    font-size: 15px;
    font-weight: 400;
    position: absolute;
    top: 20px;
    left: 20px;
    color: #aaa;
    line-height: 1;
    font-family: 'Pragmatica Regular';
    overflow: hidden;
    height: 17px;
}
.form-control-custom {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-sizing: border-box;
    -webkit-transition: all .2s;
    transition: all .2s;
    font-size: 15px !important;
    font-weight: 400;
    border-radius: 8px;
    font-family: 'Montserrat Regular';
    border-radius: 16px;
    border: 1px solid var(--input-border);
    background: var(--input-border);
    height: 56px;
    width: 100%;
    padding: 5px 20px;
}
.form-control-custom:focus {
    border: 1px solid var(--orange-corp);
}
.form-control-custom--date::before {
    content: '';
    position: absolute;
    top: 34%;
    right: 17px;
    width: 18px;
    height: 18px;
    background-image: url('../images/svg/input_calendar.svg');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}
.form-control-custom--edit-pencil::before {
    content: '';
    position: absolute;
    top: 34%;
    right: 17px;
    width: 18px;
    height: 18px;
    background-image: url('../images/svg/edit-pencil.svg');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}
.form-control-custom:focus {
    padding-left: 20px;
    outline: none;
}
.form-control-custom:focus + .form-label-custom {
    top: -1.5em;
    font-size: 12px;
}
.form-control-custom.has-value + .form-label-custom {
    top: -1.5em;
    font-size: 12px;
}
select.form-control-custom {
    max-height: 100px;
}
select.form-control-custom::after {
    content: '\2304';
    color: var(--gray);
    position: absolute;
    top: 13px;
    right: 10px;
    margin-left: 5px;
    font-size: 33px;
    line-height: 10px;
}
.form-custom-btn {
    border-radius: 30px;
    background: #F5671F;
    width: 280px;
    height: 40px;
    border: none;
    color: var(--white);
    font-family: 'Pragmatica Regular';
    font-weight: 400;
    transition: all .3s;
}
.form-custom-btn:hover {
    background: #f35300;
    transition: all .3s;
}
.form-file-custom {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}
.form-file-custom__img-wrapper {
    margin-right: 10px;
}
.form-file-custom__title {
    display: block;
    color: var(--gray-light);
    font-family: 'Pragmatica Regular';
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.form-file-custom__ext-allowed {
    display: block;
    color: var(--gray-light);
    font-family: 'Pragmatica Regular';
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.form-file-custom input[type="file"] {
    display: none;
}
.form-custom__error, .form-custom__success {
    display: none;
    margin-bottom: 30px;
}
.form-custom__headline {
    color: var(--gray);
    font-family: 'Pragmatica Bold';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 20px;
}
.form-custom__delete {
    width: 280px;
    text-align: center;
}
.form-custom__delete-inner {
    display: flex;
    justify-content: center;
}
.form-custom__delete-inner img {
    margin-right: 10px;
}

.button--colored.button--small {
    width: 280px;
    height: 60px;
    z-index: 1;
}

.button--colored.button--small:after {
    z-index: -1;
}

/* Кастомный стиль чекбоксов */
.custom-checkbox-wrapper {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}
.custom-checkbox-wrapper input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.custom-checkbox-wrapper .checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 18px;
    width: 18px;
    border: 1px solid var(--input-border) !important;
    border-radius: 4px;
    transition: all 1s;
    background-color: var(--input-border);
}
.custom-checkbox-wrapper:hover input ~ .checkmark {
    transition: all .0s;
}
.custom-checkbox-wrapper.required input:not(:checked) ~ .checkmark {
    background-color: var(--input-border);
    outline: 1px solid red;
}
.custom-checkbox-wrapper .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox-wrapper input:checked ~ .checkmark:after {
    display: block;
}
.custom-checkbox-wrapper .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--orange-corp);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.scoring-history {}
.scoring-history__group {
    margin-bottom: 40px;
}
.scoring-history__item {
    display: flex;
}
.scoring-history__item-icon {
    width: 57px;
    height: 100px;
    background-image: url('../images/svg/score.svg');
    background-repeat: no-repeat;
    background-position: -32px 0;
    background-size: cover;
}
.scoring-history__item-info {
    display: flex;
    flex-direction: column;
    padding-top: 34px;
    max-width: 300px;
    width: 300px;
}
.scoring-history__date {
    color: var(--gray);
    font-size: 22px !important;
    font-family: 'Pragmatica Regular';
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.scoring-history__item-name {
    font-weight: bold;
    margin-bottom: 14px;
}
.scoring-history__item-quiz-result {
    margin-bottom: 8px;
}
.scoring-history__item-score {
    color: var(--orange);
    font-size: 20px !important;
    font-family: 'Pragmatica Regular';
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    padding-top: 34px;
}

.modal .auth-modal-header {
    padding: 0.2rem;
    border-bottom: none;
}
.modal .auth-modal-body {
    min-height: 300px;
    padding: 0 2rem 2rem 2rem;
}
.auth-modal-body a:nth-child(2) {
    text-align: right
}
.auth-modal-body a, .auth-modal-body a:hover {
    color: var(--orange-corp);
    font-size: 16px;
}
@media screen and (max-width: 768px) {
    .auth-modal-body a, .auth-modal-body a:hover {
        font-size: 14px;
    }
}
.auth-modal-auth {
    margin-bottom: 5px;
}
.auth-modal-headline {
    font-size: 30px !important;
    font-family: 'Montserrat Medium';
    text-transform: uppercase;
    margin-bottom: 13px;
    color: #f2f2f2;
}
.modal .auth-modal-header .close {
    margin: 0rem 0.1rem 0rem auto;
    opacity: 0.9;
}

.modal .auth-modal-header .close img {
    filter: brightness(5);
}

.auth-link {
    display: flex;
    align-items: center;
}
.auth-link img {
    margin-right: 10px;
}
.dropdown-menu {
    top: 94%;
    min-width: 13rem;
    text-align: center;
    border-radius: 55px;
}

.header .dropdown-menu {
    padding: 0;
    width: 100%;
    min-width: auto;
    top: 135%;
    background: none;
    border: none;
}

.header ul {
    margin-bottom: 0;
}

.header .dropdown-menu .header-enter {
    display: block;
    width: 100%;
}

.auth-link-dropdown.dropdown:hover > .dropdown-menu {
    display: block;
}
.auth-link-dropdown.dropdown > .dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}



.prize-fond-item {
    margin-bottom: 30px;
    /*border-radius: 0 0 2px 2px;*/
    /*border: 1px solid var(--gray-very-light);*/
}
.prize-fond-item__img {
    width: 100%;
}
.prize-fond-item__top {
    display: flex;
    width: 100%;
    padding: 8px 0 6px 30px;
    align-items: center;
    height: 41px;
}
.prize-fond-item__top--purple {
    background: #9B51E0;
}
.prize-fond-item__top--orange {
    background: #E1561C;
}
.prize-fond-item__top--light-pink {
    background-image: url("../images/prize-fond/light-pink-bg.svg");
    background-size: cover;
}
.prize-fond-item__top--brown {
    background: #64727D;
}
.prize-fond-item__top--beige {
    background: #DEDEDE;
}
.prize-fond-item__info {
    height: 100%;
    padding: 32px;
}
.prize-fond-item__text {
    font-family: 'Pragmatica ExtaLight';
    color: var(--gray);
}
.prize-fond-item__headline {
    color: var(--gray);
    font-family: 'Pragmatica Regular';
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    line-height: 28px;
}

.prize-list-headline {
    color: var(--gray);
    font-family: 'Pragmatica Bold';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 15px;
}
.prize-list .prize {
    margin-bottom: 30px;
    display: flex;
    width: 60%;
}
.prize__img-wrapper {
    min-width: 100px;
    width: 100px;
    height: 60px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prize__info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: var(--gray);
    font-family: 'Pragmatica Regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.prize__info-link {
    display: block;
    color: var(--orange-corp);
}
.prize__img-wrapper--purple {
    background: #9B51E0;
}
/*.prize__img-wrapper--beige {
    background: #DEDEDE;
}*/
.prize__img-wrapper--blue-to-pink {
    background: rgb(220,228,255);
    background: linear-gradient(138deg, rgba(220,228,255,1) 35%, rgba(240,227,255,1) 100%);
}
.prize__modal-text {
    color: var(--gray-light);
    text-align: center;
    font-family: 'Pragmatica Regular';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.custom-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    background: var(--orange-corp);
    width: 100%;
    height: 40px;
    border: none;
    color: var(--white) !important;
    font-family: 'Pragmatica Regular';
    font-weight: 400;
    transition: all .3s;
}
.custom-btn:hover {
    color: var(--white) !important;
    background: var(--orange-corp-active);
}
@media (min-width: 500px)
{
    .custom-btn {
        width: 280px;
    }
}

.custom-modal-header {
    padding: 0.2rem !important;
    border-bottom: none !important;
}
.custom-modal-body {
    min-height: 300px !important;
    padding: 0 2rem 2rem 2rem !important;
}
.custom-modal-body a, .custom-modal-body a:hover {
    color: var(--orange-corp);
}
.custom-modal-headline {
    font-size: 30px !important;
    font-family: 'Pragmatica ExtaLight' !important;
    font-weight: 200 !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    color: var(--gray) !important;
}
.custom-modal-header .close {
    margin: -0.4rem 0.1rem -1rem auto !important;
    opacity: 0.9 !important;
}

.bx-authform {
    padding: 0 30px;
}

/*Стили всплывающей карты*/
.sidebar-toggle{padding-left:90%;}
a.point-link{display:none!important;}


        header h1 {
            font-size: 2.2rem;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        header p {
            font-size: 1.1rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }
.ymaps-2-1-79-balloon__close+.ymaps-2-1-79-balloon__content {
    margin-right: 10px!important;
    padding-right: 0;
}
.ymaps-2-1-79-balloon__close-button {display:none!important;}
 .map-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.4s ease;
        }

        .map-popup.active {
            opacity: 1;
            pointer-events: all;
        }

        .map-content {
            position: relative;
            width: 95%;
            height: 90%;
            background: white;
            border-radius: 15px;
            overflow: hidden;
            display: flex;
            box-shadow: 0 15px 50px rgba(0,0,0,0.35);
            transform: translateY(60px);
            transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .map-popup.active .map-content {
            transform: translateY(0);
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            background: #fff;
            color: #1d64d1;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            cursor: pointer;
            z-index: 1001;
            transition: all 0.3s;
            border: 2px solid white;
            box-shadow: 0 3px 8px rgba(0,0,0,0.2);
        }

        .close-btn:hover {
            background: #ccffc6;
            transform: rotate(90deg) scale(1.1);
        }

        .sidebarmap {
            background: url(/img/bgmap.png) no-repeat 50% 0 / cover;
            width: 350px;
            color: white;
            overflow-y: auto;
            transition: transform 0.3s ease;
            z-index: 10;
            box-shadow: 3px 0 10px rgba(0,0,0,0.2);
            display: flex;
            flex-direction: column;
        }

        .sidebarmap-header {
            padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .sidebarmap-header h2 {
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sidebarmap-toggle {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 22px;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .sidebarmap-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(180deg);
        }

        .categories-list {
            padding: 15px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .category-item {
            padding: 18px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.15);
            position: relative;
        }

        .category-item:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .category-item.active {
            background: linear-gradient(167.97deg, rgba(155, 138, 255, 0.69) -54.76%, rgba(49, 118, 222, 0.62) 58.75%, rgba(27, 138, 242, 0) 137.39%);
            border-left: 5px solid #fff;
        }

        .category-title {
            font-weight: 600;
            font-size: 1.15rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .category-title i {
            color: #ffd700;
            transition: transform 0.3s;
        }

        .category-item.active .category-title i {
            transform: rotate(90deg);
        }

        .points-list {
            max-height: 0;
            overflow: hidden;
            padding: 0;
            transition: all 0.4s ease;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .category-item.active .points-list {
            max-height: 1000px;
            padding: 15px 0 5px 0;
        }

        .point-item {
            padding: 15px;
            background: rgba(0, 0, 0, 0.15);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.1);
            margin-left: 20px;
            margin-right: 5px;
        }

        .point-item:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateX(5px);
        }

        .point-item.active {
         
            border-left: 3px solid #fff;
        }

        .point-title {
            font-weight: 600;
            margin-bottom: 10px; /* Увеличим отступ вместо описания */
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .point-title i {
            color: #ffd700;
            font-size: 14px;
        }

        .point-desc {
            display:none;
        }
        
        .point-link {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            text-decoration: none;
            padding: 6px 15px;
            border-radius: 5px;
            font-size: 13px;
            transition: all 0.3s;
            font-weight: 500;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .point-link:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        #map {
            flex: 1;
            height: 100%;
            transition: all 0.3s ease;
        }
        
        /* Стили для изображения в балуне */
        .balloon-image {
            width: 100%;
            height: 180px;
            border-radius: 8px;
            object-fit: cover;
            margin-bottom: 15px;
        }

        .balloon-content {
            padding: 15px; 
            max-width: 300px;
            position: relative;
        }

        .balloon-title {
            margin-bottom: 12px; 
            color: #1a2a6c;
            font-size: 18px;
            font-weight: 600;
        }

        .balloon-desc {
            margin-bottom: 15px; 
            color: #555; 
            line-height: 1.5;
            font-size: 14px;
        }

        .balloon-link {
            display: inline-block;
            background: #00D900;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: background 0.3s;
            font-size: 14px;
        }

        .balloon-link:hover {
            background: #0e1a4a;
        }

        .balloon-close {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
            background: #e74c3c;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 1002;
            border: 2px solid white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        /* Мобильная адаптация */
        @media (max-width: 992px) {
            .sidebarmap {
                position: absolute;
                height: 100%;
                width: 320px;
                transform: translateX(-100%);
                z-index: 20;
            }
            
            .sidebarmap.active {
                transform: translateX(0);
                box-shadow: 5px 0 15px rgba(0,0,0,0.4);
            }
            
            .sidebarmap-toggle {
                display: flex;
            }
            
            .sidebarmap-header {
                padding: 15px;
            }
            
            .balloon-close {
                display: block;
            }
            .balloon-close i{padding-left:8px;padding-top:5px;}
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 1.8rem;
            }
            
            header p {
                font-size: 1rem;
            }
            
            .map-button {
                padding: 14px 30px;
                font-size: 16px;
            }
            
            .map-content {
                width: 98%;
                height: 96%;
            }
            
            .close-btn {
                top: 10px;
                right: 10px;
                width: 38px;
                height: 38px;
                font-size: 20px;
            }
            
            .category-item {
                padding: 15px;
            }
            
            .point-item {
                padding: 12px;
            }
        }

        @media (max-width: 576px) {

            
            header h1 {
                font-size: 1.6rem;
            }
            
            .sidebarmap {
                width: 90%;
            }
            
            .category-title {
                font-size: 1.05rem;
            }
            
            .point-title {
                font-size: 0.95rem;
            }
            
            .point-desc {
                font-size: 12px;
            }
        }

        /* Мобильное меню на карте */
        .mobile-menu-button {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 50px;
            height: 50px;
            background: rgba(26, 42, 108, 0.9);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 15;
            transition: all 0.3s;
            border: 2px solid white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.3);
        }

        .mobile-menu-button i {
            font-size: 24px;
        }

        .mobile-menu-button:hover {
            background: rgba(26, 42, 108, 1);
            transform: scale(1.05);
        }

        /* Анимации */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

    
    .rules-container {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        min-height: 100vh;
        margin-top: 150px;
    }
    
    .rule-step {
        position: absolute;
        display: flex;
        align-items: center;
        z-index: 2;
        width:600px;
    }
    
    .step-circle {
        max-width: auto;
        position: relative;
        margin-bottom: 20px;
        animation: float 6s infinite ease-in-out;
    }
        .step3 .step-circle {
            max-width: 300px;
        }
        .step4 .step-circle {
            max-width: 400px;
        }
    .step-circle img {
        position: relative;
        z-index: 2;
        width: 100%;
        height: auto;
        transition: all 0.3s ease;
    }
    .step-content {width:50%;
    font:500 clamp(16px, 0.8vw, 22px) "Montserrat Regular", sans-serif;}
    
    .step-title {
        font-weight: 700;
        margin: 0;
        animation: textGlow 5s infinite alternate;
    }
    /* Позиционирование шагов */
    .step1 {
        top: -15%;
        left: -5%;
        animation: stepMove1 12s infinite ease-in-out;
    }
    .step2 {
        top: 7%;
        right: -5%;
        animation: stepMove2 14s infinite ease-in-out;
    }
    .step3 {
 top: 45%;
    left: 5%;
        animation: stepMove3 16s infinite ease-in-out;
    }
    
    .step4 {
top: 65%;
    right: -5%;
        animation: stepMove4 18s infinite ease-in-out;
    }
    
    /* Анимации */
    @keyframes float {
        0%, 100% { 
            transform: translateY(0) rotate(0deg); 
        }
        25% { 
            transform: translateY(-10px) rotate(2deg); 
        }
        50% { 
            transform: translateY(0) rotate(0deg); 
        }
        75% { 
            transform: translateY(5px) rotate(-2deg); 
        }
    }
    
    @keyframes pulse {
        0% { 
            transform: scale(1);
            opacity: 1;
        }
        100% { 
            transform: scale(1.2);
            opacity: 0;
        }
    }
    
    @keyframes stepMove1 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(10px, 5px); }
    }
    
    @keyframes stepMove2 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(-10px, 5px); }
    }
    
    @keyframes stepMove3 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(8px, -5px); }
    }
    
    @keyframes stepMove4 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(-8px, -5px); }
    }
    
    /* Адаптивность 
    
    @media (max-width: 1400px) {
        .step1 { left: 10%; }
        .step2 { right: 20%; }
        .step3 { left: 20%; }
        .step4 { top: 55%;right: 5%; }
    }
     */
    @media (max-width: 1200px) {
        .rules-container {
            min-height: 800px;
            margin-top: 100px;
        }
        .step1{left: 0%;}
        .step3 { left: 7%; }
        .step4 {top: 75%;right: 5%; }
        .rule-step {width: 500px;}
    }
    
    @media (max-width: 992px) {
        
        .rules-container {
            min-height: 700px;
            margin-top: 80px;
        }
            .rule-step {
        width: 400px;
    }
.step-content {
    width: 60%;}

        .step1 {  }
        .step3 {  left: 0%;}
        .step4 {        top: 80%;right: -5%; }
    }
    .step5 {display:none;
        }
    @media (max-width: 768px) {
        .step2 {display:none;
        }
        .step5 {display:block;
        }
        .step3 .step-circle {
    max-width: 200px;
}
    .rule-step {
        flex-direction: column;
}
        .rules-container {
            min-height: auto;
            margin-top: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .rule-step {
            position: relative;
            width: 100%;
            max-width: 300px;
            margin: 0 auto 50px;
            left: auto !important;
            right: auto !important;
            top: auto !important;
            animation: none !important;
        }
        
        .step-circle {
            animation: float 6s infinite ease-in-out;
        }
        
        .circle-pulse {
            animation: pulse 3s infinite ease-out;
        }
        
        .step-content {
            animation: fadeGlow 4s infinite alternate;
            width: 100%;
        }
        
        .step1, .step2, .step3, .step4 {
            position: relative;
            margin-bottom: 60px;
        }
    }
    
    @media (max-width: 576px) {
        .step-title {
            font-size: 18px;
        }
    }