
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 21.44rem;
    background: url("../assets-ru/images/background-empty.jpg") left center/cover no-repeat rgb(251, 224, 186);
}


@media (max-width: 768px), (max-height: 800px) {
    .modal-body {
        justify-content: center;
        min-height: unset;
        padding: 2.25rem 2.25rem 1.25rem;
    }
}

.modal__title {
    width: 100%;
    max-width: 17.81rem;
    margin-bottom: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .modal__title {
        max-width: 12rem;
        margin-bottom: 1.5625rem;
    }
}

.modal__text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 3.125rem;
}

@media (max-width: 768px) {
    .modal__text {
        font-size: 0.875rem;
        line-height: 1.15rem;
        margin-bottom: 1.875rem;
    }
}

.modal__list {
    display: flex;
    flex-direction: column;
    padding-left: 0.9375rem;
}


@media (max-width: 768px), (max-height: 900px) {
    .modal__list {
        padding-left: 0;
    }

}

.modal__list-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: left;
    margin-bottom: 0;
}

@media (max-width: 768px), (max-height: 900px) {
    .modal__list-text {
        font-size: 0.875rem;
        line-height: 1.15rem;
    }
}

.modal__buttons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card {
    z-index: 100;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    perspective: 62.5rem;
    background-color: transparent;
    border: none;
    border-radius: 1.125rem;
    color: #4D2514;
}

@media (max-width: 768px), (max-height: 900px) {
    .card {
        width: unset;
        max-width: unset;
        border-radius: 0.75rem;
        top: 1.125rem;
        left: 1.125rem;
        right: 1.125rem;
        bottom: 1.125rem;
        transform: translate(0, 0);
    }
}

.card__inner {
    position: relative;
    width: 100%;
    max-width: 29.06rem;
    height: 51.56rem;
    max-height: 90vh;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 1.125rem;
    box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px), (max-height: 900px) {
    .card__inner {
        border-radius: 0.75rem;
        height: 37.5rem;
    }
}

.card__front, .card__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 1.125rem;
    padding: 1.875rem 2.8125rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__front, .card__back {
        border-radius: 0.75rem;
        padding: 1.5625rem;
    }
}

.card__front {
    background: rgb(251, 224, 186) url("/newyear2025_dec/postcards/postcard_1.png") no-repeat center/cover;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__front {
        background-position: center -2.5rem;
    }
}

@media (max-width: 450px) {
    .card__front {
        background-position: center 0;
    }
}

.card__back {
    background: rgb(251, 224, 186) url("../assets-ru/images/card-back.jpg") no-repeat center top/cover;
    background-color: #F7E0B7;
    transform: rotateY(180deg);
}

@media (max-width: 450px) {
    .card__back {
        background-position: center 0;
    }
}

.card--flipped .card__inner {
    transform: rotateY(180deg);
}

.card__logo {
    margin-bottom: 4.375rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__logo {
        width: 6.4375rem;
        margin-bottom: 5rem;
    }
}

@media (max-width: 400px), (max-height: 750px) {
    .card__logo {
        margin-bottom: 4.125rem;
    }
}

.card__current-question {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4625rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 3.125rem;
}

@media (max-width: 1669px) {
    .card__current-question {
        margin-bottom: 1.875rem;
    }
}

@media (max-width: 768px), (max-height: 900px) {
    .card__current-question {
        font-size: 0.875rem;
        line-height: 1.1375rem;
        margin-bottom: 1.0625rem;
    }
}

.card__title {
    width: 100%;
    max-width: 22.4375rem;
    margin-bottom: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__title {
        max-width: 15rem;
        margin-bottom: 1.5625rem;
        margin-top: 0.8125rem;
    }
}

.card__answer {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 3.4375rem;
}

.card__answer .card__title {
    width: 19.875rem;
    height: auto;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer {
        justify-content: flex-start;
        margin-bottom: 1.875rem;
        min-height: 17rem;
    }

    .card__answer .card__title {
        width: auto;
        height: 3rem;
    }
}

.card__answer-item {
    display: flex;
    width: 100%;
    gap: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer-item {
        gap: 1rem;
        align-items: center;
    }
}

.card__answer-item:nth-child(2) {
    margin-top: 0.9375rem;
}

.card__answer-item:not(:last-child) {
    margin-bottom: 2.1875rem;
}

.card__answer-item-image {
    width: auto;
    height: 3.5rem;
    object-position: 0 0;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer-item-image {
        width: auto;
        height: 2.4375rem;
    }
}

.card__answer-item-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: left;
    margin-bottom: 0;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer-item-text {
        max-width: 11.5rem;
        font-size: 0.875rem;
        line-height: 1.15rem;
    }
}

.card__text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    width: 100%;
    text-align: center;
    margin: 0 auto 3.4375rem;
}


@media (max-width: 768px), (max-height: 900px) {

    .card__text {
        font-size: 0.875rem;
        line-height: 1.1375rem;
        margin-bottom: 1.875rem;
    }

    .card__answer .card__text {
        max-width: 13.93rem;
    }
}

.card__button:not(:last-child) {
    margin-bottom: 1rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__button:not(:last-child) {
        margin-bottom: 0.625rem;
    }
}

.card__button-number {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    justify-content: center;
    align-items: center;
    background: radial-gradient(98.72% 343.32% at 82.4% 45%, #CB3121 14.14%, #790017 100%);
    border-radius: 100px;
    width: 1.125rem;
    height: 1.125rem;
    font-size: 0.5rem;
    font-weight: 800;
    line-height: 0.65rem;
    letter-spacing: -0.03em;
    color: #CB3121;
}

.card__button-number:before {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 0.9375rem;
    height: 0.9375rem;
    padding: 0.0625rem;
    border-radius: 100px;
    background: #FFE1B5;
}

.card__button--active span {
    color: #CB3121 !important;
}

.card__button--active .card__button-number {
    display: flex;
}

.footer {
    margin-top: auto;
    padding: 1.5625rem 0.625rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5625rem;
}

@media (max-width: 991px) {
    .footer {
        gap: 0.625rem;
    }
}

.footer__item {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

@media (min-width: 2000px) {
    .main {
        display: flex;
        align-items: center;
        flex-grow: 1;
    }
}

.main__inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 8.875rem 2.22rem 0;
}

@media (min-width: 2000px) {
    .main__inner {
        padding: 0;
        height: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px), (max-height: 800px) {
    .main__inner {
        padding: 8.06rem 1.11rem 0;
    }
}

.main__logo {
    width: 8.9375rem;
    margin-bottom: 6.4375rem;
}

@media (max-width: 768px), (max-height: 800px) {
    .footer__item {
        width: 100%;
        font-size: 0.75rem;
    }

    .main__logo {
        width: 6.4375rem;
        margin-bottom: 3.31rem;
    }
}

@media (min-width: 768px) {
    .footer__item {
        width: unset;
    }
}

.main__title {
    height: 13.875rem;
    width: auto;
    margin-bottom: 2.875rem;
}

@media (max-width: 768px), (max-height: 800px) {
    .main__title {
        height: 6rem;
        width: auto;
        margin-bottom: 1.68rem;
    }
}

.main__text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: center;
    width: 100%;
    max-width: 26.25rem;
    margin-bottom: 5.3125rem;
}

@media (max-width: 768px), (max-height: 800px) {
    .main__text {
        font-size: 0.875rem;
        line-height: 1.15rem;
        margin-bottom: 2.225rem;
    }
}

.modal {
    --bs-modal-padding: 60px 20px;
    --bs-modal-bg: #F7E0B7;
    --bs-modal-border-color: transparent;
    --bs-modal-border-radius: 16px;
    --bs-modal-width: 454px;
}

.modal-dialog {
    justify-content: center;
}

.modal-content {
    overflow: hidden;
    min-height: 38rem;
    max-width: 28rem;
}


@media (max-width: 768px) , (max-height: 800px) {
    .modal-content {
        min-height: 38rem;
    }
}

@media (max-width: 768px) , (max-height: 900px) {
    .modal {
        --bs-modal-margin: 20px;
        --bs-modal-padding: 30px 20px;
        --bs-modal-width: 306px;
    }
}

.modal-backdrop {
    --bs-backdrop-opacity: .4;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

@media (max-width: 768px) , (max-height: 900px) {
    .modal-close {
        top: 15px;
        right: 12px;
    }
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 21.44rem;
    background: url("../assets-ru/images/background-empty.jpg") left center/cover no-repeat rgb(251, 224, 186);
    color: #4D2514;
}


.modal__title {
    width: 100%;
    max-width: 17.81rem;
    margin-bottom: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .modal__title {
        max-width: 12rem;
        margin-bottom: 1.5625rem;
    }
}

.card__question {
    width: 100%;
}

.modal__text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 3.125rem;
}

@media (max-width: 768px) {
    .modal__text {
        font-size: 0.875rem;
        line-height: 1.15rem;
        margin-bottom: 1.875rem;
    }
}


.modal__list-item {
    display: flex;
    margin-bottom: 2.2rem; /* Replaces vertical gap */
}

.modal__list-item:last-child {
    margin-bottom: 0; /* Adjusted for mobile */
}

@media (max-width: 768px) and (max-height: 900px) {
    .modal__list {
        padding-left: 0;
    }

    .modal__list-item:not(:last-child) {
        margin-bottom: 1.875rem; /* Adjusted for mobile */
    }

    .modal__list-item:last-child {
        margin-bottom: 0; /* Adjusted for mobile */
    }
}

.modal__list-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: left;
    margin-bottom: 0;
}

.card__answer .card__title {
    max-width: 21rem;
    margin-bottom: 4.3rem;
}

.card__answer .card__text {
    max-width: 20.25rem;
}

.card__question--many .card__title {
    margin-bottom: 1.81rem;
}

.card__question--many .card__text {
    margin-bottom: 1.81rem;
}

.card__answer--many .card__text {
    margin-bottom: 1.9rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer--many .card__text {
        margin-bottom: 1.8rem;
    }

    .card__question--many .card__title {
        margin-bottom: 1rem;
    }

    .card__question--many .card__text {
        margin-bottom: 1rem;
    }

    .card__answer .card__text {
        max-width: 16rem;
    }

    .modal__list-text {
        font-size: 0.875rem;
        line-height: 1.15rem;
    }

    .card__answer .card__title {
        max-width: 16rem;
        margin-bottom: 1.875rem;
    }

    .modal__text {
        max-width: 21rem;
        font-size: 0.875rem;
        line-height: 1.15rem;
    }
}

.modal__buttons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipes {
    overflow: hidden;
}

.recipes__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 0 30px;
}

@media (max-width: 991px) {
    .recipes__inner {
        padding: 22px 0 30px;
    }
}

@media (max-width: 500px) {
    .recipes__inner {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

.recipes__logo {
    width: 143px;
    margin-bottom: 40px;
}

@media (max-width: 768px) , (max-height: 900px) {
    .recipes__logo {
        width: 103px;
        margin-bottom: 30px;
    }
}

.recipes__back {
    position: absolute !important;
    top: 50px;
    right: 300px;
}

@media (max-width: 1400px) {
    .recipes__back {
        right: 200px;
    }
}

@media (max-width: 1200px) {
    .recipes__back {
        right: 100px;
    }
}

@media (max-width: 991px) {
    .recipes__back {
        right: 0;
    }
}

@media (max-width: 768px) {
    .recipes__back {
        top: 30px;
    }
}

.recipes__correct-answers {
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .recipes__correct-answers {
        font-size: 14px;
        line-height: 18.2px;
        margin-bottom: 1.2rem;
    }
}

.recipes__title {
    width: 100%;
    max-width: 407px;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .recipes__title {
        max-width: 250px;
        margin-bottom: 1.15rem;
    }
}

.recipes__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 22.5px;
    letter-spacing: -0.03em;
    text-align: center;
    width: 100%;
    margin-bottom: 2.2rem;
    max-width: 496px;
}

@media (max-width: 768px) {
    .recipes__text {
        font-size: 14px;
        line-height: 17.5px;
    }
}

.recipes__slider {
    width: fit-content;
    position: relative;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .recipes__slider .swiper {
        margin-left: -20px;
    }
}

.present {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.present__title {
    width: 100%;
    max-width: 345px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .present__title {
        max-width: 200px;
        margin-bottom: 20px;
    }
}

.present__text {
    font-size: 18px;
    font-weight: 400;
    line-height: 22.5px;
    letter-spacing: -0.03em;
    text-align: center;
    max-width: 496px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .present__text {
        max-width: 280px;
        font-size: 14px;
        line-height: 17.5px;
        margin-bottom: 35px;
    }
}

.present__slider {
    position: relative;
}

@media (max-width: 768px) {
     .swiper-button {
        display: none;
    }
}


.present__card {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background-color: #FFE1B5;
    box-shadow: 0px 0px 15px 0px rgba(100, 67, 20, 0.4);
    text-decoration: unset;
}

.present__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.present__buttons {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .present__buttons {
        margin-top: 35px;
        gap: 15px;
    }
}

.swiper {
    box-sizing: content-box;
    width: 100%;
    max-width: 850px;
    height: 200px;
    padding: 20px 20px;
}

@media (max-width: 991px) {
    .swiper {
        padding-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .swiper {

        height: 160px;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 164px;
    }
}

.swiper-button {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background-color: #FFE1B5;
    box-shadow: 0px 0px 15px 0px rgba(100, 67, 20, 0.6);
}


.swiper-button:focus {
    outline: none;
}

.swiper-button:after {
    content: "";
    background: transparent url("../assets-ru/icons/arrow-swiper.svg") no-repeat center/8px;
    width: 40px;
    height: 40px;
}

.swiper-button-next {
    right: 20px;
}

@media (max-width: 1200px) {
    .swiper-button-next {
        right: -25px;
    }
}

@media (max-width: 991px) {
    .swiper-button-next {
        top: unset;
        bottom: -25px;
        left: 50%;
        right: unset;
        left: calc(50% + 30px);
        transform: translateX(-50%);
    }
}

.swiper-button-prev {
    left: 20px;
}

@media (max-width: 1200px) {
    .swiper-button-prev {
        left: -25px;
    }
}

@media (max-width: 991px) {
    .swiper-button-prev {
        top: unset;
        bottom: -25px;
        left: calc(50% - 30px);
        transform: translateX(-50%);
    }
}

.swiper-button-prev:after {
    transform: rotate(180deg);
}

.button__sparkles {
    width: 100%;
    height: 140%;
    margin: auto;
    position: absolute;
    inset: 0;
}

.button__sparkle {
    width: 0.625rem;
    height: 0.625rem;
    position: absolute;
}

.button__sparkle img {
    width: auto;
    height: 100%;
}

.button__sparkle:nth-child(1) {
    animation: 5s ease-in-out infinite float;
    animation-delay: 0;
    top: 90%;
    left: 0;
}

.button__sparkle:nth-child(2) {
    animation: 3s ease-in-out 0.7s infinite float;
    top: 0%;
    left: 20%;
}

.button__sparkle:nth-child(3) {
    animation: 5s ease-in-out 1s infinite float;
    top: 100%;
    left: 50%;
}

.button__sparkle:nth-child(4) {
    animation: 5s ease-in-out 1.5s infinite float;
    top: 10%;
    left: 80%;
}

.button__sparkle:nth-child(5) {
    animation: 3s ease-in-out 2s infinite float;
    top: 100%;
    left: 90%;
}

.button__bubble {
    width: 0.3125rem;
    height: 0.3125rem;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}

.button__bubble:nth-child(6) {
    animation: 5s ease-in-out infinite float2;
    animation-delay: 0;
    top: 80%;
    left: 10%;
}

.button__bubble:nth-child(7) {
    animation: 3s ease-in-out 0.7s infinite float2;
    top: 10%;
    left: 30%;
}

.button__bubble:nth-child(8) {
    animation: 5s ease-in-out 1s infinite float2;
    top: 90%;
    left: 60%;
}

.button__bubble:nth-child(9) {
    animation: 5s ease-in-out 1.5s infinite float2;
    top: 20%;
    left: 70%;
}

.button__bubble:nth-child(10) {
    animation: 3s ease-in-out 2s infinite float2;
    top: 90%;
    left: 80%;
}

@keyframes float {
    0% {
        opacity: 0.1;
        transform: scale(0.2);
    }
    25% {
        opacity: 1;
        transform: translateY(-0.3125rem) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-0.3125rem) scale(0.2);
    }
    75% {
        opacity: 1;
        transform: translateY(-0.9375rem) scale(1);
    }
    to {
        opacity: 0.1;
        transform: translateY(-0.3125rem) scale(0.2);
    }
}

@keyframes float2 {
    0% {
        opacity: 0.1;
        transform: scale(0.2);
    }
    25% {
        opacity: 1;
        transform: translateY(-0.1875rem) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-0.1875rem) scale(0.2);
    }
    75% {
        opacity: 1;
        transform: translateY(-0.375rem) scale(1);
    }
    to {
        opacity: 0.1;
        transform: translateY(-0.1875rem) scale(0.2);
    }
}

body {
    font-family: Open Sans, sans-serif;
    color: #4D2514;
    font-size: 18px;
}

.site {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #FBE0BA url("../assets-ru/images/background.jpg") no-repeat center/cover;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 1s ease-in-out;
}

@media (max-width: 768px) {
    .site {
        background: #FBE0BA url("../assets-ru/images/background-mob.jpg") no-repeat top/cover;
    }
}

a {
    color: #4D2514;
}

.btn {
    transition: scale 0.1s;
}

.btn-blesk {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    letter-spacing: -0.03em;
    text-align: center;
    padding: 20px 70px;
    border-radius: 100px;
    background: radial-gradient(98.72% 343.32% at 82.4% 45%, #CB3121 14.14%, #790017 100%);
    box-shadow: 0px 0px 15px 0px rgba(100, 67, 20, 0.4);
    color: #FFE1B5;
    border: 5px solid #FFE1B5;
}

.recipes__inner .btn-blesk {
    margin-top: 3rem;
    padding: 20px 36px;
}

@media (max-width: 768px), (max-height: 900px) {
    .recipes__inner .btn-blesk {
        margin-top: 1rem;
    }
}

.btn-blesk--green {
    background: radial-gradient(132.68% 460.14% at 1.97% 136%, #838240 0%, #083106 100%);
}

.btn-blesk--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
}

.btn-blesk--icon img {
    width: 20px;
    height: auto;
}

.btn-blesk--icon:after {
    width: 58px;
    height: 58px;
}

@media (max-width: 768px) , (max-height: 900px) {
    .btn-blesk {
        font-size: 14px;
        line-height: 18.2px;
    }
}

.btn-blesk:hover, .btn-blesk:active {
    color: #FFE1B5 !important;
    border: 5px solid #FFE1B5 !important;
    scale: 1.07;
}

.btn-blesk:hover:not(.btn-blesk:hover--green, .btn-blesk:active--green), .btn-blesk:active:not(.btn-blesk:hover--green, .btn-blesk:active--green) {
    background: radial-gradient(98.72% 343.32% at 82.4% 45%, #CB3121 14.14%, #790017 100%) !important;
}

.btn-blesk:hover--green, .btn-blesk:active--green {
    background: radial-gradient(132.68% 460.14% at 1.97% 136%, #838240 0%, #083106 100%) !important;
}


.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 21.44rem;
    background: url("../assets-ru/images/background-empty.jpg") left center/cover no-repeat rgb(251, 224, 186);
}


.modal__title {
    width: 100%;
    max-width: 17.81rem;
    margin-bottom: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .modal__title {
        max-width: 12rem;
        margin-bottom: 1.5625rem;
    }
}

.modal__text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 3.125rem;
}

@media (max-width: 768px) {
    .modal__text {
        font-size: 0.875rem;
        line-height: 1.09375rem;
        margin-bottom: 1.875rem;
    }
}

.modal__list {
    display: flex;
    flex-direction: column;
    padding-left: 0.9375rem;
    margin-bottom: 1.875rem;
}


@media (max-width: 768px), (max-height: 900px) {
    .modal__list {
        padding-left: 0;
    }


}

.modal__list-icon {
    flex-shrink: 0;
    margin-top: 5px;
    width: 1.875rem;
    height: 2.875rem;
    object-fit: contain;
    margin-right: 2.31rem; /* Replaces horizontal gap */
}

@media (max-width: 768px) {
    .modal__list-icon {
        width: 1.25rem;
        height: 1.875rem;
        margin-top: 0.25rem;
        margin-right: 1.25rem; /* Adjusted for mobile */
    }
}

.modal__list-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: left;
    margin-bottom: 0;
}

@media (max-width: 768px), (max-height: 900px) {
    .modal__list-text {
        font-size: 0.875rem;
        line-height: 1.09375rem;
    }

    .modal__text {
        font-size: 0.875rem;
        line-height: 1.09375rem;
    }
}

.modal__buttons {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card {
    z-index: 100;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    perspective: 62.5rem;
    background-color: transparent;
    border: none;
    border-radius: 1.125rem;
    color: #4D2514;
}

@media (max-width: 768px), (max-height: 900px) {
    .card {
        width: unset;
        max-width: unset;
        border-radius: 0.75rem;
        top: 1.125rem;
        left: 1.125rem;
        right: 1.125rem;
        bottom: 1.125rem;
        transform: translate(0, 0);
    }
}

.card__inner {
    position: relative;
    width: 100%;
    max-width: 29.06rem;
    height: 51.56rem;
    max-height: 90vh;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 1.125rem;
    box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px), (max-height: 900px) {
    .card__inner {
        border-radius: 0.75rem;
        height: 100%;
        max-height: 39rem;
    }
}

.card__front, .card__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border-radius: 1.125rem;
    padding: 1.875rem 2.8125rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__front, .card__back {
        border-radius: 0.75rem;
        padding: 1.5625rem;
    }
}

.card__front {
    background: rgb(251, 224, 186) url("/newyear2025_dec/postcards/postcard_1.png") no-repeat center/cover;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__front {
        background-position: center -2.5rem;
    }
}

@media (max-width: 450px) {
    .card__front {
        background-position: center 0;
    }
}

.card__back {
    background: rgb(251, 224, 186) url("../assets-ru/images/card-back.jpg") no-repeat center top/cover;
    background-color: #F7E0B7;
    transform: rotateY(180deg);
}

@media (max-width: 450px) {
    .card__back {
        background-position: center 0;
    }
}

.card--flipped .card__inner {
    transform: rotateY(180deg);
}

.card__logo {
    margin-bottom: 4.375rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__logo {
        max-width: 6.4375rem;
        margin-bottom: 5rem;
    }
}

@media (max-width: 400px), (max-height: 750px) {
    .card__logo {
        margin-bottom: 4.125rem;
    }
}

.card__current-question {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4625rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 3.125rem;
}

@media (max-width: 1669px) {
    .card__current-question {
        margin-bottom: 1.875rem;
    }
}

@media (max-width: 768px), (max-height: 900px) {
    .card__current-question {
        font-size: 0.875rem;
        line-height: 1.1375rem;
        margin-bottom: 1.0625rem;
    }
}

.card__title {
    width: 100%;
    max-width: 22.4375rem;
    margin-bottom: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__title {
        max-width: 15rem;
        margin-bottom: 1.5625rem;
        margin-top: 0.8125rem;
    }
}

.card__answer {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 3.4375rem;
}

.card__answer .card__title {
    width: 19.875rem;
    height: auto;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer {
        justify-content: flex-start;
        margin-bottom: 1.875rem;
        min-height: 17rem;
    }

    .card__answer .card__title {
        width: auto;
        height: 3rem;
    }
}

.card__answer-item {
    display: flex;
    width: 100%;
    gap: 1.875rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer-item {
        gap: 1rem;
        align-items: center;
    }
}

.card__answer-item:nth-child(2) {
    margin-top: 0.9375rem;
}

.card__answer-item:not(:last-child) {
    margin-bottom: 2.1875rem;
}

.card__answer-item-image {
    width: auto;
    height: 3.5rem;
    object-position: 0 0;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer-item-image {
        width: auto;
        height: 2.4375rem;
    }
}

.card__answer-item-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: left;
    margin-bottom: 0;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__answer-item-text {
        max-width: 11.5rem;
        font-size: 0.875rem;
        line-height: 1.09375rem;
    }
}

@media (max-width: 768px), (max-height: 900px) {
    .card__text {
        max-width: 16.75rem;
        font-size: 0.875rem;
        line-height: 1.1375rem;

    }
}

.card__button:not(:last-child) {
    margin-bottom: 1rem;
}

@media (max-width: 768px), (max-height: 900px) {
    .card__button:not(:last-child) {
        margin-bottom: 0.625rem;
    }
}

.card__button-number {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    justify-content: center;
    align-items: center;
    background: radial-gradient(98.72% 343.32% at 82.4% 45%, #CB3121 14.14%, #790017 100%);
    border-radius: 100px;
    width: 1.125rem;
    height: 1.125rem;
    font-size: 0.5rem;
    font-weight: 800;
    line-height: 0.65rem;
    letter-spacing: -0.03em;
    color: #CB3121;
}

.card__button-number:before {
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: 0.9375rem;
    height: 0.9375rem;
    padding: 0.0625rem;
    border-radius: 100px;
    background: #FFE1B5;
}

.card__button--active span {
    color: #CB3121 !important;
}

.card__button--active .card__button-number {
    display: flex;
}

.btn-card{
    transition: box-shadow 0.5s ease-in-out;
}

.btn-card .highlight{
    box-shadow: 0 0 2rem 2px rgba(255, 255, 255, 0.79);
}

.footer {
    margin-top: auto;
    padding: 1.5625rem 0.625rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5625rem;
}

@media (max-width: 991px) {
    .footer {
        gap: 0.625rem;
    }
}

.footer__item {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.575rem;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

@media (min-width: 2000px) {
    .main {
        display: flex;
        align-items: center;
        flex-grow: 1;
    }
}

.main__inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 8.875rem 2.22rem 0;
}

@media (min-width: 2000px) {
    .main__inner {
        padding: 0;
        height: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px), (max-height: 800px) {
    .main__inner {
        padding: 8.06rem 1.11rem 0;
    }
}

.main__logo {
    width: 8.9375rem;
    margin-bottom: 6.4375rem;
}

@media (max-width: 768px), (max-height: 800px) {
    .main__logo {
        width: 6.4375rem;
        margin-bottom: 1.875rem;
    }
}

.main__title {
    height: 13.875rem;
    width: auto;
    margin-bottom: 2.875rem;
}

@media (max-width: 768px), (max-height: 800px) {
    .main__title {
        height: 6rem;
        width: auto;
        margin-bottom: 2.875rem;
    }
}

.main__text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.40625rem;
    letter-spacing: -0.03em;
    text-align: center;
    width: 100%;
    max-width: 26.25rem;
    margin-bottom: 5.3125rem;
}

@media (max-width: 768px), (max-height: 800px) {
    .main__text {
        font-size: 0.875rem;
        line-height: 1.09375rem;
        margin-bottom: 2.125rem;
    }
}

@media (max-width: 768px), (max-height: 800px) {
    .btn-blesk {
        white-space: nowrap;
        padding: 0.9375rem 1.25rem;
        min-width: 14.75rem;
    }
}

.btn-close {
    --bs-btn-close-bg: url("/newyear2025/assets-ru/icons/close.svg");
    --bs-btn-close-opacity: 1;
    --bs-btn-close-hover-opacity: 1;
    background: #FFE1B5 url("/newyear2025/assets-ru/icons/close.svg") center/0.625rem no-repeat;
    width: 0.625rem;
    height: 0.625rem;
    padding: 0.9375rem;
    border-radius: 100px;
    box-shadow: 0 0 0.9375rem 0 rgba(100, 67, 20, 0.6);
}

@media (max-width: 768px), (max-height: 900px) {
    .btn-close {
        width: 0.5rem;
        height: 0.5rem;
        padding: 0.75rem;
    }
}

.btn-card {
    z-index: 1;
    position: relative;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4625rem;
    letter-spacing: -0.03em;
    text-align: center;
    width: 100%;
    border-radius: 0.75rem;
    background: radial-gradient(98.72% 343.32% at 82.4% 45%, #CB3121 14.14%, #790017 100%);
    border: 0.1875rem solid #FFE1B5;
    box-shadow: 0 0 0.9375rem 0 rgba(100, 67, 20, 0.4);
    min-height: 5.9375rem;
    transition: transform 0.3s ease; /* Плавный переход только для трансформации */
}

@media (max-width: 768px), (max-height: 900px) {
    .btn-card {
        min-height: 4.5rem;
        font-size: 0.875rem;
        line-height: 1.1375rem;
        border: 0.25rem solid #FFE1B5;
    }
}

.btn-card:hover {
    border-color: #FFE1B5; /* Optional, if you want to keep the border color */
    transform: scale(1.03);
    box-shadow: 0 0 1.2rem 0 rgba(100, 67, 20, 0.6); /* Slightly intensify shadow */
}

.btn-card:active {
    border-color: #FFE1B5 !important;
    transform: scale(1);
    box-shadow: 0 0 0.75rem 0 rgba(100, 67, 20, 0.4);
}

.btn-card__text {
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    right: 0.125rem;
    bottom: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFE1B5;
    border-radius: 0.4375rem;
    color: #4D2514;
    padding: 0 0.625rem;
}

.btn-go-main {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background: #FFE1B5 url("../assets-ru/icons/home.svg") no-repeat center/0.75rem;
    border-radius: 100px;
    box-shadow: 0 0 0.9375rem 0 rgba(100, 67, 20, 0.6);
    color: #4D2514;
    border: none !important;
}

.btn-go-main:hover, .btn-go-main:active {
    background: #FFE1B5 url("../assets-ru/icons/home.svg") no-repeat center/0.75rem !important;
    opacity: 1 !important;
    outline: none !important;
    border: none !important;
}

.btn-go-main span {
    display: block;
    position: absolute;
    bottom: -2.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.09375rem;
    letter-spacing: -0.03em;
    text-align: left;
    white-space: nowrap;
}


@media (max-width: 768px) , (max-height: 900px) {
    .btn-go-main span {
        display: none;
    }
}

.card__inner {
    max-width: 28rem;
}

@media (min-width: 996px) and (min-height: 600px) and (max-height: 996px) {
    .modal-content {
        max-width: 28.3rem;
    }

    .card__inner {
        max-width: 25rem;
    }
}


.recipes__card {
    display: block;
    width: 12.06rem; /* 193px */
    height: 14rem; /* 245px */
    border-radius: 16px;
    background-color: #FFE1B5;
    box-shadow: 0px 0px 20px 0px rgba(100, 67, 20, 0.4);
    padding: 6px;
    text-decoration: unset;
}


.recipes__card-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22.5px;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .recipes__card-text {
        font-size: 14px;
        line-height: 17.5px;
        margin: 5px 0;
    }
}


/* Изображение */
.recipes__card-image {
    width: 11.25rem; /* 180px */
    height: 10.63rem; /* 170px */
    object-fit: cover;
    border-radius: 16px !important;
}


/* Заголовок */
.recipe-card__text {
    font-size: 0.875rem; /* 14px */
    font-weight: 400;
    line-height: 1.09375rem; /* 17.5px */
    letter-spacing: -0.03em;
    text-align: center;
    color: #4A2E15;
}

.recipes__card {
    display: block;
    width: 12.06rem; /* 193px */
    height: 14rem; /* 245px */
    border-radius: 16px;
    background-color: #FFE1B5;
    box-shadow: 0px 0px 20px 0px rgba(100, 67, 20, 0.4);
    padding: 6px;
    text-decoration: unset;
}

.recipes__inner {
    overflow: hidden;
    padding: 2.5rem 1rem;
}

@media (max-width: 560px) {
    .recipes__inner {
        overflow: unset;
    }
}

@media (min-height: 1200px) {
    .recipes {
        display: flex;
        align-items: center;
        height: calc(100vh - 80px);
    }

    .recipes__inner {
    }
}

.recipes__slider {
    box-sizing: content-box;
}

.recipes__card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.recipes__card-image {
    width: 100%;
}

.recipes__card-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    font-size: 14px;
    margin-top: 10px;
    height: 100%;
}

@media (max-width: 768px) {
    .recipes__card-text {
        margin: 15px 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 17.5px;
        letter-spacing: -0.03em;
    }
}

.recipes__slider {
    width: 100%;
}

.recipes__slider .swiper {
    box-sizing: border-box;
    height: 100%;
    min-height: 180px;
}

.recipes__slider .swiper-wrapper {
    box-sizing: border-box;
    height: 240px;
}

@media (max-width: 768px) {
    .recipes__slider .swiper {
        box-sizing: border-box;
        height: 100%;
        min-height: 180px;
    }

    .recipes__slider .swiper-wrapper {
        box-sizing: border-box;
        height: 100%;
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .recipes__card-image {

        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .recipe__slider-next,
    .recipe__slider-prev {
        display: none;
    }
}


/* Пагинация */
.swiper-pagination-bullet {
    width: 0.5rem; /* 8px - неактивная точка */
    height: 0.5rem;
    background-color: #CB3121 !important;
    margin: 0 .75rem !important;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    width: 1rem; /* 18px - активная точка */
    height: 1rem;
    opacity: 1;
    background-color: #CB3121 !important; /* Красный цвет */
}

/* Настройка контейнера для центровки пагинации */
.swiper-pagination {
    --swiper-pagination-bottom: -10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
