:root {
  --void: #05070e;
  --panel: #0c1120;
  --panel-2: #131a2c;
  --panel-3: #1b2338;
  --hairline: #1e273c;
  --hairline-2: #2f3b56;
  --ink: #eef1f7;
  --dim: #8b93a7;
  --spark: #f4620d;
  --spark-hi: #ff7a2b;
  --spark-ink: #160800;
  --signin-bg: #131a2c;
  --spark-grad: linear-gradient(135deg, #f4620d 0%, #c24a08 100%);
  --beam: #3d8fe0;
  --rounding: 14px;
  --frame: 1180px;
  --edge-pad: 16px;
  --face: "Trebuchet MS", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0;
  font: 16px/1.55 var(--face);
  color: var(--ink);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, label:focus-visible {
  outline: 2px solid var(--spark); outline-offset: 2px;
}
h1, h2, h3, h4 { margin: 0 0 16px; font-weight: 700; line-height: 1.25; color: var(--ink); }
h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
strong { font-weight: 700; }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 32px; overflow: hidden; border-radius: var(--rounding); }
th, td { padding: 14px 16px; border: 1px solid var(--hairline); text-align: center; vertical-align: middle; font-size: 15px; }
th { background: var(--panel-2); font-weight: 700; }
td { background: var(--panel); }
tr:nth-child(even) td { background: var(--panel-2); }
td:first-child { font-weight: 700; }
table tr:first-child th:first-child { border-top-left-radius: var(--rounding); }
table tr:first-child th:last-child { border-top-right-radius: var(--rounding); }

.wrapper { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.entry-content { max-width: calc(var(--frame) + var(--edge-pad) * 2); margin: 0 auto; padding: 0 var(--edge-pad) 40px; }

.ref { cursor: pointer; -webkit-user-select: none; user-select: none; }

@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.main-button:not(.main-button--secondary), .registr-btn, .reviews__button {
  animation: cta-pulse 2.2s ease-in-out infinite;
  will-change: transform;
}
.main-button:not(.main-button--secondary):hover, .registr-btn:hover, .reviews__button:hover { animation-play-state: paused; transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .main-button, .registr-btn, .reviews__button { animation: none; }
}
.main-button {
  display: flex; align-items: center; justify-content: center; text-align: center;
  max-width: 340px; width: 100%; min-height: 60px; margin: 8px auto 0; padding: 12px 24px;
  border-radius: var(--rounding); background: linear-gradient(180deg, #ff7a2b 0%, #f4620d 100%); color: var(--spark-ink);
  box-shadow: 0 6px 22px rgba(244, 98, 13, .38);
  font-size: 18px; font-weight: 700; text-decoration: none; transition: background .2s, transform .1s;
}
.main-button:hover { background: linear-gradient(180deg, #ff8a45 0%, #ff7a2b 100%); }
.main-button:active { transform: scale(.98); }
.main-button--secondary { background: transparent; border: 2px solid var(--spark); color: var(--ink); cursor: pointer; font-family: inherit; box-shadow: none; }
.main-button--secondary:hover { background: rgba(244, 98, 13, .15); }

.header { position: sticky; top: 0; z-index: 50; background: var(--panel); border-bottom: 1px solid var(--hairline); }
.header__inner { max-width: calc(var(--frame) + var(--edge-pad) * 2); margin: 0 auto; padding: 0 var(--edge-pad); height: 64px; display: flex; align-items: center; gap: 24px; }
.logo img { height: 48px; width: auto; }
.header .logo { margin-right: auto; }
.main-nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav__list li { margin: 0; }
.main-nav__list a, .main-nav__list .ref { display: block; padding: 8px 14px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--ink); }
.main-nav__list a:hover, .main-nav__list .ref:hover { background: var(--panel-2); }
.main-nav__buttons { display: none; }
.header-buttons { display: flex; gap: 10px; }
.login-btn, .registr-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px;
  border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s;
}
.login-btn { background: var(--signin-bg); color: var(--spark); border: 1px solid var(--spark); }
.login-btn:hover { background: #1b2338; }
.registr-btn { background: linear-gradient(180deg, #ff7a2b 0%, #f4620d 100%); color: var(--spark-ink); }
.registr-btn:hover { background: linear-gradient(180deg, #ff8a45 0%, #ff7a2b 100%); }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger { display: none; width: 40px; height: 40px; padding: 8px; flex-direction: column; justify-content: space-between; cursor: pointer; border-radius: 6px; }
.burger span { display: block; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }

.main-section { padding: 28px 0 40px; text-align: center; }
.main-section__title { margin-bottom: 20px; }
.main-section__banner { display: block; margin: 0 auto 24px; border-radius: var(--rounding); overflow: hidden; }
.main-section__image .ref { display: block; }
.main-section__banner img { width: 100%; height: auto; }
.main-section__text { max-width: 900px; margin: 0 auto 24px; text-align: left; font-size: 17px; }
.main-section__text p:last-child { margin-bottom: 0; }
.main-section__image { margin: 8px 0 40px; }
.main-section__image img { width: 100%; border-radius: var(--rounding); }

.content-table { margin: 0 0 48px; }
.content-table__head {
  display: flex; align-items: center; justify-content: center; min-height: 64px; margin: 0 0 24px; padding: 12px 20px;
  border-radius: var(--rounding); background: var(--spark-grad); text-align: center; font-size: 24px; color: #160800;
}
.content-table td { font-weight: 700; }
.content-table td:first-child { width: 28%; }

.content-section, .best-games, .download-section, .reviews, .faq, .footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

.content-section { margin: 0 0 48px; }
.content-section h2 { margin-top: 8px; }
.content-section__title { text-align: center; }
.content p, .content li { font-size: 17px; }
.content h3 { margin-top: 28px; }
.content table { font-size: 15px; }
.content-section__wrap { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 24px; }
.content-section__wrap .content-section__text { flex: 1 1 0; }
.content-section__wrap .content-section__image { flex: 0 0 514px; }
.content-section__wrap .content-section__image img { width: 100%; border-radius: var(--rounding); }

.pros-cons__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-cons__box { padding: 24px; border-radius: var(--rounding); background: var(--panel); border: 1px solid var(--hairline); }
.pros-cons__box h3 { margin-bottom: 12px; }
.pros-cons__box ul { margin: 0; padding: 0; list-style: none; }
.pros-cons__box li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.pros-cons__box li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; }
.pros-cons__box--pros li::before { background: #4cc98a; }
.pros-cons__box--cons li::before { background: #d9534f; }

.best-games { margin: 0 0 56px; }
.best-games h2 { text-align: center; margin-bottom: 24px; }
.best-games__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.best-games__nav li { margin: 0; }
.best-games__tab {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 6px;
  background: var(--panel); border: 1px solid var(--hairline); color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none; transition: background .2s;
}
.best-games__tab svg { fill: currentColor; flex: none; }
.best-games__tab:hover, .best-games__tab.active { background: var(--panel-2); border-color: var(--spark); }
.tab { display: none; }
.tab.active { display: block; }
.best-games__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.best-games__item { display: block; text-decoration: none; color: var(--ink); }
.best-games__item-img { display: block; position: relative; border-radius: 8px; overflow: hidden; background: var(--panel); aspect-ratio: 360 / 472; }
.best-games__item--badge .best-games__item-img { aspect-ratio: 263 / 156; }
.best-games__item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.best-games__item:hover .best-games__item-img img { transform: scale(1.04); }
.best-games__item-name { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.best-games__item small { display: block; font-size: 12px; color: var(--dim); }
.best-games__item--badge .best-games__item-name { text-align: center; }
.best-games__item--badge .best-games__item-img { background: transparent; }

.download-section { margin: 0 0 40px; }
.download-section__title { text-align: center; }
.download-section__inner { display: flex; gap: 32px; align-items: center; padding: 28px; border-radius: var(--rounding); background: var(--panel); border: 1px solid var(--hairline); }
.download-section__subtitle { text-align: center; }
.download-section__buttons { justify-content: center; }
.download-section__left { flex: 0 0 370px; }
.download-section__left img { border-radius: 6px; }
.download-section__right { flex: 1 1 0; }
.download-section__subtitle { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.download-section__right ul { display: flex; flex-wrap: wrap; gap: 8px 0; list-style: none; margin: 0 auto 20px; padding: 0; max-width: 640px; }
.download-section__right li { flex: 1 1 25%; margin: 0; padding: 0 14px; text-align: center; border-right: 1px solid var(--hairline); }
.download-section__right li:last-child { border-right: 0; }
.download-section__right li span { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 20px; font-weight: 700; }
.download-section__right li span img { display: inline-block; }
.download-section__right li small { display: block; font-size: 12px; color: var(--dim); }
.download-section__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.download-section__button { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 14px; border-radius: 8px; background: #fff; border: 1px solid #fff; transition: box-shadow .2s; }
.download-section__button img { height: 33px; width: auto; }
.download-section__button:hover { box-shadow: 0 2px 16px rgba(0,0,0,.5); }

.reviews { margin: 0 0 56px; }
.reviews__box { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; margin-bottom: 20px; border-radius: var(--rounding); background: var(--panel); border: 1px solid var(--hairline); }
.reviews__box-title { font-size: 14px; color: var(--dim); margin-bottom: 4px; }
.reviews__rate { display: flex; align-items: center; gap: 10px; }
.reviews__rate > span { font-size: 26px; font-weight: 700; }
.reviews__rate small { color: var(--dim); font-size: 13px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; fill: var(--spark); }
.reviews__button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 6px; background: linear-gradient(180deg, #ff7a2b 0%, #f4620d 100%); color: var(--spark-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.reviews__button:hover { background: linear-gradient(180deg, #ff8a45 0%, #ff7a2b 100%); }
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.reviews__item { padding: 20px; border-radius: var(--rounding); background: var(--panel); border: 1px solid var(--hairline); }
.reviews__item.hide { display: none; }
.reviews__item-user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviews__item-avatar { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--spark-grad); font-weight: 700; font-size: 18px; color: #160800; }
.reviews__item-box span { display: block; font-weight: 700; }
.reviews__item-box small { color: var(--dim); font-size: 12px; }
.reviews__item-rate { margin-bottom: 10px; }
.reviews__item-text p { margin: 0; font-size: 15px; }

.faq { margin: 0 0 40px; }
.faq__item { padding: 20px 24px; margin-bottom: 12px; border-radius: var(--rounding); background: var(--panel); border: 1px solid var(--hairline); }
.faq__item h3 { font-size: 18px; margin-bottom: 8px; }
.faq__item p { margin: 0; font-size: 16px; }

.updated-block { margin: 0 0 16px; }
.updated-block__box { padding: 14px 20px; border-radius: var(--rounding); background: var(--panel); border: 1px solid var(--hairline); font-size: 15px; color: var(--dim); }

.footer { background: var(--panel); border-top: 1px solid var(--hairline); }
.footer__inner { max-width: calc(var(--frame) + var(--edge-pad) * 2); margin: 0 auto; padding: 40px var(--edge-pad); display: flex; justify-content: space-between; gap: 40px; }
.footer__info .logo img { height: 56px; width: auto; margin-bottom: 20px; }
.footer__images { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.footer__images img { height: 44px; width: auto; opacity: .9; }
.footer__images a:hover img { opacity: 1; }
.badge-18 { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #ff6b6b; color: #ff6b6b; font-weight: 700; font-size: 15px; }
.footer__links { display: flex; gap: 60px; }
.footer-nav__list { list-style: none; margin: 0; padding: 0; }
.footer-nav__list li { margin-bottom: 8px; }
.footer-nav__list a, .footer-nav__list .ref { font-size: 14px; text-decoration: none; color: var(--ink); }
.footer-nav__list a:hover, .footer-nav__list .ref:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid var(--hairline); }
.copyright { max-width: calc(var(--frame) + var(--edge-pad) * 2); margin: 0 auto; padding: 20px var(--edge-pad); text-align: center; font-size: 12px; line-height: 1.6; color: var(--dim); }
.copyright p { margin: 0 0 6px; }
.copyright__note { text-align: left; max-width: 980px; margin-inline: auto; margin-bottom: 12px; }
.copyright__copy { text-align: left; max-width: 980px; margin-inline: auto; color: var(--dim); opacity: .85; }

@media (max-width: 1024px) {
  .header__inner { gap: 12px; }
  .main-nav__list a, .main-nav__list .ref { padding: 8px 10px; font-size: 14px; }
  .content-section__wrap { gap: 24px; }
  .content-section__wrap .content-section__image { flex-basis: 40%; }
  .best-games__list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: flex; order: 3; }
  .header-buttons { order: 2; margin-left: auto; }
  .header .logo { margin-right: 0; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; padding: 12px var(--edge-pad) 20px; background: var(--panel); border-bottom: 1px solid var(--hairline); }
  .menu-toggle:checked ~ .main-nav { display: block; }
  .menu-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .menu-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
  .main-nav__list { flex-direction: column; gap: 0; }
  .main-nav__list a, .main-nav__list .ref { padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--hairline); border-radius: 0; }
  .main-nav__buttons { display: flex; gap: 10px; margin-top: 16px; }
  .main-nav__buttons a { flex: 1; }
  .content-section__wrap { flex-direction: column; }
  .content-section__wrap .content-section__image { flex-basis: auto; width: 100%; max-width: 514px; }
  .download-section__inner { flex-direction: column; align-items: stretch; }
  .download-section__left { flex-basis: auto; }
  .download-section__left img { width: 100%; }
  .reviews__list { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__links { gap: 40px; }
}
@media (max-width: 767px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .content p, .content li, .main-section__text { font-size: 16px; }
  th, td { padding: 10px 8px; font-size: 13px; }
  .content-table td:first-child { width: 34%; }
  .content-table__head { font-size: 18px; min-height: 56px; }
  .best-games__nav { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .best-games__tab { height: 42px; font-size: 14px; }
  .best-games__list { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .best-games__item-name { font-size: 14px; }
  .main-button { min-height: 54px; font-size: 16px; }
  .reviews__box { flex-direction: column; align-items: flex-start; }
  .reviews__button { width: 100%; }
  .reviews__list { grid-template-columns: 1fr; }
  .pros-cons__grid { grid-template-columns: 1fr; }
  .download-section__right li { flex-basis: 50%; border-right: 0; }
  .content-section, .best-games, .reviews { margin-bottom: 36px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table thead, table tbody { display: table; width: 100%; }
  .content table { min-width: 100%; }
}
@media (max-width: 480px) {
  .header__inner { gap: 8px; }
  .header-buttons { gap: 6px; }
  .login-btn, .registr-btn { height: 36px; padding: 0 10px; font-size: 13px; }
  .logo img { height: 32px; }
  .burger { width: 36px; padding: 7px; }
}
.wallet-strip { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin: 0 0 28px; list-style: none; padding: 0; }
.wallet-strip li { display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--hairline); }
.wallet-strip img { max-height: 30px; width: auto; }
.footer__social { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--hairline); transition: background .2s, border-color .2s; }
.footer__social a:hover { background: var(--panel-3); border-color: var(--hairline-2); }
.footer__social svg { width: 20px; height: 20px; fill: var(--ink); }
.footer__pay { border-top: 1px solid var(--hairline); }
.footer__pay-row { max-width: calc(var(--frame) + var(--edge-pad) * 2); margin: 0 auto; padding: 22px var(--edge-pad); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer__pay-row li { display: flex; align-items: center; justify-content: center; padding: 7px 10px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--hairline); list-style: none; }
.footer__pay-row img { max-height: 22px; width: auto; }
.footer__pay-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 767px) { .wallet-strip { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .wallet-strip { grid-template-columns: repeat(3, 1fr); } }
