/* Мобильные стили - max-width: 668px */
@media screen and (max-width: 668px) {
  .base-block {
    padding: 0px 8px;
    row-gap: 32px;
    margin-top: 20px;
  }

  .h2-base-title {
    margin-bottom: 20px;
    font-size: 26px;
    line-height: 33px;
  }

  /* Banner */
  .banner-wrapper {
    margin-top: 0;
  }

  .banner-img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
  }

  /* Prize Fund */
  .prize-fund-wrapper {
    margin-top: -36px;
  }

  .prize-fund {
    width: auto;
    display: flex;
    column-gap: 8px;
    height: 36px;
    padding: 6px 24px;
    border-radius: 16px 16px 0 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0em;
  }

  .prize-fund::before {
    border-radius: 16px 16px 0 0;
  }

  .prize-fund-desktop-section {
    display: none;
    background: #252536;
  }

  .prize-fund-mobile-section {
    display: block;
  }

  .prize-fund-mobile-second-block-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    display: flex;
    column-gap: 4px;
    padding: 4px 8px;
    margin-bottom: 16px;
    border-radius: 4px;
    background: #1E1E2C;
  }

  .prize-fund-mobile-second-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #252536;
    box-shadow: 0px 2px 2px 0px #00000099;
    border-radius: 0px 0px 8px 8px;
    padding: 0px 8px 8px 8px;
  }

  .prize-fund-mobile-second-block-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0px;
    margin: 12px 0px;
  }

  .prize-fund-mobile-second-block-button {
    height: 40px;
    width: 100%;
  }

  /* Navigation */
  .navigation {
    border-radius: 8px;
    margin: 32px 8px 0px 8px;
  }

  .navigation-menu .menu-item {
    flex-direction: column;
    height: 64px;
  }

  .navigation-menu .menu-item::before {
    border-width: 1px;
  }

  .navigation-menu .menu-item:first-child::before {
    border-radius: 8px 0px;
  }

  .navigation-menu .menu-item:last-child::before {
    border-radius: 0px 8px;
  }

  .navigation-menu .menu-item img {
    margin-right: 0px;
    margin-bottom: 4px;
    width: 24px;
    height: 24px;
  }

  .navigation-menu .menu-item .menu-item-text {
    font-size: 10px;
    font-weight: 500;
    line-height: 12px;
    letter-spacing: 0px;
  }

  /* Зеркало */
  .zerkalo-section-btn_wrapper-header {
    padding: 30px 10px;
    margin: 20px 0;
  }

  .zerkalo-section-btn_wrapper-header p {
    font-size: 16px;
  }

  .btn-zerkalo {
    font-size: 15px;
    padding: 14px 18px;
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
  }

  /* Текст */
  .text-and-articles-block-title {
    font-size: 20px;
    line-height: 24px;
  }

  .text-block-second-content {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
  }

  .text-block-second-content h1 {
    font-size: 26px;
    line-height: 33px;
    margin: 20px 0 15px;
  }

  .text-block-second-content h2 {
    font-size: 22px;
    line-height: 28px;
    margin: 18px 0 12px;
  }

  .text-block-second-content h3 {
    font-size: 18px;
    line-height: 24px;
    margin: 15px 0 10px;
  }

  .text-block-second-button {
    font-size: 16px;
    line-height: 16px;
  }

  /* Артикли */
  .articles-header-wrapper {
    padding: 16px 16px 16px 16px;
  }

  .articles-item {
    padding: 12px;
    flex: 0 0 100%;
  }

  /* Блок автора */
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
  }

  .author-box img {
    margin-right: 0;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
  }

  .author-info {
    max-width: 100%;
  }

  .author-info h3 {
    font-size: 20px;
  }

  .author-info p {
    font-size: 14px;
  }

  /* Преимущества */
  .advantages-content {
    padding: 12px;
  }

  .advantages-item {
    flex: 0 0 100%;
  }

  /* Reviews */
  .review {
    margin-bottom: 32px;
  }

  .faq-content,
  .review-content {
    margin-bottom: 20px;
  }

  .faq-item,
  .review-item {
    padding: 16px;
  }

  .faq-item-title,
  .review-item-title {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    letter-spacing: 0px;
    color: #8A8AAE;
  }

  /* Отзывы на мобильных */
  .review-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .review-item-name {
    font-size: 16px;
  }

  .review-item-rating .star {
    font-size: 14px;
  }

  .review-item-date {
    font-size: 12px;
    align-self: flex-end;
    margin-top: -24px;
  }

  .review-item-content {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Footer */
  .footer {
    margin: 0px 20px;
  }

  .footer-content-first-part {
    justify-content: center;
    padding: 20px 0px;
  }

  .footer-content-second-part {
    justify-content: center;
    padding: 20px 0px;
    flex-direction: column;
  }

  .footer-content-second-part .footer-second-part-item:nth-child(1) {
    order: 2;
  }

  .footer-content-second-part .footer-second-part-item:nth-child(2) {
    max-width: 100%;
    order: 3;
  }

  .footer-content-second-part .footer-second-part-item:nth-child(3) {
    order: 1;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-second-part-item-text {
    font-size: 10px;
  }

  .footer-lang .choose-lang-list {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    bottom: -130px;
    left: -10px;
    transform-origin: bottom right;
  }

  /* Стили для игр на мобильных */
  .games-grid-section {
    margin: 15px 8px;
    padding: 15px 8px;
  }

  .games-grid-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .games-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 3px;
  }

  .game-card {
    border-radius: 6px;
  }

  .game-card-title {
    font-size: 10px;
    padding: 6px 4px 2px;
    line-height: 1.2;
  }

  .game-card-provider {
    font-size: 8px;
    padding: 0 4px 6px;
  }

  .game-card-btn {
    padding: 5px 8px;
    font-size: 9px;
  }

  .game-card-buttons {
    gap: 4px;
    padding: 6px;
  }

  /* Кнопка "Еще игры" на мобильных */
  .more-games-button-wrapper {
    margin-top: 20px;
    padding: 0 10px 15px;
  }

  .more-games-button {
    width: 100%;
    justify-content: center;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 10px;
  }
}

/* Очень маленькие экраны */
@media screen and (max-width: 480px) {
  /* Banner на маленьких экранах */
  .banner-img {
    min-height: 150px;
    max-height: 300px;
  }

  .author-box {
    padding: 15px;
  }

  .author-box img {
    width: 100px;
    height: 100px;
  }

  .author-info h3 {
    font-size: 18px;
  }

  .author-info p {
    font-size: 13px;
  }

  .btn-zerkalo {
    font-size: 14px;
    padding: 12px 16px;
  }

  .zerkalo-section-btn_wrapper-header {
    padding: 20px 10px;
  }

  /* Игры на очень маленьких экранах */
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .games-grid-title {
    font-size: 18px;
  }

  .game-card-title {
    font-size: 10px;
  }

  .game-card-provider {
    font-size: 8px;
  }
}

