* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Rubik", sans-serif;
    font-optical-sizing: auto; color: #fff; text-decoration: none;}

body, html {
    position: relative;
}


body {
    width: 100%;
    background: #1E0101;
}

.custom_scroll {
    scrollbar-width: thin;
}

header {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
    height: 68px;
    padding: 10px 20px;
    width: 100%;
    background: #1E0101;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}
.banner{
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

header a {
    cursor: pointer;
    font-weight: 500;
    margin: 0 7px;
    font-size: 14px;
    text-wrap: nowrap;
}

header a:hover {
    text-decoration: underline;
}

.header_right, .burger_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.header_left {
    z-index: 1;
}
.burger_container {
    display: none;
}

.logo-link {
    display: block;
}

.burger_content {
    position: absolute;
    background: #1E0101;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    top: 68px;
    transform: translateY(calc(-100% - 68px));
}

.logo-link {
    margin: 0;
}
.burger {
    cursor: pointer;
}
.menu-opened {
    transform: translateY(calc(0%));
    transition: 0.5s;
}

.custom_color-text {
    color: #FF2727;
}

.burger_content a {
    color:  #FF2727;
    margin: 5px 0;

}

main {
    padding: 68px 20px 20px 20px;
}

.top_content {
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.top_content-left {
    width: 50%;
}

.top_content-right {
    width: 50%;
    display: flex;
    align-items: center;
}
.main-img {
    width: 100%;
}

.center_content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 410px;
    border: 2px solid #FF2929;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 15px;
    margin: 10px;
}

.logo_block {
    width: 100%;
    display: flex;
    align-items: center;
    height: 105px;
}

.logo_image-block {
    width: 140px;
    padding: 5px 20px;
    border-radius: 10px;
    height: 79px;
    display: flex;
    align-items: center;
}

.logo_image-block img {
    width: 100%;
}
.rate_block {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.rate_block p {
    color: #B07D7D;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 24px;
}

.top_content-right span {
    font-family: Rubik;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
}

.rate {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    background: linear-gradient(180deg, #821B1B 0%, #1C0606 100%);
    border-radius: 10px;
    padding: 5px;
    margin-top: 5px;
}

.rate p {
    font-size: 24px;
    font-weight: 700;
    line-height: 28.44px;
    margin-left: 5px;
    color: #fff;
}

.bonus_block, .popular_block, .payment_block {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
}

.logo-img {
    max-width: 60px;
}

.bonus_block p, .popular_block p, .payment_block p {
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
}

.bonus_bottom, .popular_bottom {
    background: linear-gradient(180deg, #821B1B 0%, #1C0606 100%);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}

.bonus_bottom p, .popular_bottom p {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}
.star {
    width: 28px;
    height: 28px;
}

.custom_bonus-size {
    font-size: 20px !important;
}
.payment_bottom {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    min-height: 75px;
    box-sizing: border-box;
}


.payment_method {
    background: linear-gradient(180deg, #821B1B 0%, #1C0606 100%);
    width: 60px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin-top: 5px;
}

.terms_container .center_content img {
    width: 100%;
    max-width: 500px;
}

.payment_method:not(:last-child) {
    margin-right: 5px;
}
.action_block {
    width: 100%;
    margin-top: 10px;
}

.action-link {
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    background: #B40000;
    text-align: center;
    display: block;
    padding: 10px 5px;
    border-radius: 10px;
    outline: none;
}

.action-link:hover {
    transform: scale(1.03);
    transition: 0.5s;
}

.section_title {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FF2727;
    margin-bottom: 10px;
    
}

.subtitle {
    font-weight: 800;
    margin: 15px 0;
    width: 100%;
}

.terms_container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms_container .center_content {
    max-width: 1000px;
    justify-content: center;
}
.section_title-second {
    font-size: 36px;
    font-weight: 800;
    margin: 30px;
    color: #FF2727;
    text-align: center;
    width: 100%;
}
.information_container, .faq_container {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 100px;
}

.faq_container {
    flex-direction: column;
    display: flex;
    align-items: center;
}

.faq_header {
    color: #FF2727;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    background: linear-gradient(180deg, #821B1B 0%, #1C0606 100%);
}

.pathners {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.footer_navigation-text {
    font-size: 18px;
    margin: 15px 0;
    font-weight: 700;
}

.footer_navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
}

.footer_navigation a {
    margin: 0 15px;
    font-size: 14px;
    font-weight: 500;
}

.footer_navigation a:hover {
    text-decoration: underline;
}

.footer_bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer_bottom img {
    margin: 15px 0;
}

.footer_bottom p {
    text-align: center;
    font-size: 12px;
    font-weight: 400;
}
.pathners img {
    margin: 0 15px;
}
.information_container-text {
    display: flex;
    flex-wrap: wrap;
}
.information_block {
    width: 100%;
    margin: 5px;
}

.information_block-title {
    text-transform: uppercase;
}

.information_block-title {
    font-size: 16px;
    font-weight: 600px;
    color: #fff;
    margin: 10px 0;
}

.information_block-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.btn {
    text-transform: uppercase;
    outline: none;
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    cursor: pointer;
    background: none;
    border: 1px solid #8F0000;
    padding: 5px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
}

.age {
    margin: 20px 0;
}

.popup_wrapper {
    top: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000000b5;
    z-index: 999;
    display: none;
}

.popup_content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96%;
    max-width: 450px;
    width: 100%;
    transform: translate(-50%, -50%) scale(1);
    animation: openPopup 0.5s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    display: flex;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px 35px 10px;
    gap: 10px;
}

.popup_content h2 {
    text-align: center;
    font-size: 2em;
}

.popup_content * {
    color: #000;
}

.popup_actions {
    width: 100%;
    gap: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_actions button {
    padding: 10px 15px;
    border: 1px solid #000;
    width: 100px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-weight: 800;
    text-shadow: 1px 1px 1px black;
    font-size: 2em;
}

.popup_actions button:first-child {
    background: rgb(0, 218, 0);
}

.popup_actions button:last-child {
    background: red;
}

.popup_content h1 {
    text-align: center;
}

.opened-popup {
    display: block;
}


.information_block-head {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.information_block, .popup_right-first, .benefit_block {
    display: flex;
    flex-direction: column;
}

.popup_block-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.benefit_block-content {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #123509 0%, rgba(18, 53, 9, 0) 100%);
    padding: 10px;
    border-radius: 10px;
}

.benefit_block .information_block-head{
    margin-bottom: 10px;
}

.benefit_block-content p {
    font-size: 16px;
    font-weight: 700;
}
.popup_left-bottom .action_block .btn {
    background: #fff;
    color: #B40000;
    font-weight: 500px;
    font-size: 24px;
}

.accordion {
    display: flex;
    gap: 10px;
    flex-direction: column;
    max-width: 860px;
    width: 100%;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 15px;
    background: linear-gradient(180deg, #821B1B 0%, #1C0606 100%);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-radius: 15px;
    outline: none;
    border: none;
}

.accordion-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-main);
    width: 90%;
}

.accordion-content__text {
    color: var(--subtext-color);
    font-size: 18px;
    line-height: 21.8px;
    width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accordion-content.open .accordion-content__text {
    opacity: 1;
}

.plus-icon {
    font-size: 18px;
}

.white-btn {
    border: none;
    background: #fff;
    color: #B40000;
    display: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.1s ease-out 0.2s, visibility 0.1s ease-out 0.2s;
    opacity: 0;
    visibility: hidden;
    padding: 0 15px;
}

.accordion-content.open {
    background-color: var(--bg-color-tertiary);
    height: auto;
    padding: 15px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.1s ease-out 0.2s, visibility 0.1s ease-out 0.2s;
}

.accordion-header__icon {
    background-color: #b30000;
    width: 30px;
    height: 30px;
    position: relative;
    border-radius: 50%;
}

.accordion-header__icon::before,
.accordion-header__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    height: 3px;
    width: 15px;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.accordion-header__icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-header.open .accordion-header__icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.done {
    margin-right: 10px;
}

.popup_left-bottom .action_block {
    padding: 10px;
}

.popup_block-right {
    padding: 15px;
    margin-top: 10px;
}

.popup_top-left .card .action_block {
    display: none;
}
.information_block-content {
    background: linear-gradient(180deg, #821B1B 0%, #1C0606 100%);
    padding: 10px;
    border-radius: 10px;
    margin: 5px 0;
}

.information_block-content p {
    text-transform: uppercase;
}

.information_block-content p:first-child {
    font-size: 16px;
    font-weight: 600;
}

.information_block-content p:last-child {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
}


.card_info {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid #FF2929;
    padding: 5px;
    border-radius: 10px;
}
.close {
    position: absolute;
    height: 20px;
    width: 20px;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    outline: none;
}


.opened {
    display: block;
}

.contact-form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.contact-form * {
    color: #000;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form textarea {
    resize: vertical;
    height: 100px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #45a049;
}

.left-text p {
    width: 100%;
}
@media screen and (max-width: 1440px) {
    .top_content-right span {
        font-size: 32px;
    }
}

@media screen and (max-width: 1367px) {
    .top_content-right span {
        font-size: 28px;
    }

    .popup_block {
        flex-direction: column;
        overflow: auto;
        align-items: center;
        flex-wrap: nowrap; 
    }

    .popup_block-right {
        display: flex;
        justify-content: space-between;
        width: 100%;
        max-width: 840px;
    }

    .benefit_block {
        width: 100%;
        max-width: 420px;
        padding: 10px;
        padding-top: 0;
    }
}


@media screen and (max-width: 1164px) {
    .burger_container {
        display: flex;
    }

    .header_right {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .burger_container {
        display: flex;
    }

    .header_right {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .information_container-text {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .popup_block-right {
        flex-direction: column;
        align-items: center;
        justify-self: center;
    }
    .popup_left-top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .popup_top-left .card .action_block {
        display: block;
        margin-bottom: 10px;
    }

    .popup_left-bottom .action_block {
        display: none;
    }

    .popup_top-right {
        width: 100%;
    }

    .white-btn {
        display: block;
    }
}

@media screen and (max-width: 650px) {
    .footer_navigation {
        flex-direction: column;
    }

    .footer_navigation a {
        margin: 5px 0;
    }

    .top_content {
        flex-direction: column;
    }

    .top_content-right {
        width: 100%;
    }

    .top_content-left {
        width: 100%;
        margin-top: 15px;
    }

    .information_block {
        width: auto;
    }

    .popup_top-left .card {
        margin: 0;
    }
}


@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        rotate: 0deg;
    }
    
    100% {
        -webkit-transform: rotate(1420deg);
        rotate: 1420deg;
    }
}

@keyframes openPopup {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.02)
    }
    100% {
        transform: scale(1)
    }
}