/* ==========================================================================
   1win-kgz.com.kg — кошумча стилдер (ky-KG / ru-KG)
   base.min.css үстүнөн туташтырылат
   ========================================================================== */

/* --- Логотип (SVG) ---------------------------------------------------- */
.header__logo {
    text-decoration: none;
}

.header__logo img,
.footer__col_1 img {
    max-width: 150px;
    width: 150px;
    height: auto;
}

@media (max-width: 767px) {
    .header__logo img,
    .footer__col_1 img {
        max-width: 118px;
        width: 118px;
    }
}

/* --- Киришүү блогу (hero) ---------------------------------------------- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__title {
    color: var(--title-color);
    margin-bottom: 20px;
}

.hero > p {
    max-width: 900px;
}

.hero > p:not(:first-of-type) {
    margin-top: 14px;
}

.hero .button {
    margin-top: 28px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 28px;
    padding: 0;
    list-style: none;
}

.page-main .hero__stats li,
.page-main ul.hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 6px 0;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #0f1730;
}

.page-main .hero__stats li:before {
    content: none;
}

.hero__stats b {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
}

.hero__stats span {
    color: #abb8c3;
    font-size: 15px;
    line-height: 20px;
}

@media (max-width: 900px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero__stats b {
        font-size: 22px;
        line-height: 26px;
    }

    .hero .button,
    .hero__stats {
        margin-top: 20px;
    }

    .hero .button {
        width: 100%;
    }
}

@media (max-width: 374px) {
    .hero__stats {
        grid-template-columns: 1fr;
    }
}

/* --- Сүрөтсүз infobox блоктору -------------------------------------- */
.infobox._no-image {
    grid-template-columns: 1fr;
    gap: 0;
}

.infobox._no-image > .infobox__title,
.infobox._no-image > .infobox__content {
    grid-column: 1/2;
}

.about._no-image {
    display: block;
}

.about._no-image .infobox__info {
    margin-top: 0;
    width: 100%;
}

/* --- Сүрөтсүз "steps" кадамдары --------------------------------------- */
.steps__item._no-image {
    grid-template-columns: min-content 1fr;
    grid-template-rows: auto;
}

.steps__item._no-image:before {
    content: none;
}

.steps__item._no-image .steps__item-title {
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .steps__item._no-image .steps__item-label + * {
        margin-top: 0;
    }

    .steps__item._no-image .steps__item-title {
        display: flex;
        align-items: center;
        min-height: 32px;
    }
}

/* --- Маалымат таблицасы: мобилдик түзмөктөгү узун маанилер ----------------- */
@media (max-width: 500px) {
    .about .infobox__info tbody tr {
        flex-wrap: wrap;
    }

    .about .infobox__info tbody td,
    .about .infobox__info tbody th {
        flex: 1 1 100% !important;
        max-width: 100%;
        text-align: left;
    }

    .about .infobox__info tbody td {
        margin-top: 4px;
        text-align: left;
    }
}

/* --- Таблицалар: мобилдик түзмөктө горизонталдуу жылдыруу ---------------- */
.table-box {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
    .table-box table th {
        font-size: 16px;
        line-height: 22px;
        padding: 10px;
    }

    .table-box td {
        font-size: 15px;
        line-height: 22px;
        padding: 10px 12px;
    }
}

/* Эки тилкелүү таблицалар мобилдик экранга батат */
.table-box._two-col table {
    min-width: 0;
}

/* --- Байланыш блогу ------------------------------------------------------ */
.contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
}

.page-main .contacts li,
.page-main ul.contacts li {
    display: flex;
    flex-direction: column;
    gap: 4px 0;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid rgba(10, 99, 246, .5);
    background: #0f1730;
}

.page-main .contacts li:before {
    content: none;
}

.contacts b {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.contacts span,
.contacts a {
    color: #abb8c3;
    font-size: 15px;
    line-height: 22px;
    word-break: break-word;
}

.contacts a {
    color: #40a4fb;
    text-decoration: none;
}

.contacts a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .contacts {
        grid-template-columns: 1fr;
    }
}

/* --- Эскертүү блогу --------------------------------------------- */
.note-box {
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 4px solid #0a63f6;
    background: #0f1730;
    color: #cdd8e1;
}

.note-box > :not(:first-child) {
    margin-top: 10px;
}

/* --- Текст блокторунун арасындагы аралык ---------------------------------- */
.page-main .wrapper > h2 + p,
.page-main .wrapper > h3 + p,
.page-main .wrapper > h4 + p,
.page-main .wrapper > p + p,
.page-main .wrapper > p + ul,
.page-main .wrapper > p + ol,
.page-main .wrapper > ul + p,
.page-main .wrapper > ol + p {
    margin-top: 0;
}

.page-main .wrapper > h3,
.page-main .wrapper > h4 {
    color: #fff;
    margin-top: 16px;
}

.page-main .wrapper > h2 {
    color: #fff;
}

.wrapper > :not(:last-child) {
    margin-bottom: 20px;
}

.wrapper > h2:not(:last-child),
.wrapper > h3:not(:last-child),
.wrapper > h4:not(:last-child) {
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .wrapper > :not(:last-child) {
        margin-bottom: 16px;
    }

    .page-main .wrapper > h3,
    .page-main .wrapper > h4 {
        margin-top: 12px;
    }
}

/* --- Footer ----------------------------------------------------------- */
.footer__nav-list {
    justify-content: center;
}

.footer__disclaimer {
    color: #7c8aa0;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.footer__col.footer__col_4 {
    flex-direction: column;
    gap: 14px;
}

/* --- Жаш чектөө белгиси ------------------------------------------- */
.age-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 2px solid #e0413f;
    border-radius: 50%;
    color: #e0413f;
    font-size: 14px;
    font-weight: 700;
}

/* --- Оюн карточкалары: мобилдик түзмөктө ыңгайлуу тийүү --------------- */
@media (max-width: 767px) {
    .gamelist__name {
        font-size: 14px;
        line-height: 18px;
    }
}

/* --- Баш аттар: узун кыргыз сөздөрү үчүн ------------------------- */
h1, h2, h3, h4,
.infobox__title,
.steps__title,
.qa__question {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: none;
    hyphens: none;
}

/* --- Беттин жогорусуна кайтуу баскычы ------------------------------- */
/* Бекитилген баскыч футердин текстин жаап калбаш үчүн орун */
@media (max-width: 767px) {
    .footer {
        padding-bottom: 72px;
    }
}

/* --- Тил алмаштыргыч (KY / RU) --------------------------------------- */
.header__lang--pair {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: default;
}

.header__lang--pair .lang__code {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: .04em;
    text-decoration: none;
    color: #abb8c3;
    transition: color .2s ease;
}

.header__lang--pair a.lang__code:hover,
.header__lang--pair a.lang__code:focus-visible {
    color: #fff;
}

.header__lang--pair .lang__code--active {
    color: #fff;
    position: relative;
}

.header__lang--pair .lang__code--active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7e55e0 0, #0ba7f2 100%);
}

@media (max-width: 900px) {
    .header__lang--pair {
        order: 3;
        margin-left: auto;
        padding: 6px 10px;
    }
}

/* --- CTA: ссылки вместо кнопок ---------------------------------------- */
a.button,
a.topbar__button {
    width: fit-content;
}

a.gamelist__button {
    display: block;
    text-decoration: none;
}

@media (max-width: 1024px) {
    a.steps__item-button {
        width: 100%;
    }
}

/* --- Мазмун кошумчалары ------------------------------------------------ */
.site-body {
    min-height: 100%;
}

.page-main .block-text {
    margin-top: 14px;
}

.brandline__title,
.qa__title {
    color: var(--title-color);
    margin-bottom: 20px;
}

.crumbs__list-item {
    display: inline-flex;
    align-items: center;
}

/* --- CTA блок вместо промо-кодов --------------------------------------- */
.cta-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 22px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #0f1730;
}

.cta-box__text {
    margin: 0;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 767px) {
    .cta-box {
        padding: 18px;
    }

    .cta-box .button {
        width: 100%;
        text-align: center;
    }
}

/* --- Эки тилкелүү параметр таблицалары ---------------------------------- */
.table-box._two-col table {
    min-width: 0;
}

.table-box._two-col td:first-child {
    color: #fff;
    font-weight: 500;
    width: 38%;
}

@media (max-width: 767px) {
    .table-box._two-col td:first-child {
        width: 45%;
    }
}
