* {
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

body {
    background: #111726;
}

.header {
    background: #1C1F28;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 2em;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    font-size: 1.5em;
}

.logo img {
    width: 50px;
}

.max-width {
    max-width: 1280px;
    width: 100%;
}



.nav a, .menu-wrapper a {
    margin: 0 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.nav a:hover {
    color: #dedede;
}

.nav-mobile {
    display: none;
    cursor: pointer;
}

.link-btn {
    background: #BB2C2E;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 800 !important;
    border-radius: 5px;
    text-align: center;
}

.link-btn:hover {
    color: #BB2C2E;
    background: #fff;
    transition: 0.3s;
}
.banner {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #090D16;
    background-image: url("../assets/images/bkg.png");
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    padding: 6em 2em;
    align-items: center;
}

.banner h1 {
    font-weight: 900;
    font-size: 3em;
    font-style: italic;
    text-shadow: 1px 1px 1px black;
}

.banner h3 {
    color: #ADA3FF;
    font-size: 1.5em;
    font-weight: 600;
}

.banner_top {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.banner_top * {
    margin: 0.5em 0;
}

.banner_top .link-btn {
    width: 100%;
    max-width: 400px;
}

.banner_bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5em;
    flex-wrap: wrap;
    gap: 1em;
}

.banner_bottom-item {
    height: 125px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, #15173A 0%, #2D3076 52.88%, #15173A 100%);
    padding: 1em;
    border: 1px solid #1D1F47;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    width: 100%;
    max-width: 415px;
}

.card_logo {
    width: 15%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #8086FF;
    border-radius: 15px;
}

.card_rate {
    width: 15%;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: center;
    padding: 0 10px;
    border-left: 1px solid rgba(211, 211, 211, 0.245);
    border-right: 1px solid rgba(211, 211, 211, 0.245);
}

.card_rate h3 {
    font-weight: 900;
    font-size: 2em;
    color: #ADA3FF;
}

.card_bonus {
    width: 40%;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: center;
    padding: 0 10px;
}

.card_bonus h3 {
    font-weight: 700;
    font-size: 1.8em;
    color: #fff;
    font-style: italic;
}

.card_btn {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column; 
    justify-content: center;
    padding: 0 10px;
}

.card_btn a {
    width: 100%;
    border: 1px solid #fff;
}

.banner_bottom-item--top {
    display: flex;
    align-items: center;
    font-weight: 700;
    margin-bottom: .5em;
}

.banner_bottom-item--text {
    font-weight: 500;
    color: #ADA3FF;
}

.cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1em 2em;
    margin: 2em 0;
}

.card {
    display: flex;
    align-items: center;
    height: 120px;
    width: 100%;
    padding: 1em;
    background: linear-gradient(90deg, #000000 0%, #000000 52.88%, #15173A 100%);
    border-radius: 15px;
    margin: 0.5em 0;
}

.card_logo img {
    width: 100%;
}

.up_info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1em 2em;
}

.up_info-left img {
    width: 100%;
}

.up_info-right h2 {
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1em;
    font-size: 2em;
}

.up_info-right p {
    color: #8086FF;
}

.info-cards {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
    padding: 1em 2em;
}

.info-card {
    width: 100%;
    max-width: 600px;
    border: 1px dashed #fff;
    padding: 1em;
    border-radius: 10px;
    height: 115px;
}

.info-card p:first-child {
    font-weight: 700;
    font-size: 1.2em;
}

.info-card p:last-child {
    font-weight: 500;
    color: #8086FF;
}


.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3em;
    padding: 1em 2em;
}

.faq-item {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 1em;
    width: 100%;
    max-width: 600px;
    height: 180px;
    margin: 5px 0;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-item p:first-child {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 1em;
}

.faq-item p:last-child {
    font-weight: 500;
    color: #8086FF;
}


.menu-wrapper {
    position: absolute;
    width: 100%;
    background: #fff;
    top: 0;
    padding: 10px;
    display: none;
    border-top: 1px solid grey;
}

.menu-wrapper a {
    margin: 10 0;
    color: #000;
}

.opened {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: menu-open 0.5s forwards;
}

.menu-wrapper a {
    margin: 5px 0;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.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 * {
    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;
}

.close {
    position: absolute;
    height: 20px;
    width: 20px;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    outline: none;
}

.close img {
    width: 100%;
    height: 100%;
}

.footer_links {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.footer {
    background: #090D16;
    display: flex;
    padding: 2em;
    flex-direction: column;
    align-items: center;
}

.footer_links-first {
    display: flex;
    flex-direction: column;
    gap: 1em;
    
}

.footer-header {
    text-transform: uppercase;
    font-weight: 700;
    color: #BB2C2E;
    border-bottom: 1px solid #fff;
    
}

.footer_brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2em;
    gap: 1.5em;
}

.footer_brands-item {
    border: 1px solid #fff;
    padding: 1em;
    width: 200px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
}

.footer_brands-item img {
    width: 100%;
}

.footer_logo {
    align-items: flex-start;
}

.footer_brands-item h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.add_info {
    width: 100%;
    max-width: 900px;
    padding: 1em;
    background: #090D16;
    margin: 2em 0;
}

.add_info p {
    margin: 1em 0;
}

.add_info-header {
    margin: 1em 0;
}

.disclaimer {
    width: 100%;
    padding: 1em 2em;
    max-width: 900px;
    text-align: center;
    border-radius: 15px;
    margin: 1em 0;
    background: linear-gradient(90deg, #15173A 0%, #2D3076 52.88%, #15173A 100%);
}

@keyframes menu-open {
    from {
        top: -100%;
    }

    to {
        top: 60px;
    }
}

@media (max-width: 765px) {
    .nav {
        display: none;
    }

    .nav-mobile {
        display: block;
    }

    .banner {
        background-image: none;
    }

    .card {
        flex-direction: column;
        height: 400px;
    }

    .card_logo {
        width: 60%;
        border-bottom: 1px solid rgba(211, 211, 211, 0.245);
    }
    .card_rate {
        width: 100%;
        border: none;
        margin: 1em 0;
    }
     .card_bonus, .card_btn {
        width: 100%;
    }

    .up_info {
        flex-direction: column;
    }

    .up_info-left, .up_info-right {
        width: 100%;
    }

    .info-card {
        height: auto;
    }

    .footer_brands {
        flex-direction: column;
        
    }

    .footer_links {
        flex-direction: column;
        width: max-content;
    }
    
}


.subheader{
    text-align: center;
    padding: 10px 0;
    p{
        color: red;
    }
}