/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

@font-face {
    font-family: PoppinsB;
    src: url('../stKoni-fonts/stKoni-poppinsB.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: PoppinsSM;
    src: url('../stKoni-fonts/stKoni-poppinsSM.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: PoppinsR;
    src: url('../stKoni-fonts/stKoni-poppinsR.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: PoppinsEB;
    src: url('../stKoni-fonts/stKoni-poppinsEB.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

.body_stKoni {
    background-color: #0B0D1B;
    color: #ffffff;
    overflow-x: hidden;
    font-family: PoppinsR, sans-serif;
    line-height: 1.6;
}

.container_stKoni {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp_stKoni {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse_stKoni {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.reveal_stKoni {
    opacity: 0;
    transition: 0.8s ease-out;
}

.reveal_stKoni.active_stKoni {
    opacity: 1;
    animation: fadeInUp_stKoni 0.8s ease-out forwards;
}

/* --- HEADER --- */
.header_stKoni {
    background: #070814;
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: 0.3s;
}

.header_stKoni__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_stKoni {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav_stKoni__list {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav_stKoni__link {
    text-decoration: none;
    font-family: PoppinsSM;
    font-size: 16px;
    color: #FFFFFFCC;
    transition: 0.3s;
    position: relative;
}

.nav_stKoni__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #c0173d;
    transition: 0.3s;
}

.nav_stKoni__link:hover {
    color: #fff;
}

.nav_stKoni__link:hover::after {
    width: 100%;
}

/* --- BUTTONS --- */
.btn_stKoni {
    padding: 12px 40px;
    border-radius: 8px;
    font-family: PoppinsSM;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-align: center;
}

.btn_stKoni--primary {
    background: #c0173d;
    color: #fff;
    box-shadow: 0 4px 15px rgba(192, 23, 61, 0.2);
}

.btn_stKoni--primary:hover {
    background: #9b1231;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 23, 61, 0.4);
}

.btn_stKoni--outline {
    background: transparent;
    border: 1px solid #BB133D;
    color: #fff;
}

.btn_stKoni--outline:hover {
    background: #BB133D;
    transform: translateY(-2px);
}

/* --- HERO & BACKGROUNDS --- */
.hero_stKoni {
    padding: 100px 0;
    text-align: center;
}

.hero-cont {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 820px;
    margin: 0 auto;
}

.section-top_stKoni {
    font-family: PoppinsSM;
    font-size: 26px;
    text-transform: uppercase;
    color: #A1ADFF;
}

.section-top_stKoni2 {
    font-family: PoppinsSM;
    font-size: 20px;
    text-transform: uppercase;
    color: #A1ADFF;
}

.hero_stKoni__title {
    font-family: PoppinsB;
    font-size: 48px;
    line-height: 1.2;
}

.hero_stKoni__desc {
    font-family: PoppinsR;
    font-size: 18px;
    color: #FFFFFFCC;
    text-align: center;
}

.backfon1 {
    background: url('../stKoni-img/stKoni-back1.webp') center/cover no-repeat;
}

.backfon2 {
    background: url('../stKoni-img/stKoni-back2.webp') center/cover no-repeat;
}

.backfon3 {
    background: url('../stKoni-img/stKoni-back3.webp') center/cover no-repeat;
}

/* --- CARDS & GRID --- */
.section-head_stKoni {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 40px;
}

.section-title_stKoni {
    font-family: PoppinsB;
    font-size: 30px;
    text-transform: capitalize;
}

.section-text_stKoni {
    max-width: 610px;
    color: #FFFFFFCC;
}

.benefits_stKoni,
.steps_stKoni,
.cta_stKoni {
    padding: 70px 0;
}

.benefits_stKoni__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
}

.card_stKoni {
    border: 1px solid #3C4794;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    background: rgba(11, 13, 27, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card_stKoni:hover {
    transform: translateY(-10px);
    border-color: #c0173d;
    box-shadow: 0 10px 20px rgba(192, 23, 61, 0.2);
}

.card_stKoni img {
    width: 60px;
    transition: 0.3s;
}

.card_stKoni:hover img {
    transform: rotate(5deg) scale(1.1);
}

.steps_stKoni__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    max-width: 610px;
}

.step-card_stKoni {
    border: 1px solid #3C4794;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    background: rgba(11, 13, 27, 0.5);
}

.step-card_stKoni:hover {
    background: rgba(60, 71, 148, 0.2);
    border-color: #A1ADFF;
}

.step-card_stKoni__num {
    font-family: PoppinsEB;
    font-size: 50px;
    color: #BB133D;
    line-height: 1;
}

/* --- FORMS & MODALS (FIXED STYLES) --- */
.overlay_stKoni {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.overlay_stKoni.active {
    display: flex;
    animation: fadeIn_stKoni 0.3s ease;
}

@keyframes fadeIn_stKoni {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-wrapper_stKoni {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.modal-close_stKoni {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.auth-card_stKoni {
    background-color: #050714;
    border: 1px solid #1a1e3a;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.overlay_stKoni.active .auth-card_stKoni {
    transform: scale(1);
}

.auth-card_stKoni__title {
    font-family: PoppinsSM;
    font-size: 28px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
}

.input_stKoni {
    width: 100%;
    background-color: transparent;
    border: 1px solid #3C4794;
    border-radius: 8px;
    padding: 14px 18px;
    color: #ffffff;
    font-family: PoppinsR;
    font-size: 15px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.input_stKoni:focus {
    border-color: #c0173d;
    box-shadow: 0 0 10px rgba(192, 23, 61, 0.15);
}

.input_stKoni::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit_stKoni {
    width: 100%;
    background-color: #c0173d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-family: PoppinsSM;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-submit_stKoni:hover {
    background-color: #9b1231;
    transform: translateY(-2px);
}

.auth-switch_stKoni {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #fff;
}

.auth-switch_stKoni button {
    background: none;
    border: none;
    color: #fff;
    font-family: PoppinsB;
    cursor: pointer;
    padding-left: 5px;
}

.auth-switch_stKoni button:hover {
    text-decoration: underline;
}

.form-msg_stKoni {
    font-size: 14px;
    text-align: center;
    margin-top: 15px;
    min-height: 20px;
    font-family: PoppinsSM;
}

/* --- AGE & FOOTER --- */
.age-check_stKoni {
    position: fixed;
    inset: 0;
    background: #050811;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.age-check_stKoni__content {
    text-align: center;
    padding: 30px;
    animation: fadeInUp_stKoni 0.6s ease;
}

.age-check_stKoni h2 {
    font-family: PoppinsEB;
    font-size: 32px;
    margin-bottom: 15px;
}

.footer_stKoni {
    padding: 60px 0 30px;
    background: #070814;
    border-top: 1px solid #1a1e3a;
}

.footer_stKoni__top {
    display: flex;
    margin-bottom: 40px;
    gap: 40px;
}

.footer_stKoni__list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer_stKoni__link {
    color: #A1ADFF;
    text-decoration: none;
    transition: 0.3s;
}

.footer_stKoni__link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(161, 173, 255, 0.5);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .burger_stKoni {
        display: flex;
    }

    .nav_stKoni {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #050811;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        display: flex;
        z-index: 100;
    }

    .nav_stKoni.active {
        right: 0;
    }

    .nav_stKoni__list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .benefits_stKoni__grid,
    .steps_stKoni__grid {
        grid-template-columns: 1fr;
    }

    .header_stKoni__auth {
        flex-direction: column;
        width: 80%;
    }

    .footer_stKoni__top {
        flex-direction: column;
    }
}

body.lock_stKoni {
    overflow: hidden;
}

.age-check_stKoni__content p {
    padding-bottom: 20px;
}

.header_stKoni__auth {
    display: flex;
    align-items: center;
    gap: 20px;
}

.works-cont {
    display: flex;
    gap: 20px;
}

.step-card_stKoni {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-card_stKoni h2 {
    font-family: PoppinsSM;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-transform: capitalize;
    padding-bottom: 10px;
}

.cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-block button {
    margin-top: 20px;
}

.footer_stKoni__bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer_stKoni__bottom p {
    font-family: PoppinsR;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #FFFFFFCC;
}

.age_stKoni {
    font-family: PoppinsB;
    font-weight: 700;
    font-size: 26px;
    line-height: 130%;
    text-align: center;
    text-transform: capitalize;
    color: #BB133D;
}

.footer_stKoni__info {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer_stKoni__info p {
    font-family: PoppinsR;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFFCC;
}

.footer_stKoni__info2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer_stKoni__info2 h2 {
    font-family: PoppinsSM;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    text-transform: capitalize;
}

.footer_stKoni__info2 p {
    padding-bottom: 10px;
    color: #FFFFFFCC;
}

.card_stKoni h2 {
    padding-bottom: 10px;
}

@media(max-width: 666px) {
    .section-head_stKoni {
        flex-direction: column;
        gap: 14px;
    }

    .works-cont {
        flex-direction: column;
    }

    .header_stKoni {
        padding: 15px 0px;
    }

    .hero_stKoni {
        padding: 40px 0px;
    }

    .section-top_stKoni {
        font-size: 20px;
    }

    .hero_stKoni__title {
        font-size: 36px;
    }

    .hero_stKoni__desc {
        font-size: 16px;
    }

    .benefits_stKoni,
    .steps_stKoni,
    .cta_stKoni {
        padding: 40px 0;
    }

    .section-top_stKoni2 {
        font-size: 18px;
    }

    .section-title_stKoni h2 {
        font-size: 28px;
    }

    .section-text_stKoni p {
        font-size: 14px;
    }

    .card_stKoni img {
        width: 50px;
    }

    .card_stKoni {
        padding: 16px;
    }

    .card_stKoni h2 {
        font-size: 18px;
    }

    .card_stKoni p {
        font-size: 14px;
    }

    .step-card_stKoni__num {
        font-size: 40px;
    }

    .step-card_stKoni h2 {
        font-size: 18px;
    }

    .step-card_stKoni p {
        font-size: 14px;
    }

    .section-title_stKoni {
        font-size: 26px;
    }

    .footer_stKoni__list {
        justify-content: center;
    }
}

/* --- BURGER STYLES --- */
.burger_stKoni {
    display: none;
    /* Скрыт на десктопе */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Поверх всего */
    padding: 0;
}

.burger-line_stKoni {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Анимация превращения в крестик (когда у кнопки класс active) */
.burger_stKoni.active .burger-line_stKoni:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger_stKoni.active .burger-line_stKoni:nth-child(2) {
    opacity: 0;
}

.burger_stKoni.active .burger-line_stKoni:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* --- MOBILE NAVIGATION --- */
@media (max-width: 992px) {
    .burger_stKoni {
        display: flex;
        /* Показываем на мобилках */
    }

    .nav_stKoni {
        position: fixed;
        top: 0;
        right: -100%;
        /* Спрятан за экраном справа */
        width: 100%;
        height: 100vh;
        background-color: #070814;
        /* Темный фон меню */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        padding: 40px;
    }

    /* Когда меню открыто */
    .nav_stKoni.active {
        right: 0;
    }

    .nav_stKoni__list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav_stKoni__link {
        font-size: 24px;
        /* Увеличиваем ссылки для удобства нажатия */
    }

    .header_stKoni__auth {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 15px;
    }

    .btn_stKoni {
        width: 100%;
    }
}

.ab-p {
    padding-bottom: 10px;
}

.ab-t {
    font-family: PoppinsB;
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    text-transform: capitalize;
    padding-bottom: 20px;
}

.ab-gr {
    padding-bottom: 20px;
}

.ab-p-down {
    font-family: PoppinsR;
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 10px;
    color: #FFFFFFCC;
}

/* --- CONTACT SECTION --- */
.contact_stKoni {
    padding-top: 70px;
}

.contact-form-block_stKoni {
    width: 100%;
    max-width: 715px;
}

.contact-wrapper_stKoni {
    display: flex;
    gap: 20px;
    padding: 20px 0 50px 0;
}

.contact-form_stKoni {
    display: flex;
    flex-direction: column;
}

.textarea_stKoni {
    min-height: 150px;
    resize: none;
}

.checkbox-group_stKoni {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0;
}

.checkbox-group_stKoni input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #c0173d;
}

.checkbox-group_stKoni label {
    font-size: 14px;
    color: #FFFFFFCC;
    cursor: pointer;
    line-height: 1.4;
}

.w-100_stKoni {
    width: 100%;
}

/* --- CONTACT INFO --- */
.contact-info-list_stKoni {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item_stKoni {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item_stKoni p {
    font-family: PoppinsR;
    font-size: 16px;
    color: #ffffff;
}

@media (max-width: 992px) {
    .contact-wrapper_stKoni {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}




/* --- POLICY PAGE STYLES --- */
.policy-hero_stKoni {
    padding: 60px 0;
    text-align: left;
}

.policy-content_stKoni {
    padding: 60px 0 100px 0;
}

.policy-text_stKoni {
    max-width: 900px;
}

.policy-text_stKoni h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    word-break: break-all;
}

.policy-text_stKoni ul {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.policy-text_stKoni ul li {
    margin-bottom: 10px;
}

.policy-text_stKoni strong {
    color: #fff;
    font-family: PoppinsB;
}

/* Переопределение для адекватного отображения списков */
.policy-text_stKoni .ab-p-down {
    padding-bottom: 15px;
}

@media (max-width: 768px) {
    .policy-hero_stKoni {
        padding: 40px 0;
    }

    .ab-t {
        font-size: 32px;
    }
}