:root {
  --bg: #0B061A;
  --bg-secondary: #1A1629;
  --text: #fff;
  --text-strong: #ffffff;
  --text-secondary: #FFFFFF99;
  --divider: #FFFFFF1A;
  --accent: #ff8a00;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

p {
  font-size: 14px;
  line-height: 18px;
  margin-top: 0;
  margin: 12px 0;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

p>a {
  color: inherit;
}

p>a:hover {
  text-decoration: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Plus Jakarta Sans", sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

section {
  margin: 20px 0;
}

section:last-child {
  margin-bottom: 32px;
}

button {
  all: unset;
  cursor: pointer;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.title_small {
  font-size: 16px;
  text-align: left;
}

.title:not(:last-child) {
  margin-bottom: 16px;
}

.text-description {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.text-description:first-child {
  margin-top: 0;
}

.text-description:last-child {
  margin-bottom: 0;
}

.header__content {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.header__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.header__button_close {
  margin-left: auto;
}

.list,
.list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list_block>p,
.list_block>ol,
.list_block>ul {
  margin: 4px 0;
}

.list_block .title_small {
  margin-top: 12px;
  margin-bottom: 4px;
}

.list {
  counter-reset: item;
  padding-left: 0;
  margin: 12px 0;
}

.list__title {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.list__title:first-child {
  margin-top: 0;
}

.list__title+* {
  margin-top: 4px;
}

ol>li>p:first-child {
  display: inline;
}

.list ol>li>p,
.list ul>li>p {
  margin: 4px 0;
}

.list>li,
.list_block ul,
.list_block ol {
  position: relative;
  counter-increment: item;
  font-size: 14px;
  line-height: 18px;
}

.list ul {
  list-style: none;
  padding-left: 0;
}

.list ul li {
  position: relative;
  /* padding-left: 16px; */
  padding-left: 16px;
}

.list_block>ul:not(.clear) {
  padding-left: 0;
}

.list ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 4px;
  height: 4px;
  background: var(--text-strong);
  border-radius: 50%;
}

.list>li>.list__title::before {
  content: counters(item, ".") ". ";
  color: var(--text-strong);
  font: inherit;
  font-weight: 700;
}

.list>li+li {
  margin-top: 12px;
}

.list>li>p {
  margin: 4px 0;
}

.list>li>p:first-child {
  margin-top: 0;
}

.list>li>p:last-child {
  margin-bottom: 0;
}

.list ol,
.list ul {
  margin-top: 4px;
}

.list ol {
  padding-left: 16px;
  counter-reset: item;
}

.list ol>li {
  position: relative;
  counter-increment: item;
}

.list ol>li::before {
  content: counters(item, ".") ". ";
  font: inherit;
  font-weight: 700;
  color: var(--text-strong);
}

.list_block>ol {
  counter-reset: solo-item;
}

.list_block>ol>li {
  counter-increment: solo-item;
}

.list_block>ol>li::before {
  content: counter(solo-item) ". ";
}

.list ol>li+li {
  margin-top: 8px;
}

.list__link {
  text-decoration: none;
  color: #00D776;
}

.list__link:hover {
  text-decoration: underline;
}

.faq details {
  margin-bottom: 8px;
  padding: 10px;
  padding-top: 16px;
  padding-bottom: 0;
  border-radius: 10px;
  background: var(--bg-secondary);
}

.faq>p {
  margin-top: 16px;
  font-size: 16px;
  margin-bottom: 8px;
}

.faq>p:first-child {
  margin-top: 0;
}

.faq>p:last-child {
  margin-bottom: 0;
}

.faq details:not([open]) summary::after {
  transform: rotate(180deg);
}

.faq details:last-child {
  margin-bottom: 0;
}

.faq details summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding-bottom: 16px;
  position: relative;
}

.faq details summary h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.faq details summary::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 12.5L10 7.5L15 12.5" stroke="white" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

.faq details p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 18px;
}

.faq details summary+p {
  margin-top: 0;
}

.faq details>p:last-child {
  margin-bottom: 0px;
  padding-bottom: 16px;
}

.footer {
  flex-shrink: 0;
  padding-bottom: 56px;
}

.footer>.container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer>.container>*:not(:last-child) {
  border-bottom: 1px solid var(--divider);
  padding-bottom: 24px;
}

.footer__menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}


.footer__menu-item>p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.footer__menu-item>ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__menu-item>ul>li+li {
  margin-top: 4px;
}

.footer__menu-item>ul>li>a {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
  line-height: 18px;
  display: block;
}

.footer__menu-item>ul>li>a:hover {
  color: var(--text-strong);
}


.footer__note>p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 18px;
}


.footer__bottom>p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 18px;
}

@media (min-width: 768px) {
  .footer__container {
    padding: 48px 24px 36px;
  }

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

  .footer__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer__note>p {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  .footer__container {
    padding: 56px 0 40px;
  }
}

.game__header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
}

.game__container {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
}

#game-iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  margin: 0 auto;
  padding: 0;
  display: flex;
}

.header__button_back {
  margin-right: auto;
}

.header__trailing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 700;
  font-size: .9em;
}

.header__balance {
  margin-left: auto;
  margin-right: 0px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 10px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__balance img {
  width: 21px;
  height: 21px;
}

.header__button_shop {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: none;
  cursor: pointer;
  padding: 0 16px;
  background-color: #6F41FA;
  font-weight: 700;
}

.header__container {
  margin: 0 auto;
  padding: 0 16px;
}