/* ==========================================================================
   site.css — блоки контента 1win-kgz.kg в стилистике шаблона
   Палитра шаблона: фон #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/money.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; }

/* --- переключатель языков ------------------------------------------------ */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; margin-right: 6px; background: #171f33; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.lang-switch__item { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 32px; padding: 0 8px; border-radius: 7px; font-size: 13px; font-weight: 700; letter-spacing: .03em; color: rgba(255,255,255,.65); text-decoration: none; transition: background .2s, color .2s; }
a.lang-switch__item:hover { color: #fff; background: rgba(44,154,239,.18); }
.lang-switch__item--active { color: #fff; background: #2c9aef; cursor: default; }
.lang-switch--mobile { display: none; }
@media (max-width: 991px) {
    .header__buttons .lang-switch { display: none; }
    .lang-switch--mobile { display: inline-flex; margin-right: 0; }
}

/* --- призыв с кнопкой в тексте (👉) ------------------------------------- */
.content-text .cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 22px 0; padding: 18px 20px; background: linear-gradient(90deg, rgba(44,154,239,.16) 0%, #171f33 70%); border: 1px solid rgba(44,154,239,.35); border-radius: 12px; }
.content-text .cta-inline p { margin: 0; }
.content-text .cta-inline .button { flex-shrink: 0; min-height: 44px; padding: 0 26px; font-size: 15px; font-weight: 700; display: inline-flex; color: #fff; }
@media (max-width: 599px) {
    .content-text .cta-inline { flex-direction: column; align-items: stretch; text-align: left; }
}

/* --- обычные таблицы ----------------------------------------------------- */
.content-text .table-wrap { overflow-x: auto; }
.content-text table thead th { background: rgba(44,154,239,.22); font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.15); }
.content-text h4 { font-size: 18px; margin: 18px 0 10px; }

/* --- перелинковка ------------------------------------------------------- */
.content-text p.related-heading { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 35px 0 0; }
.content-text ul.related { grid-template-columns: repeat(3, 1fr); }
.content-text p a:not(.button), .content-text li a:not(.button) { text-decoration: underline; text-decoration-color: rgba(44,154,239,.45); text-underline-offset: 3px; }
.content-text p a:not(.button):hover, .content-text li a:not(.button):hover { text-decoration-color: #2c9aef; }
.content-text ul.related a { text-decoration: none !important; }
@media (max-width: 991px) { .content-text ul.related { grid-template-columns: 1fr; } }
