.container {
  max-width: 1140px;
  margin: 0 auto; }
  .container::before {
    content: '';
    display: table; }
  .container::after {
    content: '';
    clear: both; }

@media all and (max-width: 767px) {
  .container {
    padding: 0 16px; }
  .header {
    position: relative; }
  .search-container {
    display: none; }
  .layout {
    flex-wrap: wrap; }
  .top-category .category-mob {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 27px;
    border-radius: 16px;
    margin-bottom: 8px;
    background: linear-gradient(270deg, #3666FB 0%, #77DFFE 100%); }
    .top-category .category-mob::after {
      content: '';
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 8px solid #ffffff;
      border-radius: 16px 16px 0 0;
      margin-left: 12px; }
  .top-category ul {
    display: none; }
    .top-category ul.open {
      display: flex; }
    .top-category ul li {
      text-align: center;
      max-width: calc(100% / 2 - 4px); }
  .block-list ul li {
    text-align: center;
    max-width: calc(100% / 2 - 4px); }
  .sidebar {
    max-width: 100%; }
  .adv-block {
    padding: 12px; }
  .game-card {
    width: calc(100% / 2 - 8px); }
  .game {
    padding: 0;
    background: none; }
    .game__description {
      padding: 12px;
      background: #ffffff;
      border-radius: 16px; }
  .img-left, .img-right {
    display: flex;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px; }
  .game-offer__window__frame {
    min-height: 300px; }
  .game-offer__window__top {
    flex-wrap: wrap; }
    .game-offer__window__top .shared {
      width: 100%;
      margin-bottom: 8px; }
    .game-offer__window__top .ratings {
      padding: 8px; }
  .footer {
    height: auto; }
    .footer__content {
      padding: 10px 0;
      height: auto;
      justify-content: center; }
      .footer__content .logo {
        margin-bottom: 8px; }
      .footer__content .text {
        text-align: center;
        margin-bottom: 8px; } }
