
/* =======================================================
   ЧИСТКА ФУТЕРА: Убираем копирайты, права и "Кто на форуме" + статистику
   ======================================================= 
.copyright, 
.stat-block.permissions,
div.rules,
.stat-block.online-list,
.stat-block.online-list + .stat-block {
    display: none !important;
} */

/* =======================================================
   старый вариант-
   ЧИСТКА ФУТЕРА: Убираем копирайты, права и "Кто на форуме" 
   (СТАТИСТИКУ ОСТАВЛЯЕМ!)
   ======================================================= 
.copyright, 
.stat-block.permissions,
div.rules,
.stat-block.online-list {
    display: none !important;
} */



/* =======================================================
   ЧИСТКА ФУТЕРА: Убираем копирайты, права и "Кто на форуме" 
   (СТАТИСТИКУ ОСТАВЛЯЕМ!)
   ======================================================= */
.copyright, 
.stat-block.permissions,
div.rules {
    display: none !important;
}

/* 1. Глушим онлайн везде по умолчанию (внутри тем и разделов) */
.stat-block.online-list {
    display: none !important;
}

/* 2. Открываем онлайн СТРОГО на главной странице форума */
.section-index .stat-block.online-list {
    display: block !important;
}


/* =======================================================
   ======================================================= */

/* Убираем жирность у ников администраторов и групп */
.username-coloured, 
a[style*="font-weight: bold"], 
a[style*="font-weight:bold"] {
    font-weight: normal !important;
}


/* Прячем забагованную кнопку отметки всех уведомлений */
a[href*="mark=all"], a[data-ajax="notification.mark_all_read"] {
    display: none !important;
}

/* =======================================================
   Стили витрины игр: РАЗДЕЛЕНИЕ МОБИЛЫ И ПК
   ======================================================= */

.showcase-main-container {
    max-width: 1260px !important;
    margin: 15px auto !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.test-showcase-wrapper {
    width: 100% !important;
    padding: 0 10px !important;
    overflow: hidden !important; 
    box-sizing: border-box !important;
}

/* Общие стили карточек */
.test-card {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    color: #fff !important;
    text-decoration: none !important;
}
.test-card img {
    width: 100% !important;
    aspect-ratio: 816 / 624 !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    transition: transform 0.2s ease !important;
}
.test-card:hover img {
    transform: scale(1.04) !important;
}
.test-card span {
    margin-top: 6px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
}

/* --- 🖥️ ЧИСТЫЙ ИЗОЛИРОВАННЫЙ ДЕСКТОП (Окна БОЛЬШЕ 992px) --- */
@media (min-width: 993px) {
    .test-showcase {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
        width: 2105px !important; /* На ПК держим жесткую ширину под 10 игр */
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .test-card {
        width: 197px !important;
        flex-shrink: 0 !important;
    }

    /* МАТЕМАТИКА ТРАНСФОРМАЦИЙ ДЛЯ ПК */
    .showcase-phase-0 { transform: translateX(0px) !important; }
    .showcase-phase-1 { transform: translateX(-424px) !important; } /* (197 * 2) + (15 * 2) */
    .showcase-phase-2 { transform: translateX(-848px) !important; } /* (197 * 4) + (15 * 4) */

    /* НЕОНОВЫЕ СТРЕЛКИ */
    .sc-arrow {
        position: absolute !important;
        top: 38% !important;
        transform: translateY(-50%) !important;
        width: 50px !important;
        height: 50px !important;
        background: transparent !important;
        border: none !important;
        color: rgba(255, 0, 85, 0.7) !important;
        font-size: 48px !important;
        font-family: serif !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 20 !important;
        transition: all 0.2s ease !important;
        user-select: none !important;
        text-shadow: 0 0 5px rgba(255, 0, 85, 0.5) !important;
    }

    .sc-arrow:hover {
        color: #ffffff !important;
        text-shadow: 0 0 15px #ff0055, 0 0 5px #ff6600 !important;
        transform: translateY(-50%) scale(1.15) !important;
    }

    .arrow-left { left: -30px !important; }
    .arrow-right { right: -30px !important; }
}

/* --- 📱 ЖЕСТКИЙ ФИКС ДЛЯ МОБИЛОК И ПЛАНШЕТОВ (до 992px) --- */
@media (max-width: 992px) {
    .sc-arrow {
        display: none !important; /* Убираем стрелки */
    }

    .showcase-main-container {
        max-width: 100% !important;
        margin: 10px 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .test-showcase-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        overflow-x: auto !important; /* Настоящий пальцевый свайп */
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }

    .test-showcase-wrapper::-webkit-scrollbar { display: none !important; }
    .test-showcase-wrapper { -ms-overflow-style: none !important; scrollbar-width: none !important; }

    .test-showcase {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        width: max-content !important; /* Даем ленте свободно тянуться */
        transform: none !important; /* Намертво гасим любые сдвиги от ПК */
        padding-bottom: 10px !important;
    }
    
    /* Жестко сбрасываем влияние классов фаз на мобильных */
    .test-showcase.showcase-phase-0, 
    .test-showcase.showcase-phase-1, 
    .test-showcase.showcase-phase-2 {
        transform: none !important;
    }

    .test-card {
        width: 145px !important;
        min-width: 145px !important;
        flex-shrink: 0 !important;
    }
    
    .test-card img {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Твой киберпанк разделитель */
.forum-divider {
    position: relative !important;
    text-align: center !important;
    margin: 35px auto 20px auto !important;
    max-width: 1260px !important;
    padding: 0 10px !important;
}
.forum-divider::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 10px !important;
    right: 10px !important;
    height: 2px !important;
    background: linear-gradient(to right, transparent, #ff0055, #ff6600, transparent) !important; 
    z-index: 1 !important;
    box-shadow: 0 0 8px rgba(255, 0, 85, 0.4) !important;
}
.forum-divider span {
    position: relative !important;
    z-index: 2 !important;
    background: #121212 !important;
    padding: 5px 15px !important;
    color: #ffffff !important; 
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 0 0 6px #ff0055, 0 0 2px #000000 !important; 
}

/* =======================================================
   Стили нашего нижнего баннера: 
   ======================================================= */

  .my-custom-banner-block {
    width: 100%; 
    max-width: 1315px; 
    margin: 0 auto; 
    padding: 15px 0; 
    text-align: center; 
    box-sizing: border-box;
  }
  /* Первый перехват для планшетов */
  @media (max-width: 1205px) {
    .my-custom-banner-block {
      max-width: 100% !important;
      padding: 15px 10px !important;
    }
  }
  /* Второй перехват для мобилок на прыжке форума */
  @media (max-width: 687px) {
    .my-custom-banner-block {
      padding: 10px 0 !important; /* Убираем боковые отступы, чтобы баннер встал впритык без черных щелей */
    }
    .my-custom-banner-block img {
      border-radius: 0 !important; /* На мобилках лучше убрать скругления, чтоб картинка легла ровно в края */
    }
  }

/* =======================================================
   Красим тайтлы и заголовки чтоб не сливались в белую кучу: 
   ======================================================= */

/* Красим хлебные крошки  в малиновый */
#nav-breadcrumbs .crumb span[itemprop="name"],
#nav-breadcrumbs .crumb a span,
#nav-breadcrumbs .list-inner {
	font-family: "Trebuchet MS", Arial, sans-serif !important; /* Твой шрифт */
	font-size: 18px !important;                                /* Твой размер */
	color: #A10435 !important;                                 /* Твой цвет (например, красный) */
	font-weight: bold !important;                              /* Сделаем жирным */
}

/* Красим заголовки блоков + имя форума в малиновый */
li.header dl.row-item dt .list-inner {
	font-family: "Trebuchet MS", Arial, sans-serif !important; /* Твой шрифт */
	font-size: 20px !important;                                /* Твой размер */
	color: #A10435 !important;                                 /* Твой цвет (например, золотой/оранжевый под Ambiance) */
	font-weight: bold !important;                              /* Жирность */
	text-shadow: 1px 1px 2px #000000;                          /* Легкая тень, чтоб читалcя круче */
}

/* =======================================================
   Красим : 
   ======================================================= */








