/* ==========================================================================
   site.css — блоки контента 1win-br.by в стилистике шаблона
   Палитра шаблона: фон #090f1e, карточки #171f33, акцент #2c9aef, зелёный #00b24b
   ========================================================================== */

/* --- ссылки, которые в шаблоне были <button>/<div> ---------------------- */
a.button, a.sidebar__button, a.sidebar__promo, a.support__box, a.sidebar__social_button,
a.slot-item, a.winners__item, a.tab__container_tab, a.footer__icon, a.footer__social,
a.slots__nav-button-text, a.header__menu__item, .footer__logo, .header__logo a {
    text-decoration: none;
    color: #fff;
}
a.button { text-align: center; }
a.button__white { color: #000; }
.slider__min a.button__white { color: #fff; }
.sidebar__support .support__text a { color: inherit; text-decoration: none; }
.header__logo a, .footer__logo { display: inline-flex; }
span.header__menu__item { cursor: default; }
.footer__menu__item { display: block; color: #fff; text-decoration: none; margin-bottom: 8px; }
.footer__menu p a { color: #228ee7; }

/* --- главный слайдер: промо-картинки сайта поверх градиента ------------- */
.slide-promo { background-repeat: no-repeat; }
.slide-promo--welcome  { background-image: url('/assets/img/promo/welcome.webp'),  linear-gradient(110deg, #0d2a6b 0%, #1c56d6 55%, #6a3cff 100%); }
.slide-promo--cashback { background-image: url('/assets/img/promo/cashback.webp'), linear-gradient(110deg, #2a0f5c 0%, #6f2bd8 55%, #b64cff 100%); }
.slide-promo--express  { background-image: url('/assets/img/promo/express.webp'),  linear-gradient(110deg, #0b3a2a 0%, #0f7a4a 55%, #d79a12 100%); }
.slide-promo.is-desctop { background-size: auto 92%, cover; background-position: right 6% center, center; }
.slide-promo.is-mobile  { background-size: auto 70%, cover; background-position: right -10px bottom 0, center; }

/* --- H1 и хлебные крошки -------------------------------------------------- */
.content-text h1 { margin-top: 0; }
.crumbps .breadcrumb { list-style: none; flex-wrap: wrap; color: rgba(255,255,255,.5); }
.crumbps .breadcrumb a { color: #228ee7; text-decoration: none; }
.crumbps .breadcrumb-item.active { color: #fff; }

/* --- оглавление ----------------------------------------------------------- */
.content-text .toc_list li { padding-left: 0; }
.content-text .toc_list li:before { display: none !important; }
.toc_list span { color: #fff; transition: color .2s; }
.toc_list li:hover span { color: #00cfa6; }

/* --- ссылки в тексте ------------------------------------------------------ */
.content-text p a, .content-text li a, .content-text td a { color: #2c9aef; }

/* --- кнопка-CTA внутри текста --------------------------------------------- */
.content-btn { display: flex; justify-content: center; margin: 25px 0; }
.content-btn .button, .content-text a.button { min-height: 48px; padding: 0 34px; font-size: 16px; font-weight: 700; display: inline-flex; }
.content-btn .button__primary, .content-text .button__primary { color: #fff; }

/* --- цифры в интро ------------------------------------------------------- */
.content-text ul.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 25px 0; padding: 0; list-style: none; }
.content-text ul.stats li { background: #171f33; border: 1px solid rgba(44,154,239,.35); border-radius: 12px; padding: 18px 14px; text-align: center; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.content-text ul.stats li:before { display: none !important; }
.content-text ul.stats b { font-size: 26px; font-weight: 700; color: #00cfa6; line-height: 1.1; }
.content-text ul.stats span { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.3; }

/* --- карточки бонусов ---------------------------------------------------- */
.content-text ul.promo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 20px 0 30px; padding: 0; list-style: none; }
.content-text ul.promo-cards li { background: linear-gradient(180deg, #1c2640 0%, #121a2e 100%); border-radius: 16px; padding: 15px 15px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin: 0; overflow: hidden; }
.content-text ul.promo-cards li:before { display: none !important; }
.promo-cards img { width: 100%; max-width: 260px; height: auto; }
.promo-cards .promo-cards__title { font-weight: 700; font-size: 17px; line-height: 1.35; margin: 0; flex-grow: 1; }
.promo-cards .button { width: 100%; min-height: 44px; font-size: 15px; font-weight: 700; }

/* --- таблица характеристик (th в строках) -------------------------------- */
.content-text table { width: 100%; border-collapse: collapse; }
.content-text table th, .content-text table td { padding: 10px 14px; text-align: left; }
.content-text table.info-table th { width: 38%; background: rgba(73,122,159,.25); font-weight: 700; border: 1px solid rgba(255,255,255,.15); }
.content-text .table-wrap { margin: 20px 0; }

/* --- заметка ------------------------------------------------------------- */
.content-text blockquote { position: relative; background: #171f33; border-left: 3px solid #2c9aef; border-radius: 8px; padding: 18px 20px 18px 40px; margin: 20px 0 20px 13px; }
.content-text blockquote p { margin: 0; }
.content-text blockquote p + p { margin-top: 10px; }

/* --- пошаговые инструкции ------------------------------------------------ */
.content-text ol.steps { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; counter-reset: none; }
.content-text ol.steps > li { margin: 0; background: #171f33; border-radius: 12px; padding: 20px; display: flex; gap: 15px; align-items: flex-start; }
.content-text ol.steps > li:before { display: none !important; }
.steps__num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: linear-gradient(45deg, #9c27b0, #2196f3); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.content-text .steps__title { font-size: 18px; margin: 6px 0 8px; line-height: 1.3; }
.steps__body p { margin: 0; }
.steps__body .button { margin-top: 15px; display: inline-flex; min-height: 42px; }

/* --- FAQ (accord-block шаблона) ------------------------------------------ */
.content-text .accord-block .accord-block-header h3 { font-size: 17px; line-height: 1.4; }
.content-text .accord-block .accord-block-content p { margin: 0; }

/* --- CTA ----------------------------------------------------------------- */
.content-text .cta { border-radius: 12px; }
.content-text .cta__content { max-width: 640px; }
.content-text .cta__title { font-size: 26px; line-height: 1.3; margin-bottom: 12px; }
.content-text .cta__text { max-width: none; font-weight: 400; font-size: 16px; margin-bottom: 20px; }
.content-text .cta__note { font-size: 13px; color: rgba(255,255,255,.6); margin: 15px 0 0; line-height: 1.5; }
.content-text .cta .button { margin: 0 auto; }

/* --- контакты ------------------------------------------------------------ */
.content-text ul.contacts { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.content-text ul.contacts li { margin: 0; background: #171f33; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.content-text ul.contacts li:before { display: none !important; }
.content-text ul.contacts li a { display: inline; }
.content-text ul.contacts b { font-weight: 700; }
.content-text ul.contacts span { color: rgba(255,255,255,.75); font-size: 15px; }

/* --- «Читайте также» ----------------------------------------------------- */
.content-text ul.related { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.content-text ul.related li { margin: 0; }
.content-text ul.related li:before { display: none !important; }
.content-text ul.related a { display: flex !important; flex-direction: column; gap: 6px; height: 100%; padding: 16px; background: #171f33; border: 1px solid rgba(44,154,239,.3); border-radius: 12px; text-decoration: none; transition: border-color .2s, background .2s; }
.content-text ul.related a:hover { border-color: #2c9aef; background: #1c2640; }
.related__title { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; }
.related__text { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.4; }

/* --- 21+ ----------------------------------------------------------------- */
.age-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 22px; padding: 0 6px; border: 1px solid #ff4d4f; border-radius: 6px; color: #ff4d4f; font-weight: 700; font-size: 12px; margin-right: 6px; vertical-align: middle; }
.footer__bottom .footer__menu__text p + p { margin-top: 10px; }

/* --- адаптив ------------------------------------------------------------- */
@media (max-width: 991px) {
    .content-text ul.stats { grid-template-columns: repeat(2, 1fr); }
    .content-text ul.related { grid-template-columns: repeat(2, 1fr); }
    .content-text ul.promo-cards { grid-template-columns: 1fr; }
    .content-text ol.steps { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
    .content-text ul.related, .content-text ul.contacts { grid-template-columns: 1fr; }
    .content-text .cta { padding: 22px 16px; }
    .content-text .cta__title { font-size: 21px; }
    .content-text table.info-table th { width: 45%; }
}

/* --- правки сетки шаблона ------------------------------------------------ */
.arrow-container_tabs { margin-bottom: 20px; }
.slider__min.secondary a.button__white { color: #000; }
.content-text ul.toc_list { padding-left: 0; margin-left: 0; }
.content-text ul.toc_list li { padding-left: 0; margin-left: 0; }
.randomgame__bgleft, .randomgame__bgright { pointer-events: none; }
.randomgame__content { position: relative; z-index: 2; }

/* Скриншоты в статьях */
.content-text figure.shot{margin:24px 0;text-align:center}
.content-text figure.shot img{display:inline-block;max-width:100%;max-height:560px;width:auto;height:auto;border-radius:12px;border:1px solid rgba(255,255,255,.12)}
.content-text figure.shot figcaption{margin-top:8px;font-size:14px;line-height:1.4;color:rgba(255,255,255,.6)}

/* Дата обновления и автор под H1 */
.content-text .page-updated{margin:-6px 0 18px;font-size:14px;color:rgba(255,255,255,.6)}
.content-text .page-updated a{color:inherit;text-decoration:underline}

/* ==========================================================================
   1win-login.kg - доработки шаблона (ноябрь 2026)
   ========================================================================== */
html { scroll-behavior: smooth; }
.content-text h2, .content-text h3 { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, .table-wrap:focus-visible {
    outline: 2px solid #00cfa6; outline-offset: 2px; border-radius: 4px;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #2c9aef; color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* --- первый экран главной: ответ на запрос «вход» до любых баннеров ------- */
.access { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: center;
          margin: 16px 0 20px; padding: 28px; border-radius: 16px;
          background: linear-gradient(135deg, #16223f 0%, #101a30 60%, #0e1730 100%);
          border: 1px solid rgba(44,154,239,.28); }
.access .content-text h1 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; }
.content-text .access__lead { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); }
.access__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 10px; }
.access__buttons .button { min-height: 50px; padding: 0 30px; font-size: 16px; font-weight: 700; display: inline-flex; }
.content-text .access__note { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); margin: 0; }
.access ul.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.access ul.stats li { background: rgba(9,15,30,.55); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 18px 12px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.access ul.stats b { font-size: 24px; font-weight: 700; color: #00cfa6; line-height: 1.1; }
.access ul.stats span { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.3; }

/* --- читаемость: длина строки и ритм ------------------------------------- */
.content-text > p, .content-text > ul:not(.related):not(.stats), .content-text > ol,
.content-text > h2, .content-text > h3, .content-text > .accord-block, .content-text > .toc_container { max-width: 860px; }
.content-text > p { line-height: 1.65; }
.content-text > h2 { margin-top: 38px; }

/* --- оглавление: настоящие ссылки ---------------------------------------- */
.content-text .toc_list { columns: 2; column-gap: 28px; }
.content-text .toc_list li { break-inside: avoid; margin-bottom: 8px; }
.content-text .toc_list li a { color: #fff; text-decoration: none; display: inline-block; padding: 2px 0; }
.content-text .toc_list li a:hover { color: #00cfa6; }
.toc_title { cursor: pointer; }

/* --- шаги ----------------------------------------------------------------- */
.content-text ol.steps-list { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.content-text ol.steps-list > li { counter-increment: step; position: relative; margin: 0; padding: 14px 16px 14px 62px; background: #171f33; border-radius: 12px; line-height: 1.5; min-height: 56px; display: flex; align-items: center; }
.content-text ol.steps-list > li:before { content: counter(step) !important; display: flex !important; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(45deg, #2c9aef, #00b24b); color: #fff; font-weight: 700; font-size: 16px; align-items: center; justify-content: center; }

/* --- таблицы -------------------------------------------------------------- */
.content-text .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); max-width: 980px; }
.content-text .table-wrap table { margin: 0; min-width: 0; font-variant-numeric: tabular-nums; }
.content-text .table-wrap thead th { background: #1c2a4a; font-weight: 700; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.15); }
.content-text .table-wrap tbody th { font-weight: 700; background: rgba(73,122,159,.14); }
.content-text .table-wrap tbody tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.content-text .table-wrap td, .content-text .table-wrap th { border: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.content-text .table-wrap tbody tr:last-child > * { border-bottom: 0; }

/* --- FAQ ------------------------------------------------------------------ */
.content-text .accord-block-header { cursor: pointer; }

/* --- нижняя панель на мобильных ------------------------------------------ */
.mbar { display: none; }
@media (max-width: 991px) {
    /* панель встаёт в нижнюю полосу шаблона, справа от кнопки «Меню» */
    .mbar { display: flex; gap: 8px; position: fixed; left: 76px; right: 0; bottom: 0; z-index: 11;
            padding: 7px 12px calc(7px + env(safe-area-inset-bottom, 0px)); transition: opacity .2s, transform .2s; }
    .mbar .button { flex: 1; min-height: 42px; font-size: 15px; font-weight: 700; display: inline-flex; white-space: nowrap; }
    .mbar--off { opacity: 0; transform: translateY(8px); pointer-events: none; }
    .header__mobile { min-height: 56px; }
    .btnTop { bottom: 72px; right: 12px; width: 38px; height: 38px; }
    .access { grid-template-columns: 1fr; padding: 20px 16px; gap: 18px; }
    .access .content-text h1 { font-size: 25px; }
    .access__buttons .button { flex: 1; padding: 0 12px; white-space: nowrap; font-size: 15px; }
    .main-box > .container:first-of-type { padding-top: 0; }
    .content-text .toc_list { columns: 1; }
}
@media (max-width: 599px) {
    .content-text .table-wrap table { font-size: 14px; }
    .content-text table th, .content-text table td { padding: 9px 10px; }
}

/* кнопка «наверх» не видна до прокрутки */
.btnTop { display: none; }
.btnTop[style*="display: block"] { display: flex !important; }

.content-text .table-wrap table.t-wide { min-width: 560px; }
.content-text > .content-btn, .content-text > .cta, .content-text > .table-wrap { max-width: 980px; }
.content-text > .content-btn { justify-content: flex-start; }
@media (max-width: 599px) { .content-text > .content-btn .button { width: 100%; } }

/* широкие таблицы: первая колонка закреплена при горизонтальной прокрутке */
@media (max-width: 767px) {
    .content-text .table-wrap table.t-wide tbody th, .content-text .table-wrap table.t-wide thead th:first-child { position: sticky; left: 0; z-index: 1; max-width: 150px; }
    .content-text .table-wrap table.t-wide tbody th { background: #18233c; box-shadow: 1px 0 0 rgba(255,255,255,.1); }
    .content-text .table-wrap table.t-wide thead th:first-child { background: #1c2a4a; }
}

/* скриншоты: вертикальные окна не шире телефона, горизонтальные - по ширине текста */
.content-text figure.shot { max-width: 860px; margin: 22px 0 26px; text-align: left; }
.content-text figure.shot img { max-height: 520px; background: #0e1526; }
.content-text figure.shot--wide img { max-height: none; width: auto; max-width: 100%; }
.content-text figure.shot figcaption { max-width: 620px; }
