@charset "UTF-8";
/***
    The new CSS reset - version 1.8.5 (last updated 14.6.2023)
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" attribute is exclud, because otherwise a bug in Chrome breaks the CSS hyphens property
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Preferred box-sizing value */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  -moz-appearance: revert;
       appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
}

/* reset default text opacity of input placeholder */
::-moz-placeholder {
  color: unset;
}
::placeholder {
  color: unset;
}

/* remove default dot (•) sign */
::marker {
  content: initial;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element */
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
}

html,
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #000;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

p {
  line-height: 150%;
}

h1 {
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  margin: 25px 0;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin: 20px auto;
  text-align: center;
  border-bottom: 1.5px solid #ffb400;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 15px 0;
}

ol {
  list-style: decimal;
  padding: 15px 25px;
}

ul {
  list-style: disc;
  padding: 15px 25px;
}

li {
  line-height: 150%;
}

ol li::marker,
ul li::marker {
  color: #f4b73e;
}

table {
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  display: block;
  overflow: auto;
}
table tr td,
table tr th {
  border: 1px solid #333;
  padding: 15px;
}
table tr th {
  background-color: #f4b73e;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
table tr td:hover {
  background-color: #e3e3e3;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  background: #fff;
  padding: 20px 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header .container .logo img {
  max-width: 80px;
}
.header .container .logo a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 28px;
  font-weight: 600;
  color: #f4b73e;
  text-transform: uppercase;
}
.header .container .auth {
  display: flex;
  gap: 15px;
}
.header .container .auth .btn-1 {
  background-color: #ffb400;
  animation: glowing 1500ms infinite;
}
.header .container .auth .btn-1:hover {
  animation: none;
  background-color: #000;
  color: #ffb400;
}
.header .container .auth .btn-2 {
  border: 1.5px solid #ffb400;
}
.header .container .auth .btn-2:hover {
  background-color: #ffb400;
}

.btn {
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 25px;
  border: 1.5px solid transparent;
  transition: all 0.3s;
}

.main {
  height: 100%;
  flex: 1 1 auto;
  padding: 120px 0 50px;
}
.main .banner {
  background-color: #ffb400;
  padding: 50px 0;
}
.main .banner .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.main .banner .item {
  flex: 0 0 40%;
}
.main .banner .item img {
  animation: transform 5s infinite;
  max-width: 400px;
}
.main .banner__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.main .banner__text h1 {
  margin: 0;
  text-align: left;
}
.main .banner__img {
  text-align: center;
}
.main .banner__btn a {
  background-color: #fff;
  white-space: nowrap;
  font-size: 18px;
}
.main .banner__btn a:hover {
  background-color: #000;
  color: #f4b73e;
}
.main .games-wrap {
  padding: 75px 16px 50px 16px;
  border-bottom: 1.5px solid #000;
}
.main .games-wrap h2 {
  margin: 0 auto 70px;
}
.main .games-wrap .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}
.main .games-wrap .game-item {
  display: inline-flex;
  width: 250px;
  height: 250px;
  position: relative;
  margin: 0 5px 50px;
}
.main .games-wrap .game-item_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}
.main .games-wrap .game-item_play {
  background: #ffb400;
  color: #000;
  padding: 13px 24px;
  font-size: 14px;
  border: 2px solid #000;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 103px;
  transition: all 0.3s;
}
.main .games-wrap .game-item_play:hover {
  background: #000;
  color: #ffb400;
}
.main .games-wrap .game-item_name {
  margin-top: -25px;
  font-size: 18px;
  line-height: 18px;
  font-weight: 500;
}
.main .content {
  padding: 50px 0;
}
.main .content p {
  margin: 15px 0;
}
.main .content img {
  display: flex;
  margin: 0 auto;
  max-width: 500px;
}
.main .content .anchors {
  border: solid 1px;
  background: #ffb400;
}

.container {
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
}

.footer {
  padding: 30px 0;
  border-top: 1.5px solid #000;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  h1 {
    margin: 20px 0;
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin: 15px 0;
  }
  h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  .container {
    max-width: 100%;
  }
  .btn {
    padding: 10px 15px;
  }
  .header .container {
    justify-content: center;
    gap: 15px;
  }
  .header .container .logo img {
    max-width: 50px;
  }
  .main {
    padding: 150px 0 30px;
  }
  .main .banner {
    padding: 30px 0;
  }
  .main .banner .container {
    gap: 30px;
    flex-direction: column;
  }
  .main .banner__img {
    max-width: 250px;
  }
  .main .banner .item {
    flex: 1 1 auto;
  }
  .main .banner .item img {
    max-width: 100%;
  }
  .main .games-wrap {
    padding: 45px 16px 30px 16px;
  }
  .main .games-wrap .game-item {
    width: 300px;
    height: 300px;
    margin: 0 auto;
  }
  .main .games-wrap .game-item:not(:last-child) {
    margin-bottom: 50px;
  }
  .main .games-wrap .game-item_play {
    margin-bottom: 128px;
  }
  .main .content {
    padding: 30px 0;
  }
  .main .content img {
    max-width: 100%;
  }
}
@keyframes glowing {
  0% {
    box-shadow: 0 0 5px #c1c0c0;
  }
  50% {
    box-shadow: 0 0 20px #f4b73e;
  }
  100% {
    box-shadow: 0 0 5px #c1c0c0;
  }
}
@keyframes transform {
  0% {
    transform: translate3d(-15px, 0, 0);
  }
  50% {
    transform: translate3d(15px, 0, 0);
  }
  100% {
    transform: translate3d(-15px, 0, 0);
  }
}

/* ======================================================================
   Надстройка над донорским CSS. Донорские правила выше не трогаем —
   здесь только то, чего у донора не было: переключатель языка, крошки,
   карточки live/слотов, оглавление, подвал и мобильная раскладка.
   ====================================================================== */

html,
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Шапка у донора зафиксирована, поэтому якорь оглавления без отступа
   уезжает под неё. */
html {
  scroll-behavior: smooth;
}
.main .content h2 {
  scroll-margin-top: 120px;
}

/* --- шапка ------------------------------------------------------------ */
.header .container .logo a {
  gap: 12px;
}
.header .container .logo a img {
  max-width: 38px;
  border-radius: 8px;
}
.header .container .auth {
  align-items: center;
}
.header .container .auth .btn {
  font-size: 15px;
  white-space: nowrap;
}

.lang-switch {
  position: relative;
}
.lang-switch .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border: 1.5px solid #ffb400;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.lang-switch .lang-btn:hover {
  background-color: #ffb400;
}
.lang-switch .flag {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  flex: 0 0 auto;
}
.lang-switch .chev {
  width: 10px;
  height: 6px;
  fill: #000;
}
.lang-switch .lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 190px;
  padding: 6px;
  background-color: #fff;
  border: 1.5px solid #ffb400;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.lang-switch.is-open .lang-menu {
  display: block;
}
.lang-switch .lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 15px;
  color: #000;
}
.lang-switch .lang-menu a:hover,
.lang-switch .lang-menu a[aria-current="true"] {
  background-color: #ffeec2;
}

/* --- хлебные крошки --------------------------------------------------- */
.crumbs {
  padding: 14px 0 0;
  font-size: 14px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  max-width: 90vw;
  margin: 0 auto;
  padding: 0 16px;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #b07d00;
}
.crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
}
.crumbs a:hover {
  color: #b07d00;
}
.crumbs li {display: flex; align-items: center;}
.crumbs a {display: inline-flex; align-items: center; gap: .4em;}
.crumb-home {display: inline-block; width: 1em; height: 1em; fill: #b07d00; flex: none;}
/* --- баннер ----------------------------------------------------------- */
.main .banner__text h1 {
  font-size: 44px;
}
.main .banner__text p {
  font-size: 18px;
  max-width: 34em;
}

/* --- карточки live и автоматов ---------------------------------------- */
/* Донор такого блока не имел: обложки настоящих игр стеной, поверх —
   тёмная вуаль, иначе белый текст на пёстрых картинках не читается. */
.promo-wrap {
  padding: 50px 16px 0;
}
.promo-wrap .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.promo {
  position: relative;
  overflow: hidden;
  flex: 1 1 320px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 26px;
  border: 1.5px solid #000;
  border-radius: 12px;
  color: #fff;
  background: #1a1206 50% 50% / cover no-repeat;
  transition: transform 0.3s;
}
.promo--live {
  background-image: url(assets/theme/promo-live.webp);
}
.promo--slots {
  background-image: url(assets/theme/promo-slots.webp);
}
.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 12, 3, 0.86) 0%, rgba(18, 12, 3, 0.52) 58%, rgba(18, 12, 3, 0.28) 100%);
}
.promo > * {
  position: relative;
  z-index: 1;
}
.promo:hover {
  transform: translateY(-3px);
}
.promo b {
  font-size: 26px;
  font-weight: 600;
}
.promo__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #ffd98a;
}
.promo__live i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffb400;
  box-shadow: 0 0 0 4px rgba(255, 180, 0, 0.22);
}
.promo__go {
  font-weight: 600;
  color: #ffb400;
}

/* --- карточки-шаги на внутренних страницах ---------------------------- */
.tiles-wrap {
  padding: 60px 16px 40px;
  border-bottom: 1.5px solid #000;
}
.tiles-wrap h2 {
  margin: 0 auto 45px;
}
.tiles-wrap .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.tile {
  flex: 1 1 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1.5px solid #000;
  border-radius: 12px;
}
.tile--x {
  background-color: #fff4d6;
}
.tile__n {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffb400;
  font-weight: 600;
}
.tile b {
  font-size: 20px;
  font-weight: 600;
}
.tile p {
  font-size: 15px;
}

/* --- статья ----------------------------------------------------------- */
.main .content .container > h3 {
  text-align: center;
  margin-bottom: 20px;
}
.main .content .anchors {
  border: 1px solid #000;
  background-color: #ffb400;
  border-radius: 10px;
  padding: 18px 25px 18px 45px;
  margin: 0 0 30px;
  list-style: disc;
}
.main .content .anchors li {
  margin: 5px 0;
  line-height: 150%;
}
.main .content .anchors li::marker {
  color: #7a5200;
}
.main .content .anchors a {
  color: #000;
}
.main .content .anchors a:hover {
  text-decoration: underline;
}
.main .content a {
  color: #8a5a00;
  text-decoration: underline;
}
.main .content h2 {
  margin-top: 40px;
}
.main .content strong,
.main .content b {
  font-weight: 600;
}
.main .content em,
.main .content i {
  font-style: italic;
}

.age-note {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 30px 0 0;
  padding: 20px;
  border: 1.5px solid #ffb400;
  border-radius: 12px;
  background-color: #fffaea;
}
.age-note-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffb400;
  font-weight: 600;
}

/* --- подвал ----------------------------------------------------------- */
.footer .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img {
  max-width: 40px;
  border-radius: 8px;
}
.footer__brand b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}
.footer__brand i {
  display: block;
  font-size: 14px;
  color: #666;
  text-align: left;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}
.footer__nav a {
  color: #000;
  font-size: 15px;
}
.footer__nav a:hover {
  color: #b07d00;
}
.footer__note {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 70em;
  font-size: 14px;
  text-align: left;
}
.footer__note .age {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #000;
  font-weight: 600;
}
.footer__cp {
  font-size: 14px;
  color: #666;
}

/* --- телефон ---------------------------------------------------------- */
@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  .header .container {
    gap: 10px;
  }
  .header .container .logo a {
    font-size: 20px;
    gap: 8px;
  }
  .header .container .auth {
    gap: 8px;
  }
  .header .container .auth .btn,
  .lang-switch .lang-btn {
    padding: 10px 12px;
    font-size: 14px;
  }
  .main {
    padding: 132px 0 30px;
  }
  .main .banner__text h1 {
    font-size: 28px;
  }
  .main .banner__text p {
    font-size: 16px;
  }
  .promo-wrap {
    padding: 35px 16px 0;
  }
  .promo {
    min-height: 170px;
    padding: 20px;
  }
  .promo b {
    font-size: 22px;
  }
  .tiles-wrap {
    padding: 40px 16px 30px;
  }
  .tiles-wrap h2 {
    margin: 0 auto 30px;
  }
  .tile {
    max-width: none;
  }
  .main .content .anchors {
    padding: 16px 18px 16px 36px;
  }
  .footer__note {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header .container .logo a span {
    display: none;
  }
  .header .container .auth .btn-2 {
    font-size: 13px;
    padding: 10px;
  }
  .main {
    padding: 96px 0 24px;
  }
}

/* ======================================================================
   Правки после расчёта раскладки
   ====================================================================== */

/* Донорский .auth — флекс без переноса, а кнопки у нас с white-space:nowrap.
   На телефоне три элемента (язык + две кнопки) в сумме шире экрана и
   вылезали за край. Ниже 768 px шапку раскладываем в две строки, а саму
   её открепляем: закреплённая шапка на телефоне съедала треть экрана
   и накрывала начало страницы. */
@media (max-width: 768px) {
  .header {
    position: static;
  }
  .header .container {
    flex-direction: column;
    gap: 10px;
  }
  .header .container .auth {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main {
    padding: 0 0 30px;
  }
  /* Шапка больше не закреплена — запас под якорь не нужен. */
  .main .content h2 {
    scroll-margin-top: 0;
  }
}

@media (max-width: 560px) {
  .btn-2__more {
    display: none;
  }
}

/* Правая часть карточки светлее левой: если подпись окажется длинной,
   тень не даст белому тексту слиться с обложкой. */
.promo b,
.promo__live,
.promo__go {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* Длинные адреса и слова в статье не должны распирать колонку. */

/* ======================================================================
   Правки по результатам разбора
   ====================================================================== */

/* Донорский шрифт заголовка таблицы — белый по янтарю, это 1.8:1.
   Читать невозможно, поэтому единственное отступление от донора по цвету. */
table tr th {
  color: #000;
  font-weight: 600;
}

/* Тот же янтарь донор ставил на название бренда и на маркеры списков:
   1.8:1 на белом. Берём тот же тон, но темнее — 4.1:1. */
.header .container .logo a {
  color: #a67400;
}
ol li::marker,
ul li::marker {
  color: #a67400;
}

/* Дракон: у картинки проставлены width/height 400, и на телефоне
   правило max-width:250px жало только ширину — портрет растягивался. */
.main .banner .item img {
  height: auto;
}

/* Карточка игры: у донора картинка без размеров и растягивалась сама.
   С проставленными width/height она оставляла 50 px пустоты на телефоне,
   где карточка становится 300x300. */
.game-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 4px;
}

/* Полоса 769-900 px: шапка с переключателем языка не влезала в строку,
   переносилась и накрывала верх баннера. Ужимаем её, пока не влезет. */
@media (min-width: 769px) and (max-width: 900px) {
  .header .container .logo a {
    font-size: 22px;
  }
  .header .container .auth {
    gap: 8px;
  }
  .header .container .auth .btn,
  .lang-switch .lang-btn {
    padding: 12px 14px;
    font-size: 14px;
  }
  .lang-switch .label {
    display: none;
  }
}

/* Меню языка прижато к правому краю кнопки. На телефоне кнопка стоит
   слева, и меню шириной 190 px уходило за край экрана. */
@media (max-width: 768px) {
  .lang-switch .lang-menu {
    left: 0;
    right: auto;
    max-width: calc(100vw - 32px);
  }
}

/* overflow-wrap:anywhere учитывается при расчёте min-content: ячейки
   таблицы схлопывались до одной буквы вместо горизонтальной прокрутки.
   break-word такого не делает, а от распирания колонки спасает так же. */
.main .content p,
.main .content li {
  overflow-wrap: break-word;
}
.main .content td {
  overflow-wrap: normal;
}

/* широкие таблицы: прокрутка обёртки, таблица не сминается */
.tw {width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;}
.tw > table {display: table; width: auto; min-width: 100%; overflow: visible;}


/* ---- сетка превью в разделе блога ---- */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0 8px;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 20px 18px;
}
.pcard-date {
  margin: 0 0 10px;
  font-size: .82rem;
  color: var(--dim);
  letter-spacing: .01em;
}
.pcard-h {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.16rem;
  line-height: 1.28;
}
.pcard-h a { color: var(--ink); text-decoration: none; }
.pcard-h a:hover { color: var(--gold-2); }
.pcard-t {
  margin: 0 0 16px;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--dim);
}
.pcard-more { margin: auto 0 0; }
.pcard-more a {
  font-size: .9rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.pcard-more a:hover { color: var(--gold-2); }
@media (max-width: 900px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 600px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard { padding: 16px 16px 15px; }
}
