/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Oxanium;
    src: url('/assets../quPfin-fonts/quPfin-oxanium.woff2') format('woff2');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url('/assets../quPfin-fonts/quPfin-inter.woff2') format('woff2');
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Oxanium;
    font-size: 16px;
    color: #fff;
    background-color: #0F1318;
    flex-direction: column;
    min-height: 100vh;
}

main {
    padding: 10px 16px 0px 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.visually-hidden_quPfin {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}

.container_quPfin {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.text-center_quPfin {
    text-align: center;
}

/* --- BUTTONS --- */
.btn_quPfin {
    display: inline-block;
    padding: 12px 48px;
    border-radius: 10px;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.btn--green_quPfin {
    background-color: #FFE9F6;
    border: 1px solid #C558E3;
    border-radius: 16px;
    color: #000000;
}

.btn--contact_quPfin {
    width: 100%;
    background-color: #2ED6C8;
    border: none;
    border-radius: 16px;
    color: #FFFFFF;
}

.btn--green_quPfin:hover {
    background-color: #367031;
}

.btn--orange_quPfin {
    background-color: #2ED6C8;
    color: #000000;
}

.btn--orange_quPfin:hover {
    background-color: greenyellow;
}

.btn--outline_quPfin {
    background-color: transparent;
    border: 2px solid #2ED6C8;
    background: #262C36;
    color: #fff;
}

.btn--outline_quPfin:hover {
    background-color: #2ED6C8;
    color: #000;
}

.btn--small_quPfin {
    padding: 10px 49px;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: uppercase;
}

/* --- HEADER --- */
.header_quPfin {
    padding: 14px 20px;
    position: relative;
    z-index: 100;
    background: #262C3680;
    color: #FFFAF5;
    max-width: 1280px;
    margin: 0 auto;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

.header__inner_quPfin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header__logo_quPfin {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Inter;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    letter-spacing: -1%;
}

.header__logo-img_quPfin {
    width: 40px;
    height: 40px;
    border-radius: 110px;
}

.nav_quPfin {
    display: flex;
}

.nav__list_quPfin {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav__link_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    padding: 10px 0px;
    color: #FFFFFF;
}

.burger_quPfin {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger_quPfin span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s;
}

/* Mobile Menu */
@media (max-width: 1090px) {
    .join-sec {
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .burger_quPfin {
        display: flex;
    }

    .nav_quPfin {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav_quPfin.active_quPfin {
        transform: translateY(0);
    }

    .nav__list_quPfin {
        flex-direction: column;
        gap: 5px;
        width: 100%;
        text-align: center;
    }
}

/* --- HERO SECTION --- */
.hero_quPfin {
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    background-image:
        linear-gradient(#0000004D, #0000004D),
        url('/assets../quPfin-img/quPfin-hero.webp');
    background-repeat: no-repeat;
    background-position: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    min-height: 400px;
    background-size: cover;
}

.result_quPfin {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 24px;
    overflow: hidden;
    background-image: url('/assets../quPfin-img/quPfin-res.webp');
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 32px;
    min-height: 422px;
    background-size: cover;
}

.about_quPfin {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 24px;
    overflow: hidden;
    background-image: url('/assets../quPfin-img/quPfin-about.webp');
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 32px;
    min-height: 422px;
    background-size: cover;
    margin-bottom: 96px;
}

.formscont_quPfin {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 32px;
    margin-bottom: 80px;
    padding: 0px 10px;
}

.gamescont_quPfin {
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 32px;
    background-color: #FFE9F6;
    padding: 0px 10px;
}

.hero__container_quPfin {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 400px;
    color: #FFFFFF;
    padding: 0px 10px;
}

.result__container_quPfin {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 360px;
    color: #FFFFFF;
    padding: 0px 10px;
}

.forms__container_quPfin {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 200px;
    color: #FFFFFF;
    padding: 0px 10px;
    background: #262C36;
}

.hero__content_quPfin {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero__title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 80px;
    line-height: 100%;
    text-align: center;
}

.formscont__title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 80px;
    line-height: 100%;
    text-align: center;
}

.hero__text_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
}

.hero-btn {
    width: 350px;
}

.hero__btns_quPfin {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 16px;
}

.hero__img_quPfin {
    flex: 1;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero__container_quPfin {
        flex-direction: column-reverse;
        text-align: center;
        min-height: 301px;
    }

    .hero__btns_quPfin {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__title_quPfin {
        font-size: 36px;
    }

    .hero__text_quPfin {
        font-size: 14px;
    }

    .formscont__title_quPfin {
        font-size: 36px;
    }
}

/* --- CARDS SECTION (Popular Draws) --- */
.cards-section_quPfin {
    padding: 80px 0;
}

.section-title_quPfin {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    padding-bottom: 24px;
    text-shadow: 0px 4px 4px #4B7FFFCC;
    text-align: center;
}

.cards-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card_quPfin {
    background: #262C36;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 2px solid #5E6E84;
    transition: border 0.3s ease;
}

.card_quPfin:hover {
    border-color: #4B7FFF;
}

.card__logo_quPfin {
    height: 150px;
    object-fit: contain;
}

.card__title_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    color: #8DB3FF;
}

.descr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.card__desc_quPfin {
    font-family: Inter;
    font-weight: 500;
    font-size: 15px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFFCC;
}

@media (max-width: 900px) {
    .cards-grid_quPfin {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid_quPfin {
        grid-template-columns: 1fr;
    }
}

/* --- GUIDE SECTION --- */
.guide_quPfin {
    background-color: #FFF9F0;
}

.guide__wrapper_quPfin {
    display: flex;
    gap: 24px;
    align-items: center;
}

.guide__steps_quPfin {
    width: 100%;
    max-width: 737px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step_quPfin {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #FCE7CE;
    border: 2px solid #F6821D;
    border-radius: 16px;
    padding: 12px;
}

.step__num_quPfin {
    font-family: Oxanium;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.step__title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: #000000;
}

.step_quPfin p {
    font-family: Oxanium;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #000000;
}

@media (max-width: 850px) {
    .guide__wrapper_quPfin {
        flex-direction: column;
    }
}

/* --- FEATURES SECTION --- */
.features_quPfin {
    padding: 96px 0;
}

.features__grid_quPfin {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature_quPfin {
    background: transparent;
    border: 1px solid #46953D;
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    align-items: center;
}

.feature__icon_quPfin {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
}

.feature__title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    margin-bottom: 8px;
}

.feature_quPfin p {
    font-family: Oxanium;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

@media (max-width: 768px) {
    .features__grid_quPfin {
        grid-template-columns: 1fr;
    }
}

/* --- RESPONSIBLE PLAY --- */
.responsible_quPfin {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 32px;
    background-color: transparent;
    border: 1px solid #C558E3;
    padding: 24px;
    text-align: center;
    margin-bottom: 96px;
}

.section-title-resp_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-style: Bold;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
}

.responsible__content_quPfin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.responsible__content_quPfin p {
    margin-top: 0px !important;
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    line-height: 120% !important;
    text-align: center !important;
}

.highlight_quPfin {
    color: #F39C12;
    font-weight: 700;
}

/* --- FOOTER --- */
.footer_quPfin {
    background-color: #000000;
    color: #FFFFFF;
    padding: 60px 10px 0;
    font-family: Inter;
}

.footer-top_quPfin {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 20px;
    padding: 0 20px;
}

.footer-col_quPfin {
    width: 100%;
    max-width: 414px;
}

.footer-logo-img_quPfin {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
}

.footer-text_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFFCC;
    max-width: 250px;
}

.footer-heading_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    color: #8DB3FF;
    /* Голубой цвет заголовков */
    margin-bottom: 16px;
}

.footer-links_quPfin {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links_quPfin li {
    margin-bottom: 10px;
}

.footer-links_quPfin a {
    font-size: 14px;
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links_quPfin a:hover {
    color: #FFFFFF;
}

/* Regulatory Box */
.regulatory-box_quPfin {
    background-color: #1F2329;
    /* Темно-серый фон */
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
    /* Убираем border-radius, если на макете острые углы, или добавляем */
}

.reg-title_quPfin {
    font-family: Inter;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.reg-text_quPfin {
    font-size: 13px;
    line-height: 1.6;
    color: #CCCCCC;
    margin-bottom: 10px;
}

.reg-text_quPfin:last-child {
    margin-bottom: 0;
}

/* Play Safe Section */
.playsafe-section_quPfin {
    text-align: center;
}

.playsafe-title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.playsafe-desc_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #FEFEFE;
    padding-bottom: 24px;
}

.playsafe-links_quPfin {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.playsafe-links_quPfin a {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 16px;
    color: #8DB3FF;
    text-decoration: none;
}

.disclaimer-text_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: #FFFFFFCC;
    padding-bottom: 24px;
}

.footer-logos_quPfin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-logos_quPfin img {
    opacity: 0.9;
}

.copyright_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    padding-top: 24px;
    padding-bottom: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top_quPfin {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .col-logo_quPfin {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-img_quPfin {
        margin: 0 auto 16px auto;
    }

    .playsafe-links_quPfin {
        flex-direction: column;
        gap: 12px;
    }
}


/* About Page Styles */
.about-section_quPfin {
    padding: 0px 0px 96px 0px;
    text-align: center;
}

.about-title_quPfin {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 48px;
    color: #111;
}

.about-section_quPfin h1 {
    padding-top: 48px;
}

.about-text_quPfin {
    font-family: Oxanium;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #000;
}

/* Cards Grid */
.about-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.about-card_quPfin {
    background-color: #fff;
    border: 3px solid #163300;
    /* Зеленый цвет рамки */
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.about-card-img_quPfin {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.about-card-title_quPfin {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.about-card-desc_quPfin {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

/* Adaptive Media Queries */
@media (max-width: 992px) {
    .about-grid_quPfin {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .about-grid_quPfin {
        grid-template-columns: 1fr;
    }

    .about-title_quPfin {
        font-size: 32px;
    }

    .about-text_quPfin {
        font-size: 16px;
    }
}

/* --- GAME PAGE --- */
.game-tabs_quPfin {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.game-tab_quPfin {
    border: 1px solid #2ED6C8;
    background: transparent;
    color: #fff;
    border-radius: 20px;
    padding: 11px 32px;
    cursor: pointer;
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    transition: all 0.3s;
}

.game-tab_quPfin.active_quPfin {
    background-color: #2ED6C8;
    color: #000;
}

.game-container_quPfin {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.game-board_quPfin {
    width: 100%;
    flex: 2;
    background: transparent;
    border: 1px solid #5E6E84;
    border-radius: 20px;
    padding: 24px;
}

.numbers-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 11px;
    margin: 16px 0;
}

.num-btn_quPfin {
    aspect-ratio: 1;
    border-radius: 300px;
    background: #8DB3FF0D;
    border: 1px solid #8DB3FF;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    color: #fff;
}

.num-btn_quPfin:hover,
.num-btn_quPfin.active_quPfin {
    background-color: #8DB3FF;
    color: #000;
}

.game-actions_quPfin {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.game-sidebar_quPfin {
    flex: 1;
    background: #262C36;
    border: 1px solid #5E6E84;
    border-radius: 12px;
    padding: 20px;
}

.sidebar-row_quPfin {
    margin-bottom: 15px;
}

.sidebar-row_quPfin label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-select_quPfin,
.form-input_quPfin {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.summary-total_quPfin {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: #2ED6C8;
    font-size: 18px;
    margin: 20px 0;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.disclaimer_quPfin {
    font-size: 11px;
    color: #777;
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 800px) {
    .game-container_quPfin {
        flex-direction: column;
    }

    .game-sidebar_quPfin {
        width: 100%;
    }

    .numbers-grid_quPfin {
        grid-template-columns: repeat(7, 1fr);
    }

    .section-titleGame_quPfin {
        font-size: 24px !important;
    }

    .game-tabs_quPfin {
        gap: 8px;
        padding-top: 32px;
    }
}

@media (max-width: 600px) {
    .game-board_quPfin {
        padding: 16px 10px 32px 10px;
    }

    .numbers-grid_quPfin {
        gap: 16px 3px;
        margin: 16px 0;
    }

    .btn_quPfin {
        display: inline-block;
        padding: 12px 20px;
        font-size: 14px;
    }

    .card_quPfin {
        padding: 16px;
    }

    .card__title_quPfin {
        font-size: 16px;
    }

    .card__desc_quPfin {
        font-size: 14px;
    }

    .game-tab_quPfin {
        font-size: 14px;
        padding: 11px 20px;
    }

    .header__logo-img_quPfin {
        width: 30px;
        height: 30px;
    }

    .header_quPfin {
        padding: 10px 10px;
    }

    .header__logo_quPfin {
        font-size: 14px;
    }

    .forms__container_quPfin {
        height: 96px;
    }
}

/* --- FORMS (Login, Signup, Contact) --- */
.form-page_quPfin {
    display: flex;
    justify-content: center;
    padding: 0px 20px 96px 20px;
}

.section-titlecontact_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: #000000;
    padding-bottom: 10px;
}

.section-titlelog_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    text-align: center;
    color: #000000;
    padding-bottom: 32px;
}

.auth-card_quPfin {
    background: #000;
    border: none;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 628px;
    text-align: center;
}

.contact-layout_quPfin {
    display: flex;
    align-items: center;
    gap: 96px;
    max-width: 1197px;
    margin: 0 auto;
}

.section-titleGame_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
}

.contact-form-wrap_quPfin {
    border: 1px solid #C558E3;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    width: 628px;
}

.form-group_quPfin {
    position: relative;
    text-align: left;
}

.form-control_quPfin {
    width: 100%;
    padding: 14px;
    border: 1px solid #C558E3;
    border-radius: 10px;
    font-size: 16px;
    color: #00000099;
    font-family: Inter;
}

.password-toggle_quPfin {
    position: absolute;
    right: 15px;
    top: 35%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    opacity: 0.5;
}

.form-check_quPfin {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    text-align: left;
}

.form-msg_quPfin {
    margin-top: 15px;
    color: #448c3e;
    font-weight: 700;
}

@media (max-width: 768px) {
    .contact-layout_quPfin {
        flex-direction: column;
    }

    .contact-img_quPfin {
        display: none;
    }
}

/* --- POPUPS --- */
.popup_quPfin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.popup_quPfin.hidden_quPfin {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.popup-content_quPfin {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    border: 2px solid #448c3e;
    text-align: center;
}

.cookie-option_quPfin {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    text-align: left;
}

.cookie-btns_quPfin {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

@media(max-width: 768px) {
    .section-title_quPfin {
        font-size: 24px;
    }

    .cards-section_quPfin {
        padding: 48px 0;
    }

    .features_quPfin {
        padding: 48px 0;
    }

    .footer__links_quPfin {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__logos_quPfin {
        gap: 30px;
    }

    .footer__nav_quPfin {
        flex-direction: column;
    }

    .section-title-resp_quPfin {
        font-size: 24px;
    }

    .contact-form-wrap_quPfin {
        width: auto;
    }
}

/* --- POLICY PAGES STYLES (Terms, Privacy, Cookies, Responsible) --- */
.policy-page_quPfin {
    padding: 0px 10px;
    color: #fff;
}

.policy-content_quPfin {
    max-width: 1280px;
    margin: 0 auto;
}

.policy-title_quPfin {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.policy-date_quPfin {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.policy-subtitle_quPfin {
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-text_quPfin {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.policy-list_quPfin {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-list_quPfin li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.policy-link_quPfin {
    color: #F39C12;
    text-decoration: underline;
    font-weight: 700;
}

.policy-link_quPfin:hover {
    text-decoration: none;
}

@media (max-width: 600px) {
    .policy-title_quPfin {
        font-size: 28px;
    }
}


/* --- SHARED STYLES FOR NEW SECTIONS --- */
.section-header_quPfin {
    text-align: center;
    margin-bottom: 24px;
}

.section-subtitle_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFFCC;
}

.card-title-sm_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.card-text_quPfin {
    font-family: Inter;
    font-size: 16px;
    line-height: 1.5;
    color: #1B1B1B;
}

.card-icon_quPfin img {
    width: 40px;
    height: 40px;
}

/* --- RESULTS SECTION --- */

.section-titleres_quPfin {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    padding-bottom: 16px;
    text-shadow: 0px 4px 4px #4B7FFFCC;
}

.results-table_quPfin {
    width: 100%;
    border-collapse: collapse;
}

.results-header_quPfin {
    display: grid;
    grid-template-columns: 3fr 3fr 5fr;
    background-color: #5E6E84;
    padding: 16px;
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
}

.results-row_quPfin {
    display: grid;
    grid-template-columns: 3fr 3fr 5fr;
    padding: 16px;
    background: #262C36;
    border: 2px solid #262C36;
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    align-items: center;
    color: #8DB3FF;
}

.col-nums_quPfin {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lotto-ball_quPfin {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 48px;
    background-color: #8DB3FF;
    color: #262C36;
    border-radius: 300px;
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
}

.link-check_quPfin {
    color: #C558E3;
    text-decoration: underline;
    font-family: Oxanium;
    font-weight: 700;
}

/* Mobile Table */
@media (max-width: 900px) {
    .results-header_quPfin {
        display: none;
    }

    .results-row_quPfin {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .col-name_quPfin {
        font-weight: 700;
        font-size: 20px;
        color: #C558E3;
    }
}

/* --- INSIGHTS SECTION --- */
.insights-section_quPfin {
    padding: 96px 0;
}

.insights-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.insight-card_quPfin {
    background: #FFFFFF;
    border: 1px solid #C558E3;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* --- WHY US SECTION --- */
.why-us-section_quPfin {
    padding: 0px 0px 96px 0px;
}

.why-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card_quPfin {
    background: #FFE9F6;
    box-shadow: 0px 4px 10px 0px #C558E333;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Responsive Grid for Insights and Why Us */
@media (max-width: 900px) {

    .insights-grid_quPfin,
    .why-grid_quPfin {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .insights-grid_quPfin,
    .why-grid_quPfin {
        grid-template-columns: 1fr;
    }
}

/* --- UPDATED AGE POPUP STYLES --- */
.popup_quPfin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.9);
    /* Темный фон как на картинке */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.popup_quPfin.hidden_quPfin {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.popup-age-style_quPfin {
    background: #0F1318;
    padding: 50px 107px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    border: none;
    /* Убираем зеленую рамку из старых стилей */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.popup-title_quPfin {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 24px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px #4B7FFFCC;
}

.popup-text_quPfin {
    font-family: Inter;
    font-size: 18px;
    line-height: 1.5;
    color: #1B1B1B;
    margin-bottom: 32px;
}

.btn--purple-pop_quPfin {
    background-color: #2ED6C8;
    /* Фиолетовый цвет с сайта */
    color: #000000;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    border-radius: 10px;
    /* Сильное скругление как на картинке */
    padding: 12px 20px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn--purple-pop_quPfin:hover {
    background-color: greenyellow;
}

/* --- INCLUDED INFORMATION SECTION --- */
.info-section_quPfin {
    padding: 96px 0;
}

.info-list_quPfin {
    margin: 0 auto;
    list-style-type: disc;
    /* Стандартные буллеты */
    padding-left: 20px;
}

.info-list_quPfin li {
    font-family: Inter;
    font-size: 20px;
    line-height: 1.8;
    color: #1B1B1B;
    margin-bottom: 12px;
}

/* --- VERIFY OFFICIALLY SECTION --- */
.verify-section_quPfin {
    padding: 96px 0;
}

.verify-grid_quPfin {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.verify-card_quPfin {
    background: #FFE9F6;
    /* Розовый фон */
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(25% - 24px);
    /* 4 колонки по умолчанию */
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(197, 88, 227, 0.1);
}

.verify-region_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    margin-bottom: 8px;
}

.verify-desc_quPfin {
    font-family: Inter;
    font-size: 16px;
    color: #1B1B1B;
    margin-bottom: 24px;
    flex-grow: 1;
    /* Чтобы кнопки были на одном уровне */
}

/* Кнопка верификации (фиолетовая) */
.btn--purple-verify_quPfin {
    background-color: #C558E3;
    color: #fff;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 16px;
    text-transform: lowercase;
    /* Ссылка маленькими буквами или как в тексте */
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    width: 100%;
    max-width: 200px;
    text-decoration: underline;
    /* Подчеркивание как на макете */
    transition: background-color 0.3s;
}

.btn--purple-verify_quPfin:hover {
    background-color: #a63cc2;
    text-decoration: none;
}

/* Адаптивность для сетки карточек */
@media (max-width: 1100px) {
    .verify-card_quPfin {
        width: calc(50% - 24px);
        /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .verify-card_quPfin {
        width: 100%;
        /* 1 колонка на мобильных */
    }

    .info-list_quPfin li {
        font-size: 18px;
    }

    .popup-age-style_quPfin {
        background: #0F1318;
        padding: 50px 10px;
        border-radius: 12px;
        max-width: 600px;
        width: 90%;
    }

    .popup-title_quPfin {
        font-family: Oxanium;
        font-weight: 600;
        font-size: 26px;
    }
}

/* --- ABOUT PAGE CONTENT STYLES --- */

.aboutt_quPfin {
    /* Используем тот же фон, что и на других страницах для Hero, или просто цвет */
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 24px;
    overflow: hidden;
    background-image: url('/assets../quPfin-img/quPfin-hero.webp');
    /* Или другое изображение если есть */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 32px;
    min-height: 400px;
    /* Чуть меньше чем главный Hero */
    background-size: cover;
    margin-bottom: 60px;
}

.about-text-section_quPfin {
    padding: 0 0 96px 0;
}

.about-block_quPfin {
    margin-bottom: 96px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.about-block_quPfin:last-child {
    margin-bottom: 0;
}

.about-title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 48px;
    color: #000;
    margin-bottom: 32px;
}

.about-desc_quPfin {
    font-family: Inter;
    font-size: 24px;
    line-height: 1.5;
    color: #1B1B1B;
}

.text-purple_quPfin {
    color: #C558E3;
    font-weight: 700;
}

.about-list_quPfin {
    display: inline-block;
    /* Чтобы список был по центру, но текст внутри выровнен слева (или по центру буллетов) */
    text-align: left;
    padding-left: 20px;
}

.about-list_quPfin li {
    font-family: Inter;
    font-size: 24px;
    line-height: 1.6;
    color: #1B1B1B;
    list-style-type: disc;
    margin-bottom: 12px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .aboutt_quPfin {
        min-height: 300px;
        background-image: none;
        /* Убираем картинку на мобильных если нужно, как в других секциях */
    }

    .about-title_quPfin {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .about-desc_quPfin {
        font-size: 18px;
    }

    .about-list_quPfin li {
        font-size: 18px;
    }

    .about-block_quPfin {
        margin-bottom: 48px;
    }
}

/* --- COOKIE BAR (BOTTOM) --- */
.cookie-bar_quPfin {
    position: fixed;
    bottom: 20px;
    /* Отступ снизу */
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background-color: #262C36;
    /* Темный фон */
    border-radius: 12px;
    padding: 20px 30px;
    z-index: 9998;
    /* Чуть ниже, чем age popup (9999) */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #4B7FFF;
    /* Синяя обводка для стиля */

    /* Скрыто по умолчанию */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.cookie-bar_quPfin.visible_quPfin {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
    /* Анимация выезда */
}

.cookie-content_quPfin {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    text-shadow: 0 0 10px #4B7FFF;
    /* Неоновое свечение заголовка */
    margin: 0;
}

.cookie-text_quPfin {
    font-family: Inter;
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

.cookie-actions_quPfin {
    display: flex;
    gap: 15px;
}

/* Кнопка Reject (темная с рамкой) */
.btn--outline-dark_quPfin {
    background-color: #1F2329;
    border: 1px solid #5E6E84;
    color: #fff;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn--outline-dark_quPfin:hover {
    border-color: #fff;
}

/* Кнопка Accept (яркая) */
.btn--green_quPfin {
    background-color: #2ED6C8;
    /* Бирюзовый цвет */
    color: #000;
    border: none;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn--green_quPfin:hover {
    background-color: #fff;
}

/* Адаптив для мобильных */
@media (max-width: 900px) {
    .cookie-bar_quPfin {
        flex-direction: column;
        text-align: center;
        width: 90%;
        padding: 20px;
    }

    .cookie-actions_quPfin {
        width: 100%;
        flex-direction: column;
    }

    .btn_quPfin {
        width: 100%;
    }
}

/* --- HOW TO JOIN SECTION --- */
.howto-section_quPfin {
    padding: 0 0 80px 0;
    position: relative;
}

.howto-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.about-sec {
    padding-top: 80px;
}

.howto-flex-about-title_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #8DB3FF;
    padding-bottom: 8px;
}

.howto-flex-about_quPfin p {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFFCC;
    padding-bottom: 24px;
}

.about-list-join-sec {
    list-style: disc;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFFCC;
    padding-bottom: 24px;
    padding-left: 20px;
}

.join-sec {
    display: flex;
    gap: 20px;
}

.join-sec img {
    object-fit: cover;
}

.howto-card_quPfin {
    background: #262C36;
    border-top: 6px solid #6CE8FF;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.howto-card_quPfin:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(75, 127, 255, 0.2);
    border-color: #2ED6C8;
}

.step-num_quPfin {
    width: 54px;
    height: 54px;
    border-radius: 30px;
    border: 1px solid #8DB3FF;
    /* Бирюзовая обводка */
    color: #FFFFFF;
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-title_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #8DB3FF;
    padding-bottom: 8px;
}

.step-desc_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFFCC;
}

/* --- ABOUT HOME SECTION --- */
.about-home_quPfin {
    padding: 80px 0;
}

.about-home-content_quPfin {
    text-align: center;
}

.about-subtitle_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #8DB3FF;
    /* Бирюзовый акцент */
    margin-bottom: 8px;
}

.about-subtitle_quPfin:first-child {
    margin-top: 0;
}

.about-text_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #FFFFFFCC;
    padding-bottom: 16px;
}

.about-list_quPfin {
    list-style: none;
    padding: 0;
    display: inline-block;
    padding-bottom: 16px;
    /* Чтобы выровнять список по центру блока, но текст внутри слева */
}

.about-list_quPfin li {
    font-family: Inter;
    font-size: 16px;
    line-height: 1.6;
    color: #CCCCCC;
    position: relative;
    margin-bottom: 0px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .howto-grid_quPfin {
        grid-template-columns: 1fr;
        /* 1 колонка на планшетах и мобильных */
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-text_quPfin,
    .about-list_quPfin li {
        font-size: 15px;
    }
}

/* FAQ Section */

.section-title_quPfin {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    color: #FFFFFF;
}

/* FAQ List */
.faq-list_quPfin {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* FAQ Item */
.faq-item_quPfin {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 8px;
    border: 2px solid #5E6E84;
    box-shadow: 0px 4px 4px 0px #FFFFFF33 inset;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.faq-item_quPfin:hover {
    border-color: #4B7FFF;
    box-shadow: 0 0 24px rgba(75, 127, 255, 0.35);
    transform: translateY(-2px);
}

/* Number */
.faq-number_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF66;
    padding-right: 20px;
}

/* Content */
.faq-content_quPfin {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Question */
.faq-question_quPfin {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
    margin: 0;
}

/* Answer */
.faq-answer_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFFCC;
    margin: 0;
    max-width: 888px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-item_quPfin {
        flex-direction: column;
        gap: 12px;
    }

    .faq-number_quPfin {
        font-size: 16px;
    }

    .section-title_quPfin {
        font-size: 26px;
    }
}

/* Stories Section */
.stories_quPfin {
    padding: 80px 0;
}

/* Title */
.stories-title_quPfin {
    font-family: Oxanium;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    padding-bottom: 24px;
    text-shadow: 0px 4px 4px #4B7FFFCC;
}

/* List */
.stories-list_quPfin {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card */
.story-card_quPfin {
    background: #262C36;
    border: 1px solid #5E6E84;
    border-radius: 15px;
    padding: 24px 20px;
    text-align: center;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.story-card_quPfin:hover {
    border-color: #4B7FFF;
    box-shadow: 0 0 28px rgba(75, 127, 255, 0.35);
    transform: translateY(-4px);
}

/* Amount */
.story-amount_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    text-transform: uppercase;
    color: #8DB3FF;
    padding-bottom: 10px;
}

/* Text */
.story-text_quPfin {
    font-family: Inter;
    font-weight: 400;
    font-size: 15px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFFCC;
}

/* Responsive */
@media (max-width: 992px) {
    .stories-list_quPfin {
        grid-template-columns: 1fr;
    }

    .stories-title_quPfin {
        font-size: 24px;
    }

    .story-amount_quPfin {
        font-size: 22px;
    }
}

/* --- CONTACT SECTION --- */
.contact-section_quPfin {
    padding: 0px 10px 80px 10px;
}


.contact-grid_quPfin {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Форма */
.contact-form-wrapper_quPfin {
    flex: 1;
    max-width: 630px;
}

.form-control_quPfin {
    width: 100%;
    background-color: #262C36;
    border: 1px solid #5E6E84;
    border-radius: 8px;
    padding: 14px 18px;
    color: #FFFFFF;
    font-family: Inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control_quPfin:focus {
    border-color: #2ED6C8;
    /* Бирюзовая подсветка */
}

.textarea_quPfin {
    min-height: 120px;
    resize: vertical;
}

/* Чекбокс */
.form-check_quPfin {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #CCCCCC;
    font-family: Inter;
    font-size: 14px;
}

.form-check_quPfin input[type="checkbox"] {
    accent-color: #2ED6C8;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Кнопка отправки */
.btn--green-contact_quPfin {
    background-color: #2ED6C8;
    /* Бирюзовая кнопка */
    color: #000000;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: opacity 0.3s;
    text-transform: uppercase;
    width: 100%;
}

.btn--green-contact_quPfin:hover {
    opacity: 0.9;
}

/* Сообщение об успехе */
.form-msg_quPfin {
    margin-top: 16px;
    color: #2ED6C8;
    font-family: Oxanium;
    font-weight: 600;
    text-align: center;
    display: none;
    /* Скрыто по умолчанию */
}

.form-msg_quPfin.visible {
    display: block;
    /* Показываем JS-ом */
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Правая колонка (Инфо) */
.contact-info_quPfin {
    flex: 0 0 400px;
    /* Фиксированная ширина */
}

.contact-title_quPfin {
    font-family: Inter;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #8DB3FF;
    /* Голубой заголовок */
    margin-bottom: 16px;
}

.contact-list_quPfin {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list_quPfin li {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFFCC;
}

.contact-list_quPfin li img {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    /* Выравнивание иконки */
}

.contact-list_quPfin a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list_quPfin a:hover {
    color: #2ED6C8;
}

/* Адаптив */
@media (max-width: 900px) {
    .contact-grid_quPfin {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .contact-form-wrapper_quPfin,
    .contact-info_quPfin {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    .contact-title_quPfin {
        text-align: center;
        /* Центрируем заголовок на мобильных */
    }
}

/* --- CONTACT SECTION --- */
.contact-section_quPfin {
    padding-bottom: 80px;
    /* Убрал специфичный padding, сделал стандартный */
}

.contact-grid_quPfin {
    display: flex;
    justify-content: center;
    /* Центрируем контент */
    align-items: flex-start;
    gap: 60px;
    /* Отступ между формой и текстом */
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 10px;
}

/* Форма */
.contact-form-wrapper_quPfin {
    flex: 1;
    /* Занимает доступное место */
    max-width: 600px;
    /* Ограничиваем ширину формы */
}

.form-control_quPfin {
    width: 100%;
    background-color: #262C36;
    /* Темный фон инпутов */
    border: 1px solid #3A4B5C;
    /* Темно-серая рамка */
    border-radius: 8px;
    padding: 14px 18px;
    color: #CCCCCC;
    /* Цвет текста внутри */
    font-family: Inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 20px;
}

.form-control_quPfin:focus {
    border-color: #2ED6C8;
    /* Бирюзовая подсветка при фокусе */
}

.form-control_quPfin::placeholder {
    color: #7A8699;
    /* Цвет плейсхолдера */
}

.textarea_quPfin {
    min-height: 140px;
    /* Высота текстового поля как на макете */
    resize: vertical;
}

/* Чекбокс */
.form-check_quPfin {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #CCCCCC;
    font-family: Inter;
    font-size: 14px;
}

.form-check_quPfin input[type="checkbox"] {
    accent-color: #2ED6C8;
    /* Цвет галочки */
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Кнопка отправки */
.btn--green-contact_quPfin {
    background-color: #2ED6C8;
    /* Бирюзовая кнопка */
    color: #000000;
    font-family: Oxanium;
    font-weight: 700;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: opacity 0.3s;
    text-transform: uppercase;
    width: 100%;
}

.btn--green-contact_quPfin:hover {
    opacity: 0.9;
}

/* Сообщение об успехе */
.form-msg_quPfin {
    margin-top: 16px;
    color: #2ED6C8;
    font-family: Oxanium;
    font-weight: 600;
    text-align: center;
    display: none;
    /* Скрыто по умолчанию */
}

.form-msg_quPfin.visible {
    display: block;
    /* Показываем JS-ом */
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Правая колонка (Инфо) */
.contact-info_quPfin {
    flex: 0 0 400px;
    /* Фиксированная ширина правой колонки */
    padding-top: 10px;
    /* Немного опустить текст, чтобы выровнять с полями */
}

.contact-title_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 24px;
    /* Размер заголовка */
    color: #8DB3FF;
    /* Голубой заголовок как на макете */
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: left;
}

.contact-list_quPfin {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list_quPfin li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: #E0E0E0;
    font-family: Inter;
    font-size: 16px;
    line-height: 1.5;
}

.contact-list_quPfin li img {
    width: 24px;
    height: 24px;
    margin-top: 2px;
    /* Выравнивание иконки по первой строке */
    flex-shrink: 0;
}

.contact-list_quPfin a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list_quPfin a:hover {
    color: #2ED6C8;
}

/* Адаптив */
@media (max-width: 900px) {
    .contact-grid_quPfin {
        flex-direction: column;
        /* На мобильном одна под другой */
        align-items: center;
        gap: 50px;
    }

    .contact-form-wrapper_quPfin,
    .contact-info_quPfin {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    .contact-title_quPfin {
        text-align: center;
        /* Центрируем заголовок на мобильных */
    }
}

/* --- LOGIN POPUP --- */
#loginPopup {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    /* Выше всего */
}

#loginPopup.visible_quPfin {
    opacity: 1;
    visibility: visible;
}

.popup-auth-style_quPfin {
    background: #0F1318;
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid #C558E3;
    /* Фиолетовая рамка как у кнопок */
}

.close-popup_quPfin {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.close-popup_quPfin:hover {
    color: #2ED6C8;
}

.section-titlelog_quPfin {
    font-family: Oxanium;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    color: #fff;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* --- AUTH POPUPS (LOGIN & SIGNUP) --- */
#loginPopup,
#signupPopup {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}

#loginPopup.visible_quPfin,
#signupPopup.visible_quPfin {
    opacity: 1;
    visibility: visible;
}

/* Остальные стили popup-auth-style_quPfin уже есть из предыдущего шага */
/* Update these specific classes in your CSS */

.numbers-grid_quPfin {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 12px;
    margin: 24px 0;
}

/* Specific styling for the number buttons */
.num-btn_quPfin {
    aspect-ratio: 1;
    border-radius: 50%;
    background: #262C36;
    border: 2px solid #5E6E84;
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.num-btn_quPfin:hover {
    border-color: #2ED6C8;
    background: #2f3642;
    transform: translateY(-2px);
}

.num-btn_quPfin.active_quPfin {
    background-color: #2ED6C8;
    color: #000;
    border-color: #2ED6C8;
    box-shadow: 0 0 15px rgba(46, 214, 200, 0.4);
    transform: scale(1.1);
}

/* Sidebar Inputs */
.form-select_quPfin {
    background-color: #1F2329;
    color: #fff;
    border: 1px solid #5E6E84;
    cursor: pointer;
}

.form-select_quPfin:focus {
    border-color: #2ED6C8;
    outline: none;
}

/* Mobile responsive tweak for grid */
@media (max-width: 600px) {
    .numbers-grid_quPfin {
        grid-template-columns: repeat(7, 1fr);
        gap: 8px;
    }
}

/* --- CUSTOMER FORM STYLES --- */

.customer-form_quPfin {
    max-width: 847px;
    /* Форма на всю ширину контейнера */
    margin-bottom: 40px;
}

.form-input-dark_quPfin {
    width: 100%;
    background-color: #262C36;
    /* Темный фон полей */
    border: 1px solid #5E6E84;
    border-radius: 8px;
    padding: 16px 20px;
    /* Больше отступов внутри */
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin-bottom: 16px;
    /* Отступ между полями */
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input-dark_quPfin::placeholder {
    color: #FFFFFF80;
    /* Полупрозрачный белый */
}

.form-input-dark_quPfin:focus {
    border-color: #2ED6C8;
    /* Бирюзовая рамка при фокусе */
}

/* Чекбокс */
.checkbox-group_quPfin {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #FFFFFFCC;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.checkbox-group_quPfin input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-group_quPfin input[type="checkbox"]:checked::after {
    content: '✔';
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

/* Кнопка Complete Order */
.btn--cyan-full_quPfin {
    width: 100%;
    background-color: #2ED6C8;
    /* Цвет кнопки с макета */
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 18px;
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--cyan-full_quPfin:hover {
    background-color: #4B7FFF;
    /* Синий при наведении */
    color: #fff;
    box-shadow: 0 0 20px rgba(46, 214, 200, 0.4);
}