/* Шаблон 21 по образцу 66ph.org. Цвета только через переменные схемы (schemes/*.css); полупрозрачные рамки,
   отливы и свечения считаются через color-mix. Вёрстка от телефона (360 px), шире — min-width 640, 900 и 1100. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.ic { width: 20px; height: 20px; flex: none; }



/* Карточки: фон блоков с отливом акцента и тонкой рамкой. Иконки — в круге. */
.card, .feature, .game, .link, .tier, .faq__item, .table-wrap, .quiz__card, .step, .team {
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  background: color-mix(in srgb, var(--accent) 5%, var(--surface));
}
.round { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 18%, var(--bg)); color: var(--link); font-size: 20px; font-weight: 800; }
.round .ic { width: 24px; height: 24px; }

/* Картинки овалом, как на образце, со свечением акцента. */
.oval { display: block; min-width: 0; margin: 0; border-radius: 50% 50% 48% 52% / 55% 48% 52% 45%; overflow: hidden; box-shadow: 0 0 44px color-mix(in srgb, var(--accent) 26%, transparent); }
.oval__img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

/* Шапка: логотип слева, меню в строку от 1100 px, справа Login, Register, Telegram и бургер. */
.nav__check { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.header { position: sticky; top: 0; z-index: 50; background: linear-gradient(90deg, var(--bar), var(--bar-2)); color: var(--on-bar); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.bar { min-height: 68px; display: flex; align-items: center; gap: 12px; }
.header__logo { display: flex; align-items: center; min-width: 0; margin-right: auto; color: var(--on-bar); text-decoration: none; font-weight: 800; font-size: 22px; }
.header__logo-img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.header__end { display: flex; align-items: center; gap: 10px; }
.header__contact { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--telegram); color: var(--on-telegram); }
.tg-icon { width: 20px; height: 20px; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--on-bar); cursor: pointer; }
.nav__toggle .ic { width: 24px; height: 24px; }
.nav__close { display: none; }
.nav__check:checked ~ .header .nav__open { display: none; }
.nav__check:checked ~ .header .nav__close { display: block; }
.nav__check:focus-visible ~ .header .nav__toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 8px 16px 16px; background: var(--bar); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); max-height: calc(100vh - 70px); overflow-y: auto; }
.nav__check:checked ~ .header .nav { display: grid; gap: 4px; }
.nav__link { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; color: var(--on-bar); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav__link:hover { color: var(--link); }
.nav__link.is-active { color: var(--link); }
@media (max-width: 380px) { .header__logo-img { max-width: 120px; } }
@media (max-width: 899px) { .header__end .btn { display: none; } }
@media (min-width: 1100px) {
  .nav, .nav__check:checked ~ .header .nav { position: static; display: flex; flex: 1; justify-content: flex-end; gap: 0; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .nav__link { min-height: 40px; padding: 0 12px; font-size: 15px; }
  .nav__link.is-active { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
  .nav__toggle { display: none; }
}

/* Кнопки: главная — градиент, свечение по контуру и бегущий блик; вторая — тёмная пилюля с тихим свечением. */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 800; text-decoration: none; text-align: center; line-height: 1.2; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--go { background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); animation: glow 2.6s ease-in-out infinite; }
.btn--go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--shine) 55%, transparent), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; pointer-events: none; }
.btn--alt { background: color-mix(in srgb, var(--accent) 20%, var(--bg)); color: var(--text); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); animation: halo 2.6s ease-in-out infinite; }
.btn--alt:hover { border-color: var(--accent); }
@keyframes glow {
  0%, 100% { box-shadow: 0 6px 18px color-mix(in srgb, var(--go) 25%, transparent); }
  50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 30%, transparent), 0 8px 30px color-mix(in srgb, var(--go-2) 55%, transparent); }
}
@keyframes halo {
  0%, 100% { box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 14%, transparent); }
  50% { box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 42%, transparent); }
}
@keyframes shine {
  0%, 55% { left: -60%; }
  100% { left: 130%; }
}
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }

/* Первый экран: отлив акцента справа; на телефоне картинка под кнопками. */
.hero { padding: 32px 0 40px; background: linear-gradient(115deg, var(--bg) 25%, color-mix(in srgb, var(--accent) 24%, var(--bg))); }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__body { min-width: 0; }
.hero a:not(.btn) { color: inherit; }
.hero__title { margin: 0 0 16px; font-size: 32px; line-height: 1.2; font-weight: 800; overflow-wrap: anywhere; }
.hero__lead { margin: 0 0 12px; font-size: 17px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .buttons { justify-content: flex-start; }
.crumbs { margin-bottom: 16px; font-size: 14px; }
.crumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
@media (min-width: 640px) { .hero__title { font-size: 40px; } }
@media (min-width: 900px) {
  .hero { padding: 72px 0; }
  .hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .hero__grid--plain { grid-template-columns: minmax(0, 1fr); }
  .hero__grid--plain .hero__body { max-width: 820px; }
  .hero__title { font-size: 46px; }
}

/* Бегущая строка популярных игр; под указателем останавливается. */
.trend { padding: 12px 0; border-block: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.trend__inner { display: flex; align-items: center; gap: 16px; }
.trend__title { display: flex; align-items: center; gap: 6px; flex: none; margin: 0; color: var(--text); font-size: 14px; font-weight: 800; }
.trend__title .ic { color: var(--link); }
.trend__window { flex: 1; min-width: 0; overflow: hidden; }
.trend__track { display: flex; width: max-content; animation: run 40s linear infinite; }
.trend__track:hover, .trend__track:focus-within { animation-play-state: paused; }
.trend__list { list-style: none; display: flex; gap: 12px; margin: 0; padding: 4px 12px 4px 0; }
.trend__item { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mark { padding: 2px 8px; border-radius: 999px; font-size: 11px; line-height: 1.5; font-weight: 800; }
.mark--hot { background: var(--go); color: var(--on-go); }
.mark--live { background: var(--accent); color: var(--on-accent); }
@keyframes run { to { transform: translateX(-50%); } }
@media (max-width: 479px) { .trend__inner { flex-direction: column; align-items: stretch; gap: 6px; } .trend__window { flex: none; } }

/* Восемь преимуществ: по два в ряд, от 900 px по четыре. */
.features { padding: 44px 0; }
.features__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 12px; border-radius: 16px; text-align: center; transition: transform 0.2s; }
.feature__title { color: var(--link); font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.feature__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.feature:hover, .game:hover, .link:hover { transform: translateY(-3px); border-color: var(--accent); }
@media (min-width: 900px) {
  .features { padding: 64px 0; }
  .features__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .feature { padding: 26px 20px; }
}

/* Разделы: h2 по центру цветом акцента, над каждым разделом черта, гаснущая к краям. */
.sec { position: relative; padding: 44px 0; }
.sec::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 70%, transparent), transparent); }
.sec__body { max-width: 880px; margin: 0 auto; }
.sec__title { margin: 0 0 20px; color: var(--link); font-size: 26px; line-height: 1.3; font-weight: 800; text-align: center; }
.sec__sub { margin: 22px 0 8px; font-size: 19px; line-height: 1.35; }
.sec p { margin: 0 0 14px; }
.split { display: grid; gap: 28px; align-items: center; }
.split__text { min-width: 0; }
@media (min-width: 900px) {
  .sec { padding: 64px 0; }
  .sec__title { font-size: 34px; }
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 52px; }
  .split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .split--flip .split__text { order: 2; }
  .split .sec__title { text-align: left; }
  .split .buttons { justify-content: flex-start; }
}

/* Панель инструментов: раздел главной с карточками — в рамке с отливом. */
.panel { max-width: none; padding: 28px 18px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, var(--bg)), color-mix(in srgb, var(--accent) 18%, var(--bg))); }
.panel > p { max-width: 820px; margin-inline: auto; text-align: center; }
@media (min-width: 900px) { .panel { padding: 44px; } }

/* Плитки игр: обложка с иконкой, тип и RTP. */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.game { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; color: var(--text); text-decoration: none; transition: transform 0.2s; }
.game__cover { display: flex; align-items: center; justify-content: center; height: 104px; color: var(--link); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 34%, var(--bg)), color-mix(in srgb, var(--accent) 12%, var(--bg))); }
.game__cover .ic { width: 44px; height: 44px; stroke-width: 1.6; }
.game__marks { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; padding: 10px 10px 0; font-size: 12px; line-height: 1.5; font-weight: 700; }
.game__type { padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 20%, var(--bg)); color: var(--text); }
.game__rtp { white-space: nowrap; }
.game__name { padding: 6px 12px 14px; font-size: 15px; line-height: 1.35; }
@media (min-width: 640px) { .games { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .games { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }

/* Оглавление: пилюли по центру. */
.toc { padding: 28px 0; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.toc__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.toc__link { display: inline-flex; align-items: center; min-height: 38px; padding: 4px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; }
.toc__link:hover { border-color: var(--accent); color: var(--link); }

/* Списки: галочки цветом кнопки; спорт и команды — плитки с мячом. */
.list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 10px; align-items: flex-start; }
.list__icon { width: 22px; height: 22px; margin-top: 3px; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); }
.teams { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.team { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.team .ic { width: 26px; height: 26px; color: var(--link); }

/* Шаги: карточки с номером в круге. */
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; }
.step__text { min-width: 0; }

/* Уровни наград: три карточки, средняя в рамке акцента с отметкой. */
.tiers { display: grid; gap: 26px; margin: 34px 0 8px; }
.tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px 22px; border-radius: 20px; text-align: center; }
.tier--top { border: 2px solid var(--accent); box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 24%, transparent); }
.tier__mark { position: absolute; top: -15px; padding: 4px 16px; border-radius: 999px; background: linear-gradient(90deg, var(--go), var(--go-2)); color: var(--on-go); font-size: 13px; font-weight: 800; }
.tier__icon { color: var(--link); }
.tier__icon .ic { width: 40px; height: 40px; }
.tier__title { margin: 0; font-size: 21px; line-height: 1.3; }
.tier__list { list-style: none; flex: 1; width: 100%; margin: 0 0 8px; padding: 0; }
.tier__list li { padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent); font-size: 15px; }
.tier__name { display: block; color: var(--muted); font-size: 13px; }
.tier .btn { width: 100%; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* Выплаты: сроки и местные способы оплаты пилюлями. */
.times, .pays { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0; padding: 0; }
.time { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--go) 60%, transparent); background: color-mix(in srgb, var(--go) 12%, var(--bg)); }
.pay { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); background: var(--surface); font-size: 14px; font-weight: 700; }
.pay .ic, .time .ic { width: 18px; height: 18px; }
@media (min-width: 900px) { .split .times, .split .pays { justify-content: flex-start; } }

/* Карточки h3 и способы защиты. */
.cards { list-style: none; display: grid; gap: 14px; margin: 20px 0 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); text-align: center; }
.card { padding: 22px 18px; border-radius: 16px; }
.card__title { margin: 10px 0 6px; color: var(--link); font-size: 18px; line-height: 1.3; }
.sec .card__text { display: block; margin: 0; font-size: 15px; color: var(--muted); }
li.card .card__text { margin-top: 10px; color: var(--text); }
.reminders { display: flex; justify-content: center; gap: 8px; margin: 14px 0; }
.reminder { min-width: 54px; padding: 6px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); color: var(--link); font-size: 20px; font-weight: 800; text-align: center; }
.reminder--top { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }

/* Квиз: четыре карточки «или — или» и результат. */
.quiz { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quiz__card { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 20px 12px; border-radius: 16px; }
.quiz__answer { position: relative; width: 100%; cursor: pointer; }
.quiz__answer input { position: absolute; opacity: 0; }
.quiz__answer span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); font-size: 15px; line-height: 1.25; font-weight: 700; text-align: center; }
.quiz__answer:hover span { border-color: var(--accent); }
.quiz__answer input:checked + span { background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); }
.quiz__answer input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__results { grid-column: 1 / -1; }
.quiz__result { padding: 26px 18px; border-radius: 20px; border: 2px solid var(--accent); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--bg)), color-mix(in srgb, var(--accent) 24%, var(--bg))); text-align: center; }
.sec .quiz__lead { margin: 0 0 6px; font-weight: 700; }
.sec .quiz__name { margin: 0 0 6px; font-size: 24px; line-height: 1.3; font-weight: 800; }
.sec .quiz__text { margin: 0; }
@media (min-width: 900px) { .quiz { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* Таблицы: шапка градиентом кнопки, строки через одну; широкая на телефоне прокручивается внутри блока. */
.table-wrap { margin: 16px 0 18px; border-radius: 14px; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; }
.table thead { background: linear-gradient(90deg, var(--go), var(--go-2)); }
.table th { color: var(--on-go); font-size: 14px; }
.table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--text) 5%, transparent); }
.table tbody tr + tr { border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.table td:first-child { font-weight: 700; }
@media (max-width: 639px) { .table--wide { min-width: 500px; } }

/* Картинка в тексте. */
.picture { display: block; margin: 8px 0 18px; border-radius: 16px; overflow: hidden; }

/* «Другие страницы»: карточки с овальной картинкой. */
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.link { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px 18px; border-radius: 18px; color: var(--text); text-align: center; text-decoration: none; transition: transform 0.2s; }
.link__oval { width: 100%; margin-bottom: 6px; box-shadow: none; }
.link__title { color: var(--link); font-size: 17px; line-height: 1.3; }
.link__text { color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (min-width: 900px) { .links { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; } .link { padding: 20px; } }

/* FAQ: плашки с «+», раскрываются; открытый — «−». */
.faq__list { display: grid; gap: 12px; align-items: start; }
.faq__col { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .faq__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.faq__item { border-radius: 12px; }
.faq__item summary { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { flex: 1; }
.faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--link); transition: transform 0.2s; }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.faq__item[open] .faq__plus::after { transform: rotate(0deg); }
.faq__answer { padding: 0 18px 4px; }
.sec .faq__answer p { margin: 0 0 14px; }

/* Приложение: плашка с кнопками, от 900 px справа QR-код. Код всегда тёмный на светлом. */
.app { padding: 20px 0; }
.app__card { display: flex; align-items: center; gap: 28px; padding: 28px 20px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 10%, var(--bg)), color-mix(in srgb, var(--accent) 24%, var(--bg))); }
.app__icon { display: none; color: var(--link); }
.app__icon .ic { width: 92px; height: 92px; stroke-width: 1.2; }
.app__body { flex: 1; min-width: 0; }
.app__title { margin: 0 0 8px; font-size: 26px; line-height: 1.25; font-weight: 800; }
.app__text { margin: 0; }
.app .buttons { justify-content: flex-start; }
.app__qr { display: none; flex: none; width: 172px; height: 172px; border-radius: 14px; }
.app__qr-back { fill: var(--shine); }
.app__qr-dots { fill: var(--shade); }
@media (min-width: 900px) { .app__card { padding: 40px 48px; } .app__icon { display: block; } .app__qr { display: block; } .app__title { font-size: 34px; } }

/* Ответственная игра. */
.safety { padding: 0 0 44px; }
.safety__card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.safety__text { margin: 0; font-size: 15px; line-height: 1.6; }

/* Футер: бренд и три колонки, полоса платёжек, копирайт; снизу запас под закреплённые кнопки на телефоне. */
.footer { padding: 48px 0 110px; background: linear-gradient(90deg, var(--bar), var(--bar-2)); color: var(--on-bar); border-top: 1px solid color-mix(in srgb, var(--on-bar) 14%, transparent); }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1 / -1; }
.footer__logo { display: inline-block; color: var(--on-bar); font-weight: 800; font-size: 22px; text-decoration: none; }
.footer__logo-img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.footer__title { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.footer__text { margin: 12px 0 0; font-size: 14px; color: color-mix(in srgb, var(--on-bar) 78%, var(--bar)); }
.footer__title + .footer__text { margin-top: 0; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer__links a { color: color-mix(in srgb, var(--on-bar) 85%, var(--bar)); text-decoration: none; }
.footer__links a:hover { color: var(--on-bar); text-decoration: underline; }
.footer__tg { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--on-bar); font-size: 14px; }
.footer__tg .tg-icon { color: var(--telegram); }
.footer__pays { margin: 32px auto 0; padding: 20px 0 0; border-top: 1px solid color-mix(in srgb, var(--on-bar) 14%, transparent); }
.footer .pay { background: none; border-color: color-mix(in srgb, var(--on-bar) 22%, transparent); color: var(--on-bar); }
.footer__copy { margin-top: 24px; font-size: 13px; text-align: center; color: color-mix(in srgb, var(--on-bar) 78%, var(--bar)); }
@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.6fr 0.9fr 0.9fr 1.4fr; gap: 40px; }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: auto; }
}

/* Уже 900 px внизу закреплены Register и Login, всегда видны. */
.bottom { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bar) 94%, transparent); border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.bottom .btn { min-height: 46px; padding: 0 10px; }
@media (min-width: 900px) { .bottom { display: none; } }

/* Кнопка «наверх»: круглая, над закреплёнными кнопками. */
.to-top { position: fixed; right: 16px; bottom: 84px; z-index: 30; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--go), var(--go-2)); color: var(--on-go); box-shadow: 0 6px 18px color-mix(in srgb, var(--shade) 35%, transparent); }
@media (min-width: 900px) { .to-top { bottom: 24px; } }

/* Кому движение мешает — без свечения, блика и подъёма карточек. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn--go, .btn--alt { animation: none; }
  .trend__track { animation: none; }
  .trend__window { overflow-x: auto; }
  .btn--go::after { display: none; }
  .game, .feature, .link, .faq__plus::before, .faq__plus::after { transition: none; }
}
